:root {
    --primary-color: #EEC01F;
    /* Yellow */
    --primary-hover: #D4A017;
    --secondary-color: #000000;
    --bg-color: #050505;
    --bg-card: #1E1E1E;
    --text-color: #E0E0E0;
    --text-muted: #A0A0A0;
    --white: #FFFFFF;
    --black: #000000;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Oswald', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient-main: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-text: linear-gradient(to right, #F2C321, #FFA500);
    --box-shadow-hover: 0 10px 30px -10px rgba(238, 192, 31, 0.15);
    --border-light: rgba(255, 255, 255, 0.08);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.text-left.section-title {
    text-align: left;
}

.text-left.section-title::after {
    margin: 10px 0 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(238, 192, 31, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 192, 31, 0.3);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(238, 192, 31, 0.2);
}

/* Experimental Button - Extra Attractive */
.btn-experimental {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, var(--primary-color) 100%);
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    padding: 15px 35px;
    border: 3px solid var(--white);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(247, 147, 30, 0.3);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-experimental::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

.btn-experimental:hover {
    background: linear-gradient(135deg, #F7931E 0%, var(--primary-color) 50%, #FFD700 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6), 0 0 50px rgba(247, 147, 30, 0.5);
    border-color: var(--primary-color);
}

.btn-experimental i {
    margin-right: 8px;
    animation: bounce-icon 1s ease-in-out infinite;
}

/* Animations */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4), 0 0 30px rgba(247, 147, 30, 0.3);
    }

    50% {
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6), 0 0 40px rgba(247, 147, 30, 0.5);
    }
}

@keyframes shine {
    0% {
        left: -50%;
        top: -50%;
    }

    100% {
        left: 150%;
        top: 150%;
    }
}

@keyframes bounce-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Header */
/* Header */
.header {
    --header-opacity: 1;
    /* Modern Vivid Gradient Background */
    background: linear-gradient(90deg, #FFC107, #FF9800);
    /* More vivid yellow/orange */
    padding: 8px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 25px rgba(255, 193, 7, 0.2);
    /* Vivid glow */
}

/* Header when scrolled - Glassmorphism effect */
.header.scrolled {
    /* Dynamic opacity via JS variable */
    background: rgba(238, 192, 31, var(--header-opacity));
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 -1px 0 rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 0;
    /* Compact on scroll */
}

/* Subtle animation when scrolling */
.header.scrolled::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.logo img {
    height: 60px;
    /* Reduced from 50px/70px inconsistency */
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Clean transparent logo */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Logo Transparency on Scroll */
.header.scrolled .logo img {
    opacity: 0.7;
    transform: scale(0.90);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
    opacity: var(--header-opacity);
    height: 50px;
    /* Even smaller when scrolled */
}

/* Ensure logo opacity doesn't drop too low (clamp visual) */
/* We can calculate it based on var(--header-opacity) if needed, but direct assignment works if JS keeps it reasonable */

.logo span {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn.btn-outline.active {
    background-color: var(--white);
    color: var(--bg-color);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
    font-weight: 800;
}

/* Header Contact Button Override */
.header .btn-outline {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.header .btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}



.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Changed from height: 100vh to avoid content cutoff on mobile */
    height: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    /* More padding for top header */
    padding-bottom: 50px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.hero-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.hero-social .social-icon:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.footer-social .social-icon {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-social .social-icon:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Sections General */
.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-card);
}

/* Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.plans-grid {
    row-gap: 60px;
}

.card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.bg-darker .card {
    background-color: var(--bg-color);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--box-shadow-hover);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.card p {
    color: var(--text-muted);
}

/* Teacher Cards */
.teacher-card {
    text-align: center;
    padding: 50px 30px;
}

.teacher-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15);
    transition: var(--transition);
}

.teacher-card:hover .teacher-img {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Schedule Table */
.schedule-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    background-color: var(--bg-card);
    padding: 10px;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.schedule-table th,
.schedule-table td {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.schedule-table th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
}

.schedule-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
    text-transform: uppercase;
}

