/* Foortress 2026 redesign — design system (colors, type, buttons, cards, layout primitives). */
:root{
  --bg: #0a0d1c;
  --bg-alt: #0f1330;
  --panel: #131836;
  --panel-2: #171d40;
  --border: rgba(255,255,255,0.08);
  --text: #f2f4fb;
  --text-dim: #a4aac8;
  --text-dimmer: #868cb0;
  --teal: #2fd6c8;
  --purple: #8b5cf6;
  --pink: #e550c0;
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--purple) 55%, var(--pink) 100%);
}
.rd *{ box-sizing:border-box; }
.rd{
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
.rd h1, .rd h2, .rd h3, .rd h4, .rd .logo-word{ font-family:'Space Grotesk', sans-serif; letter-spacing:-0.01em; }
.rd a{ text-decoration:none; color:inherit; }
.rd img{ max-width:100%; display:block; }
.rd .wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
.rd .grad-text{
  background: var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.rd .pill{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:600; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--text-dim);
  background: var(--panel);
  border:1px solid var(--border);
  padding:7px 14px; border-radius:999px;
}
.rd .pill .dot{ width:6px; height:6px; border-radius:50%; background:var(--grad); }

/* Buttons */
.rd .btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:700; font-size:14.5px; letter-spacing:0.01em;
  padding:13px 24px; border-radius:10px; cursor:pointer; border:1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space:nowrap;
}
.rd .btn:hover{ transform: translateY(-1px); }
.rd .btn-primary{ background: var(--grad); color:#08091a; }
.rd .btn-primary:hover{ box-shadow: 0 10px 30px -8px rgba(139,92,246,0.55); }
.rd .btn-ghost{ background: transparent; color: var(--text); border-color: var(--border); }
.rd .btn-ghost:hover{ background: var(--panel); border-color: rgba(255,255,255,0.18); }
.rd .btn-block{ width:100%; }

/* NAV */
.rd header{
  position:sticky; top:0; z-index:50;
  background: rgba(10,13,28,0.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.rd .nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; }
.rd .brand{ display:flex; align-items:center; gap:10px; }
.rd .brand-logo{ height:30px; width:auto; }
.rd .nav-links{ display:flex; align-items:center; gap:30px; }
.rd .nav-links > a{ font-size:14.5px; font-weight:500; color:var(--text-dim); transition:color .15s ease; }
.rd .nav-links > a:hover{ color:var(--text); }
.rd .nav-item{ position:relative; }
.rd .nav-item > .dropdown{
  position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%);
  background:var(--panel-2); border:1px solid var(--border); border-radius:14px; padding:10px;
  min-width:240px; box-shadow:0 20px 40px -16px rgba(0,0,0,0.6);
  opacity:0; visibility:hidden; transform:translateX(-50%) translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.rd .nav-item:hover > .dropdown, .rd .nav-item:focus-within > .dropdown{
  opacity:1; visibility:visible; transform:translateX(-50%) translateY(0);
}
.rd .dropdown a{ display:block; padding:10px 12px; border-radius:8px; font-size:14px; color:var(--text-dim); }
.rd .dropdown a:hover{ background:var(--panel); color:var(--text); }
.rd .nav-right{ display:flex; align-items:center; gap:18px; }
.rd .nav-phone{ font-size:14px; font-weight:600; color:var(--text-dim); display:flex; align-items:center; gap:7px; }
.rd .nav-partner{ font-size:13.5px; font-weight:600; color:var(--text-dimmer); border:1px solid var(--border); border-radius:20px; padding:7px 14px; transition:color .15s ease, border-color .15s ease; }
.rd .nav-partner:hover{ color:var(--text); border-color:rgba(255,255,255,0.18); }
@media (max-width: 1180px){
  .rd .nav-partner{ display:none; }
}
.rd .nav-mobile-toggle{ display:none; background:none; border:none; color:var(--text); cursor:pointer; padding:6px; min-width:44px; min-height:44px; align-items:center; justify-content:center; }
.rd .mobile-menu{ display:none; border-top:1px solid var(--border); background:var(--bg); }
.rd .mobile-menu.open{ display:block; }
.rd .mobile-menu .wrap{ padding:18px 24px 26px; display:flex; flex-direction:column; gap:4px; }
.rd .mobile-menu a{ padding:12px 4px; font-size:15px; color:var(--text-dim); border-bottom:1px solid var(--border); }
.rd .mobile-menu .sub-link{ padding-left:16px; font-size:14px; color:var(--text-dimmer); }
.rd .mobile-menu .btn{ margin-top:14px; }

/* HERO */
.rd .hero{ position:relative; overflow:hidden; padding:96px 24px 80px; }
.rd .hero::before{
  content:''; position:absolute; top:-220px; right:-180px; width:640px; height:640px;
  background: radial-gradient(circle, rgba(139,92,246,0.35), rgba(47,214,200,0.12) 45%, transparent 70%);
  filter: blur(10px); pointer-events:none;
}
.rd .hero::after{
  content:''; position:absolute; bottom:-260px; left:-200px; width:560px; height:560px;
  background: radial-gradient(circle, rgba(229,80,192,0.22), transparent 70%);
  pointer-events:none;
}
.rd .hero-inner{ position:relative; display:grid; grid-template-columns: 1.1fr 0.9fr; gap:56px; align-items:center; }
.rd .hero-copy h1{ font-size:52px; line-height:1.08; font-weight:700; letter-spacing:-0.02em; margin-bottom:20px; }
.rd .hero-copy p.lead{ font-size:18px; color:var(--text-dim); max-width:520px; margin-bottom:32px; }
.rd .hero-ctas{ display:flex; gap:14px; margin-bottom:36px; flex-wrap:wrap; }
.rd .hero-trust{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.rd .hero-trust small{ color:var(--text-dimmer); font-size:13px; }

.rd .hero-panel{
  background: linear-gradient(160deg, var(--panel), var(--panel-2));
  border:1px solid var(--border); border-radius:20px; padding:28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.rd .hero-panel .row{ display:flex; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px solid var(--border); }
.rd .hero-panel .row:last-child{ border-bottom:none; }
.rd .hero-panel .row .label{ font-size:13.5px; color:var(--text-dim); }
.rd .hero-panel .row .value{ font-weight:700; font-size:15px; text-align:right; }
.rd .hero-panel .stat-big{ text-align:center; padding:22px 0 24px; }
.rd .hero-panel .stat-big .num{ font-family:'Space Grotesk',sans-serif; font-size:44px; font-weight:700; }
.rd .hero-panel .stat-big .cap{ color:var(--text-dimmer); font-size:12.5px; text-transform:uppercase; letter-spacing:0.08em; margin-top:4px; }
.rd .status-dot{ width:8px; height:8px; border-radius:50%; background:#2fe6a8; display:inline-block; margin-right:6px; box-shadow:0 0 0 3px rgba(47,230,168,0.18); }

/* Section shell */
.rd section{ padding:88px 24px; }
.rd .section-head{ max-width:640px; margin-bottom:52px; }
.rd .section-head .pill{ margin-bottom:18px; }
.rd .section-head h2{ font-size:36px; font-weight:700; letter-spacing:-0.015em; margin-bottom:14px; }
.rd .section-head p{ color:var(--text-dim); font-size:16.5px; }
.rd .section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Value grid */
.rd .value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.rd .value-card{
  background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:28px;
  transition: border-color .15s ease, transform .15s ease;
}
.rd .value-card:hover{ border-color: rgba(139,92,246,0.4); transform: translateY(-3px); }
.rd .value-card .icon{
  width:44px; height:44px; border-radius:11px; background:var(--grad);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.rd .value-card .icon svg{ width:22px; height:22px; stroke:#0a0d1c; }
.rd .value-card h3{ font-size:17.5px; font-weight:700; margin-bottom:10px; }
.rd .value-card p{ color:var(--text-dim); font-size:14.5px; }

/* Solutions */
.rd .solutions-bg{ background: var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.rd .sol-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.rd .sol-card{
  background: var(--panel); border:1px solid var(--border); border-radius:18px; padding:30px;
  display:flex; flex-direction:column; gap:14px; position:relative; overflow:hidden;
}
.rd .sol-card .tag{ font-size:11.5px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--teal); }
.rd .sol-card h3{ font-size:21px; font-weight:700; }
.rd .sol-card p{ color:var(--text-dim); font-size:14.5px; flex-grow:1; }
.rd .sol-card .learn{ font-size:14px; font-weight:700; display:inline-flex; align-items:center; gap:6px; }
.rd .sol-card .learn svg{ width:14px; height:14px; }

/* stat band */
.rd .stat-band{ padding:64px 24px; }
.rd .stat-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(180px,1fr)); gap:24px; text-align:center; }
.rd .stat-grid .num{ font-family:'Space Grotesk',sans-serif; font-size:40px; font-weight:700; }
.rd .stat-grid .cap{ color:var(--text-dim); font-size:13.5px; margin-top:6px; }

/* testimonial */
.rd .testi{
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
  border:1px solid var(--border); border-radius:22px; padding:52px; text-align:center;
  max-width:820px; margin:0 auto;
}
.rd .testi blockquote{ font-size:23px; font-family:'Space Grotesk',sans-serif; font-weight:500; line-height:1.5; margin-bottom:26px; }
.rd .testi .who{ display:flex; align-items:center; justify-content:center; gap:12px; }
.rd .testi .who .av{ width:42px; height:42px; border-radius:50%; background:var(--grad); }
.rd .testi .who .meta{ text-align:left; }
.rd .testi .who .meta .name{ font-weight:700; font-size:14.5px; }
.rd .testi .who .meta .role{ color:var(--text-dimmer); font-size:13px; }

/* comparison */
.rd .table-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:16px; }
.rd .compare-table{ width:100%; min-width:560px; border-collapse:collapse; background:var(--panel); border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.rd .compare-table th, .rd .compare-table td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--border); font-size:14.5px; }
.rd .compare-table th{ color:var(--text-dimmer); font-weight:600; font-size:12.5px; text-transform:uppercase; letter-spacing:0.06em; }
.rd .compare-table th.brand{ color:var(--teal); }
.rd .compare-table td:first-child{ color:var(--text-dim); }
.rd .compare-table tr:last-child td{ border-bottom:none; }
.rd .check{ color:#2fe6a8; font-weight:700; }
.rd .cross{ color:var(--text-dimmer); }

/* CTA band */
.rd .cta-band{
  background: radial-gradient(120% 140% at 50% 0%, rgba(139,92,246,0.25), transparent 60%), var(--bg-alt);
  border-top:1px solid var(--border); border-bottom:1px solid var(--border);
  text-align:center;
}
.rd .cta-band h2{ font-size:38px; font-weight:700; margin-bottom:16px; }
.rd .cta-band p{ color:var(--text-dim); font-size:16.5px; max-width:560px; margin:0 auto 32px; }
.rd .cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* FAQ */
.rd .faq{ max-width:760px; margin:0 auto; }
.rd .faq-item{ border-bottom:1px solid var(--border); padding:22px 0; }
.rd .faq-item summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; font-weight:600; font-size:16px; }
.rd .faq-item summary::-webkit-details-marker{ display:none; }
.rd .faq-item summary .plus{ color:var(--text-dimmer); font-size:20px; transition: transform .2s ease; flex-shrink:0; }
.rd .faq-item[open] summary .plus{ transform: rotate(45deg); color: var(--teal); }
.rd .faq-item p{ color:var(--text-dim); font-size:14.5px; margin-top:12px; max-width:640px; }

/* footer */
.rd footer{ padding:64px 24px 32px; border-top:1px solid var(--border); }
.rd .foot-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:32px; margin-bottom:48px; }
.rd .foot-brand p{ color:var(--text-dimmer); font-size:13.5px; margin-top:14px; max-width:230px; }
.rd .foot-col h4{ font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:var(--text-dimmer); margin-bottom:16px; }
.rd .foot-col a{ display:block; color:var(--text-dim); font-size:14px; margin-bottom:11px; }
.rd .foot-col a:hover{ color:var(--text); }
.rd .foot-bottom{ border-top:1px solid var(--border); padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.rd .foot-bottom, .rd .foot-bottom a{ color:var(--text-dimmer); font-size:13px; }
.rd .foot-legal{ display:flex; gap:22px; flex-wrap:wrap; }

/* Inner-page hero (smaller than the homepage hero — used on solution/resource/legal/etc pages) */
.rd .page-hero{ position:relative; overflow:hidden; padding:72px 24px 64px; text-align:center; }
.rd .page-hero::before{
  content:''; position:absolute; top:-200px; left:50%; transform:translateX(-50%); width:600px; height:600px;
  background: radial-gradient(circle, rgba(139,92,246,0.28), rgba(47,214,200,0.10) 45%, transparent 70%);
  filter: blur(10px); pointer-events:none;
}
.rd .page-hero-inner{ position:relative; max-width:760px; margin:0 auto; }
.rd .page-hero h1{ font-size:44px; line-height:1.12; font-weight:700; letter-spacing:-0.02em; margin:18px 0 16px; }
.rd .page-hero p.lead{ font-size:17px; color:var(--text-dim); max-width:600px; margin:0 auto; }

/* Prose — long-form text (legal pages, blog article body) */
.rd .prose{ max-width:760px; margin:0 auto; color:var(--text-dim); font-size:15.5px; }
.rd .prose h2{ color:var(--text); font-size:26px; font-weight:700; margin:40px 0 14px; }
.rd .prose h3{ color:var(--text); font-size:20px; font-weight:700; margin:28px 0 12px; }
.rd .prose p{ margin-bottom:16px; }
.rd .prose ul, .rd .prose ol{ margin:0 0 16px 22px; }
.rd .prose li{ margin-bottom:8px; }
.rd .prose a{ color:var(--teal); text-decoration:underline; text-underline-offset:2px; }
.rd .prose strong{ color:var(--text); }
.rd .prose img{ border-radius:14px; margin:20px 0; }

/* Icon feature list */
.rd .icon-list{ display:flex; flex-direction:column; gap:14px; list-style:none; margin:0; padding:0; }
.rd .icon-list li{ display:flex; align-items:flex-start; gap:12px; color:var(--text-dim); font-size:15px; }
.rd .icon-list li svg{ flex-shrink:0; width:18px; height:18px; margin-top:2px; color:var(--teal); }
.rd .icon-list.inline{ flex-direction:row; flex-wrap:wrap; justify-content:center; gap:12px 48px; margin:0 auto 40px; }
.rd .icon-list.inline li{ align-items:center; }

/* Embeds — iframes (Bookings widget, etc.) */
.rd .embed-frame{ background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:8px; overflow:hidden; }
.rd .embed-frame iframe{ display:block; width:100%; border:0; border-radius:10px; }

/* Forms */
.rd .form-shell{ background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:32px; max-width:640px; margin:0 auto; }
.rd .form-note{ font-size:13px; color:var(--text-dimmer); border:1px dashed var(--border); border-radius:10px; padding:14px 16px; margin-top:18px; }

/* Generic two-column content block (image + text) */
.rd .two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }

/* Generic content card (brochures, resource links) */
.rd .content-card{ background:var(--panel); border:1px solid var(--border); border-radius:16px; padding:26px; display:flex; flex-direction:column; gap:10px; }
.rd .content-card h3{ font-size:18px; font-weight:700; }
.rd .content-card p{ color:var(--text-dim); font-size:14.5px; flex-grow:1; }

/* Visually hidden but accessible/crawlable (e.g. a heading needed for hierarchy, not visual design) */
.rd .visually-hidden{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* unverified-stat placeholder marker (dev-only visual flag; remove once real numbers are in) */
.rd .stat-todo{ position:relative; }
.rd .stat-todo::after{
  content:'NEEDS REAL NUMBER'; position:absolute; bottom:-2px; left:50%; transform:translateX(-50%);
  font-size:9px; letter-spacing:0.06em; color:#ffb454; background:rgba(255,180,84,0.12);
  border:1px solid rgba(255,180,84,0.4); padding:1px 6px; border-radius:5px; white-space:nowrap;
}

@media (max-width: 980px){
  .rd .nav-links{ display:none; }
  .rd .nav-mobile-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .rd .hero-inner{ grid-template-columns:1fr; }
  .rd .hero-copy h1{ font-size:38px; }
  .rd .page-hero h1{ font-size:32px; }
  .rd .two-col{ grid-template-columns:1fr; }
  .rd .value-grid{ grid-template-columns:1fr; }
  .rd .sol-grid{ grid-template-columns:1fr; }
  .rd .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .rd .foot-grid{ grid-template-columns:repeat(2,1fr); }
  .rd .compare-table{ font-size:12px; }
}
