/* ===================================================================
   AttackShield.ai — Enterprise polish, mobile-first responsive
   =================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --bg-3: #eef2f9;
  --card: #ffffff;
  --card-border: #e4e9f2;

  --dark: #07111f;
  --dark-2: #0c1a30;
  --dark-3: #11253f;
  --dark-card-border: rgba(255, 255, 255, 0.08);

  --text: #0c1a30;
  --text-soft: #2a3a55;
  --muted: #5d6b85;
  --muted-dark: #9aa9bf;
  --text-on-dark: #e8eef9;

  --primary: #1f5fd8;
  --primary-2: #2f7bff;
  --primary-3: #5aa2ff;
  --accent: #ff7a18;
  --accent-2: #ff9a4a;
  --accent-3: #ffb670;
  --blue: #1f5fd8;
  --red: #ef4444;
  --purple: #a855f7;
  --teal: #14b8a6;

  --max: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 30, 60, 0.06);
  --shadow: 0 10px 30px rgba(15, 30, 60, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 30, 60, 0.12);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.35);

  --nav-h: 84px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* ===================================================================
   NAV — light, sticky, glassmorphism
   =================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--card-border);
  height: var(--nav-h);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; max-width: var(--max); margin: 0 auto; height: 100%;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); white-space: nowrap;
  text-decoration: none;
}
.brand:hover, .brand:hover .brand-name, .brand:hover .brand-tagline { color: inherit; }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--text); }
.brand-tagline {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); opacity: 0.75;
}

/* Desktop nav links */
.nav-links {
  display: flex; align-items: center; gap: 32px;
}
.nav-links a {
  color: var(--text-soft); font-weight: 500; font-size: 17px;
  transition: color 0.2s var(--ease);
  position: relative; letter-spacing: 0.005em;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--primary); border-radius: 1px;
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Hamburger */
.mobile-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
  -webkit-tap-highlight-color: transparent;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  border-radius: 2px; position: absolute; left: 10px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.mobile-toggle span:nth-child(1) { top: 14px; }
.mobile-toggle span:nth-child(2) { top: 21px; }
.mobile-toggle span:nth-child(3) { top: 28px; }
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-overlay {
  display: none; position: fixed; inset: 0; top: var(--nav-h);
  background: rgba(7, 17, 31, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.nav-overlay.open { display: block; opacity: 1; }


/* ===================================================================
   BUTTONS — enterprise feel, consistent states
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  font-family: inherit; line-height: 1.4;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease),
              background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled, .btn[disabled] { opacity: 0.55; pointer-events: none; }

.btn-primary {
  background: var(--primary);
  color: #ffffff; box-shadow: 0 2px 12px rgba(31, 95, 216, 0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(31, 95, 216, 0.35); background: var(--primary-2); color: #ffffff; }

.btn-blue, .nav-links a.btn-blue {
  background: #143f9b;
  color: #ffffff; box-shadow: 0 2px 10px rgba(20, 63, 155, 0.25);
  padding: 11px 24px; font-size: 16px; font-weight: 600; border-radius: 9px;
}
.btn-blue:hover, .nav-links a.btn-blue:hover {
  transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20, 63, 155, 0.35);
  background: #0f3380; color: #ffffff;
}

.btn-accent {
  background: var(--accent);
  color: #ffffff; box-shadow: 0 2px 12px rgba(255, 122, 24, 0.20);
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255, 122, 24, 0.30); background: var(--accent-2); color: #ffffff; }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--card-border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost-dark { background: transparent; color: var(--text-on-dark); border-color: rgba(255, 255, 255, 0.18); }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }

.btn-ghost-light {
  background: transparent; color: var(--text-on-dark);
  border-color: rgba(255, 255, 255, 0.18);
}
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }


/* ===================================================================
   HERO (dark accent) — homepage
   =================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(47, 123, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(90, 162, 255, 0.18), transparent 60%),
    radial-gradient(600px 400px at 60% 80%, rgba(255, 122, 24, 0.08), transparent 60%),
    linear-gradient(180deg, #061224 0%, #0a1a31 100%);
  color: var(--text-on-dark);
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center;
}

/* Hero slider */
.hero-text-col { position: relative; min-height: 440px; }
.hero-slides { position: relative; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.active {
  position: relative;
  opacity: 1; visibility: visible; pointer-events: auto;
}
.hero-dots {
  display: flex; gap: 8px; margin-top: 24px; padding: 0;
  align-items: center;
}
.hero-dot {
  width: 32px; height: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: 0; cursor: pointer; padding: 0;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.45); }
.hero-dot.active {
  width: 48px; background: var(--primary-3);
  box-shadow: 0 0 14px rgba(90, 162, 255, 0.5);
}
.hero-dot:focus-visible { outline: 2px solid var(--primary-3); outline-offset: 4px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary-3);
  background: rgba(47, 123, 255, 0.12); border: 1px solid rgba(47, 123, 255, 0.30);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 12px var(--primary);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--primary); }
  50% { box-shadow: 0 0 20px var(--primary), 0 0 40px rgba(47, 123, 255, 0.3); }
}

