/* QuantumSec Advisory — Main Stylesheet */

:root {
  --navy:      #0A1628;
  --navy-mid:  #0E2040;
  --teal:      #00D4C8;
  --teal-dark: #009E94;
  --teal-dim:  rgba(0,212,200,0.12);
  --gold:      #C9A84C;
  --gold-light:#F0CC7A;
  --white:     #FFFFFF;
  --off-white: #F0F4F8;
  --slate:     #7E9AB5;
  --body-text: #C8D8E8;
  --card-bg:   #0D1E35;
  --accent:    #FF6B35;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif !important;
  background: var(--navy) !important;
  color: var(--body-text) !important;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Hide default WordPress/theme header and footer if present */
.site-header, #site-header, #masthead,
.site-footer, #site-footer, #colophon,
.main-navigation, #main-navigation { display: none !important; }

/* Remove default WP padding */
.site-content, #content, #primary, .entry-content,
.wp-site-blocks, .is-root-container { padding: 0 !important; margin: 0 !important; }

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(10,22,40,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,212,200,0.15);
}
.nav-logo {
  font-family: 'EB Garamond', serif !important;
  font-size: 1.5rem; font-weight: 700;
  color: var(--white) !important; text-decoration: none !important;
  letter-spacing: 0.02em;
}
.nav-logo span { color: var(--teal) !important; }
.nav-links { display: flex; gap: 2.5rem; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.nav-links a {
  font-size: 0.85rem; color: var(--slate) !important;
  text-decoration: none !important; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal) !important; }
.nav-cta {
  background: var(--teal) !important; color: var(--navy) !important;
  padding: 0.5rem 1.2rem !important; border-radius: 3px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; color: var(--white) !important; }

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 10% 80px; position: relative; overflow: hidden;
  background: var(--navy);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(0,212,200,0.07) 0%, transparent 65%),
              radial-gradient(ellipse at 15% 70%, rgba(201,168,76,0.05) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: linear-gradient(var(--teal) 1px, transparent 1px),
                    linear-gradient(90deg, var(--teal) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.hero-accent {
  position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--teal), var(--teal-dark), transparent);
}
.hero-content { position: relative; max-width: 720px; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--teal); }

h1 {
  font-family: 'EB Garamond', serif !important;
  font-size: clamp(2.8rem, 6vw, 5rem) !important;
  font-weight: 700 !important; color: var(--white) !important;
  line-height: 1.1 !important; margin-bottom: 1.5rem !important;
  letter-spacing: -0.01em;
}
h1 em { color: var(--gold-light); font-style: italic; }

.hero-sub {
  font-size: 1.1rem; color: var(--slate);
  max-width: 580px; margin-bottom: 2.5rem; line-height: 1.7; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  background: var(--teal) !important; color: var(--navy) !important;
  padding: 0.85rem 2rem !important; border-radius: 3px !important;
  font-weight: 600 !important; font-size: 0.95rem !important;
  text-decoration: none !important; border: none !important; cursor: pointer;
  transition: background 0.2s, transform 0.1s !important;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--teal-dark) !important; color: var(--white) !important; transform: translateY(-1px); }
