:root {
  --ink: #0a0d14;
  --paper: #f5f3ee;
  --accent: #2d7ff9;
  --accent-dim: #1a5fd4;
  --slate: #1e2840;
  --mid: #3d4f72;
  --muted: #8591a8;
  --line: rgba(30,40,64,0.1);
  --glow: rgba(45,127,249,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(10,13,20,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.nav-logo a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  color: var(--paper);
}
.nav-logo a:hover {
  color: var(--accent);
}

.nav-logo svg { display: block; flex-shrink: 0; }
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; transition: color 0.2s;
}
.nav-links a:hover { color: var(--paper); }
.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px; transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: #5599ff; transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 7rem 3rem 5rem;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45,127,249,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,127,249,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-content { position: relative; max-width: 680px; }
.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 32px; height: 1px; background: var(--accent);
}
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--paper);
}
h1 em { color: var(--accent); font-style: italic; }
.hero-sub {
  font-size: 1.15rem; color: var(--muted); line-height: 1.7;
  max-width: 540px; margin-bottom: 2.5rem; font-weight: 400;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  padding: 0.9rem 2.2rem;
  background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; border-radius: 2px;
  transition: all 0.2s; display: inline-block;
  border: none;
  appearance: none;
  -webkit-appearance: none;
}
.btn-primary:hover { background: #5599ff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(45,127,249,0.35); }
.btn-ghost {
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.15); color: var(--paper);
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none; border-radius: 2px;
  transition: all 0.2s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  padding-top: 3rem; border-top: 1px solid var(--line);
}
.stat-item {}
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem; color: var(--accent); line-height: 1;
}
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.35rem; }

.hero-rootcause-img {
  display: block;
  width: 90%;
  border: 1px solid rgba(0,160,196,0.12);
  border-radius: 4px;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(0, 160, 196, 0.1));
}

/* ─── SECTIONS ─── */
section { padding: 7rem 3rem; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.section-label::before { content:''; display:block; width:24px; height:1px; background:var(--accent); }

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.03em; line-height: 1.1;
  color: var(--paper); margin-bottom: 1.2rem;
}
h2 em { color: var(--accent); font-style: italic; }

.section-sub {
  font-size: 1.05rem; color: var(--muted); line-height: 1.75; max-width: 600px;
}