h1.hero-title {
  font-size: clamp(38px, 4.5vw, 54px); line-height: 1.08; margin: 0 0 20px;
  letter-spacing: -0.03em; font-weight: 800; color: var(--text-on-dark);
  max-width: 640px;
}
h1.hero-title .accent { color: var(--accent-2); font-style: italic; font-weight: 800; }
h1.hero-title .blue { color: var(--primary-3); font-weight: 800; display: block; margin-top: 0.12em; }
.hero-sub { color: var(--muted-dark); font-size: 16px; max-width: 540px; margin: 0 0 24px; line-height: 1.7; }
.hero-stats { display: flex; gap: 32px; margin: 20px 0 28px; flex-wrap: wrap; }
.stat .num { font-size: 26px; font-weight: 800; color: var(--text-on-dark); letter-spacing: -0.02em; }
.stat .num .ac { color: var(--accent-2); }
.stat .lbl { color: var(--muted-dark); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero card / form */
.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(200, 215, 240, 0.5);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.20);
  color: var(--text);
}
.hero-card h3 { margin: 0 0 5px; font-size: 18px; font-weight: 700; color: var(--text); }
.hero-card > p { color: var(--muted); margin: 0 0 16px; font-size: 13px; line-height: 1.5; }

/* Form fields */
.field { display: block; margin-bottom: 10px; }
.field input, .field select, .field textarea {
  width: 100%;
  background: #f4f7fc;
  border: 1px solid #d6dde9;
  color: var(--text); border-radius: 10px; padding: 11px 14px; font-size: 14px;
  font-family: inherit; outline: none; min-height: 44px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%235d6b85' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.field select option { background: #ffffff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary-2);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 123, 255, 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa5b8; }
.field textarea { resize: vertical; min-height: 80px; line-height: 1.5; }
.hero-card .btn { width: 100%; min-height: 44px; font-size: 14px; border-radius: 10px; }

.hero-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px;
  text-align: center; font-size: 11px; color: var(--muted-dark);
}
.hero-trust .ic { font-size: 16px; display: block; margin-bottom: 3px; }


/* ===================================================================
   SECTIONS — shared
   =================================================================== */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-tag {
  color: var(--primary); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 42px); line-height: 1.12;
  letter-spacing: -0.025em; margin: 0 0 16px; font-weight: 800; color: var(--text);
}
.section-sub { color: var(--muted); font-size: 17px; line-height: 1.6; }


/* ===================================================================
   AGENTIC BRAIN section
   =================================================================== */
.brain-section { background: var(--bg); padding: 90px 0 110px; }
.brain-stage {
  position: relative; margin: 40px auto 0; max-width: 980px;
  background: linear-gradient(180deg, #061224 0%, #0a1a31 100%);
  border-radius: 22px; padding: 40px 24px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 30, 60, 0.18);
  border: 1px solid #e4e9f2;
}
.brain-stage::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: 36px 36px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.brain-stage svg { display: block; width: 100%; height: auto; max-width: 900px; margin: 0 auto; position: relative; }

.brain-glow {
  filter: drop-shadow(0 0 12px rgba(47, 123, 255, 0.55));
  transform-origin: 450px 260px;
  animation: brain-breathe 3.6s ease-in-out infinite;
}
@keyframes brain-breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(47, 123, 255, 0.5)); }
  50%      { transform: scale(1.035); filter: drop-shadow(0 0 22px rgba(47, 123, 255, 0.85)); }
}

