:root {
    --bg-dark: #1D3557;
    --bg-light: #F8FAFC;
    --text-main: #ffffff;
    --text-dark: #1E293B;
    --text-muted: #8b95a1;
    --text-muted-light: #64748b;
    --tinder-flame: #FF7F6A; 
    --tinder-orange: #FF7F6A; 
    --matcha-green: #6FAF73; 
    --tinder-nope: #FF7F6A;
    --tinder-like: #6FAF73;
    
    /* Active Theme Variables (Default Light) */
    --bg-primary: var(--bg-light);
    --bg-navbar: rgba(248, 250, 252, 0.6);
    --bg-card: #ffffff;
    --bg-glass: rgba(0, 0, 0, 0.04);
    --bg-secondary: #f1f5f9;
    --bg-footer: #e2e8f0;
    --text-color: var(--text-dark);
    --text-muted-active: var(--text-muted-light);
    --border-color: rgba(0, 0, 0, 0.1);
    
    /* Soft Gradients for Light Mode to reduce eye strain */
    --gradient-hero: linear-gradient(135deg, #edf7ed 0%, #e3f2fd 100%);
    --gradient-cta: linear-gradient(135deg, #e3f2fd 0%, #edf7ed 100%);
    --gradient-flow: linear-gradient(180deg, var(--bg-primary), #eef2f6);
}

:root[data-theme="dark"] {
    --bg-primary: var(--bg-dark);
    --bg-navbar: rgba(29, 53, 87, 0.55);
    --bg-card: #1E293B;
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-secondary: #15253e;
    --bg-footer: #112037;
    --text-color: var(--text-main);
    --text-muted-active: var(--text-muted);
    --border-color: rgba(255, 255, 255, 0.08);

    /* Deep Gradients for Dark Mode */
    --gradient-hero: linear-gradient(135deg, #0B1929 0%, #1D3557 100%);
    --gradient-cta: linear-gradient(135deg, #0D1F35 0%, #1D3557 100%);
    --gradient-flow: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.5;
    cursor: none; /* Hide default cursor */
}

a, button {
    cursor: none; /* Custom cursor everywhere */
}

/* Custom Cursor: The Merging Nodes */
#connection-cursor {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    width: 0; height: 0;
}
.node {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}
.node-matcha {
    background-color: var(--matcha-green);
    top: -6px; left: -6px;
}
.node-tinder {
    background-color: var(--tinder-orange);
    top: 6px; left: 6px;
}

/* Cursor Hover State (The Merge) */
body.cursor-hover .node {
    width: 40px; height: 40px;
    top: 0; left: 0;
    background-color: transparent;
    border-width: 2px;
    border-style: solid;
}
body.cursor-hover .node-matcha {
    border-color: var(--matcha-green);
    transform: translate(-50%, -50%) scale(1.1);
}
body.cursor-hover .node-tinder {
    border-color: var(--tinder-orange);
    transform: translate(-50%, -50%) scale(0.9);
}

/* Animated Background Blobs */
.blob-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    overflow: hidden;
    z-index: -1;
    filter: blur(120px);
    opacity: 0.6;
}
.blob {
    position: absolute;
    border-radius: 50%;
    animation: blob-float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.blob-matcha {
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--matcha-green), transparent 70%);
    top: -10%; left: -10%;
}
.blob-tinder {
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, var(--tinder-orange), transparent 70%);
    bottom: -10%; right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}
.blob-blue {
    width: 40vw; height: 40vw;
    background: radial-gradient(circle, var(--bg-card), transparent 70%); /* Lighter Navy accent */
    top: 40%; left: 40%;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes blob-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20%, 20%) scale(1.2); }
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 500;
    padding: 16px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-navbar);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-color);
}
.logo span {
    font-weight: 400;
    color: var(--text-muted-active);
}
.brand-wrapper {
    display: inline-block;
    letter-spacing: 0.3px; /* Giãn nhẹ chữ cho dễ đọc khi in đậm */
    margin: 0 3px; /* Cách các từ khác ra một chút xíu */
}
/* Hủy margin khi nằm trong logo để không bị lệch */
.logo .brand-wrapper {
    margin: 0;
}
.brand-matcha {
    color: var(--matcha-green) !important;
    font-weight: 800 !important;
}
.brand-bud {
    color: var(--tinder-orange) !important;
    font-weight: 800 !important;
}
.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    object-fit: cover;
    box-shadow: 0 4px 14px rgba(111, 175, 115, 0.35);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-link {
    color: var(--text-muted-active);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-link:hover {
    color: var(--text-color);
}
.nav-cta {
    padding: 10px 22px;
    border-radius: 30px;
    background: var(--tinder-orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(255, 127, 106, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: none;
    padding: 6px;
    border-radius: 50%;
    color: var(--text-color);
    transition: background 0.2s;
}
.theme-toggle:hover {
    background: rgba(111, 175, 115, 0.1);
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 127, 106, 0.5);
}

@media (max-width: 640px) {
    .nav-link { display: none; }
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 40px 5%;
    gap: 72px;
    max-width: 1240px;
    margin: 0 auto;
}

.hero-content {
    flex: 1 1 520px;
    max-width: 580px;
}

.main-headline {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--matcha-green), var(--tinder-orange), var(--matcha-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 4s ease infinite;
    filter: drop-shadow(0 4px 12px rgba(111, 175, 115, 0.4));
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle, .sub-headline {
    font-size: 1.2rem;
    color: var(--text-muted-active);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 520px;
    line-height: 1.6;
}
.subtitle b, .sub-headline b {
    color: var(--text-color);
}

.cta-container {
    margin-bottom: 60px;
}

.cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--tinder-orange);
    color: white;
    padding: 16px 32px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(253, 80, 104, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    5% { transform: scale(1.05); }
    10% { transform: scale(1); }
    15% { transform: scale(1.05); }
    20% { transform: scale(1); }
    100% { transform: scale(1); }
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(253, 80, 104, 0.6);
    animation: none;
}

.micro-copy {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted-active);
}
.micro-copy b {
    color: var(--text-color);
}

.feature-grid {
    display: flex;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
    padding: 8px 16px 8px 8px;
    border-radius: 40px;
    background: rgba(111, 175, 115, 0.1);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}
.feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(111, 175, 115, 0.5);
}

.feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(111, 175, 115, 0.12);
    color: var(--matcha-green);
}

/* Phone Mockup & Tinder UI */
.hero-interactive {
    position: relative;
    width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Mascot pair (dùng ở waitlist.html) - đứng cạnh nhau, feet aligned */
.hero-mascot {
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}
.mascot-bud-hero {
    position: relative;
    z-index: 2;
    height: 300px;
    width: auto;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.45));
    animation: mascot-bob 3.4s ease-in-out infinite;
}
.mascot-hana-badge {
    position: relative;
    z-index: 1;
    height: 291px;
    width: auto;
    filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.45));
    animation: mascot-bob 3.4s ease-in-out infinite reverse;
}
@keyframes mascot-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Hero peek mascots - ló ra ôm 2 góc dưới điện thoại */
.phone-frame {
    position: relative;
    flex: 0 0 auto;
    width: 340px;
}
.hero-peek {
    position: absolute;
    bottom: -12px;
    width: auto;
    z-index: 3;
    cursor: pointer;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.4));
    transition: scale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-peek:hover {
    scale: 1.1;
    animation-play-state: paused;
}
.hero-peek-bud {
    left: -80px;
    height: 158px;
    animation: mascot-bob 3.6s ease-in-out infinite;
}
.hero-peek-hana {
    right: -80px;
    height: 152px;
    animation: mascot-bob 3.6s ease-in-out infinite reverse;
}
@media (max-width: 600px) {
    .hero-peek { display: none; }
}

.phone-mockup {
    width: 340px;
    height: 680px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #222;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px #333;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #222;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 100;
}

.tinder-app {
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
}

.tinder-header {
    padding: 35px 20px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--matcha-green);
}
.tinder-header-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    object-fit: cover;
}

.tinder-cards {
    flex: 1;
    position: relative;
    margin: 10px;
    perspective: 1000px;
}

.tinder-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #222;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    transform-origin: 50% 100%;
    cursor: grab;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    -webkit-user-select: none;
}
.tinder-card:active {
    cursor: grabbing;
}

