/* ═══════════════════════════════════════════════════════════
   ACS COMPLETE SECURITY SOLUTION — Website design system
   ═══════════════════════════════════════════════════════════ */
:root {
  --ink: #0A0E27;
  --ink-soft: #1e293b;
  --ink-muted: #64748b;
  --paper: #ffffff;
  --paper-soft: #f8fafc;
  --paper-tint: #f1f5f9;
  --border: #e2e8f0;

  --blaze: #1d4ed8;
  --blaze-dark: #1e40af;
  --blaze-glow: rgba(29,78,216,0.12);
  --sky: #0ea5e9;
  --sky-soft: #e0f2fe;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --emerald: #10b981;
  --emerald-soft: #d1fae5;
  --rose: #f43f5e;
  --rose-soft: #ffe4e6;
  --violet: #7c3aed;

  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.06);
  --shadow-md: 0 4px 6px -1px rgba(15,23,42,0.08), 0 2px 4px -2px rgba(15,23,42,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15,23,42,0.08), 0 4px 6px -4px rgba(15,23,42,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15,23,42,0.1), 0 8px 10px -6px rgba(15,23,42,0.04);
  --shadow-hero: 0 50px 100px -20px rgba(29,78,216,0.25), 0 30px 60px -30px rgba(10,14,39,0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,.display { font-family: 'Space Grotesk','Inter',sans-serif; letter-spacing: -0.02em; }
a { color: var(--blaze); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ═══ NAV ═══ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 32px;
  padding: 14px 40px;
  max-width: 1380px; margin: 0 auto;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.nav-logo img { height: 34px; }
.nav-logo-text .sub { font-size: 10px; font-weight: 500; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 1.5px; display: block; line-height: 1; }
.nav-logo-text .main { display: block; line-height: 1.1; font-size: 15px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-link {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #334155;
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: var(--paper-tint); color: var(--ink); }
.nav-link.active { background: var(--blaze-glow); color: var(--blaze); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blaze), #3b82f6);
  color: white !important; font-weight: 600; font-size: 14px;
  box-shadow: 0 4px 12px -2px rgba(29,78,216,0.4);
  transition: transform 0.15s;
}
.nav-cta:hover { transform: translateY(-1px); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  background: radial-gradient(circle at 20% 0%, #1e3a8a 0%, transparent 60%),
              radial-gradient(circle at 80% 100%, #0ea5e9 0%, transparent 50%),
              linear-gradient(135deg, #0A0E27 0%, #1e293b 50%, #1e3a8a 100%);
  color: white;
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 40%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 40%, black, transparent);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; position: relative; }
.hero-image-wrap {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: flex; align-items: center;
}
.hero-screenshot {
  display: block;
  width: 135%;
  margin-right: -35%;
  border-radius: 14px;
  transform: perspective(1600px) rotateY(-8deg) rotateX(3deg);
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.55), 0 20px 50px -15px rgba(14,165,233,0.35);
  max-width: none;
  filter: drop-shadow(0 0 30px rgba(14,165,233,0.2));
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(14,165,233,0.3), transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 22px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.25);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.25);} 50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.1);} }

