/* ============================================================
   VIXSYSTEMS — style.css
   Theme: Clean white/blue — data-forward SaaS feel
   ============================================================ */

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

:root {
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --blue-bg: #eff6ff;
  --blue-border: #bfdbfe;
  --indigo: #4f46e5;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-blue: 0 8px 32px rgba(37,99,235,0.18);
  --transition: 0.22s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text-dark); line-height: 1.6; }

/* ---- UTILITIES ---- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.accent-text { color: var(--blue); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37,99,235,0.3); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue-border); }
.btn-outline:hover { background: var(--blue-bg); border-color: var(--blue); }
.btn-outline-full { width: 100%; background: transparent; color: var(--text-mid); border: 1.5px solid var(--border); }
.btn-outline-full:hover { border-color: var(--blue); color: var(--blue); }
.btn-full { width: 100%; }
.btn-large { padding: 18px 44px; font-size: 17px; border-radius: 12px; }

.btn-ghost-nav { background: transparent; color: var(--text-mid); padding: 9px 18px; font-size: 14px; }
.btn-ghost-nav:hover { color: var(--blue); }
.btn-primary-nav { background: var(--blue); color: #fff; padding: 9px 20px; font-size: 14px; border-radius: 8px; }
.btn-primary-nav:hover { background: var(--blue-dark); }

.section-tag { display: inline-block; background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border); border-radius: 50px; padding: 4px 14px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.section-header p { color: var(--text-light); font-size: 17px; max-width: 520px; margin: 0 auto; }

/* ---- NAV ---- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 14px 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; background: var(--blue); color: #fff; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; }
.logo-mark.sm { width: 28px; height: 28px; font-size: 14px; border-radius: 7px; }
.logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 700; color: var(--text-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; color: var(--text-mid); font-size: 14px; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* ---- HERO ---- */
.hero { background: linear-gradient(160deg, #f0f9ff 0%, #eff6ff 40%, #f8fafc 100%); padding: 90px 24px 70px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 65%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -80px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, transparent 65%); pointer-events: none; }
.hero-inner { position: relative; max-width: 840px; margin: 0 auto; }
.hero-tag { display: inline-block; background: rgba(37,99,235,0.08); color: var(--blue); border: 1px solid var(--blue-border); border-radius: 50px; padding: 5px 16px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 24px; }
.hero-title { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: clamp(36px, 6vw, 62px); font-weight: 700; line-height: 1.1; color: var(--text-dark); margin-bottom: 22px; }
.hero-sub { font-size: 18px; color: var(--text-mid); max-width: 580px; margin: 0 auto 32px; line-height: 1.65; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.hero-disclaimer { font-size: 12px; color: var(--text-light); margin-bottom: 44px; }

/* WIDGET */
.hero-widget { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); max-width: 680px; margin: 0 auto; text-align: left; overflow: hidden; }
.widget-header { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--bg); }
.widget-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,0.25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.5} }
.widget-title { font-size: 13px; font-weight: 600; color: var(--text-dark); flex: 1; }
.widget-time { font-size: 12px; color: var(--text-light); font-variant-numeric: tabular-nums; }
.widget-body { padding: 22px; }
.widget-main-score { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.widget-gauge-wrap { text-align: center; }
#heroGauge { display: block; margin: 0 auto; }
.widget-score-label { margin-top: -8px; }
.score-num { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 42px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.score-word { display: block; font-size: 14px; font-weight: 600; color: #ef4444; text-transform: uppercase; letter-spacing: 0.06em; }
.widget-breakdown { display: flex; flex-direction: column; gap: 12px; }
.wb-row { display: grid; grid-template-columns: 90px 1fr 60px; gap: 10px; align-items: center; }
.wb-row span:first-child { font-size: 12px; color: var(--text-light); font-weight: 500; }
.wb-bar { background: var(--bg); border-radius: 50px; height: 6px; overflow: hidden; }
.wb-fill { height: 100%; border-radius: 50px; transition: width 1.5s ease; }
.wb-val { font-size: 12px; font-weight: 600; color: var(--text-mid); text-align: right; }
.wb-val.fear { color: #ef4444; }
.wb-val.neutral { color: #f59e0b; }
.wb-val.greed { color: #8b5cf6; }
.widget-footer { padding: 12px 20px; background: var(--blue-bg); border-top: 1px solid var(--blue-border); }
.wf-badge { font-size: 12px; color: var(--blue); font-weight: 500; }

/* ---- BRIDGE ---- */
.bridge-section { background: #fff; padding: 60px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bridge-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; }
.bridge-col { padding: 28px; border-radius: var(--radius); }
.bridge-col.problem { background: #fef2f2; border: 1px solid #fecaca; }
.bridge-col.solution { background: var(--blue-bg); border: 1px solid var(--blue-border); }
.bridge-col h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; line-height: 1.35; }
.bridge-col.problem h3 { color: #991b1b; }
.bridge-col.solution h3 { color: var(--blue-dark); }
.bridge-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bridge-col ul li { font-size: 14px; padding-left: 16px; position: relative; color: var(--text-mid); line-height: 1.45; }
.bridge-col.problem ul li::before { content: '—'; position: absolute; left: 0; color: #ef4444; }
.bridge-col.solution ul li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.bridge-arrow { font-size: 28px; color: var(--text-light); font-weight: 300; }

/* ---- HOW IT WORKS ---- */
.how-section { padding: 90px 24px; background: var(--bg); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: transform var(--transition), box-shadow var(--transition); }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: var(--blue-border); margin-bottom: 16px; }
.step-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.step-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ---- FEATURES ---- */
.features-section { padding: 90px 24px; background: #fff; border-top: 1px solid var(--border); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform var(--transition), border-color var(--transition); }
.feature-card:hover { transform: translateY(-3px); border-color: var(--blue-border); box-shadow: var(--shadow); }
.fc-icon { font-size: 28px; margin-bottom: 14px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ---- DISCLAIMER BANNER ---- */
.disclaimer-banner { background: #fefce8; border-top: 1px solid #fde68a; border-bottom: 1px solid #fde68a; padding: 16px 24px; }
.disclaimer-banner p { font-size: 13px; color: #713f12; line-height: 1.6; max-width: 1120px; margin: 0 auto; }
.disclaimer-banner strong { color: #92400e; }

/* ---- PRICING ---- */
.pricing-section { padding: 90px 24px; background: var(--bg); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 960px; margin: 0 auto; }
.pricing-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 0; position: relative; }
.pricing-card.featured { border-color: var(--blue); box-shadow: var(--shadow-blue); }
.pc-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; border-radius: 50px; padding: 3px 16px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pc-name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pc-price { display: flex; align-items: baseline; gap: 3px; margin-bottom: 12px; }
.pc-amount { font-family: 'Space Grotesk', sans-serif; font-size: 40px; font-weight: 700; color: var(--text-dark); line-height: 1; }
.pc-period { font-size: 16px; color: var(--text-light); }
.pc-desc { font-size: 14px; color: var(--text-light); margin-bottom: 22px; line-height: 1.5; }
.pc-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pc-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-mid); }
.pf-yes { color: #22c55e; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.pf-no { color: var(--border); font-weight: 700; font-size: 15px; flex-shrink: 0; }
.pc-note { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 10px; }

/* ---- FAQ ---- */
.faq-section { background: #fff; padding: 80px 24px; border-top: 1px solid var(--border); }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-dark); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--blue); font-weight: 300; transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--blue-border); }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* ---- FINAL CTA ---- */
.final-cta { background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%); padding: 100px 24px; border-top: 1px solid var(--blue-border); }
.final-cta-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.final-cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(28px, 5vw, 44px); font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.final-cta p { font-size: 17px; color: var(--text-mid); margin-bottom: 36px; }
.final-note { font-size: 13px; color: var(--text-light); margin-top: 16px; }

/* ---- FOOTER ---- */
.footer { background: var(--text-dark); color: #94a3b8; padding: 56px 24px 24px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand .logo-text { color: #fff; }
.footer-tagline { font-size: 13px; color: #64748b; margin-top: 4px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fl-group { display: flex; flex-direction: column; gap: 10px; }
.fl-title { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.fl-group a { color: #64748b; text-decoration: none; font-size: 14px; transition: color var(--transition); }
.fl-group a:hover { color: var(--blue-light); }
.footer-bottom { max-width: 1120px; margin: 0 auto; padding-top: 24px; border-top: 1px solid #1e293b; display: flex; flex-direction: column; gap: 6px; }
.footer-copy { font-size: 13px; color: #475569; }
.footer-disclaimer { font-size: 12px; color: #334155; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .bridge-inner { grid-template-columns: 1fr; }
  .bridge-arrow { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 60px 20px 50px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .widget-main-score { grid-template-columns: 1fr; }
}
