/* =========================================================
   CipherCore Security — Final Working CSS
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-card: #ffffff;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e5e7eb;
  --line-soft: #f1f5f9;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;
  --cyan: #4EC3F0;
  --navy: #0a1226;
  --radius: 12px;
  --radius-sm: 6px;
  --max: 1120px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.site-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15; 
}

section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background-color: var(--bg);
}

.section-soft {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero, .stats-section, .cta-banner, .site-footer {
  background-color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 18, 38, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(78, 195, 240, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-height: 40px;
  max-width: 200px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
  color: #8fa1c9;
  font-weight: 500;
}

.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--cyan);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #fff;
  box-shadow: 0 0 20px rgba(78, 195, 240, 0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(78, 195, 240, 0.2);
  color: #fff;
  font-size: 20px;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.15s;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary { background: transparent; color: #fff; border-color: rgba(78, 195, 240, 0.3); }
.btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-head { max-width: 640px; margin-bottom: 56px; }

.eyebrow {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }

.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }
p { color: var(--ink-2); }

.hero {
  padding: 110px 0 96px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero .eyebrow { color: var(--cyan); }

.hero h1 {
  color: #ffffff;
  max-width: 16ch;
  margin-bottom: 24px;
  text-shadow: 0 0 40px rgba(78, 195, 240, 0.35);
}

.hero .lede {
  font-size: 18px;
  color: #b0c0dd;
  max-width: 52ch;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.terminal {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(78, 195, 240, 0.3);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  max-width: 500px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(78, 195, 240, 0.12);
  backdrop-filter: blur(10px);
}

.terminal-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(78, 195, 240, 0.15); background: rgba(0, 0, 0, 0.4); }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; }
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #febc2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-title { margin-left: 10px; color: #6f80a5; font-size: 11px; }

.terminal-body { padding: 16px 18px; color: #94a3b8; line-height: 1.9; min-height: 130px; }
.terminal-line { display: block; white-space: nowrap; overflow: hidden; }
.terminal-line .prompt { color: var(--cyan); }
.terminal-line .ok { color: #5FD397; }
.terminal-line .hl { color: #c8ffd4; }

.terminal-cursor { display: inline-block; width: 8px; height: 14px; background: var(--cyan); vertical-align: text-bottom; animation: termBlink 1s steps(1) infinite; margin-left: 2px; }
@keyframes termBlink { 50% { opacity: 0; } }

.hero-visual { display: grid; place-items: center; position: relative; z-index: 1; width: 100%; }
.hero-logo { max-width: 100%; max-height: 380px; width: auto; height: auto; display: block; margin: 0 auto; border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }

.trust-strip { padding: 32px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-items { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--muted); font-weight: 500; }
.trust-items span { display: flex; align-items: center; gap: 8px; }
.trust-items span::before { content: ""; width: 6px; height: 6px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 8px rgba(37, 99, 235, 0.7); }

.stats-section { color: #e6ede9; padding: 72px 0; border-top: 1px solid #1e2b45; border-bottom: 1px solid #1e2b45; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; text-align: center; }
.stat-item .stat-num { font-family: 'JetBrains Mono', monospace; font-size: 2.5rem; font-weight: 700; color: var(--cyan); letter-spacing: -0.02em; display: block; margin-bottom: 8px; text-shadow: 0 0 20px rgba(78, 195, 240, 0.4); }
.stat-item .stat-label { font-size: 13.5px; color: #8fa1c9; line-height: 1.5; }
.stat-item .stat-label small { display: block; font-size: 11px; opacity: 0.7; margin-top: 4px; }

.pillars-grid, .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

.pillar, .card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.pillar:hover, .card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-soft); 
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 20px;
}

.pillar-icon svg { width: 24px; height: 24px; }
.pillar h3, .card h3 { margin-bottom: 12px; font-size: 1.125rem; }
.pillar p, .card p { color: var(--muted); font-size: 15px; line-height: 1.65; flex: 1; }

.value-rows { display: flex; flex-direction: column; }
.value-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  align-items: center;
  transition: all 0.2s ease;
}
.value-row:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08); }
.value-row h3 { font-size: 1.125rem; display: flex; align-items: center; gap: 14px; }
.value-row h3 .row-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand); 
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}
.value-row h3 .row-icon svg { width: 22px; height: 22px; }
.value-row p { color: var(--muted); font-size: 15.5px; line-height: 1.7; max-width: 60ch; }

.process-list { display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}
.process-step:hover { border-color: var(--brand); transform: translateX(4px); }
.process-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px; font-weight: 700;
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--brand-soft);
  border-radius: 50%;
}
.process-step h3 { font-size: 1.125rem; margin-bottom: 6px; }
.process-step p { color: var(--muted); font-size: 15.5px; }

.cta-banner { color: #fff; padding: 80px 0; }
.cta-banner .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); max-width: 24ch; }
.cta-banner .btn-primary { background: var(--cyan); color: var(--navy); }
.cta-banner .btn-primary:hover { background: #fff; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-lead { font-size: 1.35rem; font-weight: 500; color: var(--ink); line-height: 1.5; letter-spacing: -0.01em; margin-bottom: 24px; }
.about-body p { color: var(--muted); font-size: 16px; line-height: 1.8; margin-bottom: 18px; }
.about-body p:last-child { margin-bottom: 0; }
.about-visual { width: 100%; max-width: 440px; aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 20px 60px rgba(37, 99, 235, 0.15); border: 4px solid var(--bg); }
.about-img { width: 100%; height: 100%; display: block; object-fit: cover; animation: spinImage 40s linear infinite; }
@keyframes spinImage { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.team-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600; font-size: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.team-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover; object-position: center top;
  display: block;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  border: 3px solid #fff;
}
.team-card h3 { font-size: 1.125rem; margin-bottom: 4px; }
.team-card .role { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500; color: var(--brand); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.team-card p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 20px; }
.team-card .team-link { font-size: 14px; font-weight: 600; color: var(--brand); }
.team-card .team-link:hover { color: var(--brand-dark); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info .item .label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.contact-info .item a, .contact-info .item span { font-size: 16px; font-weight: 500; color: var(--ink); }
.contact-info .item a:hover { color: var(--brand); }
.hours { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 8px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; color: var(--muted); }
.hours-row span:last-child { color: var(--ink); font-weight: 500; }
.next-steps { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; margin-top: 8px; }
.next-steps h4 { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--brand); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.next-steps ol { padding-left: 20px; color: var(--muted); font-size: 14.5px; line-height: 2; }
.next-steps li { margin-bottom: 8px; }
.next-steps li:last-child { margin-bottom: 0; }

form { display: flex; flex-direction: column; gap: 20px; background: var(--bg-card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.form-row { display: flex; flex-direction: column; }
label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
input, textarea, select { width: 100%; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; color: var(--ink); font-family: inherit; font-size: 15px; transition: all 0.15s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
textarea { resize: vertical; min-height: 140px; }
button[type="submit"] { background: var(--brand); color: #fff; border: none; padding: 16px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 16px; font-family: inherit; cursor: pointer; width: fit-content; transition: all 0.15s; margin-top: 8px; }
button[type="submit"]:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3); }

.site-footer { border-top: 1px solid #1e2b45; padding: 64px 0 32px; color: #94a3b8; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h4 { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #94a3b8; font-size: 15px; line-height: 1.7; max-width: 40ch; }
.footer-col h5 { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-col a, .footer-col span { display: block; font-size: 15px; color: #8fa1c9; margin-bottom: 12px; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 24px; border-top: 1px solid #1e2b45; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #4a5a7d; }
.footer-bottom .status { display: inline-flex; align-items: center; gap: 6px; color: #5FD397; }
.footer-bottom .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5FD397; box-shadow: 0 0 8px #5FD397; animation: statusPulse 2s ease-in-out infinite; }
@keyframes statusPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.menu-open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10, 18, 38, 0.98); flex-direction: column; padding: 20px 24px; border-bottom: 1px solid rgba(78, 195, 240, 0.2); gap: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .terminal { max-width: 100%; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-row { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .site-canvas { opacity: 0.08; }
  .card, .team-card, .pillar, form { padding: 24px; }
  .process-step { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .process-num { margin: 0 auto; }
}

.site-header {
    padding: 1rem 0;
    border-bottom: 1px solid #eaeaea;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
}


.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.main-nav {
    display: none; 
    width: 100%;
    flex-direction: column;
    padding-top: 1rem;
}

.main-nav.active {
    display: flex; 
}

.main-nav a {
    padding: 0.5rem 0;
    text-decoration: none;
    color: inherit;
}


@media (min-width: 768px) {
    .menu-toggle {
        display: none; 
    }
    .main-nav {
        display: flex; 
        flex-direction: row;
        width: auto;
        padding-top: 0;
        gap: 2rem;
    }
}

.hero {
    display: flex;
    flex-direction: column; 
    gap: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column; 
    gap: 1rem;
    margin-top: 1.5rem;
}

.hero-buttons .btn {
    width: 100%; 
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        align-items: center;
    }
    .hero-content {
        flex: 1;
    }
    .hero-image {
        flex: 1;
    }
    .hero-buttons {
        flex-direction: row; 
    }
    .hero-buttons .btn {
        width: auto; 
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; 
}


.grid-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #eaeaea;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
    
    min-height: 44px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   1. GLOBAL OVERFLOW FIX
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box; /* Forces padding to stay inside the width */
}

