/* ===== Fonts ===== */
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: 'DancingScript';
    src: url('fonts/DancingScript.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'NewPixelRound';
    src: url('fonts/thatthatnewpixelfamilytest-round.otf') format('opentype');
    font-display: swap;
}

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

:root {
    --primary: #1a1a2e;
    --accent: #e94560;
    --accent-light: #ff6b81;
    --bg: #fafafa;
    --bg-white: #ffffff;
    --text: #1a1a2e;
    --text-secondary: #6b7280;
    --border: #e5e7eb;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.12);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

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

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

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-img {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.logo-text {
    letter-spacing: -0.5px;
    font-family: 'NewPixelRound', sans-serif;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

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

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    font-size: 1rem;
    font-weight: 500;
}

.mobile-menu.active {
    display: flex;
}

/* ===== Hero ===== */
.hero {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(233,69,96,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.highlight {
    color: var(--accent);
    position: relative;
    font-family: 'NewPixelRound', sans-serif;
    font-size: 1.05em;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: #2d2d4e;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: #ccc;
    transform: translateY(-1px);
}

/* Floating Cards Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.floating-cards {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 340px;
    margin: 0 auto;
}

.float-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: 22px;
    padding: 10px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    z-index: 1;
}

.float-card:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.06);
    z-index: 10;
}

.fc-image {
    border-radius: 14px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fc-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    letter-spacing: -0.2px;
}

/* Card positions - curved arc (5 cards, more tilted) */
.fc-1 {
    width: 175px; height: 225px;
    bottom: 30px; left: 10%;
    transform: rotate(-14deg);
    animation: floatSlow 6s ease-in-out infinite;
}
.fc-2 {
    width: 185px; height: 240px;
    bottom: 55px; left: 24%;
    transform: rotate(-7deg);
    animation: floatSlow 7s ease-in-out 0.5s infinite;
}
.fc-3 {
    width: 195px; height: 255px;
    bottom: 65px; left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation: floatSlow 5.5s ease-in-out 1s infinite;
}
.fc-4 {
    width: 185px; height: 240px;
    bottom: 55px; right: 24%;
    transform: rotate(7deg);
    animation: floatSlow 6.5s ease-in-out 1.5s infinite;
}
.fc-5 {
    width: 175px; height: 225px;
    bottom: 30px; right: 10%;
    transform: rotate(14deg);
    animation: floatSlow 7.5s ease-in-out 0.8s infinite;
}

@keyframes floatSlow {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -16px; }
}

/* Floating tags (removed) */
.float-tag {
    display: none;
    white-space: nowrap;
}

.float-tag svg {
    color: var(--accent);
    flex-shrink: 0;
}

.tag-1 {
    top: 80px; left: 50%;
    transform: translateX(-50%);
    animation: floatSlow 5s ease-in-out 0.3s infinite;
}
.tag-2 {
    bottom: 60px; left: 2%;
    animation: floatSlow 6s ease-in-out 0.7s infinite;
}
.tag-3 {
    bottom: 40px; right: 2%;
    animation: floatSlow 5.5s ease-in-out 1.1s infinite;
}

/* ===== Features ===== */
.features {
    padding: 120px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(233,69,96,0.08);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: #d1d5db;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 14px;
    margin-bottom: 20px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

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

/* ===== How It Works ===== */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.step {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.step h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== Download ===== */
.download {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.download-left {
    text-align: left;
}

.download-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-top: 20px;
    margin-bottom: 16px;
}

.download-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 420px;
}

.store-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.store-btn-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--primary);
    border-radius: 14px;
    color: white;
    transition: all 0.25s ease;
    border: none;
}

.store-btn-modern:hover {
    background: #2d2d4e;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,26,46,0.25);
    color: white;
}

.store-btn-modern div {
    text-align: left;
}

.store-btn-modern small {
    display: block;
    font-size: 0.6rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.store-btn-modern strong {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Download right - visual */
.download-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-visual {
    position: relative;
    width: 320px;
    height: 320px;
}

.dv-circle {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(233,69,96,0.06), rgba(102,126,234,0.06));
    border: 1px solid var(--border);
}

.dv-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.dv-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233,69,96,0.08);
    border-radius: 12px;
    flex-shrink: 0;
}

.dv-1 {
    top: 20px; left: 50%;
    transform: translateX(-50%);
    animation: floatSlow 5s ease-in-out infinite;
}

.dv-2 {
    bottom: 60px; left: -20px;
    animation: floatSlow 6s ease-in-out 0.5s infinite;
}

.dv-3 {
    bottom: 40px; right: -20px;
    animation: floatSlow 5.5s ease-in-out 1s infinite;
}

/* ===== Footer ===== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

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

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

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .floating-cards {
        height: 300px;
    }

    .fc-1 { width: 105px; height: 135px; bottom: 0; left: 0%; }
    .fc-2 { width: 115px; height: 145px; bottom: 55px; left: 12%; }
    .fc-3 { width: 120px; height: 155px; bottom: 85px; }
    .fc-4 { width: 115px; height: 145px; bottom: 55px; right: 12%; }
    .fc-5 { width: 105px; height: 135px; bottom: 0; right: 0%; }

    .float-tag { display: none; }

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

    .download-left {
        text-align: center;
    }

    .download-desc {
        margin: 0 auto 36px;
    }

    .store-buttons {
        justify-content: center;
    }

    .download-visual {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

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

/* ===== Legal Pages ===== */
.legal-page {
    padding: 140px 0 80px;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 8px;
}

.legal-page .last-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.legal-content {
    max-width: 720px;
}

.legal-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.legal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.legal-content li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.7;
}

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

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-cta {
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-cta { animation-delay: 0.3s; }
.hero-visual { animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }

/* ─── Pricing ─────────────────────────────── */
.pricing { padding: 100px 0; background: var(--bg-white); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.price-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease; }
.price-card.visible { opacity: 1; transform: translateY(0); }
.price-card.featured { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.price-amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.price-amount span { font-size: 1rem; font-weight: 500; opacity: .7; }
.price-alt { font-size: .85rem; opacity: .75; margin: 6px 0 16px; }
.price-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.price-list li { padding-left: 26px; position: relative; font-size: .95rem; }
.price-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.price-card.featured .price-list li::before { background: var(--accent-light); }
.price-list li.muted { opacity: .6; }
.price-list li.muted::before { background: var(--text-secondary); }
.price-card .btn { margin-top: 24px; width: 100%; text-align: center; }
.price-tag { position: absolute; top: -12px; right: 20px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price-note { text-align: center; color: var(--text-secondary); font-size: .85rem; margin-top: 24px; }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
