/*
Theme Name: Keswick Technology
Theme URI: https://keswick.tech
Author: Keswick Technology
Author URI: https://keswick.tech
Description: Enterprise AI Advisory — bespoke single-page theme for Keswick Technology.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: keswick
*/

/* ── Remove default WP margins ── */
.wp-site-blocks, .entry-content, .site-content { all: unset; }

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

/* ── DESIGN TOKENS ──────────────────────────────────── */
:root {
  --bg-base:     #090d14;
  --bg-surface:  #0d1420;
  --bg-card:     #111827;
  --bg-card-alt: #131c2e;

  --cyan:        #00d4ff;
  --cyan-dim:    rgba(0,212,255,0.12);
  --blue:        #2563eb;
  --purple:      #7c3aed;

  --grad-accent: linear-gradient(135deg,#00d4ff 0%,#2563eb 60%,#7c3aed 100%);
  --grad-hero:   radial-gradient(ellipse 80% 60% at 62% 50%,rgba(37,99,235,.13) 0%,transparent 70%),
                 radial-gradient(ellipse 50% 40% at 12% 30%,rgba(0,212,255,.08) 0%,transparent 60%);

  --text-primary:   #eef2ff;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;
  --text-accent:    #00d4ff;

  --border:     rgba(0,212,255,0.14);
  --border-dim: rgba(255,255,255,0.06);

  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --mono:  'JetBrains Mono', monospace;
  --r:     8px;
  --max:   1120px;
  --pad:   clamp(24px,5vw,80px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ambient orb layers */
.orb {
  position: fixed; border-radius: 50%;
  pointer-events: none; z-index: 0;
}
.orb-1 {
  width: 700px; height: 700px; top: -250px; left: -200px;
  background: radial-gradient(circle,rgba(0,212,255,.055) 0%,transparent 70%);
}
.orb-2 {
  width: 550px; height: 550px; top: 35vh; right: -180px;
  background: radial-gradient(circle,rgba(124,58,237,.05) 0%,transparent 70%);
}
.orb-3 {
  width: 400px; height: 400px; bottom: 10vh; left: 20%;
  background: radial-gradient(circle,rgba(37,99,235,.04) 0%,transparent 70%);
}

/* ── NAV ────────────────────────────────────────────── */
nav, nav.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,13,20,.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad); height: 64px;
}
.nav-logo {
  font-family: var(--serif); font-size: 1.15rem;
  color: var(--text-primary); text-decoration: none; letter-spacing: -.01em;
}
.nav-logo span {
  background: var(--grad-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: .875rem; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--cyan-dim); border: 1px solid var(--border);
  color: var(--cyan);
  font-size: .875rem; font-weight: 500;
  padding: 9px 20px; border-radius: var(--r);
  text-decoration: none; transition: background .2s, box-shadow .2s;
}
.nav-cta:hover {
  background: rgba(0,212,255,.2);
  box-shadow: 0 0 20px rgba(0,212,255,.18);
}

/* ── HERO ───────────────────────────────────────────── */
.hero-wrap { position: relative; overflow: hidden; }
.hero-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-hero); pointer-events: none;
}
.hero {
  display: grid; grid-template-columns: 1fr 480px;
  gap: 48px; align-items: center;
  max-width: var(--max); margin: 0 auto;
  padding: clamp(72px,10vw,128px) var(--pad);
  position: relative; z-index: 1;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cyan);
  background: var(--cyan-dim); border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 40px; margin-bottom: 28px;
  box-shadow: 0 0 14px rgba(0,212,255,.1);
}
.tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 6px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem,3.2vw,2.6rem);
  line-height: 1.18; letter-spacing: -.02em;
  color: var(--text-primary); margin-bottom: 24px;
}
.hero-brand {
  font-size: clamp(2.2rem,4vw,3.2rem);
  background: linear-gradient(135deg, #00d4ff 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-sub-brand {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-style: italic;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.hero-line2, .hero-line3 {
  display: block !important;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.hero h1 .hero-line2,
.hero h1 .hero-line3 {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
}
.hero-sub {
  font-size: 1.05rem; color: var(--text-secondary);
  line-height: 1.75; max-width: 480px; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--grad-accent); color: #fff;
  font-family: var(--sans); font-size: .925rem; font-weight: 600;
  padding: 14px 28px; border-radius: var(--r);
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 24px rgba(0,212,255,.28);
  transition: opacity .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover {
  opacity: .9; transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0,212,255,.38);
}
.btn-ghost {
  color: var(--text-secondary); border: 1px solid var(--border-dim);
  font-family: var(--sans); font-size: .925rem; font-weight: 500;
  padding: 14px 28px; border-radius: var(--r);
  text-decoration: none; display: inline-block;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--border); color: var(--text-primary); }

