/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --salmon: #FA8072;
    --salmon-dark: #E06B5E;
    --salmon-light: #FFAFA3;
    --rose-gold: #E9967A;
    --wasabi: #7CB342;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE3;
    --dark-bg: #121212;
    --dark-surface: #1C1B1F;
    --dark-card: #2B2930;
    --gold: #FFD700;
    --silver: #C0C0C0;
    --bronze: #CD7F32;
    --text: #1C1B1F;
    --text-muted: #534341;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(250,128,114,.10);
    --shadow-md: 0 8px 32px rgba(250,128,114,.12);
    --shadow-lg: 0 16px 48px rgba(250,128,114,.18);
    --shadow-xl: 0 24px 64px rgba(250,128,114,.22);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Particles ===== */
.particles {
    position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
    position: absolute;
    font-size: 20px;
    opacity: .12;
    animation: floatParticle 18s infinite ease-in-out;
}
@keyframes floatParticle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-80px) rotate(180deg); }
}

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,248,240,.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 12px rgba(0,0,0,.06);
    padding: 10px 0;
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--text);
}
.logo-emoji { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    text-decoration: none; color: var(--text-muted);
    font-weight: 500; font-size: 14px; transition: var(--transition);
}
.nav-links a:hover { color: var(--salmon); }
.nav-cta {
    background: var(--salmon) !important; color: white !important;
    padding: 8px 20px; border-radius: 100px;
    font-weight: 600 !important;
}
.nav-cta:hover { background: var(--salmon-dark) !important; transform: translateY(-1px); }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
    width: 22px; height: 2px; background: var(--text);
    border-radius: 2px; transition: var(--transition);
}
.mobile-menu {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: rgba(255,248,240,.97); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px; flex-direction: column; gap: 16px; z-index: 999;
    border-bottom: 1px solid var(--cream-dark);
}
.mobile-menu a {
    text-decoration: none; color: var(--text); font-weight: 500;
    font-size: 16px; padding: 8px 0;
}
.mobile-menu.active { display: flex; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
.hero-inner {
    display: flex; align-items: center; gap: 60px;
    max-width: 1200px; width: 100%;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(250,128,114,.12), transparent),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(233,150,122,.10), transparent),
        radial-gradient(ellipse 40% 40% at 60% 80%, rgba(124,179,66,.06), transparent);
}
.hero-content {
    position: relative; z-index: 2;
    max-width: 580px; flex: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: white; border: 1px solid var(--cream-dark);
    padding: 6px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--text-muted);
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900; line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--salmon), var(--rose-gold), var(--salmon-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 17px; color: var(--text-muted);
    line-height: 1.7; margin-bottom: 32px;
    max-width: 480px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 100px;
    font-size: 15px; font-weight: 600;
    text-decoration: none; transition: var(--transition);
    cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--salmon), var(--salmon-dark));
    color: white; box-shadow: 0 4px 16px rgba(250,128,114,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(250,128,114,.45); }
.btn-secondary {
    background: white; color: var(--text);
    border: 1.5px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--salmon-light); background: #fff5f3; }

.hero-stats {
    display: flex; align-items: center; gap: 28px;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat-number {
    font-size: 32px; font-weight: 900; color: var(--salmon);
    display: inline; line-height: 1;
}
.stat-suffix { font-size: 22px; font-weight: 900; color: var(--salmon); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 4px; }
.stat-emoji { font-size: 32px; }
.stat-divider { width: 1px; height: 40px; background: var(--cream-dark); }

.store-btn.direct-dl { background: rgba(255,255,255,.25); border: 1.5px solid rgba(255,255,255,.5); }
.store-btn.direct-dl:hover { background: rgba(255,255,255,.4); }

/* Hero Visual – Phone Mockup */
.hero-visual {
    position: relative; z-index: 2;
    flex: 1; display: flex; justify-content: center; align-items: center;
    min-height: 500px;
}
.phone-mockup { position: relative; }
.phone-frame {
    width: 280px; height: 560px;
    background: var(--dark-surface);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), inset 0 0 0 2px rgba(255,255,255,.08);
    position: relative; overflow: hidden;
}
.phone-notch {
    width: 120px; height: 28px;
    background: var(--dark-surface);
    border-radius: 0 0 16px 16px;
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    z-index: 10;
}
.phone-screen {
    width: 100%; height: 100%;
    background: var(--cream);
    border-radius: 30px;
    overflow: hidden;
}