/* Default state for stacked cards */
.tinder-card:nth-last-child(1) { z-index: 3; transform: scale(1) translateY(0); }
.tinder-card:nth-last-child(2) { z-index: 2; transform: scale(0.95) translateY(10px); opacity: 0.8;}
.tinder-card:nth-last-child(3) { z-index: 1; transform: scale(0.9) translateY(20px); opacity: 0.5;}

/* Removing transition during drag */
.tinder-card.moving {
    transition: none;
}

.card-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.card-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.card-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.card-info h3 span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.card-info p {
    font-size: 1rem;
    margin-top: 5px;
    color: #e2e8f0;
}

/* Stamps (NOPE/LIKE) */
.stamp {
    position: absolute;
    top: 40px;
    padding: 5px 10px;
    border: 4px solid;
    border-radius: 10px;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0;
    transform: rotate(-15deg);
}

.stamp-nope {
    right: 30px;
    color: var(--tinder-nope);
    border-color: var(--tinder-nope);
    transform: rotate(15deg);
}

.stamp-like {
    left: 30px;
    color: var(--tinder-like);
    border-color: var(--tinder-like);
}

.tinder-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.tinder-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s, background 0.2s;
}
.tinder-btn:hover {
    transform: scale(1.1);
    background: #333;
}
.btn-nope { color: var(--tinder-nope); }
.btn-like { color: var(--tinder-like); }


.interaction-hint {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tinder-flame);
    font-weight: 600;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* --- FEATURE SHOWCASE SECTION --- */
