:root {
  --bx-primary: #000DFF;
  --bx-navy: #0B0F80;
  --bx-mid: #151EC7;
  --bx-gold: #FFC148;
  --bx-bg: #F5F5F7;
  --bx-white: #FFFFFF;
  --bx-dark: #0D0D0D;
  --bx-text: #0D0D0D;
  --bx-text-2: #555566;
  --bx-border: rgba(0,0,0,0.07);
  --bx-shadow: 0 8px 40px rgba(0,13,255,0.10);
  --bx-shadow-hard: 0 20px 60px rgba(0,13,255,0.18);
  --nav-h: 72px;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Questrial', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bx-bg); color: var(--bx-text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); background: rgba(245,245,247,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--bx-border); }
.nav.scrolled { box-shadow: 0 4px 30px rgba(0,13,255,0.08); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--bx-primary); }
.nav-logo img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--bx-text-2); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--bx-primary); }
.nav-links .nav-lang { background: var(--bx-white); border: 1px solid var(--bx-border); padding: 6px 14px; border-radius: 100px; font-size: 13px; }
.nav-links .nav-cta { background: var(--bx-primary); color: white !important; padding: 10px 22px; border-radius: 100px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s !important; }
.nav-links .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,13,255,0.3); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--bx-text); border-radius: 2px; }
.nav-mobile { display: none; flex-direction: column; background: var(--bx-white); border-top: 1px solid var(--bx-border); padding: 8px 0 16px; }
.nav-mobile a { display: block; padding: 14px 24px; text-decoration: none; color: var(--bx-text); font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--bx-border); }
.nav-mobile .nav-cta { margin: 16px 24px 0; text-align: center; background: var(--bx-primary); color: white; border-radius: 14px; border: none; padding: 16px 24px; }
.nav-mobile.open { display: flex; }

/* HERO */
.hero { min-height: 100vh; padding-top: var(--nav-h); display: flex; align-items: center; position: relative; overflow: hidden; background: var(--bx-white); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); }
.g1 { width: 600px; height: 600px; background: var(--bx-primary); opacity: 0.12; top: -100px; right: -100px; animation: glowPulse 6s ease-in-out infinite; }
.g2 { width: 400px; height: 400px; background: var(--bx-gold); opacity: 0.10; bottom: 0; left: -100px; animation: glowPulse 8s ease-in-out infinite reverse; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,13,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,13,255,0.04) 1px, transparent 1px); background-size: 60px 60px; }
@keyframes glowPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding-top: 60px; padding-bottom: 80px; width: 100%; }
.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,13,255,0.06); border: 1px solid rgba(0,13,255,0.15); color: var(--bx-primary); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 100px; margin-bottom: 28px; }
.badge-dot { width: 7px; height: 7px; background: var(--bx-primary); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
.hero-title { font-size: clamp(44px, 5vw, 72px); font-weight: 800; color: var(--bx-dark); margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--bx-primary); }
.hero-sub { font-size: 18px; color: var(--bx-text-2); margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.btn-appstore { display: inline-flex; align-items: center; gap: 12px; background: var(--bx-dark); color: white; text-decoration: none; padding: 14px 24px; border-radius: 14px; font-size: 13px; line-height: 1.3; transition: transform 0.2s, box-shadow 0.2s; }
.btn-appstore svg { width: 26px; height: 26px; flex-shrink: 0; }
.btn-appstore strong { display: block; font-size: 17px; }
.btn-appstore:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,0.2); }
.btn-ghost { display: inline-flex; align-items: center; color: var(--bx-primary); text-decoration: none; font-weight: 600; font-size: 15px; transition: gap 0.2s; gap: 6px; }
.btn-ghost:hover { gap: 10px; }
.hero-social-proof { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--bx-text-2); }
.stars { color: var(--bx-gold); font-size: 16px; letter-spacing: 2px; }

