/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-deeper: #4338CA;
    --primary-light: #EEF2FF;
    --primary-50: #E0E7FF;
    --primary-glow: rgba(99, 102, 241, 0.12);
    --primary-glow-strong: rgba(99, 102, 241, 0.25);

    --dark: #0F172A;
    --dark-2: #1E293B;
    --dark-3: #334155;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
    --gray-200: #E5E7EB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #FFFFFF;

    --green: #10B981;
    --green-light: #D1FAE5;
    --amber: #FBBF24;

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.3s;
    --duration-lg: 0.5s;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--duration) var(--ease);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99,102,241,0.4);
}

.btn-glass {
    background: rgba(255,255,255,0.1);
    color: var(--dark);
    border: 1.5px solid var(--gray-200);
    backdrop-filter: blur(8px);
}
.btn-glass:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-nav {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(99,102,241,0.25);
}
.btn-nav:hover { background: var(--primary-dark); }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all var(--duration) var(--ease);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links li a {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-500);
    border-radius: 100px;
    transition: all var(--duration) var(--ease);
}
.nav-links li a:hover {
    color: var(--dark);
    background: var(--gray-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all var(--duration) var(--ease);
    display: block;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideshow 24s ease-in-out infinite;
    transform: scale(1.05);
}

.hero-slide.slide-1 {
    background-image: url('images/slide-2.jpg');
    animation-delay: 0s;
}

.hero-slide.slide-2 {
    background-image: url('images/slide-1.jpg');
    animation-delay: 6s;
}

.hero-slide.slide-3 {
    background-image: url('images/slide-3.jpg');
    animation-delay: 12s;
}

.hero-slide.slide-4 {
    background-image: url('images/slide-4.jpg');
    animation-delay: 18s;
}

@keyframes slideshow {
    0% { opacity: 0; transform: scale(1.05); }
    4% { opacity: 1; transform: scale(1); }
    25% { opacity: 1; transform: scale(1.03); }
    29% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
}

.hero-brand {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.3px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--white);
    margin: 0 0 14px;
}

.hero-sub {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 400px;
    margin: 0 0 28px;
}

.hero-stores {
    display: flex;
    gap: 12px;
}

.store-btn-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
    padding: 8px 18px 8px 14px;
    border-radius: 8px;
    transition: all var(--duration) var(--ease);
}

.store-btn-hero:hover {
    background: #111;
    border-color: rgba(255,255,255,0.55);
    transform: translateY(-1px);
}

.store-btn-hero small {
    display: block;
    font-size: 0.55rem;
    opacity: 0.8;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.store-btn-hero strong {
    display: block;
    font-size: 1rem;
    text-align: left;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    transition: color var(--duration) var(--ease);
    animation: scroll-bounce 2s ease-in-out infinite;
    z-index: 2;
}

.hero-scroll:hover {
    color: rgba(255,255,255,0.8);
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #A855F7 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ===== MARQUEE ===== */
.marquee-strip {
    padding: 20px 0;
    background: var(--dark);
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-track span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-dot {
    width: 6px !important;
    height: 6px;
    background: var(--primary) !important;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== SECTION HEADER ===== */
.section-header {
    margin-bottom: 64px;
}

.section-header.centered {
    text-align: center;
}
.section-header.centered .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.tag-light {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 540px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 120px 0 80px;
    background: var(--white);
}

.steps-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    align-items: center;
}

.steps-left {
    display: flex;
    flex-direction: column;
}

.steps-left .section-header {
    margin-bottom: 40px;
}

.steps-tabs {
    display: flex;
    flex-direction: column;
}

.step-tab {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 24px;
    background: none;
    border: none;
    border-left: 3px solid var(--gray-200);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--duration) var(--ease);
}

.step-tab:hover {
    background: var(--gray-50);
}

.step-tab.active {
    border-left-color: var(--primary);
    background: var(--primary-light);
}

.step-tab-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-300);
    min-width: 36px;
    line-height: 1.3;
    transition: color var(--duration) var(--ease);
}

.step-tab.active .step-tab-num {
    color: var(--primary);
}

.step-tab-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.step-tab-body p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.step-tab.active .step-tab-body p {
    max-height: 100px;
    opacity: 1;
    margin-top: 6px;
}

.steps-display {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-panel {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.97);
    transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out), visibility 0.45s;
    pointer-events: none;
    z-index: 0;
}

.step-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 1;
}

.step-panel svg,
.step-panel img {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 12px 40px rgba(0,0,0,0.12));
    border-radius: var(--radius-2xl);
    object-fit: contain;
}