.showcase-section {
    padding: 100px 8%;
    background: var(--bg-secondary); /* Slightly darker than Deep Navy for contrast */
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(to right, var(--text-color), var(--matcha-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}

.showcase-row.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.highlight-mate { color: var(--tinder-flame); }
.highlight-match { color: var(--matcha-green); }
.highlight-meet { color: #3b82f6; }

.showcase-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

/* Common Mockup Style */
.mock-chat, .mock-event, .mock-profile {
    width: 350px;
    background: var(--bg-card); /* Navy Slate */
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s;
}

.showcase-visual:hover > div {
    transform: rotateY(0) rotateX(0);
}

/* Mate Mockup (Chat) */
.chat-header {
    padding: 15px 20px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.chat-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: #3f3f46;
}

.chat-name { font-weight: 600; font-size: 1.1rem; }

.chat-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; }

.msg {
    padding: 12px 16px;
    border-radius: 20px;
    max-width: 80%;
    font-size: 0.95rem;
}
.msg.left { background: var(--bg-secondary); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.right { background: linear-gradient(135deg, var(--tinder-orange), var(--tinder-flame)); align-self: flex-end; border-bottom-right-radius: 4px; color: #fff; }

.contract-bubble {
    background: rgba(111, 175, 115, 0.1) !important;
    border: 1px solid rgba(111, 175, 115, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}
.contract-icon { font-size: 1.5rem; }
.contract-details strong { display: block; color: var(--matcha-green); }
.contract-details span { font-size: 0.8rem; color: var(--text-muted); }

.accept-btn {
    width: 100%; padding: 14px; border-radius: 12px; border: none;
    background: var(--matcha-green); color: #fff; font-weight: 700; margin-top: 10px;
}

/* Match Mockup (Event) */
.event-header { padding: 25px 20px 15px; border-bottom: 1px solid var(--border-color); }
.event-header h4 { font-size: 1.2rem; margin-bottom: 8px; }
.event-tag { background: rgba(16, 185, 129, 0.2); color: #10b981; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; font-weight: 600; }
.event-progress { padding: 20px; }
.progress-info { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 10px; color: var(--text-muted); }
.progress-bar-bg { width: 100%; height: 8px; background: var(--bg-secondary); border-radius: 4px; }
.progress-bar-fill { height: 100%; background: var(--matcha-green); border-radius: 4px; box-shadow: 0 0 10px rgba(111, 175, 115, 0.5); }
.event-avatars { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--bg-card); }
.bg-1{background:#ef4444} .bg-2{background:#f59e0b} .bg-3{background:#10b981} .bg-4{background:#3b82f6} .bg-5{background:#8b5cf6} .bg-6{background:#ec4899} .bg-7{background:#f97316} .bg-8{background:#14b8a6}
.stake-join-btn { width: calc(100% - 40px); margin: 0 20px 20px; padding: 14px; background: var(--matcha-green); border: none; border-radius: 12px; color: #fff; font-weight: 700; }

/* Meet Mockup (Profile) */
.profile-header-bg { height: 100px; background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card)); }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: #000; border: 4px solid var(--bg-card); margin: -40px auto 10px; }
.profile-info { text-align: center; padding: 0 20px; }
.profile-info h4 { font-size: 1.3rem; display: flex; align-items: center; justify-content: center; gap: 5px; }
.verified-badge { color: #3b82f6; font-size: 1rem; }
.profile-info p { font-size: 0.9rem; color: var(--text-muted); margin-top: 5px; }
.profile-action { padding: 30px 20px; text-align: center; }
.pay-msg-btn { width: 100%; padding: 14px; background: #3b82f6; border: none; border-radius: 12px; color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.refund-text { font-size: 0.8rem; color: var(--text-muted); }

/* QR Showcase */
.qr-showcase { text-align: center; margin-top: 150px; }
.qr-text h2 { font-size: 3rem; margin-bottom: 20px; }
.qr-text p { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 60px; }
.qr-graphic { display: flex; justify-content: center; align-items: center; gap: 40px; }
.qr-phone { width: 200px; height: 400px; border: 6px solid #333; border-radius: 30px; background: #111; display: flex; align-items: center; justify-content: center; }
.left-phone { transform: rotate(-10deg); }
.right-phone { transform: rotate(10deg); }
.qr-code-box { width: 120px; height: 120px; background: repeating-linear-gradient(45deg, #fff 0px, #fff 10px, #000 10px, #000 20px); border: 10px solid #fff; }
.camera-view { width: 100%; height: 100%; background: rgba(163, 230, 53, 0.05); display: flex; align-items: center; justify-content: center; }
.focus-square { width: 140px; height: 140px; border: 2px dashed var(--matcha-green); animation: focus 1s infinite alternate; }
.scan-beam { animation: scan 2s infinite ease-in-out alternate; }

@keyframes focus { 0% { transform: scale(0.95); } 100% { transform: scale(1.05); } }
@keyframes scan { 0% { transform: translateX(-20px); } 100% { transform: translateX(20px); } }

/* Scroll Animations */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
    padding: 60px 8%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}
.footer-tagline {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 1rem;
}
.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}
.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding: 40px 5%;
        gap: 40px;
        text-align: center;
    }
    .hero-content {
        flex: 0 1 auto;
        width: 100%;
        max-width: 480px;
    }
    .sub-headline, .subtitle {
        max-width: 100%;
    }
    .cta-group {
        justify-content: center;
    }
    .feature-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-interactive {
        width: auto;
        max-width: 100%;
    }
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 48px 6%;
    }
    .footer-cta {
        align-items: flex-start;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-community {
        text-align: left;
    }
    .social-links {
        flex-wrap: wrap;
    }
    .main-headline { font-size: 3rem; }
    .showcase-row, .showcase-row.reverse { flex-direction: column; text-align: center; gap: 40px; }
    .qr-graphic { flex-direction: column; }
    .left-phone { transform: rotate(0); }
    .right-phone { transform: rotate(0); }
    .scan-beam { transform: rotate(90deg); margin: 20px 0; }
}

/* --- PARTNER LOGOS BANNER --- */
.partners-banner {
    background: var(--bg-footer); /* Even darker Navy */
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.partners-banner p {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.partners-logos {
    display: flex;
    overflow: hidden;
    width: 100%;
}
.logos-track {
    display: flex;
    gap: 60px;
    padding: 0 30px;
    animation: scroll-left 20s linear infinite;
    white-space: nowrap;
}
.logos-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s;
}
.logos-track span:hover {
    color: var(--text-main);
}
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- VENUE (B2B) PAGE --- */
/* Premium Icons */
.icon-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.venue-benefit-card:hover .icon-premium {
    transform: scale(1.1) translateY(-4px);
}
.icon-heart { color: var(--tinder-flame); box-shadow: 0 0 20px rgba(253, 80, 104, 0.1); border-color: rgba(253, 80, 104, 0.2); }
.icon-check { color: var(--matcha-green); box-shadow: 0 0 20px rgba(111, 175, 115, 0.1); border-color: rgba(111, 175, 115, 0.2); }
.icon-data { color: #3b82f6; box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); }

.venue-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.venue-benefit-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.venue-benefit-card::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}
.venue-benefit-card:hover::before { left: 100%; }
.venue-benefit-card:hover {
    transform: translateY(-8px);
    border-color: rgba(111, 175, 115, 0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.venue-benefit-card h3 {
    margin: 18px 0 12px;
    font-size: 1.25rem;
}
.venue-benefit-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Venue Flow */
.venue-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}
.flow-step {
    flex: 1;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}
.flow-step:hover {
    transform: translateY(-5px);
}
.flow-icon-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(111, 175, 115, 0.15), rgba(253, 80, 104, 0.15));
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.flow-step h4 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 700; }
.flow-step p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

.flow-connector {
    flex: 0 0 60px;
    height: 2px;
    position: relative;
    z-index: 1;
    margin: 0 -10px;
}
.flow-line {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg, var(--matcha-green) 0, var(--matcha-green) 5px, transparent 5px, transparent 10px);
    opacity: 0.5;
    animation: flowMove 20s linear infinite;
}
@keyframes flowMove {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 0; }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.pricing-card {
    position: relative;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}
.premium-glow {
    border-color: transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--matcha-green), var(--tinder-orange)) border-box;
    border: 2px solid transparent;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(111, 175, 115, 0.15);
    animation: pulseGlow 3s infinite alternate;
}
@keyframes pulseGlow {
    0% { box-shadow: 0 10px 40px rgba(111, 175, 115, 0.15); }
    100% { box-shadow: 0 15px 50px rgba(253, 80, 104, 0.25); }
}
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--matcha-green), var(--tinder-orange));
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pricing-card h3 { font-size: 1.8rem; margin-bottom: 12px; font-weight: 800; }
.pricing-desc { color: var(--text-muted); margin-bottom: 24px; font-size: 0.95rem; }
.pricing-list { list-style: none; padding: 0; flex-grow: 1; margin-bottom: 30px; }
.pricing-list li { margin-bottom: 16px; color: var(--text-color); font-size: 0.95rem; display: flex; align-items: flex-start; gap: 10px; }
.check-icon { color: var(--matcha-green); flex-shrink: 0; margin-top: 2px; }

.pricing-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}
.pricing-btn:hover {
    background: rgba(255,255,255,0.1);
}
.pricing-btn-primary {
    background: var(--matcha-green);
    color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(111, 175, 115, 0.3);
}
.pricing-btn-primary:hover {
    background: #5a9e5e;
    box-shadow: 0 8px 20px rgba(111, 175, 115, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .venue-benefits-grid, .pricing-grid { grid-template-columns: 1fr; }
    .premium-glow { transform: none; }
    .flow-connector { width: 2px; height: 40px; margin: 10px auto; flex: none; }
    .flow-line { background: repeating-linear-gradient(180deg, var(--matcha-green) 0, var(--matcha-green) 5px, transparent 5px, transparent 10px); }
    @keyframes flowMove { 0% { background-position: 0 0; } 100% { background-position: 0 1000px; } }
}

/* --- FAQ / SAFETY PAGE --- */
.faq-hero {
    text-align: center;
    padding: 80px 8% 40px;
    max-width: 800px;
    margin: 0 auto;
}
.faq-hero-mascot {
    width: 140px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.4));
}
.faq-section .section-title { margin-bottom: 40px; }
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 22px;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--matcha-green);
    margin-left: 16px;
    transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    margin-top: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* --- WAITLIST PAGE --- */
