/* ── LOCAL FONTS (v20 & v22) ── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; src: url('../assets/fonts/inter-v20-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; src: url('../assets/fonts/inter-v20-latin-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; src: url('../assets/fonts/inter-v20-latin-600.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; src: url('../assets/fonts/inter-v20-latin-700.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; src: url('../assets/fonts/inter-v20-latin-800.woff2') format('woff2'); font-display: swap; }

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; src: url('../assets/fonts/space-grotesk-v22-latin-regular.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; src: url('../assets/fonts/space-grotesk-v22-latin-500.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; src: url('../assets/fonts/space-grotesk-v22-latin-700.woff2') format('woff2'); font-display: swap; }

:root {
    /* Premium 2026 Palette */
    --bg: #F8FAFC; /* Slate 50 */
    --surface: rgba(255, 255, 255, 0.7); /* Glass */
    --surface-solid: #FFFFFF;
    
    --text: #0F172A; /* Slate 900 - High Contrast */
    --text-muted: #475569; /* Slate 600 */
    
    /* Vibrant Premium Accents (All pass WCAG AA against white) */
    --accent-purple: #5B21B6; /* Deep Violet - 9.1:1 Contrast */
    --accent-blue: #0284C7; /* Sky 600 - 4.8:1 Contrast */
    --accent-pink: #BE185D; /* Pink 700 - 6.5:1 Contrast */
    --accent-gold: #B45309; /* Amber 700 - 5.1:1 Contrast */
    
    --border: rgba(15, 23, 42, 0.08);
    --border-light: rgba(255, 255, 255, 0.8);
    
    /* Modern Layered Soft Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.025);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -5px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 20px 40px -10px rgba(99, 102, 241, 0.15);
    
    --radius-md: 16px;
    --radius-lg: 24px;
    --content: 1200px;
}

* , *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body.home-page { min-height: 100vh; color: var(--text); font-family: "Inter", sans-serif; background: var(--bg); position: relative; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1); }
ul, ol { list-style: none; padding: 0; margin: 0; }
.hidden { display: none !important; }
.no-print { display: block; }

/* ── PREMIUM AMBIENT BACKGROUND (2026 Style) ── */
.ambient-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); pointer-events: none; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; animation: float 20s infinite alternate ease-in-out; }
.orb-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: rgba(219, 39, 119, 0.15); }
.orb-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: rgba(2, 132, 199, 0.15); animation-delay: -5s; }
.orb-3 { top: 40%; left: 40%; width: 30vw; height: 30vw; background: rgba(139, 92, 246, 0.1); animation-delay: -10s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(5%, 10%) scale(1.1); } }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ── HIGH CONTRAST PROMO BAR ── */
.top-promo-bar { position: relative; z-index: 30; background: #312E81; color: #FFFFFF; }
.top-promo-inner { max-width: var(--content); margin: 0 auto; padding: 10px 20px; display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.promo-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.15); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.top-promo-inner a { font-size: 0.95rem; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4); }
.top-promo-inner a:hover { text-decoration-color: #fff; }

/* ── GLASS NAVIGATION ── */
.top-nav { position: sticky; top: 0; z-index: 40; background: rgba(248, 250, 252, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.top-nav-inner { max-width: var(--content); margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: inline-flex; align-items: center; gap: 12px; }
.nav-logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #6366F1, #8B5CF6); color: #fff; box-shadow: 0 4px 10px rgba(99,102,241,0.3); }
.nav-logo-text { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-pro-btn { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 999px; background: #0F172A; color: #fff; font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.nav-pro-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #1E293B; }

/* ── HERO SECTION ── */
.home-hero { padding: 80px 20px 60px; z-index: 10; position: relative; }
.hero-shell { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: 50px; align-items: center; }
.hero-trust-badge { width: fit-content; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; padding: 8px 18px; border-radius: 999px; background: var(--surface-solid); border: 1px solid var(--border); box-shadow: var(--shadow-sm); color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.hero-stars { color: #F59E0B; }
.hero-copy h1 { margin: 0 0 20px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.5rem, 5.5vw, 4.5rem); line-height: 1.05; font-weight: 700; color: var(--text); letter-spacing: -0.04em; }
.hero-copy p { margin: 0 0 32px; max-width: 50ch; color: var(--text-muted); font-size: clamp(1.05rem, 1.8vw, 1.15rem); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

/* Premium Buttons */
.btn-primary, .btn-secondary { min-height: 54px; padding: 0 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.05rem; font-weight: 600; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.btn-primary { color: #fff; background: linear-gradient(135deg, #4F46E5, #7C3AED); box-shadow: 0 10px 20px rgba(79, 70, 229, 0.25); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 25px rgba(79, 70, 229, 0.35); }
.btn-secondary { color: var(--text); background: var(--surface-solid); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(15,23,42,0.15); }

.hero-points { display: flex; gap: 24px; flex-wrap: wrap; margin: 0; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.hero-points i { color: var(--accent-blue); font-size: 1.1rem; }

/* ── PREMIUM GLASS CARDS ── */
.glass-card { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.glass-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0.1)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

.hero-panel { display: flex; flex-direction: column; gap: 16px; min-height: 420px; }
.hero-panel-main { padding: 32px; background: var(--surface-solid); }
.panel-topline { margin-bottom: 20px; color: var(--text-muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.panel-row { display: flex; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--border); }
.panel-row:first-of-type { border-top: 0; padding-top: 0; }
.panel-row span { color: var(--text-muted); font-size: 1rem; }
.panel-row strong { color: var(--text); font-size: 1rem; font-weight: 700; }
.hero-mini-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: auto; }
.hero-mini-link { padding: 24px; display: flex; flex-direction: column; justify-content: center; background: var(--surface-solid); transition: transform 0.3s, box-shadow 0.3s; }
.hero-mini-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mini-label { display: block; margin-bottom: 8px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 700; }
.hero-mini-link strong { display: block; color: var(--text); font-size: 1.1rem; line-height: 1.3; font-weight: 700; }

/* ── HOW IT WORKS ── */
.how-it-works-section { padding: 100px 20px; }
.hiw-inner { max-width: var(--content); margin: 0 auto; }
.hiw-header { text-align: center; margin-bottom: 60px; }
.section-kicker { display: inline-block; margin-bottom: 16px; color: var(--accent-purple); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(91, 33, 182, 0.08); padding: 6px 16px; border-radius: 999px; }
.hiw-header h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--text); font-weight: 700; letter-spacing: -0.03em; }

.hiw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.hiw-step { text-align: center; padding: 40px 32px; background: var(--surface-solid); }
.hiw-icon { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.bg-gradient-pink { background: linear-gradient(135deg, #F43F5E, #BE185D); }
.bg-gradient-blue { background: linear-gradient(135deg, #0EA5E9, #0284C7); }
.bg-gradient-yellow { background: linear-gradient(135deg, #F59E0B, #B45309); }
.hiw-step h3 { margin: 0 0 12px; color: var(--text); font-size: 1.3rem; font-weight: 700; font-family: "Space Grotesk", sans-serif; }
.hiw-step p { margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* ── FREE TOOLS GRID ── */
.tools-section { padding: 40px 20px 100px; }
.tools-section-inner { max-width: var(--content); margin: 0 auto; }
.tools-heading-group { max-width: 820px; margin-bottom: 50px; }
.tools-heading-group h2 { margin: 0 0 16px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; font-weight: 700; letter-spacing: -0.04em; color: var(--text); }
.tools-subhead { margin: 0; color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; max-width: 65ch; }

.tools-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tool-card { position: relative; min-height: 100%; display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--surface-solid); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s; }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--shadow-glow); }

.tool-card-tag { width: fit-content; padding: 6px 14px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-pink { color: var(--accent-pink); background: rgba(190, 24, 93, 0.08); }
.badge-blue { color: var(--accent-blue); background: rgba(2, 132, 199, 0.08); }
.badge-yellow { color: var(--accent-gold); background: rgba(180, 83, 9, 0.08); }
.badge-purple { color: var(--accent-purple); background: rgba(91, 33, 182, 0.08); }

.tool-card-top { display: flex; align-items: center; justify-content: space-between; }
.tool-icon-wrap { width: 64px; height: 64px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.icon-pink { background: rgba(190, 24, 93, 0.05); color: var(--accent-pink); }
.icon-blue { background: rgba(2, 132, 199, 0.05); color: var(--accent-blue); }
.icon-yellow { background: rgba(180, 83, 9, 0.05); color: var(--accent-gold); }
.icon-purple { background: rgba(91, 33, 182, 0.05); color: var(--accent-purple); }

.tool-card-arrow { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); background: var(--bg); transition: all 0.3s; }
.tool-card:hover .tool-card-arrow { background: var(--text); color: #fff; transform: translateX(4px) scale(1.05); }

.tool-card h3 { margin: 0; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.tool-card p { margin: 0; color: var(--text-muted); line-height: 1.6; font-size: 1rem; flex: 1; }

/* ── PRO APP UPSELL (Premium Display) ── */
.app-spotlight { padding: 40px 20px 100px; }
.app-spotlight-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; padding: 60px; background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9)); max-width: var(--content); margin: 0 auto; }
.app-text h2 { margin: 0 0 24px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; color: var(--text); }
.app-text > p { margin: 0 0 32px; color: var(--text-muted); font-size: 1.15rem; line-height: 1.7; }
.app-features { display: grid; gap: 20px; margin: 0 0 40px; }
.app-features li { display: flex; align-items: flex-start; gap: 14px; color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; }
.app-features li i { color: var(--accent-purple); margin-top: 4px; font-size: 1.2rem; }
.app-features strong { color: var(--text); font-weight: 600; }
.play-badge-img { width: 200px; height: auto; transition: transform 0.2s; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); }
.play-badge-img:hover { transform: translateY(-3px); filter: drop-shadow(0 15px 20px rgba(0,0,0,0.15)); }

.app-image { display: flex; justify-content: center; position: relative; width: 100%; }
.phone-frame { position: relative; width: 100%; max-width: 320px; border-radius: 40px; border: 12px solid #0F172A; box-shadow: 0 30px 60px rgba(15,23,42,0.2); background: #000; overflow: hidden; animation: floatPhone 8s ease-in-out infinite; }
.phone-frame::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 40%; height: 25px; background: #0F172A; border-bottom-left-radius: 16px; border-bottom-right-radius: 16px; z-index: 10; }
.phone-frame img { width: 100%; height: auto; display: block; }

/* ── FAQ SECTION ── */
.faq-section { padding: 40px 20px 100px; }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 50px; }
.faq-header h2 { margin: 0 0 15px; font-family: "Space Grotesk", sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--text); }
.faq-header p { margin: 0; color: var(--text-muted); font-size: 1.1rem; font-weight: 500; }

.faq-list { display: grid; gap: 16px; }
.faq-item { background: var(--surface-solid); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.2s; }
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question { padding: 24px; font-size: 1.15rem; font-weight: 700; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; list-style: none; user-select: none; font-family: "Space Grotesk", sans-serif; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question i { color: var(--accent-purple); transition: transform 0.3s; }
.faq-item[open] .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 24px; color: var(--text-muted); line-height: 1.7; font-size: 1rem; border-top: 1px dashed var(--border); margin-top: 10px; padding-top: 20px; }
.faq-answer strong { color: var(--text); font-weight: 700; }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); padding: 0 20px; background: #fff; }
.site-footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 36px; padding: 54px 0 36px; max-width: var(--content); margin: 0 auto; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo span:last-child { color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 1.1rem; font-weight: 700; }
.footer-tagline { max-width: 34ch; margin: 0 0 20px; color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; font-weight: 500; }
.footer-badge { height: 46px; width: auto; transition: transform 0.2s; border-radius: 8px; border: 1px solid var(--border); }
.footer-badge:hover { transform: translateY(-2px); }
.footer-col-heading { margin: 0 0 16px; color: var(--text); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--text-muted); font-size: 0.94rem; font-weight: 600; }
.footer-col a:hover { color: var(--accent-pink); text-decoration: underline; }
.footer-bottom { padding: 24px 0; border-top: 1px dashed var(--border); text-align: center; color: var(--text-muted); font-size: 0.86rem; font-weight: 500; max-width: var(--content); margin: 0 auto; }

/* ── RESPONSIVE DESIGN (Strict Zero Overflow) ── */
@media (max-width: 1100px) {
    .hero-shell, .app-spotlight-inner, .site-footer-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-copy h1, .tools-heading-group h2, .app-text h2 { max-width: none; }
    .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hiw-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .app-spotlight-inner { padding: 40px; gap: 40px; }
}
@media (max-width: 900px) {
    .nav-links { display: none; }
    .tools-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .top-promo-inner { padding: 12px 16px; }
    .nav-pro-btn { display: none; }
    .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-primary, .btn-secondary { width: 100%; }
    .app-spotlight-inner { padding: 32px 24px; }
    .site-footer-inner { padding-top: 42px; gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .phone-frame { border-width: 8px; border-radius: 32px; }
}

/* Mobile FAB for Pro App */
.mobile-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60; border-radius: 12px; box-shadow: var(--shadow-lg); transition: transform 0.2s; border: 1px solid var(--border); background: #fff; }
.mobile-fab img { border-radius: 10px; height: 50px; width: auto; display: block; }
.mobile-fab:active { transform: scale(0.95); }
@media (max-width: 640px) { .mobile-fab { display: flex; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .ambient-orb { animation: none !important; }
    .phone-frame { animation: none !important; }
}