/* PHONE MOCKUP */
.hero-phone { display: flex; justify-content: center; position: relative; z-index: 1; }
.phone-placeholder { animation: phoneFloat 4s ease-in-out infinite; }
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 36px;
}
.phone-frame { width: 280px; height: 560px; background: var(--bx-white); border-radius: 44px; border: 8px solid #1A1A1A; box-shadow: 0 40px 80px rgba(0,0,0,0.25); overflow: hidden; position: relative; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; background: #1A1A1A; border-radius: 14px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; background: #F5F5F7; padding: 56px 14px 14px; overflow: hidden; }
.screen-content { display: flex; flex-direction: column; gap: 12px; }
.sc-greeting { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--bx-dark); padding-top: 4px; }
.sc-book { background: white; border-radius: 16px; padding: 14px; display: flex; gap: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.sc-cover { width: 48px; height: 72px; border-radius: 8px; background: linear-gradient(135deg,#E34B2D,#9B2DE3); flex-shrink: 0; }
.sc-info { flex: 1; min-width: 0; }
.sc-label { font-size: 8px; color: var(--bx-primary); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 3px; }
.sc-title { font-size: 12px; font-weight: 700; color: var(--bx-dark); margin-bottom: 1px; }
.sc-author { font-size: 10px; color: #888; margin-bottom: 8px; }
.sc-bar { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; margin-bottom: 3px; }
.sc-fill { height: 100%; background: var(--bx-primary); border-radius: 2px; }
.sc-pct { font-size: 10px; color: var(--bx-primary); font-weight: 600; text-align: right; }
.sc-goal { background: white; border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.sc-goal-ring { width: 56px; height: 56px; flex-shrink: 0; position: relative; }
.sc-goal-ring svg { width: 100%; height: 100%; }
.sc-goal-ring span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 14px; font-weight: 800; color: var(--bx-dark); font-family: var(--font-display); }
.sc-goal-label { font-size: 8px; color: var(--bx-primary); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 2px; }
.sc-goal-title { font-size: 12px; font-weight: 700; color: var(--bx-dark); margin-bottom: 3px; }
.sc-goal-reached { font-size: 10px; color: #22C55E; font-weight: 600; }

/* SECTIONS */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bx-primary); background: rgba(0,13,255,0.07); padding: 6px 14px; border-radius: 100px; margin-bottom: 16px; }
.section-header h2 { font-size: clamp(32px,4vw,52px); color: var(--bx-dark); margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--bx-text-2); max-width: 480px; margin: 0 auto; }

/* FEATURES */
.features { background: var(--bx-bg); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature-card { background: var(--bx-white); border-radius: 28px; padding: 36px 32px; border: 1px solid var(--bx-border); transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--bx-primary),var(--bx-mid)); opacity: 0; transition: opacity 0.3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--bx-shadow-hard); }
.feature-card:hover::before { opacity: 1; }
.feature-card.fc-big { grid-column: span 2; }
.fc-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.feature-card h3 { font-size: 22px; font-weight: 800; color: var(--bx-dark); margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--bx-text-2); line-height: 1.7; }
.fc-shelf { display: flex; align-items: flex-end; gap: 5px; margin-top: 28px; padding: 16px 0 0; position: relative; }
.mini-spine { width: 26px; height: var(--h); background: var(--c); border-radius: 4px 4px 0 0; opacity: 0.85; transition: transform 0.2s; }
.mini-spine:hover { transform: translateY(-4px); }
.fc-plank { position: absolute; bottom: 0; left: 0; right: 0; height: 6px; background: #C8A87A; border-radius: 3px; }
.fc-devices { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.device-pill { background: rgba(0,13,255,0.07); color: var(--bx-primary); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 100px; border: 1px solid rgba(0,13,255,0.12); }

/* PRO */
.pro { background: var(--bx-dark); color: white; position: relative; overflow: hidden; }
.pro::before { content: ''; position: absolute; width: 600px; height: 600px; background: var(--bx-primary); border-radius: 50%; filter: blur(120px); opacity: 0.2; top: -200px; right: -100px; pointer-events: none; }
.pro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pro-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,193,72,0.15); border: 1px solid rgba(255,193,72,0.3); color: var(--bx-gold); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; padding: 8px 16px; border-radius: 100px; margin-bottom: 24px; }
.pro-left h2 { font-size: clamp(36px,4vw,56px); color: white; margin-bottom: 20px; }
.pro-left p { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 36px; line-height: 1.7; }
.pro-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.pro-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(255,255,255,0.85); }
.pro-list li span { width: 24px; height: 24px; background: rgba(0,13,255,0.5); border: 1px solid rgba(0,13,255,0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; color: #7B9FFF; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--bx-primary); color: white; text-decoration: none; font-weight: 700; font-size: 16px; padding: 16px 32px; border-radius: 14px; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,13,255,0.4); }
.pro-card { background: linear-gradient(135deg,rgba(0,13,255,0.3),rgba(11,15,128,0.5)); border: 1px solid rgba(0,13,255,0.4); border-radius: 36px; padding: 48px 40px; text-align: center; backdrop-filter: blur(20px); position: relative; overflow: hidden; }
.pro-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--bx-primary),var(--bx-gold)); }
.pro-crown { font-size: 48px; margin-bottom: 12px; }
.pro-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; color: white; margin-bottom: 6px; }
.pro-subtitle { font-size: 14px; color: var(--bx-gold); margin-bottom: 28px; }
.pro-divider { height: 1px; background: rgba(255,255,255,0.1); margin-bottom: 28px; }
.pro-features { display: flex; flex-direction: column; gap: 14px; text-align: left; color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 28px; }
.pro-price-tag { background: rgba(255,193,72,0.15); border: 1px solid rgba(255,193,72,0.3); color: var(--bx-gold); font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 100px; display: inline-block; }