/* ── HERO VISUAL ────────────────────────────────────── */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
}

/* ── NEURAL NEXUS CORE CONTAINER ────────────────────── */
.nexus-wrap {
  position: relative;
  width: 480px; height: 420px;
  display: flex; align-items: center; justify-content: center;
  /* transparent bg so it sits on --bg-base */
  background: transparent;
}

/* Canvas for particles — scoped inside .nexus-wrap */
.nexus-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Scene centre */
.nexus-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

/* ── Core orb & rings ── */
#core-wrap {
  position: relative;
  width: 160px; height: 160px;
  display: flex; align-items: center; justify-content: center;
}

.core-orb {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #b0faff, #00c8ff 40%, #7b61ff 75%, #090d14);
  box-shadow:
    0 0 20px rgba(0,240,255,0.9),
    0 0 60px rgba(0,200,255,0.6),
    0 0 120px rgba(123,97,255,0.4),
    0 0 200px rgba(0,240,255,0.15);
  animation: nexusPulse 3.2s ease-in-out infinite;
  z-index: 10;
  flex-shrink: 0;
}

@keyframes nexusPulse {
  0%,100% { transform: scale(1); box-shadow: 0 0 20px rgba(0,240,255,.9),0 0 60px rgba(0,200,255,.6),0 0 120px rgba(123,97,255,.4),0 0 200px rgba(0,240,255,.15); }
  50%      { transform: scale(1.08); box-shadow: 0 0 30px rgba(0,240,255,1),0 0 90px rgba(0,200,255,.8),0 0 160px rgba(123,97,255,.6),0 0 280px rgba(0,240,255,.25); }
}

/* ── Orbit rings ── */
.nring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  top: 50%; left: 50%;
  transform-origin: center center;
  animation: nexusSpin linear infinite;
}

.nring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 70%, var(--nc, #00f0ff) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), white calc(100% - 1px));
}

