/* ============================================
   What's Up, Baby? Marketing Website
   ============================================ */

:root {
    --pink: #E8818C;
    --pink-light: #FFF0F3;
    --pink-dark: #D4687A;
    --text: #1A1A2E;
    --text-secondary: #6B7280;
    --bg: #FFFFFF;
    --bg-warm: #FFFBF9;
    --bg-section: #FDF8F6;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ---- Navigation ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    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.05);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
}

.nav-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232,129,140,0.4);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* ---- Hero ---- */

.hero {
    position: relative;
    padding: 140px 24px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--pink-light) 0%, var(--bg) 100%);
}

.hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,129,140,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 20px 60px;
}

.hero-text { grid-column: 1; grid-row: 1; }
.hero-phone { grid-column: 2; grid-row: 1 / 3; }
.hero-bottom { grid-column: 1; grid-row: 2; }

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(232,129,140,0.1);
    color: var(--pink);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--pink), #C06090, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-actions { margin-bottom: 40px; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
}

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

.stat { text-align: center; }

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

.stat span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.1);
}

.hero-phone {
    align-self: center;
}

.phone-frame {
    width: 320px;
    background: #1A1A2E;
    border-radius: 48px;
    padding: 10px;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.08), inset 0 0 0 1px rgba(255,255,255,0.05);
    animation: float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

/* Ensure all phone frames can hold poster overlays */

.phone-frame::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 120px;
    width: 3px;
    height: 48px;
    background: #2A2A3E;
    border-radius: 0 2px 2px 0;
}

.phone-frame img,
.phone-frame video {
    width: 100%;
    border-radius: 40px;
    display: block;
}

/* Give video a phone aspect ratio so frame never collapses before load */
.phone-frame video {
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    object-position: top;
    background: #F8F7F5;
}

/* Poster overlay: matches video position inside padded phone-frame.
   .phone-frame prefix needed to beat .phone-frame img specificity (0-2-0 > 0-1-1) */
.phone-frame .video-poster {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    object-position: top;
    z-index: 1;
}

.phone-small {
    width: 280px;
}

.phone-demo {
    animation: none;
}

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

/* ---- Section Headers ---- */

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

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(232,129,140,0.1);
    color: var(--pink);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

/* ---- Tools Grid (mirrors app Tools tab) ---- */