.spark { animation: spark 2.4s ease-in-out infinite; transform-origin: center; }
.spark.s1 { animation-delay: 0s; }
.spark.s2 { animation-delay: 0.4s; }
.spark.s3 { animation-delay: 0.8s; }
.spark.s4 { animation-delay: 1.2s; }
.spark.s5 { animation-delay: 1.6s; }
.spark.s6 { animation-delay: 2.0s; }
@keyframes spark {
  0%, 100% { opacity: 0.2; r: 2; }
  50%      { opacity: 1; r: 3.5; }
}

.flow-line { stroke-dasharray: 4 8; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -36; } }

.node-ring {
  transform-origin: center;
  animation: ring-pulse 2.2s ease-in-out infinite;
}
.node-blue   { animation-delay: 0s; }
.node-purple { animation-delay: 0.7s; }
.node-red    { animation-delay: 1.4s; }
@keyframes ring-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.18); }
}

.node-card { transition: transform 0.25s; cursor: pointer; }
.node-card:hover { transform: translateY(-3px); }

.brain-pulse-dot { filter: drop-shadow(0 0 6px currentColor); }

.brain-caption {
  text-align: center; margin-top: 28px; color: var(--muted); font-size: 14px;
}
.brain-caption strong { color: var(--text); font-weight: 700; }

@media (max-width: 720px) {
  .brain-stage { padding: 24px 8px; }
  .brain-section { padding: 64px 0 72px; }
}


/* ===================================================================
   PRODUCT CARDS (light section)
   =================================================================== */