.waitlist-hero {
    display: grid;
    grid-template-rows: 1fr 3fr 6fr; /* 10 / 30 / 60 */
    min-height: calc(100vh - 80px);
    text-align: center;
    padding: 20px 8% 60px;
    max-width: 720px;
    margin: 0 auto;
}
.wl-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wl-kicker {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--matcha-green);
    background: rgba(111, 175, 115, 0.12);
    border: 1px solid rgba(111, 175, 115, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
}
.waitlist-mascot {
    position: relative;
    left: auto;
    bottom: auto;
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
}
.waitlist-mascot .mascot-bud-hero { height: 240px; width: auto; }
.waitlist-mascot .mascot-hana-badge { height: 240px; width: auto; margin-left: 0; }
.wl-zone-content { justify-content: flex-start; }

@media (max-width: 640px) {
    .waitlist-hero {
        grid-template-rows: none;
        min-height: auto;
        gap: 24px;
        padding-top: 30px;
    }
    .waitlist-mascot .mascot-bud-hero { height: 175px; }
    .waitlist-mascot .mascot-hana-badge { height: 175px; }
}

.waitlist-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 480px;
    margin: 0 auto;
}
.waitlist-input {
    flex: 1;
    min-width: 220px;
    padding: 16px 22px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
}
.waitlist-input::placeholder { color: var(--text-muted); }
.waitlist-input:focus {
    outline: none;
    border-color: var(--matcha-green);
}
.waitlist-submit {
    animation: none;
    padding: 16px 28px;
    white-space: nowrap;
}
.waitlist-success {
    display: none;
    margin-top: 20px;
    color: var(--matcha-green);
    font-weight: 700;
    font-size: 1.05rem;
}

