:root {
    /* Theme Colors from App */
    --primary: #6B4F36;
    --primary-light: #8A6B4E;
    --primary-dark: #4A3522;
    --bg-dark: #151718;
    --bg-darker: #0d0f0f;
    --text-light: #ECEDEE;
    --text-muted: #9BA1A6;

    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --blur: blur(16px);

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-darker);
    color: var(--text-light);
    font-family: var(--font-main);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
}

/* Background Animated Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
}

.blob-2 {
    bottom: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(30px) scale(1.05); }
}

/* Typography Headings */
h1, h2, h3, h4, h5 {
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glassmorphism Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 2rem;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(107, 79, 54, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(107, 79, 54, 0.6);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-light);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--blur);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(21, 23, 24, 0.8);
    backdrop-filter: var(--blur);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1.05rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(107, 79, 54, 0.2);
    border: 1px solid rgba(138, 107, 78, 0.3);
    color: var(--primary-light);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--text-light), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mockup Visual */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.mockup-card {
    width: 320px;
    height: 600px;
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(180deg, rgba(21,23,24,0.7) 0%, rgba(21,23,24,0.4) 100%);
    border-radius: 40px;
    border: 8px solid rgba(255,255,255,0.05);
}

.mockup-header {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding-top: 0.5rem;
}

.mockup-header .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.mockup-nav {
    height: 40px;
    border-radius: 20px;
    background: var(--glass-bg);
}

.mockup-hero-banner {
    height: 140px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(107, 79, 54, 0.4), rgba(107, 79, 54, 0.1));
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1;
}

.mockup-item {
    border-radius: 16px;
    background: var(--glass-bg);
}

.floating-badge {
    position: absolute;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    backdrop-filter: var(--blur);
    animation: bounce 4s ease-in-out infinite;
}

.badge-1 {
    top: 20%;
    left: -40px;
}

.badge-2 {
    bottom: 25%;
    right: -40px;
    animation-delay: 2s;
}

.badge-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.badge-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

/* Sections Global */
section {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-title span {
    color: var(--primary-light);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card {
    text-align: left;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(107, 79, 54, 0.2), transparent);
    border-radius: 16px;
    border: 1px solid rgba(107, 79, 54, 0.3);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Rewards Section */
.rewards-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
}

.rewards-visual {
    flex: 1;
}

.points-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(30,32,33,0.9), rgba(21,23,24,0.9));
}

.points-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px dashed rgba(107, 79, 54, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    background: radial-gradient(circle, rgba(107, 79, 54, 0.1) 0%, transparent 70%);
}

.points-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: -1px;
}

.points-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.points-bar-container {
    width: 100%;
}

.points-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.points-bar {
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.points-progress {
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
}

.rewards-content {
    flex: 1;
}

.rewards-content .section-title,
.rewards-content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.rewards-content .section-subtitle {
    margin-bottom: 2rem;
}

.benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    background: rgba(107, 79, 54, 0.2);
    color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.benefit-text {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* CTA */
.cta-container {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(21,23,24,0.8), rgba(107, 79, 54, 0.15));
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.store-btn:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

.store-icon {
    font-size: 2rem;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.store-text strong {
    font-size: 1.2rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 4rem 2rem 2rem;
    background: rgba(0,0,0,0.2);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-column h4 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.link-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.link-column a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    .rewards-container {
        flex-direction: column;
        padding: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .nav-links, .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}
