/* Code Blue Security — Main Theme Stylesheet */


  :root {
    --navy: #060d1f;
    --navy-mid: #0a1628;
    --navy-light: #0f2040;
    --blue: #1a6bff;
    --blue-bright: #2d84ff;
    --red: #ff2d4a;
    --red-dim: #cc1f38;
    --white: #f0f4ff;
    --white-dim: #9aaecb;
    --mono: 'DM Mono', monospace;
    --display: 'Syne', sans-serif;
    --body: 'DM Sans', sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--navy);
    color: var(--white);
    font-family: var(--body);
    overflow-x: hidden;
  }

  /* ─── NOISE OVERLAY ─── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
  }

  /* ─── NAV ─── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 48px;
    background: rgba(6, 13, 31, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 107, 255, 0.15);
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }

  .logo-mark {
    position: relative;
    width: 36px;
    height: 36px;
  }

  .logo-ecg {
    width: 60px;
    height: 24px;
  }

  .logo-text {
    font-family: var(--display);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: var(--white);
  }

  .logo-text span { color: var(--blue-bright); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
  }

  .nav-links a {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--white-dim);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--white); }

  .nav-cta {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--blue);
    color: var(--blue-bright);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
  }

  .nav-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .nav-cta:hover::before { transform: translateX(0); }
  .nav-cta:hover { color: var(--white); }
  .nav-cta span { position: relative; z-index: 1; }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
  }

  /* Grid background */
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(26,107,255,0.06) 1px, transparent 1px),
      linear-gradient(90deg, rgba(26,107,255,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  }

  /* Glows */
  .glow-red {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,45,74,0.12) 0%, transparent 70%);
    top: -100px; left: -100px;
    pointer-events: none;
  }

  .glow-blue {
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,107,255,0.15) 0%, transparent 70%);
    bottom: -200px; right: -200px;
    pointer-events: none;
  }

  .hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .hero-eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease both;
  }

  .eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--red);
  }

  .hero-title {
    font-family: var(--display);
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s 0.1s ease both;
  }

  .hero-title .line-blue { color: var(--blue-bright); }
  .hero-title .line-red { color: var(--red); }

  .hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--white-dim);
    max-width: 460px;
    margin-bottom: 40px;
    font-weight: 300;
    animation: fadeInUp 0.8s 0.2s ease both;
  }

  .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.3s ease both;
  }

  .btn-primary {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 32px;
    background: var(--blue);
    color: var(--white);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
  }

  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.2s;
  }

  .btn-primary:hover { background: var(--blue-bright); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(26,107,255,0.4); }

  .btn-secondary {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 32px;
    background: transparent;
    color: var(--white-dim);
    border: 1px solid rgba(255,255,255,0.15);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
  }

  .btn-secondary:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

  /* ─── HERO RIGHT — ECG MONITOR ─── */
  .hero-visual {
    position: relative;
    animation: fadeInRight 1s 0.4s ease both;
  }

  .monitor-card {
    background: var(--navy-mid);
    border: 1px solid rgba(26,107,255,0.2);
    border-radius: 4px;
    padding: 24px;
    position: relative;
    overflow: hidden;
  }

  .monitor-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--red), var(--blue));
  }

  .monitor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .monitor-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-dim);
  }

  .status-badge {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: rgba(255,45,74,0.15);
    border: 1px solid rgba(255,45,74,0.4);
    color: var(--red);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .pulse-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.2s ease-in-out infinite;
  }

  /* ECG SVG animation */
  .ecg-line { stroke-dasharray: 600; animation: ecgDraw 2s linear infinite; }

  @keyframes ecgDraw {
    0% { stroke-dashoffset: 600; opacity: 0; }
    10% { opacity: 1; }
    70% { stroke-dashoffset: 0; opacity: 1; }
    90% { stroke-dashoffset: 0; opacity: 0.3; }
    100% { stroke-dashoffset: -200; opacity: 0; }
  }

  .threat-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .threat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    font-family: var(--mono);
    font-size: 12px;
    animation: threatIn 0.5s ease both;
  }

  .threat-item:nth-child(1) { animation-delay: 1s; }
  .threat-item:nth-child(2) { animation-delay: 1.5s; }
  .threat-item:nth-child(3) { animation-delay: 2s; }
  .threat-item:nth-child(4) { animation-delay: 2.5s; }

  @keyframes threatIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .threat-name { color: var(--white-dim); }

  .threat-severity {
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 2px 8px;
  }

  .sev-critical { background: rgba(255,45,74,0.15); color: var(--red); border: 1px solid rgba(255,45,74,0.3); }
  .sev-high { background: rgba(255,140,0,0.15); color: #ff8c00; border: 1px solid rgba(255,140,0,0.3); }
  .sev-medium { background: rgba(26,107,255,0.15); color: var(--blue-bright); border: 1px solid rgba(26,107,255,0.3); }

  /* ─── STATS BAR ─── */
  .stats-bar {
    background: var(--navy-mid);
    border-top: 1px solid rgba(26,107,255,0.15);
    border-bottom: 1px solid rgba(26,107,255,0.15);
    padding: 40px 48px;
  }

  .stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat-item {
    padding: 0 40px;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-align: center;
  }

  .stat-item:first-child { padding-left: 0; }
  .stat-item:last-child { border-right: none; }

  .stat-num {
    font-family: var(--display);
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--white) 0%, var(--blue-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
  }

  .stat-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-dim);
  }

  /* ─── SERVICES ─── */
  .services {
    padding: 120px 48px;
    position: relative;
  }

  .section-header {
    max-width: 1200px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
  }

  .section-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 16px;
  }

  .section-title {
    font-family: var(--display);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
  }

  .section-desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--white-dim);
    font-weight: 300;
    align-self: end;
  }

  .services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(26,107,255,0.1);
  }

  .service-card {
    background: var(--navy);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    cursor: default;
  }

  .service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .service-card:hover { background: var(--navy-light); }
  .service-card:hover::before { transform: scaleX(1); }

  .service-icon {
    width: 48px; height: 48px;
    margin-bottom: 24px;
    color: var(--blue-bright);
  }

  .service-num {
    position: absolute;
    top: 32px; right: 36px;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.1);
    letter-spacing: 0.1em;
  }

  .service-title {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }

  .service-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--white-dim);
    font-weight: 300;
  }

  .service-tag {
    margin-top: 24px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-bright);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .service-tag::before {
    content: '';
    width: 16px; height: 1px;
    background: var(--blue-bright);
  }

  /* ─── THREAT INTEL ─── */
  .threat-section {
    padding: 120px 48px;
    background: var(--navy-mid);
    position: relative;
    overflow: hidden;
  }

  .threat-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,45,74,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,45,74,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
  }

  .threat-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .terminal {
    background: #050c1a;
    border: 1px solid rgba(26,107,255,0.2);
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.8;
    padding: 0;
    overflow: hidden;
  }

  .terminal-bar {
    background: rgba(26,107,255,0.1);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(26,107,255,0.15);
  }

  .term-dot { width: 10px; height: 10px; border-radius: 50%; }
  .td-red { background: #ff5f56; }
  .td-yellow { background: #ffbd2e; }
  .td-green { background: #27c93f; }

  .terminal-title {
    margin-left: 8px;
    font-size: 11px;
    color: var(--white-dim);
    letter-spacing: 0.1em;
  }

  .terminal-body { padding: 24px; }

  .term-line { color: #4a6fa5; }
  .term-cmd { color: #7ec8e3; }
  .term-output { color: #adc8e5; }
  .term-alert { color: var(--red); }
  .term-ok { color: #27c93f; }
  .term-warn { color: #ffbd2e; }
  .term-cursor {
    display: inline-block;
    width: 8px; height: 14px;
    background: var(--blue-bright);
    vertical-align: middle;
    animation: blink 1s step-end infinite;
  }

  @keyframes blink { 50% { opacity: 0; } }

  /* ─── CTA ─── */
  .cta-section {
    padding: 140px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(26,107,255,0.12) 0%, transparent 70%);
  }

  .cta-inner {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }

  .cta-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .cta-eyebrow::before, .cta-eyebrow::after {
    content: '';
    width: 40px; height: 1px;
    background: var(--red);
  }

  .cta-title {
    font-family: var(--display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
  }

  .cta-desc {
    font-size: 17px;
    line-height: 1.7;
    color: var(--white-dim);
    font-weight: 300;
    margin-bottom: 48px;
  }

  .cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ─── FOOTER ─── */
  footer {
    background: #030a17;
    padding: 60px 48px 40px;
    border-top: 1px solid rgba(26,107,255,0.1);
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }

  .footer-brand .logo-text { font-size: 20px; display: block; margin-bottom: 16px; font-family: var(--display); font-weight: 800; }
  .footer-brand p { font-size: 14px; line-height: 1.7; color: var(--white-dim); font-weight: 300; max-width: 280px; }

  .footer-col h4 {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 20px;
  }

  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 12px; }
  .footer-col ul a {
    color: var(--white-dim);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }
  .footer-col ul a:hover { color: var(--white); }

  .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 12px;
    color: rgba(255,255,255,0.3);
  }

  .hipaa-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid rgba(26,107,255,0.3);
    color: var(--blue-bright);
  }

  /* ─── BLOG ─── */
  .blog-section {
    padding: 120px 48px;
    position: relative;
  }

  .blog-inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 2px;
    background: rgba(26,107,255,0.08);
    margin-bottom: 2px;
  }

  .blog-card {
    background: var(--navy);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .blog-card:hover { background: var(--navy-light); }

  .blog-card--featured {
    grid-row: 1 / 3;
    padding: 48px;
  }

  .blog-card-accent {
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--red), var(--blue));
    transition: height 0.4s ease;
  }

  .blog-card--featured:hover .blog-card-accent { height: 100%; }

  .blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .blog-tag {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
  }

  .blog-tag--red { background: rgba(255,45,74,0.12); color: var(--red); border: 1px solid rgba(255,45,74,0.25); }
  .blog-tag--blue { background: rgba(26,107,255,0.12); color: var(--blue-bright); border: 1px solid rgba(26,107,255,0.25); }
  .blog-tag--yellow { background: rgba(255,189,46,0.12); color: #ffbd2e; border: 1px solid rgba(255,189,46,0.25); }

  .blog-date {
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.08em;
  }

  .blog-card-title {
    font-family: var(--display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 14px;
    flex: 1;
  }

  .blog-card--featured .blog-card-title { font-size: 26px; margin-bottom: 18px; }
  .blog-card:not(.blog-card--featured) .blog-card-title { font-size: 17px; }

  .blog-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--white-dim);
    font-weight: 300;
    margin-bottom: 28px;
    flex: 1;
  }

  .blog-card:not(.blog-card--featured) .blog-card-excerpt {
    font-size: 13px;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--white-dim);
    letter-spacing: 0.05em;
  }

  .blog-author-avatar {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    font-family: var(--display);
  }

  .blog-read-more {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--blue-bright);
    text-decoration: none;
    transition: color 0.2s;
  }

  .blog-read-more:hover { color: var(--white); }

  /* Newsletter */
  .blog-newsletter {
    background: var(--navy-mid);
    border: 1px solid rgba(26,107,255,0.15);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 2px;
  }

  .blog-newsletter-left { flex: 1; }

  .blog-newsletter-form { flex-shrink: 0; }

  .newsletter-input-wrap {
    display: flex;
    gap: 0;
  }

  .newsletter-input {
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(26,107,255,0.2);
    border-right: none;
    color: var(--white);
    font-family: var(--mono);
    font-size: 13px;
    outline: none;
    width: 280px;
    transition: border-color 0.2s;
  }

  .newsletter-input::placeholder { color: rgba(255,255,255,0.25); }
  .newsletter-input:focus { border-color: rgba(26,107,255,0.5); }

  .newsletter-btn {
    padding: 14px 24px;
    background: var(--blue);
    border: none;
    color: var(--white);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
  }

  .newsletter-btn:hover { background: var(--blue-bright); }

  @media (max-width: 900px) {
    .blog-section { padding: 80px 24px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card--featured { grid-row: auto; }
    .blog-newsletter { flex-direction: column; align-items: flex-start; padding: 28px; }
    .newsletter-input { width: 100%; }
    .newsletter-input-wrap { width: 100%; }
  }

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

  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
  }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 900px) {
    nav { padding: 16px 24px; }
    .nav-links { display: none; }
    .hero { padding: 100px 24px 60px; }
    .hero-inner { grid-template-columns: 1fr; gap: 60px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 20px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .services { padding: 80px 24px; }
    .section-header { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .threat-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
  }

/* ─── BLOG ARCHIVE ─── */
.blog-archive-page { padding-top: 120px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.blog-archive-header { padding: 60px 0 50px; border-bottom: 1px solid rgba(26,107,255,0.15); margin-bottom: 60px; }
.blog-archive-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; }
.blog-card--list { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin-bottom: 2px; }
.blog-card--list .blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card--list .blog-card-body { padding: 28px; }
.blog-pagination { margin-top: 48px; }
.blog-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-pagination .page-numbers { font-family: var(--mono); font-size: 13px; padding: 8px 14px; border: 1px solid rgba(255,255,255,0.1); color: var(--white-dim); text-decoration: none; transition: all 0.2s; }
.blog-pagination .page-numbers:hover, .blog-pagination .page-numbers.current { background: var(--blue); color: var(--white); border-color: var(--blue); }
.blog-empty { padding: 80px 0; text-align: center; }
.blog-empty p { color: var(--white-dim); margin-top: 16px; }
.blog-empty a { color: var(--blue-bright); }

/* ─── SIDEBAR ─── */
.blog-sidebar { padding-top: 8px; }
.sidebar-cta { background: var(--navy-mid); border: 1px solid rgba(26,107,255,0.15); padding: 28px; position: sticky; top: 100px; }
.sidebar-cta h3 { font-family: var(--display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.sidebar-cta p { font-size: 14px; color: var(--white-dim); line-height: 1.6; font-weight: 300; }

/* ─── SINGLE POST ─── */
.single-post-page { padding-top: 120px; }
.single-post { max-width: 820px; margin: 0 auto; padding-bottom: 80px; }
.post-header { padding: 60px 0 40px; }
.post-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.post-read-time { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; }
.post-title { font-family: var(--display); font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.post-lead { font-size: 19px; line-height: 1.65; color: var(--white-dim); font-weight: 300; margin-bottom: 28px; border-left: 3px solid var(--blue); padding-left: 20px; }
.post-author-bar { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.author-name { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; }
.author-title { font-family: var(--mono); font-size: 11px; color: var(--white-dim); letter-spacing: 0.05em; }
.post-featured-image { margin: 40px 0; }
.post-featured-image img { width: 100%; height: auto; display: block; }
.btn-sm { padding: 8px 18px; font-size: 12px; }

/* Post content typography */
.post-content { font-size: 17px; line-height: 1.8; color: var(--white-dim); font-weight: 300; }
.post-content h2, .post-content h3, .post-content h4 { font-family: var(--display); font-weight: 700; color: var(--white); letter-spacing: -0.02em; margin: 48px 0 16px; }
.post-content h2 { font-size: 28px; }
.post-content h3 { font-size: 22px; }
.post-content p { margin-bottom: 20px; }
.post-content a { color: var(--blue-bright); text-underline-offset: 3px; }
.post-content code { font-family: var(--mono); font-size: 14px; background: rgba(26,107,255,0.12); border: 1px solid rgba(26,107,255,0.2); padding: 2px 8px; color: var(--white); }
.post-content pre { background: #050c1a; border: 1px solid rgba(26,107,255,0.2); padding: 24px; overflow-x: auto; margin: 28px 0; }
.post-content pre code { background: none; border: none; padding: 0; font-size: 13px; line-height: 1.7; }
.post-content blockquote { border-left: 3px solid var(--blue); padding: 4px 0 4px 24px; margin: 32px 0; font-size: 19px; font-style: italic; color: var(--white); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-content img { max-width: 100%; height: auto; display: block; margin: 28px 0; }
.post-footer { margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08); }
.post-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-nav-prev, .post-nav-next { display: flex; flex-direction: column; gap: 8px; }
.post-nav-next { text-align: right; align-items: flex-end; }
.post-nav a { font-family: var(--display); font-weight: 600; color: var(--white); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.post-nav a:hover { color: var(--blue-bright); }

/* Post CTA strip */
.post-cta-strip { max-width: 820px; margin: 0 auto 80px; background: var(--navy-mid); border: 1px solid rgba(26,107,255,0.15); padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.post-cta-strip h3 { font-family: var(--display); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.post-cta-strip p { font-size: 14px; color: var(--white-dim); font-weight: 300; }

/* ─── STANDARD PAGE ─── */
.standard-page { padding-top: 120px; }
.page-content-wrap { max-width: 820px; margin: 0 auto; padding: 60px 0 80px; }
.page-header { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(26,107,255,0.15); }
.page-title { font-family: var(--display); font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; }

/* ─── FOOTER SOCIAL ─── */
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white-dim); transition: all 0.2s; }
.footer-social a:hover { border-color: var(--blue); color: var(--blue-bright); }
.footer-slogan { font-size: 11px; letter-spacing: 0.1em; color: rgba(26,107,255,0.5); }

/* ─── NAV HAMBURGER (mobile) ─── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--white-dim); transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── MOBILE MENU ─── */
@media (max-width: 900px) {
    .container { padding: 0 24px; }
    .blog-archive-layout { grid-template-columns: 1fr; }
    .blog-sidebar { display: none; }
    .blog-card--list { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .post-cta-strip { flex-direction: column; align-items: flex-start; }
    .nav-hamburger { display: flex; }
    #primary-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(6,13,31,0.98); border-bottom: 1px solid rgba(26,107,255,0.15); padding: 20px 24px; flex-direction: column; gap: 0; }
    #primary-menu.open { display: flex; }
    #primary-menu li { border-bottom: 1px solid rgba(255,255,255,0.06); }
    #primary-menu a { display: block; padding: 14px 0; font-size: 16px; }
}