/* ─── CHALLENGES ─── */
#challenges { background: #0d1018; }
.challenges-header { max-width: 700px; margin-bottom: 4rem; }
.challenges-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px;
  background: var(--line);
}
.challenge-card {
  background: #0d1018;
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.challenge-card:hover { background: #13181f; }
.challenge-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: transparent;
  transition: background 0.3s;
}
.challenge-card:hover::before { background: var(--accent); }
.challenge-num {
  font-family: 'DM Mono', monospace;
  font-size: 2rem; color: rgba(250,0,0,0.3);
  font-weight: 500; line-height: 1;
  margin-bottom: 1.5rem;
}
.challenge-title {
  font-size: 1rem; font-weight: 700; color: var(--paper);
  margin-bottom: 0.75rem; line-height: 1.4;
}
.challenge-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ─── HOW IT WORKS ─── */
#how { background: var(--ink); }
.how-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
.how-content {}
.how-steps { margin-top: 3rem; display: flex; flex-direction: column; gap: 0; }
.how-step {
  display: grid; grid-template-columns: 3rem 1fr;
  gap: 1.5rem; padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer; transition: all 0.3s;
}
.how-step:last-child { border-bottom: none; }
.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 2rem; color: rgba(0,250,0,0.3);
  letter-spacing: 0.1em; padding-top: 0.3rem;
}
.step-title { font-size: 1rem; font-weight: 700; color: var(--paper); margin-bottom: 0.5rem; }
.step-text { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

.how-visual {
  position: sticky; top: 120px;
  background: linear-gradient(135deg, #111621 0%, #0e1520 100%);
  border: 1px solid rgba(0,160,196,0.12);
  border-radius: 4px; padding: 3rem;
  min-height: 480px; display: flex; flex-direction: column; justify-content: space-between;
}
.vis-title {
  font-family: 'DM Mono', monospace;
  font-size: 1rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2rem;
}
.flow-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.flow-chip {
  background: rgba(0,160,196,0.1); border: 1px solid rgba(0,160,196,0.2);
  color: var(--accent); font-family: 'DM Mono', monospace;
  font-size: 0.72rem; padding: 0.35rem 0.75rem; border-radius: 2px;
  white-space: nowrap;
}
.flow-arrow { color: var(--muted); font-size: 1rem; }
.flow-label { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem;}
.flow-divider { height: 1px; background: var(--line); margin: 0.5rem 0; }
.flow-result {
  background: rgba(0,160,196,0.06); border: 1px solid rgba(0,160,196,0.2);
  border-radius: 4px; padding: 1.25rem;
}
.flow-result-label { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.flow-result-val { font-size: 0.9rem; color: var(--paper); font-weight: 600; }

/* ─── METRICS ─── */
#metrics {
  background: linear-gradient(180deg, #0a1020 0%, #0d1018 100%);
  text-align: center;
}
.metrics-header { margin-bottom: 4rem; }
.metrics-header .section-label { justify-content: center; }
.metrics-header .section-label::before { display: none; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 3rem; }
.metric-card {
  padding: 3.5rem 2.5rem;
  background: rgba(0,160,196,0.03);
  border: 1px solid rgba(0,160,196,0.1);
  position: relative; transition: all 0.3s;
}
.metric-card:hover { background: rgba(0,160,196,0.06); border-color: rgba(0,160,196,0.25); transform: translateY(-4px); }
.metric-val {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--accent); line-height: 1; margin-bottom: 0.5rem;
}
.metric-name { font-size: 0.8rem; font-weight: 700; color: var(--paper); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.metric-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.metric-proof { font-family: 'DM Mono', monospace; font-size: 0.8rem; color: rgba(0,200,140,0.9); margin-top: 1rem; }

/* ─── ENGINE ─── */
#engine { background: #0a0d14; }
.engine-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; align-items: end; }
.engine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: var(--line); }
.engine-card {
  background: #0a0d14; padding: 2.5rem;
  position: relative; transition: background 0.3s;
}
.engine-card:hover { background: #111520; }
.engine-icon {
  width: 40px; height: 40px;
  background: rgba(0,160,196,0.1); border: 1px solid rgba(0,160,196,0.2);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.1rem;
}
.engine-title { font-size: 1rem; font-weight: 700; color: var(--paper); margin-bottom: 0.6rem; }
.engine-text { font-size: 0.87rem; color: var(--muted); line-height: 1.7; }

/* ─── COMPARISON ─── */
#comparison { background: #0d1018; }
.comp-header { margin-bottom: 3rem; }
.comp-table { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.comp-col {
  padding: 2.5rem;
}
.comp-col.before { background: rgba(255,255,255,0.02); }
.comp-col.after { background: rgba(0,160,196,0.04); border: 1px solid rgba(0,160,196,0.15); }
.comp-label {
  font-family: 'DM Mono', monospace;
  font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line);
}
.comp-col.before .comp-label { color: rgba(255,0,0,0.5); }
.comp-col.after .comp-label { color: rgba(0,250,0,0.5); }
.comp-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; align-items: flex-start; }
.comp-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 0.45rem;
}
.comp-col.before .comp-dot { background: rgba(255,0,0,0.5); }
.comp-col.after .comp-dot { background: rgba(0,250,0,0.5); }
.comp-text { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.comp-col.after .comp-text { color: var(--paper); }

/* ─── COMPETITION ─── */
#competition { background: var(--ink); }
.comp-vs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--line); margin-top: 3rem; }
.comp-vs-card { background: var(--ink); padding: 2.5rem 2rem; }
.comp-vs-type { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }
.comp-vs-name { font-size: 0.9rem; font-weight: 700; color: var(--paper); margin-bottom: 0.5rem; }
.comp-vs-who { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.comp-vs-limit { font-size: 0.85rem; color: #5d6e8a; line-height: 1.6; }

/* ─── DEPLOYMENT ─── */
#deploy { background: #0d1018; }
.deploy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.deploy-steps { margin-top: 2rem; counter-reset: steps; }
.deploy-step {
  display: flex; gap: 1.5rem; padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.deploy-step:last-child { border-bottom: none; }
.deploy-step-num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(0,160,196,0.1); border: 1px solid rgba(0,160,196,0.25);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--accent);
}
.deploy-step-text { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.deploy-step-text strong { color: var(--paper); }

.deploy-info { }
.deploy-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(0,160,196,0.08); border: 1px solid rgba(0,160,196,0.2);
  border-radius: 2px; margin-bottom: 1rem;
  font-size: 0.82rem; color: var(--accent); font-weight: 600;
}
.deploy-badge::before { content:'✓'; }
.timeline-card {
  background: rgba(255,255,255,0.02); border: 1px solid var(--line);
  border-radius: 4px; padding: 2rem; margin-top: 2.5rem;
}
.timeline-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.timeline-row:last-child { border-bottom: none; }
.timeline-when { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--accent); }
.timeline-what { font-size: 0.88rem; color: var(--muted); }

