:root {
  --bg: #050a11;
  --bg-soft: #0a111c;
  --panel: #0c1522;
  --panel-2: #0b1825;
  --line: #173b5f;
  --blue: #0b63f6;
  --blue-2: #38bdf8;
  --teal: #38e0d0;
  --text: #f5f7fb;
  --muted: #a6b0be;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top, #0b1624 0%, var(--bg) 36%);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: 0 auto; }
.section { padding: 84px 0; }
.center { text-align: center; }
.eyebrow { color: var(--blue-2); font-weight: 700; letter-spacing: .18em; font-size: .8rem; }
.eyebrow.teal { color: var(--teal); }
h1,h2,h3,h4 { font-family: Rajdhani, Inter, sans-serif; margin-top: 0; line-height: 1.05; }
h1 { font-size: clamp(3rem, 7vw, 6.6rem); letter-spacing: .02em; margin-bottom: 24px; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 4px; font-weight: 700;
  letter-spacing: .03em; transition: .2s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #0a8bff); color: white; box-shadow: 0 0 22px rgba(11,99,246,.24); }
.btn-outline { border-color: #2c7fd0; color: #dcecff; background: rgba(8,18,31,.55); }
.btn-ghost { color: #c6dbef; border-color: #223a56; }
.btn-teal { border-color: #2fd4c7; color: #dffffc; background: rgba(3,46,45,.35); }

.site-header { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); background: rgba(4,9,15,.88); border-bottom: 1px solid rgba(44,127,208,.18); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center; font-family: Rajdhani; font-weight: 700;
  color: white; background: linear-gradient(145deg, #eef2f7 0 28%, #38bdf8 29% 58%, #0b63f6 59% 100%);
  clip-path: polygon(10% 5%, 92% 5%, 67% 31%, 93% 31%, 93% 52%, 67% 52%, 67% 79%, 40% 97%, 40% 57%, 12% 57%);
  text-indent: -9999px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: Rajdhani; font-size: 1.35rem; letter-spacing: .08em; }
.brand-sub { color: var(--blue-2); font-size: .72rem; letter-spacing: .28em; margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { color: #d8e0ea; font-size: .95rem; }
.menu-toggle { display: none; color: white; background: transparent; border: 0; font-size: 1.5rem; }

.hero { position: relative; min-height: 670px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(rgba(2,7,12,.3), rgba(2,7,12,.82)), url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1800&q=85') center/cover; }
.hero::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to left, black, transparent 65%); }
.hero-overlay { position:absolute; inset:0; background: radial-gradient(circle at 74% 44%, rgba(11,99,246,.22), transparent 28%); }
.hero-grid { position: relative; z-index: 2; display:grid; grid-template-columns: 1.2fr .8fr; align-items:center; gap:40px; }
.hero-copy { max-width: 760px; }
.hero-sub { max-width: 620px; font-size: 1.16rem; color: #ced8e4; }
.hero-actions { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-emblem { height: 420px; display:grid; place-items:center; position:relative; }
.emblem-ring { position:absolute; width: 360px; height: 360px; border:1px solid rgba(56,189,248,.28); border-radius:50%; box-shadow: inset 0 0 70px rgba(11,99,246,.08), 0 0 60px rgba(11,99,246,.08); }
.emblem-core { font-family: Rajdhani; font-size: 7rem; font-weight:700; color:#f7fbff; text-shadow: 0 0 30px rgba(56,189,248,.35); position:relative; }
.emblem-core::after { content:""; position:absolute; left:10%; right:10%; height:16px; bottom:8px; background:linear-gradient(90deg, #38bdf8, #0b63f6); transform:skewX(-28deg); }

.audience-section { padding-top: 36px; }
.two-col { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-card { min-height: 330px; padding: 34px; border:1px solid #1d4c78; background: linear-gradient(135deg, rgba(10,22,37,.96), rgba(6,14,24,.9)); box-shadow: 0 12px 35px rgba(0,0,0,.2); }
.consumer-card { border-color: #286b68; }
.audience-card h2 { font-size:2.2rem; margin-bottom:10px; }
.mini-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px; margin: 24px 0; }
.mini-grid span { color:#dce8f4; font-size:.9rem; padding:8px 10px; border:1px solid rgba(255,255,255,.06); background:rgba(255,255,255,.02); }

.services-section { background: linear-gradient(180deg, rgba(7,14,23,.3), rgba(7,14,23,.92)); }
.section-heading { max-width: 780px; margin: 0 auto 40px; }
.service-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.service-card { padding: 28px; min-height: 290px; border:1px solid #1d3149; background: linear-gradient(180deg, #0a1420, #08101a); }
.icon-box { font-size: 2rem; margin-bottom: 28px; }
.service-card p { font-size:.95rem; }

.about-grid { display:grid; grid-template-columns: 1fr 1fr; gap:48px; align-items:center; }
.about-visual { min-height: 420px; background: linear-gradient(rgba(4,8,14,.35), rgba(4,8,14,.6)), url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1200&q=85') center/cover; border:1px solid #193a5c; display:flex; align-items:flex-end; padding:28px; }
.terminal-panel { width: 72%; background:rgba(2,8,13,.86); border:1px solid #1c4c77; padding:18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:.9rem; }
.terminal-panel p { margin: 6px 0; color:#b9c9d8; }
.terminal-panel .ok { color:#6fe8c7; }
.terminal-dot-row { display:flex; gap:6px; margin-bottom:12px; }
.terminal-dot-row span { width:8px; height:8px; border-radius:50%; background:#3c5e7d; }
.about-copy p { font-size:1.02rem; }

.contact-section { border-top:1px solid rgba(44,127,208,.14); }
.contact-wrap { display:grid; grid-template-columns: .85fr 1.15fr; gap:48px; align-items:start; }
.contact-form { display:grid; gap:14px; }
.contact-form input, .contact-form select, .contact-form textarea { width:100%; background:#08111c; color:white; border:1px solid #223b57; padding:14px 16px; font:inherit; border-radius:4px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline:1px solid #2d82d8; }

.site-footer { padding:54px 0 24px; border-top:1px solid #17324e; background:#040910; }
.footer-grid { display:grid; grid-template-columns: 1.4fr .8fr 1fr; gap:44px; }
.footer-grid h4 { margin-bottom:12px; }
.footer-grid a, .footer-grid p { display:block; color:#9aa8b8; margin:7px 0; }
.footer-bottom { margin-top:34px; padding-top:18px; border-top:1px solid #111f30; color:#6f7b88; font-size:.85rem; }
.footer-brand { margin-bottom:14px; }

@media (max-width: 900px) {
  .nav-links { position:absolute; top:78px; right:4%; left:4%; display:none; flex-direction:column; align-items:stretch; background:#07101a; border:1px solid #1c3d5f; padding:18px; }
  .nav-links.open { display:flex; }
  .menu-toggle { display:block; }
  .hero-grid, .two-col, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .hero { min-height: 760px; }
  .hero-emblem { height: 240px; }
  .emblem-ring { width: 220px; height: 220px; }
  .emblem-core { font-size:5rem; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .audience-card { padding:24px; }
  .mini-grid { grid-template-columns: 1fr; }
  .hero { min-height: 700px; }
  .hero-grid { gap:10px; }
  .hero-emblem { display:none; }
  .brand-name { font-size:1.05rem; }
  .brand-sub { font-size:.58rem; }
}

/* Inner service pages */
.inner-hero { position: relative; min-height: 520px; display:flex; align-items:center; overflow:hidden; border-bottom:1px solid rgba(44,127,208,.18); }
.inner-hero::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(56,189,248,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(56,189,248,.05) 1px, transparent 1px); background-size:48px 48px; mask-image:linear-gradient(to right, black, transparent 78%); }
.business-hero { background: radial-gradient(circle at 76% 42%, rgba(11,99,246,.22), transparent 28%), linear-gradient(135deg,#07111d,#03070d 68%); }
.personal-hero { background: radial-gradient(circle at 76% 42%, rgba(56,224,208,.14), transparent 28%), linear-gradient(135deg,#07131b,#03080d 68%); }
.inner-hero-copy { position:relative; z-index:2; max-width:900px; padding:92px 0; }
.inner-hero h1 { font-size:clamp(3rem,6.3vw,6rem); margin-bottom:22px; }
.detail-services { background:linear-gradient(180deg,rgba(7,14,23,.35),rgba(7,14,23,.88)); }
.detail-services .section-heading { margin-left:0; max-width:800px; }
.detail-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.detail-card { min-height:260px; padding:30px; border:1px solid #1d3149; background:linear-gradient(180deg,#0a1420,#08101a); position:relative; overflow:hidden; }
.detail-card::after { content:""; position:absolute; width:110px; height:110px; right:-45px; top:-45px; border:1px solid rgba(56,189,248,.11); transform:rotate(45deg); }
.detail-icon { width:42px; height:42px; display:grid; place-items:center; color:var(--blue-2); border:1px solid #24557e; background:#07131f; margin-bottom:24px; font-family:Rajdhani; font-size:1.25rem; }
.personal-hero + .detail-services .detail-icon { color:var(--teal); border-color:#286b68; }
.detail-card p { margin-bottom:0; }
.process-section { border-top:1px solid #132b43; border-bottom:1px solid #132b43; background:#06101a; }
.process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.process-grid article { padding:28px; border-top:1px solid #2c7fd0; background:rgba(255,255,255,.015); }
.process-grid span { display:inline-block; font-family:Rajdhani; font-weight:700; font-size:2rem; color:var(--blue-2); margin-bottom:16px; }
.process-grid p { margin-bottom:0; }
@media (max-width: 800px) { .detail-grid,.process-grid { grid-template-columns:1fr; } .inner-hero { min-height:470px; } .inner-hero-copy { padding:70px 0; } }


/* Approved FrostCipher brand mark from the finalized brand board */
.brand-logo-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: 0 0 auto;
}
.hero-logo-mark {
  width: min(270px, 72%);
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 28px rgba(56,189,248,.22));
}
.footer-brand .brand-logo-mark { width: 48px; height: 48px; }


/* Expandable service cards */
.expandable-card { cursor:pointer; transition:border-color .2s ease, transform .2s ease, background .2s ease; }
.expandable-card:hover, .expandable-card:focus-visible { border-color:#2d82d8; transform:translateY(-2px); outline:none; }
.expandable-card .service-more { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .28s ease, opacity .22s ease, margin-top .28s ease; margin-top:0; }
.expandable-card .service-more > p { overflow:hidden; margin:0; color:#b8c7d6; }
.expandable-card.expanded .service-more { grid-template-rows:1fr; opacity:1; margin-top:16px; }
.expand-hint { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; padding-top:14px; border-top:1px solid rgba(56,189,248,.12); color:var(--blue-2); font-family:Rajdhani, sans-serif; font-weight:600; letter-spacing:.04em; }
.expand-hint b { font-size:1.35rem; line-height:1; transition:transform .2s ease; }
.expandable-card.expanded .expand-hint b { transform:rotate(45deg); }
.expandable-card.expanded { border-color:#2b679d; background:linear-gradient(180deg,#0b1724,#08111b); }


/* Production form helpers */
.form-honeypot { position:absolute !important; left:-9999px !important; width:1px !important; height:1px !important; opacity:0 !important; pointer-events:none !important; }
.success-wrap { min-height:72vh; display:grid; place-items:center; padding:120px 24px 70px; }
.success-card { width:min(720px,100%); padding:46px; border:1px solid #193a5c; background:linear-gradient(145deg,#07111c,#0b1725); text-align:center; box-shadow:0 30px 80px rgba(0,0,0,.28); }
.success-card h1 { margin:.35rem 0 1rem; font-family:'Rajdhani',sans-serif; font-size:clamp(2.1rem,6vw,3.7rem); }
.success-card p { color:#aebfd0; max-width:560px; margin:0 auto 1.6rem; }


/* Form security */
.turnstile-wrap{grid-column:1/-1;min-height:1px;margin:.15rem 0 .35rem}
.turnstile-wrap .cf-turnstile{max-width:100%}
.form-security-note{margin:.35rem 0 0;font-size:.78rem;color:var(--muted,#8fa1b5)}