html, body {
    max-width: 100vw;
    overflow-x: hidden; /* Stops the sideways scrolling */
    margin: 0;
    padding: 0;
}

/* Ensure all images, canvases, and videos shrink */
img, canvas, video, svg {
    max-width: 100%;
    height: auto;
}

/* =========================================
   2. RESPONSIVE HEADER
   ========================================= */
.site-header {
    width: 100%;
    padding: 1rem;
    background-color: #0B132B; /* Match your dark blue */
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* KEY FIX: Lets items drop to a new line if they don't fit */
    gap: 1rem;
}

/* On mobile, make the button smaller so it fits next to the menu */
@media (max-width: 768px) {
    .header-inner .btn-book {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    .logo-text {
        font-size: 1.1rem; /* Make text slightly smaller */
    }
}

/* =========================================
   3. TRUST STRIP
   ========================================= */
.trust-strip {
    display: flex;
    flex-wrap: wrap; /* Allows them to wrap to a new line */
    justify-content: center; /* Centers them */
    gap: 1rem; /* Adds space between them */
    padding: 1.5rem 1rem;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap; /* Prevents the text inside a single bullet from breaking */
}

/* =========================================
   4. STATS SECTION
   ========================================= */
.stats-section {
    width: 100%;
    padding: 3rem 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 2rem;
    text-align: center;
}

/* On desktop, switch to 4 columns */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    width: 100%;
    padding: 3rem 1rem; /* Add padding so text doesn't touch the edges */
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* The terminal graphic container */
.terminal-graphic {
    width: 100%;
    max-width: 100%;
    overflow-x: auto; /* Allows the terminal to scroll internally if the code is too long, instead of breaking the whole page */
}

/* Buttons in Hero */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.hero-buttons .btn {
    width: 100%; /* Full width on mobile */
    text-align: center;
}

/* Desktop overrides */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        align-items: center;
        padding: 5rem 2rem;
    }
    .hero-buttons {
        flex-direction: row;
        width: auto;
    }
    .hero-buttons .btn {
        width: auto;
    }
}

/* =========================================
   6. FEATURE CARDS / GRIDS
   ========================================= */
.features-grid {
    display: grid;
    /* Automatically makes 1 column on phone, 2 on tablet, 3 on PC */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    width: 100%;
}
