/* SYNOTI — Public Website Design System (dark)
   Faithful to synoti.com landing tokens. */

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

:root {
  --bg: #0a0c10; --bg2: #0f1117; --bg3: #151821;
  --card: rgba(255,255,255,0.03); --card-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.06); --border-hover: rgba(255,255,255,0.12);
  --text: #f1f3f9; --text2: #8892a4; --text3: #555d6e;
  --accent1: #6366f1; --accent2: #ec4899; --accent3: #8b5cf6;
  --gradient: linear-gradient(135deg, #6366f1, #ec4899, #8b5cf6);
  --green: #10b981; --red: #ef4444; --amber: #f59e0b;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --mono: 'JetBrains Mono', monospace;
  --display: 'Orbitron', monospace;
}

/* ── Light theme ── */
html[data-theme="light"] {
  --bg: #f6f8fb; --bg2: #ffffff; --bg3: #eef1f6;
  --card: rgba(15,23,42,0.03); --card-hover: rgba(15,23,42,0.06);
  --border: rgba(15,23,42,0.08); --border-hover: rgba(15,23,42,0.16);
  --text: #0f172a; --text2: #475569; --text3: #94a3b8;
  --shadow: 0 8px 32px rgba(15,23,42,0.10);
}
html[data-theme="light"] nav { background: rgba(255,255,255,0.86); border-bottom: 1px solid var(--border); }
html[data-theme="light"] .nav-logo { color: var(--text); }
html[data-theme="light"] .nav-links a,
html[data-theme="light"] .nav-links .nav-drop-toggle { color: var(--text2); }
html[data-theme="light"] .nav-links a:hover,
html[data-theme="light"] .nav-links a.active,
html[data-theme="light"] .nav-links .nav-drop-toggle:hover,
html[data-theme="light"] .nav-links .nav-drop-toggle.active { color: var(--text); background: rgba(15,23,42,0.06); }
html[data-theme="light"] .nav-drop-menu { background: rgba(255,255,255,0.98); border-color: var(--border); box-shadow: var(--shadow); }
html[data-theme="light"] .nav-drop-menu a { color: var(--text2); }
html[data-theme="light"] .nav-drop-menu a:hover,
html[data-theme="light"] .nav-drop-menu a.active { color: var(--text); background: rgba(15,23,42,0.06); }
html[data-theme="light"] .nav-icon-btn { color: var(--text2); }
html[data-theme="light"] .nav-icon-btn:hover { color: var(--text); background: rgba(15,23,42,0.06); }
html[data-theme="light"] .nav-demo { color: var(--text) !important; border-color: var(--border-hover); }
html[data-theme="light"] .nav-demo:hover { background: rgba(15,23,42,0.06); }
html[data-theme="light"] .mobile-toggle { color: var(--text); }
html[data-theme="light"] .hero-terminal { background: #0f1117; border-color: rgba(255,255,255,0.10); }
html[data-theme="light"] .terminal-header,
html[data-theme="light"] .terminal-suggestions { border-color: rgba(255,255,255,0.10); }

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text);
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent1); text-decoration: none; }
img { max-width: 100%; }
#particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
section { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,12,16,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 19px; color: #fff; }
.nav-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--gradient);
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; flex-shrink: 0;
}
.nav-logo img { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; flex-wrap: wrap; }
.nav-links a, .nav-links .nav-drop-toggle { padding: 8px 14px; border-radius: var(--radius-sm); color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 500; transition: all .2s; }
.nav-links a:hover, .nav-links a.active, .nav-links .nav-drop-toggle:hover, .nav-links .nav-drop-toggle.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-drop { position: relative; }
.nav-drop-toggle { background: none; border: none; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-toggle .caret { font-size: 9px; opacity: 0.7; transition: transform .2s; }
.nav-drop:hover .caret, .nav-drop.open .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px;
  background: rgba(15,17,23,0.98); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .2s; z-index: 200; list-style: none;
}
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop-menu li { list-style: none; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 13px; }
.nav-login { padding: 8px 20px; border-radius: var(--radius-sm); background: var(--gradient); color: #fff !important; font-weight: 600 !important; }
.nav-demo { padding: 8px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); border: 1px solid var(--border-hover); color: #fff !important; font-weight: 600 !important; }
.nav-demo:hover { background: rgba(255,255,255,0.12); }
.nav-icon-btn { background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 8px; border-radius: var(--radius-sm); font-size: 18px; line-height: 1; }
.nav-icon-btn:hover { color: #fff; background: rgba(255,255,255,0.1); }
.mobile-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; text-decoration: none; transition: all .3s; cursor: pointer; border: none; font-family: inherit; }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,0.3); }
.btn-secondary { background: rgba(255,255,255,0.04); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--card); border-color: var(--border-hover); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ── Hero ── */
.hero { min-height: 92vh; display: flex; align-items: center; padding-top: 110px; padding-bottom: 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 50%, rgba(99,102,241,0.08), transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(236,72,153,0.06), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 100px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); color: var(--accent1); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { font-family: var(--display); font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 18px; color: var(--text2); max-width: 520px; margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }

/* ── Terminal ── */
.hero-terminal { width: 100%; max-width: 520px; background: var(--bg3); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.terminal-header { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.r { background: #ef4444; } .terminal-dot.y { background: #f59e0b; } .terminal-dot.g { background: #10b981; }
.terminal-title { font-size: 12px; color: var(--text3); margin-left: 8px; font-family: var(--mono); }
.terminal-body { padding: 16px; font-family: var(--mono); font-size: 13px; line-height: 1.8; min-height: 200px; display: flex; flex-direction: column; }
.terminal-output .line { color: var(--text2); margin-bottom: 2px; }
.terminal-output .prompt { color: var(--green); }
.terminal-output .cmd { color: #e2e8f0; }
.terminal-output .out { color: var(--accent1); }
.terminal-output .out2 { color: var(--accent2); }
.terminal-output .out3 { color: var(--accent3); }
.terminal-output .err { color: var(--red); }
.terminal-input-line { display: flex; align-items: center; gap: 4px; }
.terminal-input-line .prompt { color: var(--green); font-weight: 600; }
.terminal-input { flex: 1; background: transparent; border: none; outline: none; color: #e2e8f0; font-family: var(--mono); font-size: 13px; caret-color: var(--accent1); }
.terminal-suggestions { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--border); margin-top: 8px; }
.terminal-suggestion { padding: 4px 10px; border-radius: 6px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); color: var(--accent1); font-size: 11px; cursor: pointer; font-family: var(--mono); }

/* ── Section scaffolding ── */
.section { padding: 100px 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent1); margin-bottom: 12px; }
.section-label::before { content: ''; width: 24px; height: 1.5px; background: var(--accent1); }
.section-title { font-family: var(--display); font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.section-title.grad { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-subtitle { color: var(--text2); font-size: 16px; max-width: 640px; margin-bottom: 48px; }

/* ── Page hero (subpages) ── */
.page-hero { padding: 150px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 30% 40%, rgba(99,102,241,0.1), transparent 55%), radial-gradient(ellipse at 70% 40%, rgba(236,72,153,0.07), transparent 55%); pointer-events: none; }
.page-hero h1 { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1.12; margin-bottom: 16px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 18px; color: var(--text2); max-width: 680px; line-height: 1.7; }
.crumbs { margin-top: 24px; font-size: 13px; color: var(--text3); font-family: var(--mono); }
.crumbs a { color: var(--accent1); }

/* ── Stats wall ── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: all .3s; }
.stat-card:hover { background: var(--card-hover); border-color: var(--border-hover); transform: translateY(-4px); }
.stat-icon { font-size: 28px; margin-bottom: 8px; }
.stat-number { font-family: var(--display); font-size: 40px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text2); font-size: 13px; margin-top: 4px; }
.stat-trend { font-size: 11px; margin-top: 4px; font-weight: 600; color: var(--green); }

/* ── Feature cards ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: all .3s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient); opacity: 0; transition: opacity .3s; }
.feature-card:hover { background: var(--card-hover); border-color: var(--border-hover); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.15); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.feature-icon i, .stat-icon i { display: inline-flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 22px; height: 22px; }
.stat-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text2); font-size: 14px; line-height: 1.7; }
.feature-tags { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.feature-tag { padding: 4px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,0.04); border: 1px solid var(--border); color: var(--text2); }

/* 4-up feature grid (compact cards to fit one row) */
.features-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.features-grid.cols-4 .feature-card { padding: 22px; }
.features-grid.cols-4 .feature-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; }
.features-grid.cols-4 .feature-icon svg { width: 18px; height: 18px; }
.features-grid.cols-4 .feature-card h3 { font-size: 16px; }
.features-grid.cols-4 .feature-card p { font-size: 13px; }

/* ── Compliance ── */
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.compliance-card { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: all .3s; }
.compliance-card:hover { background: var(--card-hover); border-color: var(--border-hover); transform: translateY(-4px); }
.compliance-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; margin-bottom: 12px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); color: var(--green); }
.compliance-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.compliance-card p { font-size: 13px; color: var(--text2); line-height: 1.6; }
.compliance-standard { font-family: var(--mono); font-size: 12px; color: var(--accent1); margin-top: 8px; display: block; }