/* ─── TEAM ─── */
#team { background: #0a0d14; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); max-width: 700px; }
.team-card { background: #0a0d14; padding: 2.5rem; transition: background 0.3s; }
.team-card:hover { background: #111520; }
.team-name { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--paper); margin-bottom: 0.3rem; }
.team-role { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.87rem; color: var(--muted); line-height: 1.65; }

.advisors { margin-top: 3rem; }
.advisors-label { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.advisor-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.advisor-chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line); border-radius: 2px;
  font-size: 0.82rem; color: var(--muted);
}

.patents-bar {
  margin-top: 3rem; padding: 2rem 2.5rem;
  background: rgba(0,160,196,0.04); border: 1px solid rgba(0,160,196,0.12);
  border-radius: 4px; display: flex; align-items: center; gap: 2rem;
}
.patents-num { font-family: 'DM Serif Display', serif; font-size: 3rem; color: var(--accent); line-height: 1; }
.patents-text { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.patents-text strong { color: var(--paper); }

/* ─── CTA ─── */
#cta {
  padding: 9rem 3rem;
  text-align: center;
  background: linear-gradient(180deg, #0d1018 0%, #060a18 100%);
  position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(45,127,249,0.08), transparent);
  pointer-events: none;
}
#cta h2 { margin-bottom: 1rem; }
#cta .section-sub { margin: 0 auto 3rem; text-align: center; max-width: 560px; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-contact {
  margin-top: 3rem;
  display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap;
}
.contact-item { text-align: center; }
.contact-label { font-family: 'DM Mono', monospace; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.contact-val { font-size: 0.95rem; color: var(--paper); }
.contact-val a { color: var(--accent); text-decoration: none; }
.contact-val a:hover { text-decoration: underline; }

/* ─── FOOTER ─── */
footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem; color: var(--muted);
  background: rgba(10,13,20,0.8);
}
.footer-container {
  padding: 1rem 3rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--paper); }
.footer-logo { display: inline-flex; align-items: center; gap: 0.45rem; font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--paper); }
.footer-logo span { color: var(--accent); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 5rem 1.5rem; }
  #hero { padding: 6rem 1.5rem 4rem; }
  .challenges-grid, .metrics-grid, .engine-grid,
  .comp-table, .comp-vs-grid, .team-grid { grid-template-columns: 1fr; }
  .how-layout, .deploy-layout, .engine-header { grid-template-columns: 1fr; gap: 2rem; }
  .how-visual { position: relative; top: auto; }
  .hero-rootcause-wrap, .hero-rootcause-img { display: none; }
  /* .hero-orb, .hero-orb-inner { display: none; } */
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .patents-bar { flex-direction: column; }
  .cta-contact { gap: 2rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
/* END OF RESPONSIVE STYLES */

/* ─── BLOGS ─── */
/* Blog Section */
.blog-section {
  padding: 6rem 0;
  background: transparent;
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.blog-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.blog-section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted-70);
  line-height: 1.6;
  font-weight: 400;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4em;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(28, 115, 244, 0.2);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 
      0 4px 20px rgba(28, 115, 244, 0.1),
      0 0 0 1px rgba(28, 115, 244, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.blog-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(28, 115, 244, 0.02) 0%, rgba(28, 115, 244, 0.01) 100%);
  border-radius: 16px;
  z-index: -1;
}