.features {
    padding: 100px 0;
    background: var(--bg-warm);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.tool-section-label {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-top: 20px;
    margin-bottom: -4px;
    padding-left: 4px;
}

/* Standard tool card */
.tool-card {
    background: white;
    border-radius: var(--radius);
    padding: 20px 16px;
    border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    text-align: center;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.tool-emoji {
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1;
}

.tool-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tool-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Hero card — spans 2 columns, horizontal layout */
.tool-hero {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    color: white;
    border: none;
    text-align: left;
    border-radius: var(--radius-lg);
}

.tool-hero .tool-emoji {
    font-size: 36px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.tool-hero .tool-info h3 {
    font-size: 17px;
    color: white;
    margin-bottom: 4px;
}

.tool-hero .tool-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.tool-hero:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

/* Wide card — spans full width, horizontal layout */
.tool-wide {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    text-align: left;
    border: none;
    border-radius: var(--radius-lg);
}

.tool-wide .tool-emoji {
    font-size: 36px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.tool-wide .tool-info h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.tool-wide .tool-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ---- Demo Videos Section ---- */

.demos {
    padding: 100px 0;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.demo-tab {
    padding: 10px 24px;
    border-radius: 100px;
    border: 1.5px solid rgba(0,0,0,0.1);
    background: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s;
}

.demo-tab:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.demo-tab.active {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
}

.demo-player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.demo-phone {
    flex-shrink: 0;
}

.demo-info {
    max-width: 400px;
}

.demo-panel h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.demo-panel p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---- Partner Section ---- */

.partner {
    padding: 100px 0;
    background: var(--bg-section);
}

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

.partner-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.partner-header > p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.partner-phones {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    overflow: hidden;
}

.partner-phone-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Mom phone — starts centered, shifts left on bump */
.partner-phone-col.mom-col {
    transform: translateX(calc(50% + 20px));
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.partner-phone-col.mom-col.settled {
    transform: translateX(0);
}

/* Partner phone — starts off-screen right, slides in */
.partner-phone-col.partner-col {
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.partner-phone-col.partner-col.slide-in {
    transform: translateX(0);
    opacity: 1;
}

/* Bump nudge on mom phone */
@keyframes bump-nudge {
    0% { transform: translateX(0); }
    30% { transform: translateX(-12px); }
    60% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}
.partner-phone-col.mom-col.bump {
    animation: bump-nudge 0.4s ease-out;
}

.phone-partner {
    width: 280px;
    animation: none;
    border-radius: 42px;
    padding: 8px;
}

.phone-partner img,
.phone-partner video {
    border-radius: 35px;
}

.phone-partner .video-poster {
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
}

.partner-phone-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.partner-phone-label.show { opacity: 1; }

.partner-details {
    max-width: 700px;
    margin: 0 auto;
}

.partner-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
}

.partner-features li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.partner-features strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.partner-features span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ---- Highlights ---- */

.highlights {
    padding: 80px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.highlight {
    padding: 32px 16px;
}

.highlight-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.highlight-label {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.highlight p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ---- Reviews ---- */

.reviews {
    padding: 80px 0;
    background: var(--bg-section);
}

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

.review-card {
    background: white;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
}

.review-stars {
    color: #FBBF24;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.review-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 14px;
}

.review-author span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ---- Languages ---- */

.languages {
    padding: 80px 0;
    background: var(--bg-warm);
}

.language-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.lang-pill {
    padding: 10px 24px;
    background: white;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.lang-pill:hover {
    transform: translateY(-2px);
}

/* ---- CTA ---- */

.cta {
    padding: 100px 0;
}

.cta-inner {
    text-align: center;
    background: linear-gradient(135deg, #FFF0F3, #F8E8FF);
    border-radius: 32px;
    padding: 80px 40px;
}

.cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.cta-inner h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-inner p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ---- Footer ---- */

.footer {
    padding: 60px 0 32px;
    background: var(--text);
    color: rgba(255,255,255,0.7);
}

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

.footer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 280px;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

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

/* ---- Screenshot Lightbox ---- */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 380px;
    width: 90%;
    animation: lbIn 0.3s ease;
}

@keyframes lbIn {
    from { opacity: 0; transform: scale(0.9) translateY(16px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-content img {
    width: 100%;
    border-radius: 32px;
    display: block;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-title {
    text-align: center;
    color: white;
    font-size: 17px;
    font-weight: 600;
    margin-top: 20px;
    opacity: 0.9;
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .demo-player {
        flex-direction: column-reverse;
        text-align: center;
    }

    .demo-info { max-width: 100%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow);
    }

    .hero-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        text-align: center;
        gap: 32px;
    }

    .hero-text { grid-column: 1; grid-row: 1; }
    .hero-phone { grid-column: 1; grid-row: 2; justify-self: center; }
    .hero-bottom { grid-column: 1; grid-row: 3; }

    .hero-subtitle { margin: 0 auto 0; }
    .hero-stats { justify-content: center; }
    .hero-actions { margin-bottom: 0; }

    .reviews-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 40px auto 0;
    }

    .partner-phones {
        gap: 24px;
    }

    .phone-partner {
        width: 220px;
        border-radius: 33px;
        padding: 7px;
    }
    .phone-partner img,
    .phone-partner video { border-radius: 27px; }
    .phone-partner .video-poster { top: 7px; left: 7px; width: calc(100% - 14px); }

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

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

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .tool-card { padding: 16px 12px; }
    .tool-emoji { font-size: 26px; }
    .tool-card h3 { font-size: 13px; }
    .tool-hero { grid-column: 1 / -1; }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .phone-frame { width: 260px; }
    .phone-small { width: 240px; }

    .partner-phones { gap: 16px; }
    .phone-partner {
        width: 180px;
        border-radius: 27px;
        padding: 6px;
    }
    .phone-partner img,
    .phone-partner video { border-radius: 22px; }
    .phone-partner .video-poster { top: 6px; left: 6px; width: calc(100% - 12px); }

    .demo-tabs { flex-wrap: wrap; }
    .demo-tab { padding: 8px 18px; font-size: 14px; }

    .demo-player { gap: 32px; }
    .demo-panel h3 { font-size: 22px; }

    .lightbox-content { max-width: 92%; }
}