/* STATS */
.stats-strip { background: var(--bx-primary); padding: 60px 0; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.15); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: clamp(36px,4vw,56px); font-weight: 800; color: white; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); }

/* LANGUAGES */
.languages { background: var(--bx-white); padding: 80px 0; }
.lang-flags { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.lang-item { display: flex; align-items: center; gap: 10px; background: var(--bx-bg); border: 1px solid var(--bx-border); padding: 14px 24px; border-radius: 100px; font-size: 15px; font-weight: 500; transition: transform 0.2s, box-shadow 0.2s; }
.lang-item:hover { transform: translateY(-4px); box-shadow: var(--bx-shadow); }
.lang-item span { color: var(--bx-text-2); }

/* BLOG */
.blog-preview { background: var(--bx-bg); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.blog-card { background: var(--bx-white); border-radius: 28px; padding: 32px 28px; text-decoration: none; border: 1px solid var(--bx-border); display: flex; flex-direction: column; gap: 12px; transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--bx-shadow-hard); }
.blog-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bx-primary); background: rgba(0,13,255,0.07); padding: 5px 12px; border-radius: 100px; width: fit-content; }
.blog-card h3 { font-size: 18px; color: var(--bx-dark); line-height: 1.3; }
.blog-card p { font-size: 14px; color: var(--bx-text-2); line-height: 1.6; flex: 1; }
.blog-read { font-size: 13px; font-weight: 600; color: var(--bx-primary); margin-top: 8px; }

/* CTA FINAL */
.cta-final { background: var(--bx-white); padding: 120px 0; }
.cta-inner { background: linear-gradient(135deg,var(--bx-primary),var(--bx-navy)); border-radius: 36px; padding: 80px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 400px; height: 400px; background: rgba(255,255,255,0.05); border-radius: 50%; top: -100px; right: -100px; pointer-events: none; }
.cta-inner h2 { font-size: clamp(32px,4vw,52px); color: white; margin-bottom: 16px; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; }
.btn-appstore-white { background: white; color: var(--bx-dark); }
.btn-appstore-white:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.3); }

/* FOOTER */
.footer { background: var(--bx-dark); padding: 48px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 18px; font-weight: 800; color: white; }
.footer-brand img { border-radius: 6px; opacity: 0.9; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,0.5); font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; text-align: right; }

/* LEGAL */
.legal-page { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 100px; min-height: 100vh; background: var(--bx-white); }
.legal-header { margin-bottom: 60px; padding-bottom: 40px; border-bottom: 1px solid var(--bx-border); }
.legal-header h1 { font-size: clamp(36px,4vw,56px); color: var(--bx-dark); margin-bottom: 12px; }
.legal-header .legal-date { font-size: 14px; color: var(--bx-text-2); }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 22px; color: var(--bx-dark); margin-top: 48px; margin-bottom: 16px; padding-top: 48px; border-top: 1px solid var(--bx-border); }
.legal-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.legal-body p { font-size: 15px; color: var(--bx-text-2); line-height: 1.8; margin-bottom: 16px; }
.legal-body ul { padding-left: 20px; margin-bottom: 16px; }
.legal-body ul li { font-size: 15px; color: var(--bx-text-2); line-height: 1.8; margin-bottom: 8px; }
.legal-body a { color: var(--bx-primary); text-decoration: underline; }
.legal-highlight { background: rgba(0,13,255,0.05); border-left: 3px solid var(--bx-primary); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.legal-highlight p { margin-bottom: 0; color: var(--bx-text); }

/* BLOG PAGE */
.blog-page { padding-top: calc(var(--nav-h) + 60px); padding-bottom: 100px; min-height: 100vh; background: var(--bx-bg); }
.blog-hero-header { text-align: center; margin-bottom: 64px; }
.blog-hero-header h1 { font-size: clamp(40px,5vw,64px); color: var(--bx-dark); margin-bottom: 16px; }
.blog-hero-header p { font-size: 18px; color: var(--bx-text-2); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-badge, .hero-actions, .hero-social-proof { justify-content: center; }
  .hero-phone { order: -1; }
  .phone-frame { width: 240px; height: 480px; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card.fc-big { grid-column: span 2; }
  .pro-inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { text-align: center; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.fc-big { grid-column: span 1; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-inner { padding: 48px 24px; }
  .lang-flags { gap: 12px; }
  .pro-right { display: none; }
}