.blog-featured:hover {
  border-color: rgba(28, 115, 244, 0.4);
  box-shadow: 
      0 8px 32px rgba(28, 115, 244, 0.15),
      0 0 0 1px rgba(28, 115, 244, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.blog-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.blog-image-wrapper:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.blog-featured-image {
  width: 100%;
  height: 400px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.blog-image-wrapper:hover .blog-featured-image {
  transform: scale(1.02);
}

.blog-featured-content {
  padding: 0;
}

.blog-meta-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.blog-read-time {
  color: var(--primary-blue);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-category {
  color: var(--text-muted-60);
  font-size: 0.875rem;
  font-weight: 500;
}

.blog-featured-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.blog-featured-description {
  font-size: 1.125rem;
  color: var(--text-heading);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.blog-featured-excerpt {
  font-size: 1rem;
  color: var(--text-muted-70);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-author-image {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(28, 115, 244, 0.3);
}

.blog-author-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-author-name {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 1rem;
}

.blog-author-role {
  color: var(--text-muted-60);
  font-size: 0.875rem;
  font-weight: 400;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: linear-gradient(135deg, #1c73f4, #22d3ee);
  color: var(--text-heading);
  text-decoration: none;
  padding: 0.725rem 1.35rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(28, 115, 244, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.025em;
  border: 1px solid rgba(28, 115, 244, 0.4);
  backdrop-filter: blur(12px);
}

.blog-read-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.blog-read-more:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 115, 244, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: var(--border-primary-hover);
}


.blog-read-more svg {
  transition: transform 0.3s ease;
}

.blog-read-more:hover svg {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-featured {
      grid-template-columns: 1fr;
      gap: 3rem;
  }
  
  .blog-featured-image {
      height: 300px;
  }
}

@media (max-width: 768px) {
  .blog-read-more {
      padding: 0.625rem 1.25rem;
      font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .blog-read-more {
      padding: 0.5rem 1rem;
      font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .blog-section {
      padding: 4rem 0;
  }
  
  .blog-container {
      padding: 0 1rem;
  }
  
  .blog-header {
      margin-bottom: 3rem;
  }
  
  .blog-featured {
      gap: 2rem;
  }
  
  .blog-featured-image {
      height: 250px;
  }
  
  .blog-meta-info {
      flex-direction: column;
      gap: 0.5rem;
  }
}
/* END OF BLOGS STYLES */

/* ─── CONTACT FORM STYLES ─── */
/* Contact Form Styles */
.contact-section {
  padding: 6rem 0;
  /* background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%); */
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: radial-gradient(ellipse at center, rgba(28, 115, 244, 0.1) 0%, transparent 70%); */
  background: transparent;
  pointer-events: none;
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted-60);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-80);
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: var(--mid);
  color: var(--paper);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(28, 115, 244, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted-60);
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 1;
}
.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(28, 115, 244, 0.2);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-label input[type="checkbox"]:invalid {
  /* Ensure the browser can show validation on the checkbox */
  outline: none;
}

.form-submit {
  margin-top: 1rem;
  align-self: center;
  min-width: 200px;
}

/* Form Success Message */
.form-success-message {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-success-message p {
  color: var(--paper);
  font-weight: 500;
  margin: 0;
  font-size: 0.9rem;
}

/* Success Page Styles */
.success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 3rem 0;
}

.success-info {
  margin-top: 3rem;
  text-align: center;
}

.success-info h3 {
  color: var(--paper);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.success-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.success-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.success-step .step-number {
  background: var(--accent);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.success-step .step-content h4 {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.success-step .step-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
  .contact-section {
      padding: 4rem 0;
  }
  
  .contact-title {
      font-size: 2.5rem;
  }
  
  .contact-subtitle {
      font-size: 1.1rem;
  }
  
  .contact-form-container {
      padding: 2rem;
      margin: 0 1rem;
  }
  
  .form-row {
      grid-template-columns: 1fr;
      gap: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
      font-size: 2rem;
  }
  
  .contact-form-container {
      padding: 1.5rem;
  }
}
/* END OF CONTACT FORM STYLES */

/* ─── COOKIE CONSENT MODAL & BANNER ─── */
/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--slate);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px var(--glow);
  z-index: 10000;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-consent-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cookie-consent-text h3 {
  color: var(--paper);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-consent-text p {
  color: var(--paper);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  max-width: 700px;
}
.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.cookie-btn-primary {
  background: var(--accent); color: var(--ink);
  box-shadow: 0 2px 8px var(--glow);
}
.cookie-btn-primary:hover {
  background: #5599ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(45,127,249,0.35);
}
.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cookie-btn-secondary:hover {
  border-color: var(--accent); color: var(--accent);
}
.cookie-btn-tertiary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.cookie-btn-tertiary:hover {
  border-color: var(--accent); color: var(--accent);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cookie-modal.show {
  opacity: 1;
  visibility: visible;
}
.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cookie-modal-content {
  position: relative;
  background: rgba(28, 29, 33, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  max-width: 700px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-modal-header h2 {
  color: var(--text-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}
.cookie-modal-close {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-muted-90);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-heading);
}
.cookie-modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}
.cookie-modal-description {
  color: var(--paper);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}
.cookie-category {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.cookie-category:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-category-info h3 {
  color: var(--text-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-category-info h3 svg {
  color: var(--primary-blue);
  flex-shrink: 0;
}

.cookie-category-info p {
  color: var(--text-muted-70);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.toggle-label {
  color: var(--text-muted-90);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: 0.3s;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #1c73f4 0%, #0d5fd9 100%);
  border-color: transparent;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

.toggle-switch.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.toggle-switch.disabled .toggle-slider {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.2);
}

.cookie-policy-link {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-policy-link p {
  color: var(--text-muted-80);
  font-size: 0.875rem;
  margin: 0;
}

.cookie-policy-link a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cookie-policy-link a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.cookie-modal-footer {
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent-content {
      flex-direction: column;
      align-items: stretch;
      padding: 1.25rem 1rem;
      gap: 1.25rem;
  }

  .cookie-consent-text h3 {
      font-size: 1rem;
  }

  .cookie-consent-text p {
      font-size: 0.875rem;
  }

  .cookie-consent-actions {
      flex-direction: column;
      gap: 0.625rem;
  }

  .cookie-btn {
      width: 100%;
      justify-content: center;
      padding: 0.875rem 1.25rem;
  }

  .cookie-modal-header {
      padding: 1.5rem 1.25rem 1rem;
  }

  .cookie-modal-header h2 {
      font-size: 1.25rem;
  }

  .cookie-modal-body {
      padding: 1.25rem;
  }

  .cookie-category {
      padding: 1.25rem;
  }

  .cookie-category-header {
      flex-direction: column;
      gap: 1rem;
  }

  .cookie-toggle {
      width: 100%;
      justify-content: space-between;
  }

  .cookie-modal-footer {
      padding: 1.25rem;
      flex-direction: column-reverse;
  }

  .cookie-modal-footer .cookie-btn {
      width: 100%;
  }
}

@media (max-width: 480px) {
  .cookie-modal-content {
      width: calc(100% - 1rem);
      border-radius: 12px;
  }

  .cookie-consent-actions {
      gap: 0.5rem;
  }

  .cookie-btn {
      font-size: 0.875rem;
      padding: 0.75rem 1rem;
  }
}
/* END OF COOKIE CONSENT MODAL & BANNER */