.products { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.product-card {
  position: relative; background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.product-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--ribbon, var(--primary));
}
.product-card.blue { --ribbon: linear-gradient(90deg, #1f5fd8, #5aa2ff); }
.product-card.red { --ribbon: linear-gradient(90deg, #ef4444, #ff7a18); }
.product-card.purple { --ribbon: linear-gradient(90deg, #a855f7, #14b8a6); }
.product-card:hover { transform: translateY(-5px); border-color: #c8d2e6; box-shadow: var(--shadow-lg); }

.product-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 24px;
}
.product-card.blue .product-icon { background: #e8f0ff; border: 1px solid #c4d6f6; }
.product-card.red .product-icon { background: #ffe8e0; border: 1px solid #ffc9b8; }
.product-card.purple .product-icon { background: #f3e8ff; border: 1px solid #ddc7f3; }

.product-card h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.02em; color: var(--text); }

.pain-q {
  font-size: 18px; line-height: 1.35; font-weight: 700;
  color: var(--text); margin-bottom: 16px; min-height: 48px; letter-spacing: -0.01em;
}
.pain-q em { font-style: italic; color: var(--accent); font-weight: 700; }
.product-card.blue .pain-q em { color: var(--primary); }
.product-card.purple .pain-q em { color: #7e3fc7; }

.product-tagline { color: var(--primary); font-weight: 600; font-size: 13px; margin-bottom: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.product-card.blue .product-tagline { color: var(--primary); }
.product-card.purple .product-tagline { color: #7e3fc7; }
.product-card > p { color: var(--muted); font-size: 15px; margin: 0 0 18px; line-height: 1.6; }

.feature-list { list-style: none; padding: 0; margin: 0 0 22px; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: var(--text-soft); font-size: 14px; padding: 5px 0; line-height: 1.5;
}
.feature-list li::before { content: "\2713"; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.product-card.blue .feature-list li::before { color: var(--primary); }
.product-card.purple .feature-list li::before { color: #7e3fc7; }

.product-cta { margin-top: auto; padding-top: 4px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-weight: 600; font-size: 14px;
  padding: 4px 0; transition: gap 0.25s var(--ease), color 0.2s;
}
.link-arrow:hover { gap: 12px; color: var(--primary-2); }


/* ===================================================================
   WHY section (dark accent)
   =================================================================== */
.why {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--text-on-dark);
  position: relative; overflow: hidden;
}
.why::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 300px at 90% 30%, rgba(47, 123, 255, 0.10), transparent 60%),
    radial-gradient(600px 300px at 10% 70%, rgba(90, 162, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.why .container { position: relative; }
.why .section-title { color: var(--text-on-dark); }
.why .section-tag { color: var(--primary-2); }
.why .section-sub { color: var(--muted-dark); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-card-border);
  border-radius: var(--radius); padding: 26px;
  color: var(--text-on-dark);
  transition: background 0.3s var(--ease), border-color 0.3s;
}
.why-card:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.14); }
.why-card .ic { font-size: 26px; margin-bottom: 14px; display: block; }
.why-card h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--text-on-dark); }
.why-card p { color: var(--muted-dark); font-size: 14px; margin: 0; line-height: 1.55; }


/* ===================================================================
   EARLY WARNING section
   =================================================================== */
.early-warning {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, #061224 0%, #0c1a34 60%, #0f1f3d 100%);
  color: var(--text-on-dark); padding: 96px 0;
}
.early-warning-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 400px at 50% 30%, rgba(239, 68, 68, 0.08), transparent 70%),
    radial-gradient(500px 500px at 20% 80%, rgba(37, 99, 235, 0.06), transparent 60%),
    radial-gradient(400px 400px at 80% 70%, rgba(245, 158, 11, 0.05), transparent 60%);
}
.ew-content { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.ew-icon { font-size: 56px; margin-bottom: 16px; animation: ewPulse 2.5s ease-in-out infinite; }
@keyframes ewPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.2)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 28px rgba(239, 68, 68, 0.45)); }
}
.ew-tag {
  display: inline-block; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ew-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.1; margin: 0 0 16px; color: #f1f5f9;
}
.ew-title span {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ew-sub {
  font-size: 18px; color: #94a3b8; max-width: 550px; margin: 0 auto 48px; line-height: 1.65;
}
.ew-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px;
}
.ew-stat { text-align: center; min-width: 160px; }
.ew-stat-num {
  font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #f1f5f9 30%, #ef4444);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ew-stat-cost {
  background: linear-gradient(180deg, #f1f5f9 30%, #f59e0b) !important;
  -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important;
}
.ew-stat-label { font-size: 13px; color: #94a3b8; margin-top: 6px; max-width: 200px; line-height: 1.5; margin-left: auto; margin-right: auto; }
.ew-shield {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 28px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.ew-shield-icon { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.4)); }
.ew-shield-title { font-size: 14px; font-weight: 700; color: #f1f5f9; letter-spacing: 0.02em; }
.ew-shield-sub { font-size: 12px; color: #94a3b8; margin-top: 2px; }


/* ===================================================================
   NEWS section (light)
   =================================================================== */
.news { background: var(--bg-2); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s var(--ease);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  text-decoration: none;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c0ccde; }
.news-card:hover h4 { color: var(--primary); }
.news-thumb {
  height: 160px;
  background: linear-gradient(145deg, #0c1e3a 0%, #142d54 60%, #1f5fd8 140%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; overflow: hidden;
}
.news-thumb::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 20%, transparent 70%);
}
.news-thumb::after {
  content: ""; position: absolute; width: 100px; height: 100px; border-radius: 50%;
  top: -25px; right: -15px;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.20), transparent 70%);
}
.news-thumb-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 0 20px;
}
.news-thumb-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.news-thumb-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
}
.news-thumb.blue { background: linear-gradient(145deg, #081d3a 0%, #0f2d55 60%, #1f5fd8 140%); }
.news-thumb.blue::after { background: radial-gradient(circle, rgba(90, 162, 255, 0.25), transparent 70%); }
.news-thumb.red { background: linear-gradient(145deg, #1a0a0a 0%, #3a1515 60%, #ef4444 140%); }
.news-thumb.red::after { background: radial-gradient(circle, rgba(239, 68, 68, 0.25), transparent 70%); }
.news-thumb.purple { background: linear-gradient(145deg, #140a28 0%, #2a1050 60%, #a855f7 140%); }
.news-thumb.purple::after { background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%); }
.news-thumb.teal { background: linear-gradient(145deg, #051a18 0%, #0c3530 60%, #14b8a6 140%); }
.news-thumb.teal::after { background: radial-gradient(circle, rgba(20, 184, 166, 0.25), transparent 70%); }
.news-thumb.orange { background: linear-gradient(145deg, #1a1005 0%, #3a2510 60%, #ff7a18 140%); }
.news-thumb.orange::after { background: radial-gradient(circle, rgba(255, 122, 24, 0.25), transparent 70%); }
.news-body { padding: 18px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  color: var(--primary); font-size: 11px; letter-spacing: 0.05em;
  text-transform: uppercase; margin-bottom: 8px; font-weight: 700;
}
.news-body h4 {
  margin: 0 0 8px; font-size: 16px; line-height: 1.35;
  color: var(--text); font-weight: 700; transition: color 0.2s var(--ease);
}
.news-body p { color: var(--muted); font-size: 13px; margin: 0 0 14px; line-height: 1.55; flex: 1; }
.news-body .link-arrow { font-size: 13px; color: var(--primary); font-weight: 600; }
.news-cta-row { text-align: center; margin-top: 44px; }


/* ===================================================================
   CTA section (dark accent)
   =================================================================== */
.cta {
  background:
    radial-gradient(800px 400px at 80% 50%, rgba(47, 123, 255, 0.20), transparent 60%),
    radial-gradient(600px 300px at 20% 50%, rgba(90, 162, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--dark-2), var(--dark));
  color: var(--text-on-dark); text-align: center;
}
.cta h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 14px; letter-spacing: -0.02em; color: var(--text-on-dark); }
.cta p { color: var(--muted-dark); margin: 0 0 28px; font-size: 17px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }


/* ===================================================================
   FOOTER (dark)
   =================================================================== */
.footer {
  background: #050b15;
  color: var(--text-on-dark);
  padding: 64px 0 28px;
  border-top: 1px solid var(--dark-card-border);
}
.footer .brand { color: var(--text-on-dark); }
.footer .brand:hover, .footer .brand:hover .brand-name, .footer .brand:hover .brand-tagline { color: var(--text-on-dark); }
.footer .brand-name { color: var(--text-on-dark); }
.footer .brand-tagline { color: var(--muted-dark); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.footer h5 { font-size: 12px; color: var(--text-on-dark); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; color: var(--muted-dark); font-size: 14px; }
.footer a { color: var(--muted-dark); font-size: 14px; transition: color 0.2s; }
.footer a:hover { color: var(--primary-2); }
.footer-brand > p { color: var(--muted-dark); font-size: 14px; margin: 14px 0; max-width: 340px; line-height: 1.55; }

.powered-by {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-card-border);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-top: 12px;
  font-size: 13px; color: var(--muted-dark);
  transition: border-color 0.2s, color 0.2s;
}
.powered-by:hover { border-color: var(--primary); color: var(--text-on-dark); }
.powered-by .s53 { font-weight: 800; color: var(--text-on-dark); letter-spacing: -0.01em; }
.powered-by img { flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--dark-card-border);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted-dark); font-size: 13px; flex-wrap: wrap; gap: 12px;
}


/* ===================================================================
   PAGE HERO (product detail / subpages)
   =================================================================== */
.page-hero {
  background:
    radial-gradient(900px 450px at 90% -10%, rgba(47, 123, 255, 0.20), transparent 60%),
    radial-gradient(700px 400px at 0% 20%, rgba(90, 162, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #061224 0%, #0a1a31 100%);
  color: var(--text-on-dark);
  padding: 64px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1; margin: 0 0 18px;
  letter-spacing: -0.025em; font-weight: 800; color: var(--text-on-dark);
}
.page-hero h1 .ac { color: var(--accent-2); font-style: italic; }
.page-hero h1 .blue { color: var(--primary-3); }
.page-hero h1 .red { color: #ff8a72; }
.page-hero h1 .purple { color: #c8a5ff; }
.page-hero p.lead { color: var(--muted-dark); font-size: 17px; max-width: 720px; margin: 0 0 28px; line-height: 1.65; }

.col-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 22px;
}
.col-tag.blue { background: rgba(47, 123, 255, 0.18); color: var(--primary-3); border: 1px solid rgba(47, 123, 255, 0.45); }
.col-tag.red { background: rgba(239, 68, 68, 0.18); color: #ff8a72; border: 1px solid rgba(239, 68, 68, 0.45); }
.col-tag.purple { background: rgba(168, 85, 247, 0.18); color: #c8a5ff; border: 1px solid rgba(168, 85, 247, 0.45); }


/* ===================================================================
   FEATURE GRID (product detail pages)
   =================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8d2e6; }
.feature-card .ic { font-size: 28px; margin-bottom: 14px; display: block; }
.feature-card h4 { margin: 0 0 8px; font-size: 17px; color: var(--text); font-weight: 700; }
.feature-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }


/* ===================================================================
   CONTACT INFO CARDS
   =================================================================== */
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
}
.contact-split-left .section-title { font-size: clamp(22px, 3vw, 28px); margin-bottom: 20px; text-align: left; }
.contact-trust-text { color: var(--muted); font-size: 17px; line-height: 1.8; margin: 0 0 18px; }
.contact-trust-text:last-of-type { margin-bottom: 0; }
.contact-trust-stack { display: flex; flex-direction: column; gap: 14px; }
.contact-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-info-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin: 0 auto;
}
.contact-info-card {
  background: var(--bg-2); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s var(--ease);
}
.contact-info-card:hover { border-color: #c8d2e6; box-shadow: var(--shadow-sm); }
.contact-info-card h4 { margin: 0 0 10px; color: var(--text); font-size: 15px; font-weight: 700; }
.contact-info-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.6; }


/* ===================================================================
   SCROLL REVEAL ANIMATION
   =================================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }


/* ===================================================================
   POST CONTENT (blog detail)
   =================================================================== */
.post-content {
  font-size: 17px; line-height: 1.75; color: var(--text-soft);
  max-width: 720px;
}
.post-content h2, .post-content h3 { color: var(--text); margin: 32px 0 12px; font-weight: 700; }
.post-content p { margin: 0 0 18px; }
.post-content ul, .post-content ol { margin: 0 0 18px; padding-left: 24px; }
.post-content li { margin-bottom: 6px; }
.post-content a { text-decoration: underline; text-underline-offset: 3px; }
.post-content img { border-radius: var(--radius); margin: 24px 0; }
.post-content blockquote {
  border-left: 3px solid var(--primary); padding: 12px 20px; margin: 24px 0;
  background: var(--bg-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft); font-style: italic;
}


/* ===================================================================
   RESPONSIVE — Small desktop (1200px)
   =================================================================== */
@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 32px; }
  h1.hero-title { font-size: clamp(36px, 4vw, 48px); }
}

/* ===================================================================
   RESPONSIVE — Tablet (960px)
   =================================================================== */
@media (max-width: 960px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-text-col { min-height: auto; }

  .page-hero .hero-grid { grid-template-columns: 1fr; gap: 36px; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  /* Mobile nav */
  .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 8px 16px 16px; gap: 0;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    z-index: 95;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a {
    padding: 14px 12px; font-size: 16px; border-radius: var(--radius-sm);
    min-height: 48px; display: flex; align-items: center;
  }
  .nav-links a:not(.btn):hover { background: var(--bg-2); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 8px; justify-content: center; }

  .mobile-toggle { display: flex; align-items: center; justify-content: center; }

  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-trust-grid { grid-template-columns: 1fr 1fr; }
}


/* ===================================================================
   RESPONSIVE — Mobile (640px)
   =================================================================== */
@media (max-width: 640px) {
  .container { padding: 0 20px; }

  section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-title { font-size: clamp(26px, 7vw, 32px); }

  .hero { padding: 48px 0 64px; }
  .hero-text-col { min-height: auto; }
  h1.hero-title { font-size: clamp(30px, 8vw, 40px); }
  .hero-sub { font-size: 16px; }
  .hero-stats { gap: 20px; }
  .stat .num { font-size: 24px; }

  .hero-card { padding: 22px; }
  .hero-card h3 { font-size: 19px; }

  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 28px 22px 26px; }
  .pain-q { min-height: auto; font-size: 17px; }

  .feature-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }

  .early-warning { padding: 64px 0; }
  .ew-stats { gap: 24px; }
  .ew-stat-num { font-size: clamp(28px, 8vw, 36px); }
  .ew-shield { flex-direction: column; text-align: center; padding: 16px 20px; }

  .page-hero { padding: 48px 0 64px; }
  .page-hero h1 { font-size: clamp(28px, 7.5vw, 38px); }
  .page-hero p.lead { font-size: 16px; }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  .cta h2 { font-size: clamp(24px, 6vw, 32px); }
  .cta-row { flex-direction: column; align-items: center; }
  .cta-row .btn { width: 100%; max-width: 340px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===================================================================
   RESPONSIVE — Small mobile (380px)
   =================================================================== */
@media (max-width: 380px) {
  .hero-trust { grid-template-columns: 1fr; gap: 6px; }
  .hero-stats { flex-direction: column; gap: 16px; }
}