.nring-1 { width: 140px; height: 140px; margin: -70px 0 0 -70px;   --nc: #00f0ff; animation-duration: 8s;  --ntilt: rotateX(65deg) rotateZ(0deg); }
.nring-2 { width: 200px; height: 200px; margin:-100px 0 0 -100px;  --nc: #7b61ff; animation-duration: 13s; --ntilt: rotateX(55deg) rotateY(25deg); }
.nring-3 { width: 268px; height: 268px; margin:-134px 0 0 -134px;  --nc: #00f0ff; animation-duration: 20s; animation-direction: reverse; --ntilt: rotateX(70deg) rotateZ(15deg); }
.nring-4 { width: 342px; height: 342px; margin:-171px 0 0 -171px;  --nc: #ffd166; animation-duration: 28s; --ntilt: rotateX(60deg) rotateY(-20deg); }
.nring-5 { width: 418px; height: 418px; margin:-209px 0 0 -209px;  --nc: #7b61ff; animation-duration: 38s; animation-direction: reverse; --ntilt: rotateX(75deg) rotateZ(-10deg); }

.nring-1 { transform: var(--ntilt); }
.nring-2 { transform: var(--ntilt); }
.nring-3 { transform: var(--ntilt); }
.nring-4 { transform: var(--ntilt); }
.nring-5 { transform: var(--ntilt); }

@keyframes nexusSpin {
  from { transform: var(--ntilt) rotate(0deg); }
  to   { transform: var(--ntilt) rotate(360deg); }
}

/* ── HUD arcs ── */
.nhud-arc {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0,240,255,0.06);
  top: 50%; left: 50%;
  pointer-events: none;
  animation: nexusSpin linear infinite;
}
.nhud-arc-1 { width: 460px; height: 460px; margin: -230px 0 0 -230px; animation-duration: 60s; }
.nhud-arc-2 { width: 520px; height: 520px; margin: -260px 0 0 -260px; animation-duration: 90s; animation-direction: reverse; border-color: rgba(123,97,255,0.05); }

/* ── Data cards ── */
.ndata-card {
  position: absolute;
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0,240,255,0.14);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 8px;
  letter-spacing: 0.06em;
  color: rgba(150,180,255,0.5);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  animation: ndataFloat ease-in-out infinite;
  pointer-events: none;
  font-family: var(--mono);
}
.ndata-card .nlabel { color: #00f0ff; font-weight: 400; margin-bottom: 2px; }
.ndata-card .nvalue {
  font-size: 12px;
  color: rgba(200,230,255,0.9);
  font-family: 'Syne', var(--serif);
  font-weight: 700;
}

@keyframes ndataFloat {
  0%,100% { transform: translateY(0px); opacity: 0.75; }
  50%      { transform: translateY(-7px); opacity: 1; }
}

/* Cards distributed evenly around the visualization */
.ndc-1 { top: 10%;    right: 6%;  animation-duration: 5.2s; animation-delay: 0s; }
.ndc-2 { top: 42%;    right: 4%;  animation-duration: 6.4s; animation-delay: 0.8s; }
.ndc-3 { bottom: 10%; right: 6%;  animation-duration: 7.1s; animation-delay: 0.3s; }
.ndc-4 { top: 10%;    left: 6%;   animation-duration: 5.9s; animation-delay: 1.6s; }
.ndc-5 { bottom: 10%; left: 6%;   animation-duration: 6.8s; animation-delay: 1.2s; }

/* ── Glow layers inside nexus ── */
.nexus-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}
.nexus-glow-1 {
  width: 340px; height: 340px;
  top: 50%; left: 50%; margin: -170px 0 0 -170px;
  background: radial-gradient(circle, rgba(0,200,255,0.07) 0%, transparent 70%);
  animation: nexusGlow 4s ease-in-out infinite;
}
.nexus-glow-2 {
  width: 480px; height: 480px;
  top: 50%; left: 50%; margin: -240px 0 0 -240px;
  background: radial-gradient(circle, rgba(123,97,255,0.04) 0%, transparent 60%);
  animation: nexusGlow 6s ease-in-out infinite 1s;
}
@keyframes nexusGlow {
  0%,100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}



/* ── TRUST BAR ──────────────────────────────────────── */
.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  position: relative; z-index: 1;
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 44px var(--pad);
  display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
}
.tdiv { height: 48px; width: 1px; background: var(--border-dim); justify-self: center; }
.titem { padding: 0 40px; text-align: center; }
.titem p { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }
.titem strong { color: var(--text-primary); font-weight: 600; }

/* ── LIFECYCLE SECTION ──────────────────────────────── */
.lifecycle-inner { display: block !important; }
.lifecycle-content { max-width: 760px; margin: 0 auto; text-align: center; }
.lifecycle-lead {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 28px; max-width: 640px; margin-left: auto; margin-right: auto;
}
.lifecycle-list {
  list-style: none; margin: 0 auto 28px; max-width: 560px;
  display: grid; gap: 10px; text-align: left;
}
.lifecycle-list li {
  font-size: .9rem; color: var(--text-secondary); line-height: 1.6;
  padding-left: 22px; position: relative;
}
.lifecycle-list li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--cyan); font-size: .85rem;
}
.lifecycle-close {
  font-size: .9rem; color: var(--text-muted); line-height: 1.75;
  font-style: italic; max-width: 640px; margin: 0 auto;
}

/* ── SHARED SECTION ─────────────────────────────────── */
section { padding: clamp(72px,9vw,116px) var(--pad); position: relative; z-index: 1; }
.si { max-width: var(--max); margin: 0 auto; }

.slabel {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.slabel::before {
  content:''; width:20px; height:1px;
  background:var(--cyan); display:inline-block;
  box-shadow: 0 0 6px var(--cyan);
}
.stitle {
  font-family: var(--serif);
  font-size: clamp(1.9rem,3.5vw,2.8rem);
  line-height:1.18; letter-spacing:-.018em;
  color: var(--text-primary); margin-bottom: 20px;
}
.sbody {
  font-size: 1rem; color: var(--text-secondary);
  line-height: 1.75; max-width: 540px;
}

/* ── ABOUT ──────────────────────────────────────────── */
.about { background: var(--bg-base); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.astory { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; }
.astory p+p { margin-top: 18px; }
.astory strong { color: var(--text-primary); font-weight: 600; }
.apull {
  font-family: var(--serif); font-size: 1.45rem; font-style: italic;
  line-height: 1.45; color: var(--text-primary);
  border-left: 2px solid var(--cyan);
  padding-left: 24px; margin-top: 32px;
}

/* ── SERVICES ───────────────────────────────────────── */
.services { background: var(--bg-surface); }
.services::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37,99,235,.08) 0%, transparent 70%);
  pointer-events: none;
}
.sgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }

.scard {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 14px; padding: 36px 30px;
  position: relative; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .25s;
}
.scard::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.35), transparent);
  opacity:0; transition: opacity .3s;
}
.scard:hover {
  border-color: rgba(0,212,255,.22);
  box-shadow: 0 16px 48px rgba(0,0,0,.45), 0 0 40px rgba(0,212,255,.07);
  transform: translateY(-4px);
}
.scard:hover::before { opacity:1; }
.scard.feat {
  border-color: rgba(0,212,255,.26);
  background: linear-gradient(160deg, rgba(0,212,255,.07) 0%, var(--bg-card) 55%);
  box-shadow: 0 0 40px rgba(0,212,255,.09);
}
.scard.feat::after {
  content: 'Core practice';
  position: absolute; top: -1px; left: 24px;
  background: var(--grad-accent); color: #fff;
  font-size: .67rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 0 0 8px 8px;
}
.sicon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--cyan-dim); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 24px;
}
.scard h3 {
  font-family: var(--serif); font-size: 1.3rem; margin-bottom: 12px;
  color: var(--text-primary); letter-spacing: -.01em;
}
.sprob { font-size:.875rem; color:var(--text-muted); font-style:italic; margin-bottom:14px; line-height:1.6; }
.sdesc { font-size:.9rem; color:var(--text-secondary); line-height:1.7; margin-bottom:22px; }
.sres {
  font-size:.84rem; font-weight:600; color:var(--cyan);
  display:flex; align-items:flex-start; gap:8px; line-height:1.45;
}
.sres::before { content:'→'; flex-shrink:0; }
.dim h3 { color: var(--text-secondary); }
.dim .sicon { opacity:.45; }
.dim .sres { color: var(--text-secondary); }

/* ── PROCESS ────────────────────────────────────────── */
.process { background: var(--bg-base); }
.psteps {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; margin-top: 60px; position: relative;
}
.pline {
  position: absolute; top: 27px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, var(--border) 15%,
    rgba(0,212,255,.28) 50%,
    var(--border) 85%, transparent 100%);
}
.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.stepn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.15rem; color: var(--text-primary);
  margin: 0 auto 22px;
  transition: border-color .25s, box-shadow .25s, color .25s;
}
.step:hover .stepn {
  border-color: var(--cyan); color: var(--cyan);
  box-shadow: 0 0 22px rgba(0,212,255,.22);
}
.step h4 { font-size:.95rem; font-weight:600; color:var(--text-primary); margin-bottom:10px; }
.step p { font-size:.875rem; color:var(--text-secondary); line-height:1.65; }