.step-panel img {
    max-height: 580px;
}

/* ===== FEATURES ===== */
.features {
    padding: 80px 0 80px;
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    border-radius: var(--radius-xl);
    transition: all var(--duration-lg) var(--ease);
    overflow: hidden;
}

.feature-card-inner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    height: 100%;
    transition: all var(--duration-lg) var(--ease);
    position: relative;
}

.feature-card:hover .feature-card-inner {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.feature-card-wide {
    grid-column: span 1;
    grid-row: span 2;
}

.feature-card-wide .feature-card-inner {
    background: linear-gradient(145deg, var(--primary), var(--primary-deeper));
    border-color: transparent;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card-wide .feature-card-inner p {
    color: rgba(255,255,255,0.8);
}

.feature-card-wide:hover .feature-card-inner {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(99,102,241,0.3);
}

.feature-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.feature-icon-box {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all var(--duration) var(--ease);
}

.feature-icon-box.large {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border-radius: var(--radius-lg);
}

.feature-card:hover .feature-icon-box:not(.large) {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ===== REFERRAL ===== */
.referral {
    padding: 80px 0;
    background: var(--white);
}

.referral-wrapper {
    background: linear-gradient(145deg, var(--primary) 0%, #7C3AED 50%, var(--primary-deeper) 100%);
    border-radius: var(--radius-2xl);
    padding: 80px 72px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.referral-wrapper::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}
.referral-wrapper::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
}

.referral-left {
    position: relative;
    z-index: 2;
}

.referral-left h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.85);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.referral-left h2 span {
    color: var(--white);
}

.referral-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 440px;
}

.referral-flow {
    margin-bottom: 40px;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.flow-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
}

.flow-text strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 2px;
}
.flow-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.flow-line {
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.15);
    margin: 6px 0 6px 17px;
}

/* Referral Right */
.referral-right {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.referral-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.reward-card-v2 {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 320px;
    box-shadow: var(--shadow-xl);
}

.rc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.rc-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rc-header strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
}

.rc-sub {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.rc-points {
    margin-bottom: 24px;
}

.rc-points-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
    line-height: 1;
}

.rc-points-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.rc-progress {
    margin-bottom: 24px;
}

.rc-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.rc-bar {
    height: 8px;
    background: var(--gray-100);
    border-radius: 4px;
    overflow: hidden;
}

.rc-bar-fill {
    width: 85%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #A855F7);
    border-radius: 4px;
    transition: width 1.5s var(--ease-out);
}

.rc-friends {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 16px;
}

.rc-avatars {
    display: flex;
}

.rc-a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid var(--white);
    margin-left: -8px;
}
.rc-a:first-child { margin-left: 0; }
.rc-a-more { background: var(--primary); color: white; font-size: 0.6rem; }

.rc-friends-text {
    font-size: 0.8rem;
    color: var(--gray-500);
}
.rc-friends-text strong {
    color: var(--dark);
}

.rc-recent { display: flex; flex-direction: column; gap: 10px; }

.rc-recent-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.rc-recent-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.rc-recent-dot.green { background: var(--green); }

.rc-recent-pts {
    margin-left: auto;
    font-weight: 700;
    color: var(--green);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    background: var(--gray-50);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--duration-lg) var(--ease);
}

.testimonial-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.tc-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.testimonial-card > p {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
}

.tc-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.tc-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.tc-author span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== DOWNLOAD ===== */
.download {
    padding: 80px 0;
    background: var(--white);
}

.download-wrapper {
    background: linear-gradient(to top, #c7d2fe, #e0e7ff, #eef2ff);
    border-radius: var(--radius-2xl);
    padding: 72px 72px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    position: relative;
    overflow: hidden;
}

.download-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.download-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 50%;
    bottom: -150px;
    left: -50px;
    pointer-events: none;
}

.download-left {
    position: relative;
    z-index: 2;
    padding-bottom: 72px;
}

