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

:root {
    --color-primary: #1A1A1A;
    --color-primary-dark: #0D0D0D;
    --color-primary-light: #F0F0F0;
    --color-dark: #0D0D0D;
    --color-dark-2: #1A1A1A;
    --color-gray-900: #212121;
    --color-gray-700: #4A4A4A;
    --color-gray-500: #7A7A7A;
    --color-gray-300: #B0B0B0;
    --color-gray-100: #F5F5F5;
    --color-white: #FFFFFF;
    --color-red: #E53E3E;
    --color-green: #38A169;
    --color-bg: #FAFAFA;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--color-gray-900);
    background: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-gray-900);
    border: 2px solid var(--color-gray-300);
}

.btn-outline:hover {
    border-color: var(--color-gray-900);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-dark);
}

.btn-light:hover {
    background: var(--color-gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

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

.logo-img {
    height: 32px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--color-dark);
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color var(--transition);
}

.nav-links .btn-primary {
    color: var(--color-white);
}

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

/* Language Switcher */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--color-gray-100);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 100px;
    padding: 6px 14px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gray-700);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.lang-switch:hover {
    background: var(--color-gray-300);
    color: var(--color-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.text-gradient {
    background: linear-gradient(135deg, #4A4A4A 0%, #0D0D0D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--color-dark);
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-gray-300);
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    z-index: 2;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: var(--color-dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-white);
    border-radius: 30px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-mockup.small .phone-frame {
    width: 260px;
    height: 540px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    padding: 14px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-card-icon {
    font-size: 24px;
}

.floating-card strong {
    display: block;
    font-size: 15px;
}

.floating-card span {
    font-size: 13px;
    color: var(--color-gray-500);
}

.card-review {
    top: 15%;
    right: -10%;
    animation-delay: 0s;
}

.card-tokens {
    bottom: 20%;
    left: -5%;
    animation-delay: 3s;
}

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

.hero-bg-gradient {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.04) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    padding: 40px 0;
    background: var(--color-white);
    border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.proof-bar {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-700);
}

.proof-icon {
    font-size: 20px;
}

/* ===== SECTION COMMON ===== */
.section-header {
    margin-bottom: 56px;
}

.section-header.centered {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-gray-500);
    margin-bottom: 12px;
}

.section-tag.light {
    color: var(--color-gray-300);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ===== PROBLEM / SOLUTION ===== */
.problem-solution {
    padding: 100px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comparison-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
}

.comparison-card.bad {
    background: var(--color-white);
}

.comparison-card.good {
    background: var(--color-dark);
    color: var(--color-white);
    border: none;
}

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

.comparison-icon {
    font-size: 28px;
}

.comparison-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.comparison-card ul li {
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.comparison-card.good ul li {
    border-color: rgba(255,255,255,0.1);
}

.comparison-card.bad ul li::before {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #FEE2E2;
    color: var(--color-red);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.comparison-card.good ul li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-dark);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 0;
    background: var(--color-white);
}

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

.feature-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 15px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 100px 0;
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step-card {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 40px 28px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 15px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.step-connector {
    color: var(--color-gray-300);
    flex-shrink: 0;
}

/* ===== GAMIFICATION ===== */
.gamification {
    padding: 100px 0;
    background: var(--color-white);
}

.gamification-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.gamification-content h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.gamification-content > p {
    font-size: 17px;
    color: var(--color-gray-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.levels-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.level-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: var(--color-bg);
    transition: all var(--transition);
}

.level-item.active {
    background: var(--color-primary-light);
    border: 2px solid var(--color-primary);
}

.level-badge {
    font-size: 28px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.level-item strong {
    display: block;
    font-size: 16px;
}

.level-item span {
    font-size: 14px;
    color: var(--color-gray-500);
}

.gamification-visual {
    display: flex;
    justify-content: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    padding: 32px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    margin-bottom: 16px;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--color-dark);
    color: var(--color-white);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--color-gray-500);
}

/* ===== FOR RESTAURANTS ===== */
.for-restaurants {
    padding: 100px 0;
    background: var(--color-white);
}

.restaurants-card {
    background: var(--color-dark);
    border-radius: var(--radius-xl);
    padding: 72px;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.restaurants-card::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.restaurants-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.restaurants-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.restaurants-content > p {
    font-size: 17px;
    color: var(--color-gray-300);
    line-height: 1.7;
    margin-bottom: 32px;
}

.restaurant-benefits {
    margin-bottom: 36px;
}

.restaurant-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 16px;
    color: var(--color-gray-100);
}

.restaurant-benefits li svg {
    color: var(--color-white);
    flex-shrink: 0;
}

/* ===== DOWNLOAD CTA ===== */
.download-cta {
    padding: 100px 0;
    background: var(--color-gray-100);
}

.cta-content.centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.cta-content p {
    font-size: 18px;
    color: var(--color-gray-700);
    margin-bottom: 40px;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 14px 28px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.store-btn small {
    display: block;
    font-size: 11px;
    opacity: 0.7;
}

.store-btn strong {
    display: block;
    font-size: 16px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 72px 0 36px;
    background: var(--color-dark);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-img {
    filter: invert(1);
}

.footer-brand .logo-text {
    color: var(--color-white);
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--color-gray-500);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--color-gray-300);
}

.footer-links a {
    display: block;
    font-size: 15px;
    color: var(--color-gray-500);
    padding: 6px 0;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-gray-500);
}

/* ===== LEGAL PAGES ===== */
.legal-page {
    padding: 120px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.legal-content .legal-updated {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 48px;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-700);
    margin-bottom: 8px;
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content a {
    color: var(--color-gray-900);
    text-decoration: underline;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.features-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.4s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.5s; }

.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.levels-list .reveal:nth-child(2) { transition-delay: 0.1s; }
.levels-list .reveal:nth-child(3) { transition-delay: 0.2s; }
.levels-list .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }

    .section-header h2,
    .cta-content h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .restaurants-card {
        padding: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(0,0,0,0.06);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .hero-visual {
        order: -1;
    }

    .phone-frame {
        width: 220px;
        height: 460px;
        border-radius: 32px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    .floating-card {
        display: none;
    }

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

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

    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

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

    .restaurants-card {
        padding: 36px;
    }

    .restaurants-content h2 {
        font-size: 28px;
    }

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

    .store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .proof-bar {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .legal-content h1 {
        font-size: 30px;
    }
}
