/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #08080a;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --red: #ef2b3b;
  --red-glow: rgba(239,43,59,0.35);
  --canvas: #08080a;
  --surface: #111113;
  --surface-2: #1a1a1e;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.15);
  --fg: #f0f0f0;
  --fg-muted: #888;
  --fg-subtle: #555;
  --accent: #ef2b3b;
  --green: #00c758;
  --blue: #3080ff;
  --purple: #c07eff;
  --amber: #f99c00;
  --sky: #00a5ef;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.4); } }
@keyframes orb-float { 0%,100% { transform:translateY(0) scale(1); } 50% { transform:translateY(-30px) scale(1.05); } }
@keyframes prog-fill { from { width:0; } to { width:67%; } }

.animate-fadein { animation: fadeInUp .7s ease both; }
.animate-fadein-delay-1 { animation: fadeInUp .7s .15s ease both; }
.animate-fadein-delay-2 { animation: fadeInUp .7s .3s ease both; }
.animate-fadein-delay-3 { animation: fadeInUp .7s .45s ease both; }

/* ===== CONTAINER ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3 { font-family: 'Bricolage Grotesque', 'Inter', sans-serif; font-weight: 800; line-height: 1.15; }
.gradient-text {
  background: linear-gradient(135deg, #ef2b3b 0%, #ff6b6b 40%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-text { color: #ef2b3b; font-weight: 600; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #ef2b3b; color: #fff;
  padding: 10px 22px; border-radius: 9px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 0 0 0 rgba(239,43,59,0);
}
.btn-primary:hover { background: #d42435; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(239,43,59,.35); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #f0f0f0;
  padding: 10px 22px; border-radius: 9px;
  font-weight: 600; font-size: 14px;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.18); cursor: pointer;
  transition: all .2s ease;
}
.btn-outline:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.05); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #bbb;
  padding: 10px 18px; border-radius: 9px;
  font-weight: 500; font-size: 14px;
  text-decoration: none; border: none; cursor: pointer;
  transition: color .2s;
}
.btn-ghost:hover { color: #fff; }

.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 11px; }
.btn-block { display: block; text-align: center; width: 100%; margin-top: 20px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,8,10,.85);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.4); }
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 17px; color: #fff; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: #aaa; text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 7px; transition: all .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s; }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 16px; border-top: 1px solid var(--border); }
.mobile-menu a { color: #ccc; text-decoration: none; font-size: 15px; padding: 8px 0; font-weight: 500; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 140px 0 80px; min-height: 100vh;
  display: flex; align-items: center;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  pointer-events: none; animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(239,43,59,.18) 0%, transparent 70%); top: -100px; left: -100px; }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(48,128,255,.12) 0%, transparent 70%); bottom: -50px; right: -80px; animation-delay: -4s; }
.hero .container { position: relative; z-index: 1; text-align: center; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(239,43,59,.1); border: 1px solid rgba(239,43,59,.25);
  color: #ef2b3b; font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ef2b3b;
  animation: pulse-dot 2s ease infinite;
}

.hero-title { font-size: clamp(2.6rem, 6vw, 4.2rem); color: #fff; margin-bottom: 20px; }
.hero-sub { font-size: clamp(15px, 2vw, 17px); color: #999; margin-bottom: 36px; }
.hero-sub strong { color: #ddd; }
.hide-mobile { display: inline; }

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

.hero-stats {
  display: flex; justify-content: center; align-items: center;
  gap: 32px; flex-wrap: wrap; margin-bottom: 64px;
}
.stat { text-align: center; }
.stat-val { display: block; font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 800; color: #fff; }
.stat-lbl { display: block; font-size: 12px; color: #666; margin-top: 2px; }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* ===== APP MOCKUP ===== */
.mockup-wrap { perspective: 1000px; }
.app-mockup {
  background: #111114;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  max-width: 780px; margin: 0 auto;
  transform: rotateX(3deg);
}
.mockup-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; background: #0d0d10;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.win-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #27c840; }
.mockup-title { font-size: 12px; color: #666; margin: 0 auto; }
.mockup-body { display: flex; min-height: 320px; }

.mockup-sidebar {
  width: 150px; padding: 12px 8px;
  background: #0d0d10;
  border-right: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.sidebar-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 7px; font-size: 12px; color: #888;
  cursor: pointer; transition: all .15s; margin-bottom: 2px;
}
.sidebar-item.active { background: rgba(239,43,59,.12); color: #ef2b3b; }
.sidebar-item:hover:not(.active) { background: rgba(255,255,255,.05); color: #ddd; }

.mockup-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mockup-url-bar {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px; padding: 7px 12px;
}
.url-icon { font-size: 13px; }
.url-text { flex: 1; font-size: 11px; color: #666; font-family: monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url-btn { background: #ef2b3b; color: #fff; border: none; border-radius: 5px; padding: 4px 10px; font-size: 11px; cursor: pointer; font-weight: 600; white-space: nowrap; }

.prog-steps { display: flex; flex-direction: column; gap: 7px; }
.prog-step { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.prog-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 11px; flex-shrink: 0; }
.prog-step.done .prog-icon { background: rgba(0,199,88,.15); color: #00c758; }
.prog-step.running .prog-icon { background: rgba(239,43,59,.12); color: #ef2b3b; }
.prog-step.pending .prog-icon { background: rgba(255,255,255,.05); color: #555; }
.prog-name { flex: 1; color: #bbb; }
.prog-step.done .prog-name { color: #888; }
.prog-step.pending .prog-name { color: #555; }
.prog-val { font-size: 11px; color: #666; }
.prog-pct { color: #ef2b3b; font-weight: 700; }
.spin-icon { display: inline-block; animation: spin 1s linear infinite; }

.prog-bar-wrap { height: 3px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; }
.prog-bar { height: 100%; background: linear-gradient(90deg, #ef2b3b, #ff6b6b); border-radius: 2px; animation: prog-fill 1.5s ease forwards; }

.clip-row { display: flex; gap: 10px; }
.clip-card { flex: 1; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 10px; }
.clip-thumb { font-size: 22px; }
.clip-ttl { font-size: 11px; color: #ccc; font-weight: 600; }
.clip-meta { font-size: 10px; color: #666; margin-top: 2px; }

/* ===== MARQUEE ===== */
.marquee-section { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.marquee-label { text-align: center; font-size: 12px; color: #555; margin-bottom: 14px; }
.marquee-track { overflow: hidden; }
.marquee-inner { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 25s linear infinite; font-size: 13px; color: #666; font-weight: 500; }
.dot-sep { color: #333; }

/* ===== SECTIONS COMMON ===== */
.features, .compare-section, .pricing, .testi-section, .faq-section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(239,43,59,.1); border: 1px solid rgba(239,43,59,.2);
  color: #ef2b3b; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: 16px; }
.section-sub { color: #888; font-size: 16px; max-width: 560px; margin: 0 auto; }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: all .25s ease; position: relative; overflow: hidden;
}
.feature-card::before { content:''; position:absolute; inset:0; border-radius:inherit; background:radial-gradient(circle at 50% 0, rgba(239,43,59,.04) 0%, transparent 60%); opacity:0; transition:.25s; }
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.feature-card:hover::before { opacity: 1; }
.featured-card { border-color: rgba(239,43,59,.25); background: linear-gradient(135deg, #111114, #160b0c); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--icon-color) 20%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--icon-color); margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; color: #fff; margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 13.5px; color: #888; line-height: 1.6; margin-bottom: 14px; }
.f-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.f-list li { font-size: 12.5px; color: #666; padding-left: 16px; position: relative; }
.f-list li::before { content:'✓'; position:absolute; left:0; color: #00c758; font-weight: 700; }

/* ===== COMPARE TABLE ===== */
.compare-section { background: var(--surface); }
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-table thead tr { background: rgba(255,255,255,.03); }
.cmp-table th { padding: 14px 20px; text-align: left; font-weight: 700; color: #888; font-size: 13px; white-space: nowrap; }
.cmp-table td { padding: 14px 20px; border-top: 1px solid var(--border); color: #999; }
.cmp-table tbody tr:hover { background: rgba(255,255,255,.02); }
.hl-col { background: rgba(239,43,59,.06); color: #f0f0f0 !important; }
.hl-badge { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14px; }
.ck { color: #00c758; font-weight: 700; }
.cx { color: #ef2b3b; font-weight: 700; }
.nt { color: #f99c00; }

/* ===== PRICING ===== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: start; }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px;
  position: relative;
}
.price-featured {
  border-color: rgba(239,43,59,.4);
  background: linear-gradient(145deg, #130b0c, #111114);
  transform: scale(1.03);
  box-shadow: 0 0 0 1px rgba(239,43,59,.2), 0 24px 60px rgba(239,43,59,.12);
}
.price-popular-badge {
  display: inline-block; background: #ef2b3b; color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.price-tier { font-size: 14px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.price-featured .price-tier { color: #ef2b3b; }
.price-amt { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.price-cur { font-size: 18px; color: #666; align-self: flex-start; margin-top: 8px; }
.price-num { font-family: 'Bricolage Grotesque', sans-serif; font-size: 40px; font-weight: 800; color: #fff; line-height: 1; }
.price-note { font-size: 12px; color: #666; margin-bottom: 24px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.price-list li { font-size: 14px; color: #aaa; display: flex; gap: 8px; align-items: flex-start; }
.pricing-note { text-align: center; color: #666; font-size: 13px; margin-top: 32px; }

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.testi-stars { color: #f99c00; font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-size: 14px; color: #aaa; line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #fff; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: 14px; color: #ddd; }
.testi-role { font-size: 12px; color: #666; }

/* ===== FAQ ===== */
.faq-section { background: var(--surface); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: rgba(239,43,59,.25); }
.faq-item summary {
  padding: 18px 22px; cursor: pointer;
  font-weight: 600; font-size: 15px; color: #e0e0e0;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-item summary::after { content: '+'; font-size: 20px; color: #ef2b3b; font-weight: 300; transition: transform .25s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 22px 18px; }
.faq-body p { font-size: 14px; color: #888; line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section { padding: 80px 0; }
.cta-card {
  background: linear-gradient(135deg, #130c0d, #0e0e11);
  border: 1px solid rgba(239,43,59,.2);
  border-radius: var(--radius-xl);
  padding: 72px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-glow-1 { position:absolute; width:400px; height:400px; background:radial-gradient(circle, rgba(239,43,59,.2) 0%, transparent 70%); top:-100px; left:50%; transform:translateX(-50%); pointer-events:none; }
.cta-glow-2 { position:absolute; width:300px; height:300px; background:radial-gradient(circle, rgba(48,128,255,.1) 0%, transparent 70%); bottom:-80px; right:0; pointer-events:none; }
.cta-card h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 16px; position: relative; }
.cta-card p { color: #888; font-size: 16px; max-width: 480px; margin: 0 auto 36px; position: relative; line-height: 1.7; }
.cta-btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; position: relative; }
.cta-trust { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #666; position: relative; }

/* ===== FOOTER ===== */
.site-footer { background: #050506; border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 13px; color: #666; margin: 12px 0 4px; line-height: 1.6; }
.footer-company { font-size: 12px; color: #444; }
.tg-link { display: inline-flex; align-items: center; gap: 7px; color: #00a5ef; font-size: 13px; text-decoration: none; margin-top: 14px; font-weight: 500; transition: opacity .2s; }
.tg-link:hover { opacity: .75; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #ddd; margin-bottom: 14px; }
.footer-col a { display: block; color: #666; text-decoration: none; font-size: 13px; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: #ccc; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--border); padding-top: 24px; font-size: 12px; color: #444; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .hero { padding: 120px 0 60px; min-height: auto; }
  .hero-stats { gap: 20px; }
  .stat-sep { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .price-featured { transform: scale(1); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .mockup-sidebar { display: none; }
  .hide-mobile { display: none; }
  .app-mockup { transform: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 48px 24px; }
  .hero-cta { flex-direction: column; align-items: center; }
}