/* ── CTA ────────────────────────────────────────────── */
.cta { background: var(--bg-surface); }
.cta::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 80% 90% at 50% 100%, rgba(37,99,235,.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 50%, rgba(0,212,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 85% 50%, rgba(124,58,237,.06) 0%, transparent 60%);
  pointer-events:none;
}
.cta-in {
  max-width:720px; margin:0 auto; text-align:center;
  padding: clamp(72px,9vw,116px) var(--pad);
  position:relative; z-index:1;
}
.cta-in .slabel { justify-content:center; }
.cta-in .slabel::before { display:none; }
.slabel-link {
  text-decoration: none;
  cursor: pointer;
  transition: color .2s, text-shadow .2s;
}
.slabel-link:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(0,212,255,.7);
}
.cta-in .stitle { margin: 0 auto 20px; }
.cta-in .sbody { margin: 0 auto 44px; max-width:none; }
.cta-opts { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.cta-email-link {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
  background: var(--grad-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  transition: filter .2s, transform .2s;
  filter: brightness(1);
}
.cta-email-link:hover {
  filter: brightness(1.25) drop-shadow(0 0 18px rgba(0,212,255,.55));
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────────────── */
footer, footer.site-footer {
  background:var(--bg-base);
  border-top:1px solid var(--border-dim);
  padding:40px var(--pad);
  position:relative; z-index:1;
}
.footer-in {
  max-width:var(--max); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:20px;
}
.fbrand a {
  font-family:var(--serif); font-size:1rem;
  text-decoration:none; display:block; margin-bottom:4px;
  background:var(--grad-accent);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.fbrand span { font-size:.82rem; color:var(--text-muted); }
.flinks { display:flex; gap:28px; }
.flinks a { font-size:.85rem; color:var(--text-muted); text-decoration:none; transition:color .2s; }
.flinks a:hover { color:var(--text-primary); }

/* ── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
.hero-tag     { animation: fadeUp .5s ease both .1s; }
.hero h1      { animation: fadeUp .6s ease both .22s; }
.hero-sub     { animation: fadeUp .6s ease both .38s; }
.hero-actions { animation: fadeUp .6s ease both .52s; }
.hero-visual  { animation: fadeUp .8s ease both .45s; }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width:900px) {
  .hero { grid-template-columns:1fr; }
  .hero-visual { display:none; }
  .about-grid { grid-template-columns:1fr; gap:40px; }
  .sgrid { grid-template-columns:1fr; }
  .psteps { grid-template-columns:1fr 1fr; gap:44px; }
  .pline { display:none; }
  .trust-inner { grid-template-columns:1fr; }
  .tdiv { display:none; }
  .titem { padding:16px 0; }
  .nav-links { display:none; }
}

/* ── PILLARS SECTION ─────────────────────────────────── */
.pillars-section { background: var(--bg-base); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 14px;
  padding: 36px 30px;
  position: relative;
  transition: border-color .3s, box-shadow .3s, transform .25s;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.35), transparent);
  border-radius: 14px 14px 0 0;
  opacity: 0; transition: opacity .3s;
}
.pillar-card:hover {
  border-color: rgba(0,212,255,.25);
  box-shadow: 0 16px 48px rgba(0,0,0,.4), 0 0 32px rgba(0,212,255,.06);
  transform: translateY(-4px);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  font-size: 1.8rem;
  margin-bottom: 18px;
  display: block;
}
.pillar-label {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.pillar-card p {
  font-size: .9rem; color: var(--text-secondary);
  line-height: 1.7; margin: 0;
}
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ── HERO PILLARS ────────────────────────────────────── */
.hero-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-top: 36px;
}
.pillar {
  background: rgba(0,212,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--r); padding: 18px 20px;
  transition: border-color .25s, box-shadow .25s;
}
.pillar:hover {
  border-color: rgba(0,212,255,.3);
  box-shadow: 0 0 24px rgba(0,212,255,.08);
}
.pillar-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 8px;
}
.pillar p { font-size: .82rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* ── PASSWORD PROTECTED PAGE ─────────────────────────── */
.pw-wrap {
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; padding: var(--pad);
  background: var(--bg-base);
}
.pw-box {
  background: var(--bg-surface); border: 1px solid var(--border-dim);
  border-radius: 16px; padding: 56px 48px;
  max-width: 440px; width: 100%; text-align: center;
}
.pw-logo {
  font-family: var(--serif); font-size: 1.3rem;
  background: var(--grad-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: inline-block; margin-bottom: 32px;
}
.pw-box h2 { font-family: var(--serif); font-size: 1.6rem; color: var(--text-primary); margin-bottom: 10px; }
.pw-box p  { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 32px; }
.pw-field {
  width: 100%; background: var(--bg-card); border: 1px solid var(--border-dim);
  border-radius: var(--r); color: var(--text-primary);
  font-family: var(--sans); font-size: .95rem; padding: 13px 18px;
  outline: none; transition: border-color .2s, box-shadow .2s; margin-bottom: 14px;
}
.pw-field:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,212,255,.12); }
.pw-submit {
  width: 100%; background: var(--grad-accent); color: #fff;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: 13px 28px; border-radius: var(--r); border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,212,255,.25); transition: opacity .2s, transform .15s;
}
.pw-submit:hover { opacity: .9; transform: translateY(-1px); }
.pw-error { font-size: .82rem; color: #f87171; margin-top: 10px; display: none; }
.pw-error.visible { display: block; }