/* ── API ── */
.api-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.api-method { padding: 16px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); transition: all .3s; }
.api-method:hover { background: var(--card-hover); border-color: var(--border-hover); }
.api-method-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.api-verb { padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; font-family: var(--mono); }
.api-verb.get { background: rgba(16,185,129,0.1); color: var(--green); }
.api-verb.post { background: rgba(99,102,241,0.1); color: var(--accent1); }
.api-verb.delete { background: rgba(239,68,68,0.1); color: var(--red); }
.api-path { font-family: var(--mono); font-size: 13px; color: var(--text); }
.api-desc { font-size: 12px; color: var(--text3); }

/* ── Architecture layers ── */
.arch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.arch-layers { display: flex; flex-direction: column; gap: 8px; }
.arch-layer { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); transition: all .3s; }
.arch-layer:hover { background: var(--card-hover); border-color: var(--border-hover); transform: translateX(4px); }
.arch-layer-icon { font-size: 20px; width: 36px; text-align: center; }
.arch-layer-info { flex: 1; }
.arch-layer-name { font-weight: 600; font-size: 14px; }
.arch-layer-desc { color: var(--text2); font-size: 12px; margin-top: 2px; }
.arch-layer-status { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ── XDR visual ── */
.xdr-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--bg3); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); margin-top: 32px; }
.xdr-feed { display: flex; flex-direction: column; gap: 8px; }
.xdr-event { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; background: rgba(255,255,255,0.02); border: 1px solid var(--border); font-size: 12px; font-family: var(--mono); }
.xdr-event-sev { width: 8px; height: 8px; border-radius: 50%; }
.xdr-event-sev.critical { background: var(--red); box-shadow: 0 0 8px rgba(239,68,68,0.4); }
.xdr-event-sev.high { background: var(--amber); box-shadow: 0 0 8px rgba(245,158,11,0.3); }
.xdr-event-sev.info { background: var(--accent1); }
.xdr-event-msg { flex: 1; color: var(--text2); }
.xdr-event-time { color: var(--text3); font-size: 11px; }

