:root {
    --bg-light: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-glow: rgba(99, 102, 241, 0.15);
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --header-bg: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header --- */
header {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 90px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

nav a:hover {
    color: #6366f1;
}

.btn-login {
    border: 1px solid var(--border-color);
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--text-primary) !important;
}

.btn-login:hover {
    background: #f1f5f9;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    display: flex;
    align-items: center;
    gap: 50px;
    min-height: 70vh;
}

.hero-content {
    flex: 1.2;
}

.hero-image {
    flex: 0.8;
    position: relative;
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.badge-reward {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef2ff;
    color: #4f46e5;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid #e0e7ff;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.hero h1 span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.4);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* --- Pricing Section (Highlighted Top) --- */
.pricing {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-radius: 40px;
    margin: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: white;
    padding: 50px;
    border-radius: 32px;
    text-align: center;
    border: 2px solid #eef2ff;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    max-width: 450px;
    width: 100%;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular::before {
    content: "MOST POPULAR";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.pricing-card .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 4rem;
    font-weight: 900;
    margin: 25px 0;
    color: var(--text-primary);
}

.price span {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* --- Rewards Section --- */
.rewards {
    padding: 100px 0;
}

.reward-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}

.reward-card {
    background: white;
    border-radius: 32px;
    padding: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    box-shadow: var(--card-shadow);
}

.reward-card.highlight {
    background: white;
    border: 3px solid #6366f1;
    padding: 60px 40px;
    transform: scale(1.05);
    box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.15);
}

.reward-card img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.reward-card.highlight img {
    max-height: 250px;
}

.reward-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

/* --- Features --- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 32px;
    transition: all 0.3s;
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    border-color: #6366f1;
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
}

/* --- Footer --- */
footer {
    padding: 100px 0 40px;
    background: #f1f5f9;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 60px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-overlay a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
}

@media (max-width: 968px) {
    header {
        height: 90px !important;
    }
    
    header .container {
        padding: 0 15px;
    }

    .desktop-nav {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
    }

    #main-logo {
        height: 60px !important;
    }

    .hero { 
        flex-direction: column-reverse; 
        text-align: center; 
        padding: 40px 0; 
        gap: 20px;
    }

    .hero h1 { 
        font-size: 2.5rem; 
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .hero-ctas { 
        justify-content: center; 
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 15px 30px;
        display: flex !important;
        justify-content: center;
    }

    .reward-grid { 
        grid-template-columns: 1fr; 
    }

    .reward-card.highlight { 
        transform: none; 
        padding: 40px;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        padding: 30px;
    }

    .price {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .footer-content { 
        flex-direction: column; 
        gap: 40px; 
        text-align: center;
    }
    
    .footer-content > div {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 { 
        font-size: 2rem; 
    }
    
    .logo img {
        height: 60px !important;
    }
}
