/* ============================================
   Mochi Pet — mymochipet.com
   Design: Soft kawaii-modern
   ============================================ */

:root {
    --pink: #FF8FAB;
    --pink-soft: #FFB3C6;
    --pink-pale: #FFF0F3;
    --peach: #FFDAB9;
    --lavender: #E0C3FC;
    --lavender-deep: #B8A9C9;
    --mint: #B5EAD7;
    --cream: #FFF8F0;
    --sky: #A0D2DB;
    --text: #4A3728;
    --text-light: #8B7355;
    --text-muted: #B5A08E;
    --white: #FFFFFF;
    --shadow-soft: 0 4px 24px rgba(74, 55, 40, 0.06);
    --shadow-medium: 0 8px 40px rgba(74, 55, 40, 0.1);
    --shadow-glow: 0 0 60px rgba(255, 143, 171, 0.15);
    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 32px;
}

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

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

body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ---- Blob Background ---- */
.blob-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px; height: 500px;
    background: var(--pink-soft);
    top: -10%; left: -5%;
    animation-delay: 0s;
}
.blob-2 {
    width: 400px; height: 400px;
    background: var(--lavender);
    top: 30%; right: -10%;
    animation-delay: -5s;
}
.blob-3 {
    width: 350px; height: 350px;
    background: var(--mint);
    bottom: 10%; left: 10%;
    animation-delay: -10s;
}
.blob-4 {
    width: 300px; height: 300px;
    background: var(--peach);
    top: 60%; left: 40%;
    animation-delay: -15s;
}
.blob-5 {
    width: 250px; height: 250px;
    background: var(--sky);
    top: 10%; right: 20%;
    animation-delay: -8s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.03); }
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 24px;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 12px rgba(74, 55, 40, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.logo-mochi { color: var(--pink); }
.logo-pet { color: var(--lavender-deep); }

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--pink) !important;
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 143, 171, 0.3);
}

/* ---- Hero ---- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 143, 171, 0.12);
    color: var(--pink);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 6px; height: 6px;
    background: var(--pink);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--text);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(74, 55, 40, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(74, 55, 40, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(74, 55, 40, 0.15);
}

.btn-ghost:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-item svg { color: var(--mint); stroke: var(--text-muted); }

/* ---- Phone Mockup ---- */
.hero-visual {
    position: relative;
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: var(--shadow-medium), 0 0 0 3px rgba(74, 55, 40, 0.05);
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: var(--text);
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
    padding: 36px 12px 12px;
    display: flex;
    flex-direction: column;
}

.mock-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.mock-icons { display: flex; gap: 4px; opacity: 0.6; }