/* Mock app inside phone */
.mock-app { padding: 44px 16px 16px; height: 100%; display: flex; flex-direction: column; }
.mock-header { text-align: center; margin-bottom: 12px; }
.mock-title { font-size: 16px; font-weight: 800; }
.mock-code { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.mock-podium { display: flex; align-items: flex-end; justify-content: center; gap: 8px; flex: 1; padding-bottom: 12px; }
.mock-podium-slot {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 8px 6px; border-radius: 12px;
}
.mock-podium-slot.first { order: 2; }
.mock-podium-slot.second { order: 1; }
.mock-podium-slot.third { order: 3; }
.mock-avatar { font-size: 28px; }
.mock-podium-slot.first .mock-avatar { font-size: 36px; }
.mock-name { font-size: 10px; font-weight: 700; }
.mock-count { font-size: 18px; font-weight: 900; color: var(--salmon); }
.mock-count-animate { animation: countPulse 2s infinite; }
@keyframes countPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); color: var(--salmon-dark); }
}
.mock-medal { font-size: 14px; }
.mock-counter {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    padding: 16px; background: white; border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.mock-btn {
    width: 44px; height: 44px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 700; cursor: default;
}
.mock-minus { background: #FFEBEE; color: #E53935; }
.mock-plus { background: #FFF3F0; color: var(--salmon); }
.mock-number { font-size: 32px; font-weight: 900; }

/* Floating sushi around phone */
.floating-sushi {
    position: absolute; font-size: 32px;
    animation: floatEmoji 6s infinite ease-in-out;
}
.s1 { top: 5%; left: 5%; animation-delay: 0s; }
.s2 { top: 15%; right: 5%; animation-delay: 1s; }
.s3 { bottom: 25%; left: 0%; animation-delay: 2s; }
.s4 { bottom: 10%; right: 10%; animation-delay: 3s; }
.s5 { top: 45%; left: -5%; animation-delay: 4s; }
@keyframes floatEmoji {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: .7; }
    50% { transform: translateY(-20px) rotate(15deg); opacity: 1; }
}

/* ===== Sections common ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(250,128,114,.12), rgba(233,150,122,.12));
    color: var(--salmon-dark);
    padding: 6px 18px; border-radius: 100px;
    font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900; letter-spacing: -1px;
    margin-bottom: 12px;
}
.section-header p {
    font-size: 17px; color: var(--text-muted); max-width: 500px; margin: 0 auto;
}

/* ===== Features ===== */
.features { padding: 120px 0; }
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
    background: white;
    border: 1px solid rgba(0,0,0,.04);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    opacity: 0; transform: translateY(30px);
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--salmon-light);
}
.feature-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(250,128,114,.12), rgba(233,150,122,.08));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 20px;
}
.feature-card h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 10px;
}
.feature-card p {
    font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== How it works ===== */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, white 0%, var(--cream) 100%);
}
.steps { max-width: 700px; margin: 0 auto; }
.step {
    display: flex; align-items: center; gap: 32px;
    padding: 32px;
    background: white; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,.03);
    opacity: 0; transform: translateX(-30px);
    transition: all .6s cubic-bezier(.4,0,.2,1);
}
.step.visible { opacity: 1; transform: translateX(0); }
.step:nth-child(odd) .step-visual { order: -1; }
.step-number {
    width: 48px; height: 48px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--salmon), var(--salmon-dark));
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(250,128,114,.3);
}
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.step-visual { flex-shrink: 0; }
.step-icon-wrapper {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, rgba(250,128,114,.08), rgba(233,150,122,.06));
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
}
.step-connector {
    width: 100px; height: 40px; margin: 0 auto;
    opacity: .5;
}
.step-connector svg { width: 100%; height: 100%; }

@media (max-width: 640px) {
    .step { flex-direction: column; text-align: center; gap: 16px; }
    .step:nth-child(odd) .step-visual { order: 0; }
}