.download-left h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-2);
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.download-left p {
    color: var(--gray-500);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.download-btns {
    display: flex;
    gap: 12px;
}

.store-btn-dark {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #000;
    border: none;
    color: var(--white);
    padding: 12px 22px;
    border-radius: 10px;
    transition: all var(--duration) var(--ease);
}

.store-btn-dark:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.store-btn-dark small {
    display: block;
    font-size: 0.55rem;
    opacity: 0.8;
    text-align: left;
    font-weight: 400;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.store-btn-dark strong {
    display: block;
    font-size: 1.05rem;
    text-align: left;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.download-right {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.iphone-frame {
    width: 280px;
    background: linear-gradient(160deg, #4a4a4a 0%, #2c2c2c 20%, #1a1a1a 50%, #2c2c2c 80%, #3a3a3a 100%);
    border-radius: 48px 48px 0 0;
    padding: 12px 12px 0;
    position: relative;
    box-shadow:
        -8px -4px 30px rgba(0,0,0,0.2),
        inset 0 1px 0 rgba(255,255,255,0.1),
        inset -1px 0 0 rgba(255,255,255,0.05),
        inset 1px 0 0 rgba(255,255,255,0.05);
}

/* Side button */
.iphone-frame::before {
    content: '';
    position: absolute;
    right: -3px;
    top: 120px;
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, #3a3a3a, #2a2a2a, #3a3a3a);
    border-radius: 0 2px 2px 0;
}

/* Volume buttons */
.iphone-frame::after {
    content: '';
    position: absolute;
    left: -3px;
    top: 100px;
    width: 3px;
    height: 36px;
    background: linear-gradient(180deg, #3a3a3a, #2a2a2a, #3a3a3a);
    border-radius: 2px 0 0 2px;
    box-shadow: 0 50px 0 0 #2a2a2a;
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}

/* Camera dot */
.iphone-notch::after {
    content: '';
    position: absolute;
    right: 22px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #2a2a4a, #111);
    box-shadow: inset 0 0 2px rgba(99,102,241,0.3);
}

.iphone-screen {
    background: var(--gray-50);
    border-radius: 38px 38px 0 0;
    padding: 52px 20px 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: 360px;
}

.iphone-bar {
    width: 120px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    margin: 0 auto;
    position: relative;
    bottom: 0;
    display: none;
}

.qr-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.5;
}

.qr-box {
    background: var(--white);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.qr-box svg {
    width: 180px;
    height: 180px;
    display: block;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: var(--white);
    padding: 14px 22px 14px 16px;
    border-radius: 100px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: all var(--duration) var(--ease);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-text {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px 12px 14px;
    }
    .whatsapp-text { font-size: 0.78rem; }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 72px 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    margin-bottom: 20px;
}
.footer-logo .logo-icon {
    background: rgba(255,255,255,0.15);
}
.footer .logo { color: var(--white); }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease);
    color: rgba(255,255,255,0.5);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.footer-col li { margin-bottom: 14px; }

.footer-col a {
    font-size: 0.88rem;
    transition: all var(--duration) var(--ease);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 28px;
    text-align: center;
    font-size: 0.82rem;
    opacity: 0.4;
}

/* ===== ANIMATIONS ===== */
.animate-in {
    opacity: 0;
    transform: translateY(32px);
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.4rem; }
    .steps-wrapper { gap: 30px 40px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card-wide { grid-column: span 2; grid-row: auto; }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid .testimonial-card:last-child { grid-column: span 2; }
    .referral-wrapper { padding: 60px 48px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    /* Nav */
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration) var(--ease);
    }
    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }
    .nav-links li a {
        font-size: 1.2rem;
        padding: 14px 32px;
    }

    /* Hero */
    .hero h1 { font-size: 2.2rem; letter-spacing: -0.5px; }
    .hero-sub { font-size: 0.9rem; }
    .hero-sub br { display: none; }
    .hero-stores { flex-direction: column; }
    .hero-scroll { margin-top: 24px; }

    /* Sections */
    .how-it-works, .features, .referral, .testimonials, .download { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    .section-title { font-size: 2rem; letter-spacing: -0.5px; }

    .steps-wrapper { grid-template-columns: 1fr; gap: 32px; }
    .steps-display { min-height: 320px; }
    .step-panel img { max-height: 400px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card-wide { grid-column: auto; }

    .referral-wrapper {
        grid-template-columns: 1fr;
        padding: 48px 28px;
        gap: 40px;
    }
    .referral-left h2 { font-size: 2rem; }
    .reward-card-v2 { width: 100%; }

    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial-grid .testimonial-card:last-child { grid-column: auto; }

    .download-wrapper { padding: 48px 24px 0; grid-template-columns: 1fr; text-align: center; }
    .download-left { padding-bottom: 40px; }
    .download-left h2 { font-size: 2rem; }
    .download-left p br { display: none; }
    .download-btns { justify-content: center; }
    .iphone-frame { width: 220px; border-radius: 38px 38px 0 0; }
    .iphone-screen { border-radius: 30px 30px 0 0; padding: 44px 16px 40px; }
    .qr-box svg { width: 140px; height: 140px; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero-brand { font-size: 1.3rem; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
}