@media (max-width: 640px) {
    .waitlist-form { flex-direction: column; }
}

/* --- FLOATING MASCOT (idle animation) --- */
.mascot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 110px;
    height: 110px;
    z-index: 400;
    background-image: url('assets/mascot_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: mascotCycle 2.4s steps(1) infinite;
}
.mascot-container:hover {
    transform: scale(1.15) translateY(-6px);
}
@keyframes mascotCycle {
    0%   { background-image: url('assets/mascot_1.png'); }
    33%  { background-image: url('assets/mascot_2.png'); }
    66%  { background-image: url('assets/mascot_3.png'); }
    100% { background-image: url('assets/mascot_1.png'); }
}
@media (max-width: 640px) {
    .mascot-container { width: 80px; height: 80px; bottom: 16px; right: 16px; }
}

/* --- TOKENOMICS PIE CHART (CSS ONLY) --- */
.tokenomics-teaser { background: var(--bg-primary); }
.token-chart-container {
    display: flex; justify-content: center; align-items: center;
}
.pie-chart-3d {
    position: relative;
    width: 250px; height: 250px;
    border-radius: 50%;
    background: conic-gradient(
        var(--matcha-green) 0% 25%,
        var(--tinder-orange) 25% 50%,
        #3b82f6 50% 70%,
        #f59e0b 70% 90%,
        #8b5cf6 90% 100%
    );
    box-shadow: 0 20px 30px rgba(0,0,0,0.5), inset 0 5px 15px rgba(255,255,255,0.2);
    transform: rotateX(60deg) rotateZ(-30deg);
    transform-style: preserve-3d;
    transition: transform 0.5s;
}
.pie-chart-3d:hover {
    transform: rotateX(40deg) rotateZ(0deg) scale(1.1);
}
.chart-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) translateZ(20px);
    background: var(--bg-card);
    width: 120px; height: 120px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 900;
    color: var(--text-main);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 2px solid var(--border-color);
}