/* ===== Screenshots / Showcase ===== */
.screenshots { padding: 120px 0; }
.showcase-cards {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    align-items: start;
}
.showcase-card {
    background: white; border-radius: var(--radius-lg);
    overflow: hidden; border: 1px solid rgba(0,0,0,.04);
    transition: var(--transition);
    opacity: 0; transform: translateY(30px);
}
.showcase-card.visible { opacity: 1; transform: translateY(0); }
.showcase-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.showcase-card.featured { transform: translateY(-10px) scale(1.02); }
.showcase-card.featured.visible { transform: translateY(-10px) scale(1.02); }
.showcase-card.featured:hover { transform: translateY(-16px) scale(1.04); }
.showcase-preview {
    height: 280px; display: flex; align-items: center; justify-content: center;
    padding: 24px; position: relative; overflow: hidden;
}
.login-preview { background: linear-gradient(135deg, #FFF5F3, #FFEEE8); }
.home-preview { background: linear-gradient(135deg, #FFF8F0, #FFF3EE); }
.room-preview { background: linear-gradient(135deg, #FFF0ED, #FFE0DA); }
.showcase-mock-screen {
    width: 180px; background: white;
    border-radius: 20px; padding: 20px 14px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

/* Login mock */
.mock-login-header { font-size: 36px; margin-bottom: 4px; }
.mock-login-title { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.mock-login-subtitle { font-size: 9px; color: var(--text-muted); margin-bottom: 12px; }
.mock-input {
    height: 28px; background: var(--cream); border-radius: 8px;
    margin-bottom: 8px;
}
.mock-login-btn {
    background: linear-gradient(135deg, var(--salmon), var(--salmon-dark));
    color: white; border-radius: 100px; padding: 6px;
    font-size: 11px; font-weight: 700;
}

/* Home mock */
.mock-home-greeting { font-size: 13px; font-weight: 700; margin-bottom: 10px; text-align: left; }
.mock-room-card {
    background: var(--cream); border-radius: 12px;
    padding: 10px 12px; margin-bottom: 8px; text-align: left;
}
.mock-room-name { font-size: 12px; font-weight: 700; }
.mock-room-members { font-size: 9px; color: var(--text-muted); }
.mock-fab {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--salmon), var(--salmon-dark));
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
    margin: 8px 0 0 auto;
    box-shadow: 0 4px 12px rgba(250,128,114,.3);
}

/* Room mock */
.mock-room-header { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.mock-mini-podium { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.mini-slot {
    font-size: 11px; text-align: center; line-height: 1.4; font-weight: 700;
}
.mini-slot.gold { font-size: 14px; transform: translateY(-4px); }
.mock-big-counter {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    padding: 8px;
}
.big-minus, .big-plus {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700;
}
.big-minus { background: #FFEBEE; color: #E53935; }
.big-plus { background: #FFF3F0; color: var(--salmon); }
.big-number { font-size: 28px; font-weight: 900; }

.showcase-card h3 { padding: 20px 24px 4px; font-size: 16px; font-weight: 700; }
.showcase-card > p { padding: 0 24px 24px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) {
    .showcase-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .showcase-card.featured { transform: none; }
    .showcase-card.featured.visible { transform: none; }
    .showcase-card.featured:hover { transform: translateY(-6px); }
}

/* ===== Tech Stack ===== */
.tech-stack { padding: 80px 0 120px; }
.tech-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.tech-item {
    display: flex; align-items: center; gap: 10px;
    background: white; padding: 14px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,.04);
    font-size: 14px; font-weight: 600;
    transition: var(--transition);
    opacity: 0; transform: translateY(20px);
}
.tech-item.visible { opacity: 1; transform: translateY(0); }
.tech-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tech-logo { font-size: 22px; }

/* ===== Download CTA ===== */
.download { padding: 80px 0 120px; }
.download-card {
    background: linear-gradient(135deg, var(--salmon), var(--salmon-dark), var(--rose-gold));
    border-radius: var(--radius-xl);
    padding: 64px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 48px;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.download-bg-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 50%);
}
.download-content { position: relative; z-index: 2; flex: 1; }
.download-content h2 {
    color: white; font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900; margin-bottom: 12px; letter-spacing: -.5px;
}
.download-content p { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 28px; }
.download-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
    display: flex; align-items: center; gap: 12px;
    background: rgba(0,0,0,.25); color: white;
    padding: 14px 24px; border-radius: 14px;
    text-decoration: none; transition: var(--transition);
    backdrop-filter: blur(10px);
}
.store-btn:hover { background: rgba(0,0,0,.4); transform: translateY(-2px); }
.store-btn small { display: block; font-size: 10px; opacity: .8; }
.store-btn strong { display: block; font-size: 15px; }
.download-visual {
    position: relative; z-index: 2;
}
.download-emoji-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    font-size: 36px; text-align: center;
}
.download-emoji-grid span {
    animation: emojiFloat 3s infinite ease-in-out;
    display: block;
}
.download-emoji-grid span:nth-child(2) { animation-delay: .3s; }
.download-emoji-grid span:nth-child(3) { animation-delay: .6s; }
.download-emoji-grid span:nth-child(4) { animation-delay: .9s; }
.download-emoji-grid span:nth-child(5) { animation-delay: 1.2s; }
.download-emoji-grid span:nth-child(6) { animation-delay: 1.5s; }
.download-emoji-grid span:nth-child(7) { animation-delay: 1.8s; }
.download-emoji-grid span:nth-child(8) { animation-delay: 2.1s; }
.download-emoji-grid span:nth-child(9) { animation-delay: 2.4s; }
@keyframes emojiFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.1); }
}

@media (max-width: 768px) {
    .download-card { flex-direction: column; padding: 40px 28px; text-align: center; }
    .download-buttons { justify-content: center; }
}

/* ===== Footer ===== */
.footer {
    padding: 40px 0;
    background: white;
    border-top: 1px solid var(--cream-dark);
}
.footer-content {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.footer-brand {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
}
.footer-text { font-size: 14px; color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-muted); opacity: .6; }

/* ===== Responsive Hero ===== */
@media (max-width: 1024px) {
    .hero { padding: 140px 24px 60px; min-height: auto; }
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-content { max-width: 600px; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { min-height: 420px; margin-top: 40px; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .phone-frame { width: 240px; height: 480px; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 24px; }
}

/* ===== Smooth scroll padding ===== */
section[id] { scroll-margin-top: 80px; }

/* ===== Scroll animations base ===== */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all .6s cubic-bezier(.4,0,.2,1);
}
[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}