.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700; line-height: 1.04; margin-bottom: 22px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #bae6fd 0%, #7dd3fc 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lede { font-size: 18px; font-weight: 300; line-height: 1.6; opacity: 0.85; margin-bottom: 32px; max-width: 560px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer; border: none;
}
.btn-primary { background: white; color: var(--ink); box-shadow: 0 8px 20px -6px rgba(255,255,255,0.35); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.18); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-blaze { background: linear-gradient(135deg, var(--blaze), #3b82f6); color: white !important; box-shadow: 0 8px 22px -6px rgba(29,78,216,0.5); }
.btn-blaze:hover { transform: translateY(-2px); }
.btn-outline { background: white; color: var(--ink); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--blaze); color: var(--blaze); transform: translateY(-2px); }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.15); max-width: 520px; }
.hstat-v {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700; line-height: 1;
  background: linear-gradient(135deg, #ffffff, #bae6fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.hstat-l { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.75; }

/* Dashboard mockup (stands in for real screenshots) */
.dashboard-mock {
  background: white; border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5), 0 12px 30px -10px rgba(0,0,0,0.4);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-4deg) rotateX(2deg);
  transform-origin: left center;
}
.mock-chrome {
  background: #f1f5f9; padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.r { background: #ff5f57; }
.mock-dot.y { background: #febc2e; }
.mock-dot.g { background: #28c840; }
.mock-url { flex: 1; margin-left: 8px; padding: 4px 10px; background: white; border-radius: 5px; font-size: 11px; color: var(--ink-muted); font-family: monospace; }
.mock-body { padding: 16px; color: var(--ink); }
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-title { font-size: 13px; font-weight: 600; }
.mock-pill { font-size: 10px; padding: 3px 8px; border-radius: 100px; background: var(--emerald-soft); color: var(--emerald); font-weight: 600; }
.mock-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 12px; }
.mock-tile { padding: 10px 8px; border-radius: 6px; border: 1px solid var(--border); }
.mock-tile .dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 6px; }
.mock-tile .dot.red { background: #ef4444; } .mock-tile .dot.amber { background: #f59e0b; }
.mock-tile .dot.green { background: #10b981; } .mock-tile .dot.grey { background: #9ca3af; }
.mock-tile .lab { font-size: 8px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-muted); }
.mock-tile .val { font-size: 10px; font-weight: 600; margin-top: 2px; }
.mock-chart {
  height: 90px;
  background:
    linear-gradient(to top, rgba(29,78,216,0.2), transparent),
    repeating-linear-gradient(90deg, transparent 0 40px, rgba(0,0,0,0.03) 40px 41px);
  border-radius: 6px;
  position: relative; overflow: hidden;
}
.mock-chart::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 70%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 60' preserveAspectRatio='none'><path d='M0,55 C20,45 30,25 50,30 C70,35 90,50 110,40 C130,30 150,10 170,15 C190,20 210,40 240,25' fill='none' stroke='%231d4ed8' stroke-width='2'/></svg>") no-repeat center bottom;
  background-size: 100% 100%;
}

/* ═══ Section frame ═══ */
.section { padding: 96px 0; }
.section.soft { background: var(--paper-soft); }
.section.dark { background: var(--ink); color: white; }
.section.dark h2 { color: white; }
.section.dark p { color: rgba(255,255,255,0.8); }
.section-intro { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow { display: inline-block; padding: 5px 13px; background: var(--blaze-glow); color: var(--blaze); border-radius: 100px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.section-intro h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; margin-bottom: 16px; line-height: 1.1; }
.section-intro p { font-size: 17px; color: var(--ink-muted); }
.section.dark .eyebrow { background: rgba(255,255,255,0.08); color: #bae6fd; }
.section.dark .section-intro p { color: rgba(255,255,255,0.75); }

/* ═══ 3-up panels (Protect/Monitor/Remediate) ═══ */
.three-up { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.three-card { background: white; border: 1px solid var(--border); border-radius: 18px; padding: 32px 28px; transition: transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.section.soft .three-card { background: white; }
.three-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; }
.three-card:nth-child(1)::before { background: linear-gradient(90deg, var(--blaze), #3b82f6); }
.three-card:nth-child(2)::before { background: linear-gradient(90deg, var(--sky), #22d3ee); }
.three-card:nth-child(3)::before { background: linear-gradient(90deg, var(--emerald), #34d399); }
.three-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.three-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.three-card:nth-child(1) .three-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--blaze); }
.three-card:nth-child(2) .three-icon { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: var(--sky); }
.three-card:nth-child(3) .three-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: var(--emerald); }
.three-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.three-card p { font-size: 14.5px; color: var(--ink-muted); line-height: 1.6; }

/* ═══ Feature grid (6-up home) ═══ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { padding: 28px 24px; background: white; border: 1px solid var(--border); border-radius: 16px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blaze); }
.feat-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 14px; background: var(--blaze-glow); color: var(--blaze); }
.feat-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.feat-card p { font-size: 13.5px; color: var(--ink-muted); line-height: 1.55; }

/* ═══ Logo strip ═══ */
.logo-strip { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; opacity: 0.6; }
.logo-strip .placeholder { padding: 14px 22px; background: var(--paper-tint); border-radius: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink-muted); }

/* ═══ Diff table ═══ */
.diff-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: white; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.diff-col { padding: 36px 32px; }
.diff-col.before { background: linear-gradient(135deg, #fef2f2, #fee2e2); border-right: 1px solid var(--border); }
.diff-col.after { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.diff-col h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.diff-col.before h3 { color: #991b1b; } .diff-col.after h3 { color: #065f46; }
.diff-col ul { list-style: none; }
.diff-col li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 14px; }
.diff-col li:last-child { border-bottom: none; }
.diff-col li i { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; margin-top: 1px; }
.diff-col.before li i { background: #fee2e2; color: #b91c1c; }
.diff-col.after li i { background: #d1fae5; color: #047857; }

/* ═══ Stats strip ═══ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat-item .v { font-family: 'Space Grotesk', sans-serif; font-size: clamp(36px, 4.5vw, 54px); font-weight: 700; line-height: 1; background: linear-gradient(135deg, #ffffff, #bae6fd 60%, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.stat-item .l { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.8; }

/* ═══ CTA ═══ */
.cta-card {
  max-width: 960px; margin: 0 auto; padding: 64px 56px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(14,165,233,0.25), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(29,78,216,0.25), transparent 40%),
    linear-gradient(135deg, #0A0E27 0%, #1e3a8a 100%);
  color: white; box-shadow: var(--shadow-hero);
  text-align: center; position: relative; overflow: hidden;
}
.cta-card::before { content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px; }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 14px; line-height: 1.1; }
.cta-card h2 .accent { background: linear-gradient(135deg, #bae6fd, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.cta-card p { font-size: 16px; opacity: 0.85; max-width: 560px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══ FAQ ═══ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 22px; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q i { color: var(--ink-muted); transition: transform 0.2s; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; font-size: 14px; color: var(--ink-muted); line-height: 1.6; display: none; }
.faq-item.open .faq-a { display: block; }

/* ═══ Pricing ═══ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.price-card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 40px 32px; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--blaze); box-shadow: var(--shadow-xl); transform: translateY(-8px); }
.price-card.featured:hover { transform: translateY(-12px); }
.price-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 14px; background: linear-gradient(135deg, var(--blaze), #3b82f6); color: white; border-radius: 100px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.price-name { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blaze); margin-bottom: 8px; }
.price-cost { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.price-cost .amt { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; line-height: 1; }
.price-cost .per { font-size: 14px; color: var(--ink-muted); }
.price-sub { font-size: 13px; color: var(--ink-muted); margin-bottom: 24px; }
.price-list { list-style: none; margin-bottom: 28px; }
.price-list li { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; color: #334155; border-bottom: 1px dashed var(--border); }
.price-list li:last-child { border-bottom: none; }
.price-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--emerald); flex-shrink: 0; }
.price-list li.off { color: var(--ink-muted); }
.price-list li.off::before { content: '\f00d'; color: #cbd5e1; }

/* ═══ Footer ═══ */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand { color: white; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo img { height: 38px; background: white; padding: 6px 8px; border-radius: 8px; }
.footer-logo .text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; color: white; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 280px; margin-bottom: 16px; }
.footer-col h5 { color: white; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.65); padding: 5px 0; transition: color 0.15s; }
.footer-col a:hover { color: white; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.footer-bottom .trust { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 100px; }
.footer-bottom .trust i { color: var(--emerald); }

/* ═══ Reveal ═══ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ═══ Responsive ═══ */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 12px 20px; gap: 16px; }
  .nav-links { display: none; }
  .hero-grid, .three-up, .feat-grid, .diff-wrap, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
  .diff-col.before { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .hero { padding: 56px 0 68px; }
  .section { padding: 64px 0; }
  .dashboard-mock { transform: none; }
  .hero-screenshot { position: static; width: 100%; transform: none; mask-image: none; -webkit-mask-image: none; }
  .hero-image-wrap { margin-top: 20px; }
  .cta-card { padding: 48px 28px; }
}