/* ── Speed bars ── */
.speed-grid { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 800px; margin: 0 auto; }
.speed-row { display: grid; grid-template-columns: 180px 1fr 100px; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); }
.speed-label { font-size: 13px; font-weight: 600; color: var(--text); }
.speed-bar-wrap { height: 28px; background: rgba(255,255,255,0.04); border-radius: 14px; overflow: hidden; }
.speed-bar { height: 100%; border-radius: 14px; display: flex; align-items: center; justify-content: flex-end; padding: 0 10px; font-size: 11px; font-weight: 700; color: #fff; min-width: 40px; transition: width 2s cubic-bezier(.25,.46,.45,.94); }
.speed-bar.synoti { background: var(--gradient); }
.speed-bar.industry { background: rgba(255,255,255,0.12); }
.speed-time { font-size: 13px; color: var(--text2); font-family: var(--mono); text-align: right; font-weight: 600; }

/* ── Flow animations (data-flow SVG diagrams) ── */
.flow-animation { position: relative; background: var(--bg3); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; padding: 20px; }
.flow-animation svg { width: 100%; height: 100%; display: block; }

/* ── Playbook flow ── */
.playbook-flow { background: var(--bg3); border-radius: var(--radius); border: 1px solid var(--border); padding: 24px; }
.playbook-step { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 8px; font-size: 12px; font-family: var(--mono); white-space: nowrap; }
.playbook-arrow { color: var(--text3); font-size: 20px; align-self: center; }

/* ── Self-heal ring ── */
.stats-wall-heal { text-align: center; margin-top: 32px; padding: 32px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.stats-wall-heal-circle { position: relative; width: 120px; height: 120px; margin: 0 auto 16px; }
.stats-wall-heal-ring { position: absolute; inset: 0; }
.stats-wall-heal-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stats-wall-heal-pct { font-family: var(--display); font-size: 36px; font-weight: 800; background: linear-gradient(135deg, #22C55E, #06B6D4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stats-wall-heal-label { font-size: 11px; color: var(--text2); line-height: 1.3; margin-top: 2px; text-align: center; }
.stats-wall-heal-desc { color: var(--text2); font-size: 14px; line-height: 1.6; max-width: 520px; margin: 0 auto; }

/* ── Integrations ── */
.integration-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.integration-card { padding: 20px 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); text-align: center; filter: grayscale(.8); opacity: .6; transition: all .4s; }
.integration-card:hover { filter: grayscale(0); opacity: 1; background: var(--card-hover); border-color: var(--border-hover); transform: translateY(-4px); }
.integration-card-icon { font-size: 36px; margin-bottom: 6px; }
.integration-card-name { font-size: 11px; font-weight: 600; color: var(--text2); }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.pricing-card { padding: 40px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); text-align: center; transition: all .3s; position: relative; overflow: hidden; }
.pricing-card:hover { transform: translateY(-8px); border-color: var(--border-hover); }
.pricing-card.popular { border-color: var(--accent1); background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(236,72,153,0.04)); }
.pricing-card.popular::before { content: 'POPULAR'; position: absolute; top: 16px; right: -28px; padding: 4px 40px; background: var(--gradient); font-size: 10px; font-weight: 700; letter-spacing: 1px; transform: rotate(45deg); color: #fff; }
.pricing-name { font-size: 14px; font-weight: 600; color: var(--text2); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.pricing-price { font-family: var(--display); font-size: 48px; font-weight: 800; margin-bottom: 8px; }
.pricing-price span { font-size: 18px; font-weight: 400; color: var(--text3); }
.pricing-desc { color: var(--text2); font-size: 14px; margin-bottom: 24px; min-height: 40px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text2); display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── FAQ / accordion ── */
.accordion { max-width: 800px; margin: 0 auto; }
.acc-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; background: var(--card); overflow: hidden; }
.acc-q { width: 100%; text-align: left; padding: 18px 22px; background: none; border: none; color: var(--text); font-size: 15px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.acc-q::after { content: '+'; font-size: 20px; color: var(--accent1); }
.acc-item.open .acc-q::after { content: '−'; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--text2); font-size: 14px; line-height: 1.7; padding: 0 22px; }
.acc-item.open .acc-a { max-height: 300px; padding-bottom: 20px; }

/* ── Two-col text/image ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two-col h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; }
.two-col p { color: var(--text2); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 16px; }
.check-list li { padding: 8px 0; color: var(--text); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.check-list li::before { content: '✓'; color: var(--green); font-weight: 700; }
.visual-box { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 32px; min-height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--text2); }
.visual-box strong { font-family: var(--display); font-size: 20px; letter-spacing: 0.5px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.visual-box .v-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.visual-box .v-sep { width: 100%; height: 1px; background: var(--border); margin: 8px 0; }

/* ── CTA band ── */
.cta-band { padding: 90px 0; text-align: center; }
.cta-band h2 { font-family: var(--display); font-size: 40px; font-weight: 800; margin-bottom: 16px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.cta-band p { color: var(--text2); font-size: 16px; margin-bottom: 32px; }

/* ── Testimonials ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); transition: all .3s; }
.testimonial-card:hover { background: var(--card-hover); border-color: var(--border-hover); transform: translateY(-4px); }
.testimonial-quote { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.testimonial-quote::before { content: '\201C'; display: block; font-size: 44px; color: var(--accent1); line-height: 0.6; margin-bottom: 14px; font-family: Georgia, serif; }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ── Trust strip ── */
.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-item { padding: 10px 18px; border-radius: 100px; background: var(--card); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text2); }
.trust-item strong { color: var(--text); }

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

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 48px 0; background: var(--bg2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--text2); font-size: 13px; max-width: 320px; line-height: 1.7; margin-top: 12px; }
.footer-col h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text2); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: var(--text3); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text3); }