.btn-secondary {
  background: transparent !important; color: var(--off-white) !important;
  padding: 0.85rem 2rem !important; border-radius: 3px !important;
  font-weight: 500 !important; font-size: 0.95rem !important;
  text-decoration: none !important; border: 1.5px solid rgba(255,255,255,0.2) !important; cursor: pointer;
  transition: border-color 0.2s, color 0.2s !important;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-secondary:hover { border-color: var(--teal) !important; color: var(--teal) !important; }

/* ── STATS ───────────────────────────────────── */
.stats {
  background: var(--card-bg);
  border-top: 1px solid rgba(0,212,200,0.15);
  border-bottom: 1px solid rgba(0,212,200,0.15);
  padding: 2.5rem 10%;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'EB Garamond', serif !important;
  font-size: 2.5rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.3rem;
}
.stat-num span { color: var(--teal); }
.stat-label { font-size: 0.8rem; color: var(--slate); letter-spacing: 0.05em; text-transform: uppercase; }

/* ── SECTIONS ────────────────────────────────── */
section { padding: 6rem 10%; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 0.8rem; display: block;
}
h2 {
  font-family: 'EB Garamond', serif !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  color: var(--white) !important; font-weight: 700 !important;
  line-height: 1.15 !important; margin-bottom: 1.2rem !important;
}
h2 em { color: var(--gold-light); font-style: italic; }
.section-intro { font-size: 1.05rem; color: var(--slate); max-width: 580px; line-height: 1.7; font-weight: 300; }

/* ── PROBLEM ─────────────────────────────────── */
.problem { background: var(--navy); position: relative; overflow: hidden; }
.problem::after {
  content: ''; position: absolute; right: -5%; top: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,200,0.04), transparent 70%);
  pointer-events: none;
}
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.problem-card {
  background: var(--card-bg); border: 1px solid rgba(0,212,200,0.1);
  border-top: 3px solid transparent; padding: 2rem 1.8rem; border-radius: 2px;
  transition: border-top-color 0.3s, transform 0.2s;
}
.problem-card:hover { border-top-color: var(--teal); transform: translateY(-3px); }
.problem-card.accent-gold { border-top: 3px solid var(--gold); }
.problem-card.accent-orange { border-top: 3px solid var(--accent); }
.card-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.card-stat { font-family: 'EB Garamond', serif !important; font-size: 2.6rem; font-weight: 700; color: var(--white); line-height: 1; margin-bottom: 0.3rem; }
.card-stat-teal { color: var(--teal); }
.card-stat-gold { color: var(--gold-light); }
.card-stat-orange { color: var(--accent); }
.card-title { font-size: 1.05rem; font-weight: 600; color: var(--off-white); margin-bottom: 0.6rem; }
.card-text { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }

/* ── SOLUTIONS ────────────────────────────────── */
.solutions { background: var(--navy-mid); }
.solutions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3.5rem; }
.solution-card {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px; padding: 2.2rem; display: flex; flex-direction: column; gap: 1.8rem;
  transition: transform 0.2s, border-color 0.3s;
}
.solution-card:hover { transform: translateY(-3px); border-color: rgba(0,212,200,0.2); }
.solution-card-featured {
  border: 1px solid rgba(0,212,200,0.25);
  box-shadow: 0 0 40px rgba(0,212,200,0.05);
}
.solution-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.8rem; border-radius: 2px; margin-bottom: 0.8rem;
}
.solution-badge-teal { background: var(--teal-dim); border: 1px solid rgba(0,212,200,0.3); color: var(--teal); }
.solution-badge-gold { background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3); color: var(--gold-light); }
.solution-name {
  font-family: 'EB Garamond', serif !important;
  font-size: 1.9rem !important; font-weight: 700 !important;
  color: var(--white) !important; line-height: 1.1 !important;
  margin-bottom: 0.3rem !important;
}
.solution-by { font-size: 0.82rem; color: var(--slate); margin-bottom: 0.9rem; letter-spacing: 0.03em; }
.solution-desc { font-size: 0.92rem; color: var(--slate); line-height: 1.7; }
.solution-strengths { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.2rem; }
.solution-strength-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate); margin-bottom: 0.6rem; }
.solution-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.78rem; padding: 0.25rem 0.7rem; border-radius: 2px;
  background: var(--teal-dim); border: 1px solid rgba(0,212,200,0.2); color: var(--teal);
}
.tag-gold { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.25); color: var(--gold-light); }
.solution-features { display: flex; flex-direction: column; gap: 1.2rem; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 1.2rem; }
.solution-feature { display: flex; gap: 1rem; align-items: flex-start; }
.sol-feature-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.1rem; }
.sol-feature-title { font-size: 0.92rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.sol-feature-text { font-size: 0.85rem; color: var(--slate); line-height: 1.6; }

/* Advisory callout */
.advisory-callout {
  margin-top: 2.5rem; padding: 2rem 2.2rem;
  background: var(--navy); border: 1px solid rgba(0,212,200,0.2);
  border-left: 4px solid var(--teal); border-radius: 2px;
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.advisory-callout-icon { font-size: 2rem; flex-shrink: 0; }
.advisory-callout-title { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.3rem; }
.advisory-callout-text { font-size: 0.88rem; color: var(--slate); line-height: 1.65; max-width: 600px; }
.advisory-callout .btn-primary { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 900px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .advisory-callout { flex-direction: column; text-align: center; }
}

/* ── PRODUCT (keep for backward compat) ──────── */
.product { background: var(--navy-mid); }
.product-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.product-badge {
  display: inline-block; background: var(--teal-dim);
  border: 1px solid rgba(0,212,200,0.3); color: var(--teal);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.4rem 1rem; border-radius: 2px; margin-bottom: 1.2rem;
}
.product-quote { font-size: 0.95rem; color: var(--slate); font-style: italic; line-height: 1.7; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature {
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.05);
  padding: 2rem 1.8rem; border-radius: 2px; position: relative; overflow: hidden;
  transition: transform 0.2s, border-color 0.3s;
}
.feature:hover { transform: translateY(-3px); border-color: rgba(0,212,200,0.25); }
.feature::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--teal); opacity: 0; transition: opacity 0.3s;
}
.feature:hover::before { opacity: 1; }
.feature-num {
  font-family: 'EB Garamond', serif !important; font-size: 3rem; font-weight: 700;
  color: rgba(0,212,200,0.1); position: absolute; top: 0.5rem; right: 1rem; line-height: 1;
}
.feature-icon { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-title { font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.feature-text { font-size: 0.9rem; color: var(--slate); line-height: 1.65; }

/* ── WHY ─────────────────────────────────────── */
.why { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3.5rem; }
.why-item {
  display: flex; gap: 1.2rem; background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.04); padding: 1.8rem; border-radius: 2px;
}
.why-icon-wrap {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--teal-dim); border: 1px solid rgba(0,212,200,0.2);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--teal);
}
.why-title { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
.why-text { font-size: 0.88rem; color: var(--slate); line-height: 1.65; }

/* ── MARKET ──────────────────────────────────── */
.market { background: var(--navy-mid); }
.market-targets { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.market-targets-wide { flex-direction: row; gap: 1.5rem; margin-top: 2.5rem; }
.market-targets-wide .target-item { flex: 1; }
.target-item {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem;
  background: var(--card-bg); border: 1px solid rgba(255,255,255,0.04);
  border-left: 3px solid var(--teal); border-radius: 2px;
}
.target-icon { font-size: 1.2rem; }
.target-title { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.15rem; }
.target-sub { font-size: 0.82rem; color: var(--slate); }
.market-timeline { margin-top: 1rem; }
.timeline-phase { display: flex; gap: 1.2rem; margin-bottom: 1.5rem; position: relative; }
.phase-num {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--navy);
}
.phase-line {
  position: absolute; left: 17px; top: 36px; width: 2px; height: calc(100% + 0.5rem);
  background: linear-gradient(to bottom, var(--teal-dark), transparent);
}
.phase-title { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.phase-text { font-size: 0.85rem; color: var(--slate); line-height: 1.6; }

/* ── CTA ─────────────────────────────────────── */
.cta-section {
  background: var(--card-bg); border-top: 1px solid rgba(0,212,200,0.15);
  padding: 5rem 10%; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,200,0.08), transparent 70%);
}
.cta-section h2 { margin-bottom: 1rem !important; }
.cta-section p { color: var(--slate) !important; max-width: 520px; margin: 0 auto 2.5rem !important; font-size: 1rem; line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-contact {
  margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(255,255,255,0.06);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: left; max-width: 700px; margin-left: auto; margin-right: auto;
}
.cta-contact-two { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
.contact-item .label { font-size: 0.72rem; color: var(--teal); letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.3rem; }
.contact-item .val { font-size: 0.9rem; color: var(--off-white); }

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--navy) !important; border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 10% !important; display: flex !important; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: 'EB Garamond', serif !important; font-size: 1.2rem; font-weight: 700; color: var(--white) !important; }
.footer-logo span { color: var(--teal) !important; }
.footer-text { font-size: 0.8rem; color: var(--slate) !important; }
.footer-partner { font-size: 0.78rem; color: var(--slate); display: flex; align-items: center; gap: 0.5rem; }
.footer-partner::before { content: ''; display: block; width: 16px; height: 1px; background: var(--teal); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.10s; opacity: 0; }
.delay-2 { animation-delay: 0.22s; opacity: 0; }
.delay-3 { animation-delay: 0.34s; opacity: 0; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .product-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .market-inner { grid-template-columns: 1fr; gap: 3rem; }
  .cta-contact { grid-template-columns: 1fr; }
  .nav-links { display: none !important; }
  footer { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 6% 60px; }
  section { padding: 4rem 6%; }
  .stats { padding: 2rem 6%; grid-template-columns: 1fr; }
}