.mock-app {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-stats {
    display: flex;
    gap: 6px;
    padding: 6px;
}

.mock-stat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-icon { font-size: 12px; }

.stat-bar {
    flex: 1;
    height: 5px;
    background: rgba(74, 55, 40, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: var(--pink);
    border-radius: 10px;
    transition: width 1.5s ease;
}

.stat-fill.happy { background: var(--mint); }
.stat-fill.energy { background: var(--sky); }

/* ---- Mochi Doll Face ---- */
.mock-doll {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

.doll-face {
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, var(--pink-pale), var(--pink-soft));
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 20px rgba(255, 143, 171, 0.2);
    animation: dollfloat 3s ease-in-out infinite;
}

.doll-face.large {
    width: 140px;
    height: 140px;
}

.doll-eyes {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
}

.doll-face.large .doll-eyes { gap: 28px; }

.doll-eye {
    width: 12px;
    height: 14px;
    background: var(--text);
    border-radius: 50%;
    position: relative;
}

.doll-face.large .doll-eye {
    width: 18px;
    height: 20px;
}

.eye-shine {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.doll-face.large .eye-shine {
    width: 6px;
    height: 6px;
    top: 3px;
    right: 3px;
}

.doll-mouth {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 6px;
    border: 2px solid var(--text);
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.doll-mouth.wide {
    width: 20px;
    height: 10px;
    border-width: 3px;
}

.doll-blush {
    position: absolute;
    top: 48%;
    width: 14px;
    height: 8px;
    background: rgba(255, 143, 171, 0.4);
    border-radius: 50%;
}

.doll-face.large .doll-blush {
    width: 22px;
    height: 12px;
}

.doll-blush.left { left: 12%; }
.doll-blush.right { right: 12%; }

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

/* ---- Mock Chat ---- */
.mock-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 4px;
    overflow: hidden;
}

.chat-bubble {
    padding: 7px 12px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
    max-width: 85%;
    line-height: 1.4;
}

.doll-bubble {
    background: rgba(74, 55, 40, 0.06);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-bubble {
    background: var(--pink);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.appear-1 { animation: chatAppear 0.5s ease-out 1s both; }
.appear-2 { animation: chatAppear 0.5s ease-out 2s both; }
.appear-3 { animation: chatAppear 0.5s ease-out 3s both; }

@keyframes chatAppear {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Mock Actions ---- */
.mock-actions {
    display: flex;
    gap: 4px;
    padding: 4px;
}

.mock-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 2px;
    background: rgba(74, 55, 40, 0.04);
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    color: var(--text-light);
}

.mock-action-btn span { font-size: 14px; }

/* ---- Sparkles ---- */
.hero-sparkles {
    position: absolute;
    inset: -40px;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    font-size: 24px;
    animation: sparkleFloat 4s ease-in-out infinite;
}

.s1 { top: 5%; right: -10%; animation-delay: 0s; }
.s2 { bottom: 15%; left: -15%; animation-delay: -1s; }
.s3 { top: 25%; left: -20%; animation-delay: -2s; }
.s4 { bottom: 5%; right: -5%; animation-delay: -3s; }

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-15px) rotate(10deg); opacity: 1; }
}

/* ---- Sections ---- */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ---- Features ---- */
.features {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 36px 28px;
    border: 1px solid rgba(74, 55, 40, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-ai .feature-icon { background: rgba(255, 143, 171, 0.12); color: var(--pink); }
.card-privacy .feature-icon { background: rgba(181, 234, 215, 0.3); color: #5BAB8B; }
.card-offline .feature-icon { background: rgba(160, 210, 219, 0.25); color: #5A9BA6; }
.card-grow .feature-icon { background: rgba(224, 195, 252, 0.25); color: var(--lavender-deep); }
.card-dress .feature-icon { background: rgba(255, 218, 185, 0.3); color: #C4956A; }
.card-free .feature-icon { background: rgba(255, 143, 171, 0.12); color: var(--pink); }

.feature-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---- How It Works ---- */
.how-it-works {
    position: relative;
    z-index: 1;
    padding: 80px 0 100px;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--pink), var(--lavender));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(255, 143, 171, 0.25);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--pink-soft), var(--lavender));
    margin-top: 28px;
    flex-shrink: 0;
    border-radius: 2px;
}

.step-content h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- Privacy Section ---- */
.privacy-section {
    position: relative;
    z-index: 1;
    padding: 60px 0 100px;
}

.privacy-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(181, 234, 215, 0.15));
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(181, 234, 215, 0.2);
}

.privacy-icon {
    color: var(--mint);
    margin-bottom: 24px;
}

.privacy-card h2 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
}

.privacy-card p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.8;
}

.privacy-link {
    color: var(--pink);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.privacy-link:hover { opacity: 0.8; }

/* ---- Download Section ---- */
.download-section {
    position: relative;
    z-index: 1;
    padding: 80px 0 100px;
    text-align: center;
}

.download-mochi {
    margin-bottom: 24px;
}

.cta-doll {
    display: inline-block;
    animation: dollfloat 3s ease-in-out infinite;
}

.download-title {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.download-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.app-store-badge {
    display: inline-block;
    transition: transform 0.25s, box-shadow 0.25s;
    border-radius: 12px;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ---- Footer ---- */
.footer {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(74, 55, 40, 0.06);
    padding: 60px 24px 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(74, 55, 40, 0.06);
}

.footer-brand .nav-logo {
    font-size: 1.3rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: 4px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

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

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-connector {
        width: 2px;
        height: 30px;
        background: linear-gradient(180deg, var(--pink-soft), var(--lavender));
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .nav-links a:not(.nav-cta) { display: none; }

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

    .privacy-card {
        padding: 40px 24px;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .footer-links {
        gap: 32px;
        flex-wrap: wrap;
    }
}