/* ── Tables ── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 14px 18px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text3); border-bottom: 1px solid var(--border); }
td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text2); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--card); }
td code, th code { font-family: var(--mono); font-size: 13px; color: var(--accent1); }
.badge { display: inline-flex; padding: 3px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; }
.badge.green { background: rgba(16,185,129,0.1); color: var(--green); }
.badge.amber { background: rgba(245,158,11,0.1); color: var(--amber); }
.badge.red { background: rgba(239,68,68,0.1); color: var(--red); }
.badge.indigo { background: rgba(99,102,241,0.12); color: var(--accent1); }
.badge.pink { background: rgba(236,72,153,0.12); color: var(--accent2); }

/* ── Changelog / timeline ── */
.timeline { border-left: 1px solid var(--border); margin-left: 8px; padding-left: 28px; }
.tl-item { position: relative; margin-bottom: 36px; }
.tl-item::before { content: ''; position: absolute; left: -33px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--gradient); }
.tl-ver { font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--accent1); }
.tl-date { font-family: var(--mono); font-size: 12px; color: var(--text3); margin: 4px 0 8px; }
.tl-item ul { color: var(--text2); font-size: 14px; padding-left: 18px; line-height: 1.8; }

/* ── Status ── */
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.status-card { padding: 20px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); text-align: center; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; margin: 0 auto 10px; background: var(--green); box-shadow: 0 0 12px rgba(16,185,129,0.5); }
.status-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.status-card span { font-size: 12px; color: var(--text3); font-family: var(--mono); }

@media (max-width: 1024px) {
  .hero-grid, .arch-grid, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .features-grid, .features-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid, .compliance-grid { grid-template-columns: repeat(3, 1fr); }
  .api-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,12,16,0.98); padding: 16px; border-bottom: 1px solid var(--border); }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; border: none; padding: 4px 0 4px 14px; display: none; }
  .nav-drop.open .nav-drop-menu { display: block; }
  .mobile-toggle { display: block; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 30px; }
  .hero-visual { display: none; }
  .features-grid, .features-grid.cols-4, .xdr-visual { grid-template-columns: 1fr; }
  .speed-row { grid-template-columns: 1fr; }
  .speed-time { text-align: left; }
  .integration-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