.schedule-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

/* Plans Navigation */
.plans-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.plans-navigation .btn-outline {
    margin: 0;
    min-width: 120px;
    text-align: center;
}

.plans-navigation .btn-outline.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Plans Table */
.plans-table-wrapper {
    overflow-x: auto;
    border-radius: 8px;
    background-color: var(--bg-card);
    padding: 10px;
}

.plans-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plans-table th,
.plans-table td {
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.plans-table th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: var(--font-display);
    text-transform: uppercase;
    font-weight: 700;
}

.plans-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
    text-transform: uppercase;
}

.plans-table tr:last-child td {
    border-bottom: none;
}

.plans-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Animation class for JS */
.fade-out {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

#contato {
    padding-bottom: 20px;
}

#faq {
    padding-top: 20px;
}

.contact-list {
    list-style: none;
    margin-top: 30px;
}

.contact-list li {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.contact-list strong {
    color: var(--white);
    display: inline-block;
    width: 80px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #000;
    padding: 30px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-branding {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.growvo-logo {
    width: 170px;
    height: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.growvo-logo:hover {
    opacity: 1;
}

.footer-branding a {
    color: inherit;
    text-decoration: underline;
    transition: var(--transition);
}

.footer-branding a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--secondary-color);
        padding: 80px 40px;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%; /* Ensure list takes full width */
    }

    .nav-list li {
        width: 100%; /* Ensure list items take full width */
    }

    .nav-link {
        color: var(--white); /* Fix: White text on black background */
        font-size: 1.5rem; /* Larger text for mobile */
        display: block;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Separator */
    }

    .nav-link:hover, .nav-link.active {
        color: var(--primary-color);
        transform: translateX(10px); /* Slide effect instead of just color */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

.logo-img {
    height: 70px;
    width: auto;
}


.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subscribe Button */
.subscribe-button-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
}

.btn-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFA500 100%);
    color: var(--black);
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(238, 192, 31, 0.4);
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-subscribe:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(238, 192, 31, 0.6);
    background: linear-gradient(135deg, #FFA500 0%, var(--primary-color) 100%);
}

.btn-subscribe i {
    font-size: 1.3rem;
}

/* ============================================
   MODERN SCROLL ANIMATIONS
   ============================================ */

/* Elements that will animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* When element becomes visible */
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards in grid */
.grid-cards .card.animate-on-scroll {
    transition-delay: var(--stagger-delay, 0s);
}

/* Special animation for section titles */
.section-title.animate-on-scroll {
    transform: translateY(20px) scale(0.95);
}

.section-title.animate-on-scroll.animate-in {
    transform: translateY(0) scale(1);
}

/* Card hover animation enhancement */
.card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Floating animation for hero social icons */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.hero-social .social-icon {
    animation: float 3s ease-in-out infinite;
}

.hero-social .social-icon:nth-child(1) {
    animation-delay: 0s;
}

.hero-social .social-icon:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-social .social-icon:nth-child(3) {
    animation-delay: 0.4s;
}

/* Pulse animation for price cells on hover */
.price-cell {
    transition: all 0.3s ease;
}

.plans-table tr:hover .price-cell {
    color: var(--primary-color);
    font-weight: 700;
    transform: scale(1.05);
}

/* Smooth scale animation for teacher images */
.teacher-img {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.teacher-card:hover .teacher-img {
    transform: scale(1.1) rotate(3deg);
}

/* Nav link animation enhancement */
.nav-link {
    position: relative;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link:hover {
    transform: translateY(-2px);
}

/* Button animations improvement */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

/* Gradient animation for highlight text */
@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.text-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .subscribe-button-wrapper {
        margin-top: 30px;
    }

    .btn-subscribe {
        padding: 16px 35px;
        font-size: 1rem;
    }

    .btn-experimental {
        font-size: 1rem;
        padding: 14px 25px;
    }
}