/* --- FOOTER UPDATES --- */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}
.footer-brand p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.footer-community {
    text-align: right;
}
.footer-community p {
    font-weight: 700;
    margin-bottom: 10px;
}
.social-links {
    display: flex;
    gap: 20px;
}
.social-links a {
    display: flex; align-items: center; gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.social-links a:hover {
    color: var(--matcha-green);
}

/* --- VENUES B2B EXTREME UPGRADE --- */

.venue-hero-v2 {
    background: var(--gradient-hero);
    padding: 80px 8% 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.venue-hero-v2 .main-headline { font-size: 4rem; color: var(--text-color); }
.animated-gradient {
    background: linear-gradient(90deg, var(--matcha-green), var(--tinder-orange), #3b82f6, var(--matcha-green));
    background-size: 300% 100%;
    animation: gradientShift 5s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.primary-cta-btn {
    background: linear-gradient(90deg, var(--matcha-green), var(--tinder-orange));
    color: #fff;
    border: none;
    box-shadow: 0 8px 25px rgba(111, 175, 115, 0.4);
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 40px;
}
.primary-cta-btn:hover {
    box-shadow: 0 12px 30px rgba(253, 80, 104, 0.5);
    transform: translateY(-3px);
}

.venue-stat-bar {
    display: flex; gap: 20px; margin-top: 40px;
}
.stat-chip {
    display: flex; flex-direction: column;
    padding: 16px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--text-color); margin-bottom: 4px; }
.stat-label { font-size: 0.85rem; color: var(--text-muted-active); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.floating-mascot { animation: bobFloat 4s ease-in-out infinite; }
@keyframes bobFloat { 0% { transform: translateY(0); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0); } }

.trust-bar-section {
    padding: 30px 8%; background: var(--bg-secondary); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
}
.venue-type-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; margin: 0 auto;
}
.partner-chip {
    padding: 8px 16px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 30px;
    color: var(--text-muted-active); font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 8px;
}
.glow-chip { color: var(--matcha-green); border-color: rgba(111,175,115,0.3); background: rgba(111,175,115,0.1); box-shadow: 0 0 15px rgba(111,175,115,0.2); }

.benefit-card-v2 {
    background: var(--bg-navbar);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    backdrop-filter: blur(16px);
}
.benefit-card-v2:hover {
    transform: translateY(-8px);
    border-color: var(--tinder-orange);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.card-badge {
    position: absolute; top: 20px; right: 20px; font-size: 0.75rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; letter-spacing: 1px; text-transform: uppercase;
}
.badge-roi { color: #fff; background: var(--tinder-orange); }
.badge-fraud { color: #08130a; background: var(--matcha-green); }
.badge-data { color: #fff; background: #3b82f6; }
.icon-premium-v2 {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; border-radius: 20px; margin-bottom: 24px;
    background: var(--bg-glass); border: 1px solid var(--border-color); box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.benefit-card-v2 h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--text-color); }
.benefit-card-v2 p { color: var(--text-muted-active); line-height: 1.7; font-size: 1rem; }
.mascot-benefit-end { text-align: right; max-width: 1100px; margin: 20px auto 0; }
.mascot-coffee { width: 150px; height: auto; filter: drop-shadow(0 15px 20px rgba(0,0,0,0.4)); }

.flow-section-bg { background: var(--gradient-flow); }
.step-grid {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 16px; max-width: 1200px; margin: 0 auto; align-items: start;
}
.step-node {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px;
    padding: 30px 20px; text-align: center; position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.step-num { font-size: 2rem; font-weight: 900; background: linear-gradient(135deg, var(--matcha-green), var(--tinder-orange)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.5; margin-bottom: 10px; }
.step-icon-v2 {
    display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(111,175,115,0.2), rgba(253,80,104,0.2)); color: var(--text-color); margin-bottom: 20px; border: 1px solid var(--border-color);
}
.step-arrow { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--matcha-green); padding-top: 50px; }

.pricing-price { font-size: 2rem; font-weight: 900; color: var(--text-color); margin-bottom: 8px; }
.check-circle { width: 22px; height: 22px; border-radius: 50%; background: rgba(111,175,115,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.check-icon-v2 { color: var(--matcha-green); }
.w-full { width: 100%; box-sizing: border-box; }
.animated-border-card {
    background: var(--bg-glass);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.animated-border-card::after {
    content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--matcha-green), var(--tinder-orange), #3b82f6, var(--matcha-green));
    background-size: 300% 300%;
    z-index: -1; border-radius: 22px;
    animation: borderGlow 4s ease infinite;
}
@keyframes borderGlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

.final-cta-banner {
    background: var(--gradient-cta);
    border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color);
    padding: 60px 8%; display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 60px auto; border-radius: 30px; overflow: hidden;
}
.final-cta-content h2 { font-size: 2.5rem; color: var(--text-color); margin-bottom: 16px; }
.final-cta-content p { color: var(--text-muted-active); font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; }
.final-cta-mascot img { height: 200px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); }

@media (max-width: 968px) {
    .venue-hero-v2 { flex-direction: column; text-align: center; padding-top: 40px; }
    .venue-stat-bar { justify-content: center; flex-wrap: wrap; }
    .step-grid { grid-template-columns: 1fr; gap: 0; }
    .step-arrow { padding-top: 10px; padding-bottom: 10px; transform: rotate(90deg); }
    .final-cta-banner { flex-direction: column; text-align: center; gap: 30px; }
}
