/* ============================================================
   CODEAPPSEC THEME — MAIN STYLESHEET
   IT Development & Cybersecurity
   ============================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Colors */
  --clr-bg:          #030711;
  --clr-bg-2:        #070f1e;
  --clr-bg-3:        #0b1628;
  --clr-primary:     #0066ff;
  --clr-primary-h:   #004fd6;
  --clr-accent:      #00e5ff;
  --clr-purple:      #7b2fff;
  --clr-green:       #00ff87;
  --clr-text:        #d4e0f0;
  --clr-text-muted:  #7a94b0;
  --clr-text-dim:    #3d5a7a;
  --clr-white:       #ffffff;
  --clr-border:      rgba(0, 102, 255, 0.15);
  --clr-border-h:    rgba(0, 229, 255, 0.4);
  --clr-card:        rgba(7, 15, 30, 0.95);

  /* Typography */
  --font-heading:    'Rajdhani', sans-serif;
  --font-body:       'Nunito Sans', sans-serif;
  --font-mono:       'JetBrains Mono', monospace;

  /* Sizing */
  --max-w:           1240px;
  --radius:          12px;
  --radius-lg:       20px;
  --radius-xl:       32px;

  /* Transitions */
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --dur:             0.3s;

  /* Shadows */
  --shadow-glow:     0 0 30px rgba(0, 102, 255, 0.25);
  --shadow-glow-c:   0 0 30px rgba(0, 229, 255, 0.2);
  --shadow-card:     0 4px 40px rgba(0, 0, 0, 0.6);
}

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(0, 102, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(123, 47, 255, 0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--clr-white); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-white);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }

p { color: var(--clr-text); margin-bottom: 1rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--clr-accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

/* ── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--sm { padding: 60px 0; }
.section--lg { padding: 130px 0; }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 70px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  margin-top: 1rem;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.btn-primary:hover {
  background: var(--clr-primary-h);
  color: var(--clr-white);
  box-shadow: 0 0 35px rgba(0, 102, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border: 1px solid var(--clr-accent);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.08);
  color: var(--clr-white);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}

.btn-ghost:hover {
  border-color: var(--clr-primary);
  color: var(--clr-white);
  background: rgba(0, 102, 255, 0.08);
}

.btn svg { width: 18px; height: 18px; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(3, 7, 17, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

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

.site-logo img { height: 44px; width: auto; }

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.05em;
}

.logo-text span { color: var(--clr-accent); }

.primary-nav { display: flex; align-items: center; gap: 6px; }

.primary-nav a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
  position: relative;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--clr-white);
  background: rgba(0, 102, 255, 0.1);
}

/* Dropdown */
.nav-item-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 220px;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  width: 100%;
}

.nav-cta { margin-left: 16px; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow-1 {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.1) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-green);
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-green);
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 50%, var(--clr-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--clr-border);
}

.hero-stat-item {}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
}

.hero-stat-num span { color: var(--clr-accent); }

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shield-container {
  position: relative;
  width: 420px;
  height: 420px;
}

.hero-shield-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.15);
  animation: spin-slow 20s linear infinite;
}

.hero-shield-ring::before, .hero-shield-ring::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-accent);
  box-shadow: 0 0 12px var(--clr-accent);
}

.hero-shield-ring::before { top: -5px; left: 50%; transform: translateX(-50%); }
.hero-shield-ring::after { bottom: -5px; left: 50%; transform: translateX(-50%); }

.hero-shield-ring-2 {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(0, 102, 255, 0.2);
  animation: spin-slow 15s linear infinite reverse;
}

.hero-shield-core {
  position: absolute;
  inset: 70px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(123, 47, 255, 0.1) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 40px rgba(0, 102, 255, 0.1), 0 0 40px rgba(0, 102, 255, 0.15);
}

.hero-shield-icon {
  color: var(--clr-accent);
  opacity: 0.9;
}

.hero-shield-icon svg {
  width: 100px;
  height: 100px;
}

.hero-float-cards {
  position: absolute;
  inset: 0;
}

.hero-float-card {
  position: absolute;
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-card:nth-child(1) { top: 20px; left: -40px; animation-delay: 0s; }
.hero-float-card:nth-child(2) { bottom: 80px; left: -60px; animation-delay: 2s; }
.hero-float-card:nth-child(3) { top: 60px; right: -60px; animation-delay: 4s; }
.hero-float-card:nth-child(4) { bottom: 30px; right: -40px; animation-delay: 1s; }

.hero-float-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-card-icon svg { width: 16px; height: 16px; }

.hero-float-card-icon.blue { background: rgba(0, 102, 255, 0.2); color: var(--clr-primary); }
.hero-float-card-icon.cyan { background: rgba(0, 229, 255, 0.15); color: var(--clr-accent); }
.hero-float-card-icon.green { background: rgba(0, 255, 135, 0.12); color: var(--clr-green); }
.hero-float-card-icon.purple { background: rgba(123, 47, 255, 0.15); color: var(--clr-purple); }

.hero-float-card-text { }
.hero-float-card-label { font-family: var(--font-mono); color: var(--clr-text-muted); font-size: 0.7rem; }
.hero-float-card-value { color: var(--clr-white); font-weight: 600; }

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar {
  padding: 30px 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: rgba(7, 15, 30, 0.5);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-dim);
  white-space: nowrap;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-logo-item {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  transition: color var(--dur) var(--ease);
}

.trust-logo-item:hover { color: var(--clr-text-muted); }

/* ── SERVICES OVERVIEW ───────────────────────────────────── */
.services-overview {
  background: var(--clr-bg-2);
}

.services-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--clr-border);
}

.service-pillar {
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.service-pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-pillar.it-dev::before {
  background: radial-gradient(ellipse 80% 80% at 0% 0%, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
}

.service-pillar.cyber-sec::before {
  background: radial-gradient(ellipse 80% 80% at 100% 0%, rgba(0, 255, 135, 0.06) 0%, transparent 70%);
}

.service-pillar:hover::before { opacity: 1; }

.service-pillar + .service-pillar {
  border-left: 1px solid var(--clr-border);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s var(--ease);
}

.pillar-icon svg { width: 30px; height: 30px; }

.it-dev .pillar-icon {
  background: rgba(0, 102, 255, 0.15);
  color: var(--clr-primary);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.15);
}

.cyber-sec .pillar-icon {
  background: rgba(0, 255, 135, 0.1);
  color: var(--clr-green);
  box-shadow: 0 0 20px rgba(0, 255, 135, 0.1);
}

.service-pillar:hover .pillar-icon { transform: scale(1.1); }

.pillar-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.pillar-desc {
  color: var(--clr-text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}

.pillar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--clr-text);
}

.pillar-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.it-dev .pillar-list li::before { background: var(--clr-primary); }
.cyber-sec .pillar-list li::before { background: var(--clr-green); }

/* ── IT DEVELOPMENT SECTION ──────────────────────────────── */
.it-dev-section {
  background: var(--clr-bg);
  position: relative;
}

.it-dev-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.service-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.service-card:hover {
  border-color: rgba(0, 102, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.service-card:hover::before { opacity: 1; }

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(0, 102, 255, 0.12);
  color: var(--clr-primary);
  transition: all 0.3s var(--ease);
}

.card-icon svg { width: 24px; height: 24px; }
.service-card:hover .card-icon { background: rgba(0, 102, 255, 0.2); transform: scale(1.05); }

.card-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.card-desc {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--clr-border);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── CYBERSECURITY SECTION ───────────────────────────────── */
.cyber-section {
  background: var(--clr-bg-2);
  position: relative;
}

.cyber-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(0, 255, 135, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.cyber-card {
  background: var(--clr-card);
  border: 1px solid rgba(0, 255, 135, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-green), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.cyber-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 255, 135, 0.08);
}

.cyber-card:hover::before { opacity: 1; }

.cyber-card .card-icon {
  background: rgba(0, 255, 135, 0.08);
  color: var(--clr-green);
}

.cyber-card:hover .card-icon { background: rgba(0, 255, 135, 0.15); }

.threat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: auto;
}

.threat-badge.critical { color: #ff4466; background: rgba(255, 68, 102, 0.1); border: 1px solid rgba(255, 68, 102, 0.25); }
.threat-badge.high { color: #ff8a00; background: rgba(255, 138, 0, 0.1); border: 1px solid rgba(255, 138, 0, 0.25); }
.threat-badge.active { color: var(--clr-green); background: rgba(0, 255, 135, 0.1); border: 1px solid rgba(0, 255, 135, 0.25); }

/* ── PROCESS SECTION ─────────────────────────────────────── */
.process-section {
  background: var(--clr-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-primary), var(--clr-accent), var(--clr-primary), transparent);
  opacity: 0.5;
}

.process-step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--clr-bg-3);
  border: 1px solid var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ── STATS SECTION ───────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, #050e1c 0%, #07102a 50%, #050e1c 100%);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 1px;
  background: var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: rgba(3, 7, 17, 0.9);
  padding: 50px 30px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

/* ── WHY CHOOSE US ───────────────────────────────────────── */
.why-us-section {
  background: var(--clr-bg-2);
}

.why-us-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-visual {
  position: relative;
}

.why-us-image {
  border-radius: var(--radius-xl);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  position: relative;
}

.why-us-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  opacity: 0.7;
  filter: saturate(0.6) brightness(0.8);
}

.why-us-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(3, 7, 17, 0.9) 100%);
}

.why-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(7, 15, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 255, 135, 0.12);
  color: var(--clr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-badge-icon svg { width: 22px; height: 22px; }
.why-badge-text strong { display: block; color: var(--clr-white); font-size: 0.95rem; margin-bottom: 2px; }
.why-badge-text span { font-size: 0.8rem; color: var(--clr-text-muted); }

.why-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-feature {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: rgba(7, 15, 30, 0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.why-feature:hover {
  border-color: rgba(0, 102, 255, 0.3);
  background: rgba(0, 102, 255, 0.04);
}

.why-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg { width: 22px; height: 22px; }

.why-feature h4 { font-size: 1.05rem; margin-bottom: 6px; }
.why-feature p { font-size: 0.9rem; color: var(--clr-text-muted); margin: 0; }

/* ── PORTFOLIO SECTION ───────────────────────────────────── */
.portfolio-section { background: var(--clr-bg); }

.portfolio-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-border);
  background: transparent;
  transition: all 0.2s var(--ease);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  background: var(--clr-card);
  transition: all 0.35s var(--ease);
  position: relative;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: rgba(0, 102, 255, 0.3);
}

.portfolio-thumb {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  filter: saturate(0.7) brightness(0.75);
}

.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); filter: saturate(0.9) brightness(0.85); }

.portfolio-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 15, 30, 0.95) 100%);
}

.portfolio-overlay-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 102, 255, 0.7);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-overlay-link { opacity: 1; }

.portfolio-overlay-link svg { width: 32px; height: 32px; color: var(--clr-white); }

.portfolio-body { padding: 24px; }

.portfolio-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 8px;
}

.portfolio-title { font-size: 1.1rem; margin-bottom: 10px; }
.portfolio-desc { font-size: 0.88rem; color: var(--clr-text-muted); margin-bottom: 16px; }

.portfolio-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--clr-text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 9px;
  border-radius: 4px;
}

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-section {
  background: var(--clr-bg-2);
  overflow: hidden;
}

.testimonials-swiper { overflow: visible; }

.testimonial-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  transition: all 0.3s var(--ease);
}

.testimonial-card:hover {
  border-color: rgba(0, 102, 255, 0.25);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #ffd54f;
  font-size: 0.95rem;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--clr-text);
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--clr-primary);
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

.testimonial-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-white);
}

.testimonial-role { font-size: 0.82rem; color: var(--clr-text-muted); }

/* Swiper Pagination */
.swiper-pagination-bullet {
  background: var(--clr-text-dim);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--clr-primary);
  width: 20px;
  border-radius: 4px;
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #040c1f 0%, #050e28 50%, #040c1f 100%);
  border-top: 1px solid var(--clr-border);
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

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

.cta-inner h2 { margin-bottom: 20px; }
.cta-inner p { font-size: 1.1rem; color: var(--clr-text-muted); margin-bottom: 40px; }

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

.cta-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-section { background: var(--clr-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { font-size: 1.4rem; margin-bottom: 16px; }
.contact-info p { color: var(--clr-text-muted); margin-bottom: 36px; }

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-label { font-size: 0.8rem; color: var(--clr-text-dim); margin-bottom: 2px; }
.contact-info-value { font-weight: 600; color: var(--clr-white); }

.contact-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 1rem;
  transition: all 0.2s var(--ease);
}

.social-link:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(0, 102, 255, 0.08);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-primary);
  background: rgba(0, 102, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--clr-text-dim);
}

.form-group select option { background: var(--clr-bg-3); color: var(--clr-white); }
.form-group textarea { resize: vertical; min-height: 130px; }

.form-submit { width: 100%; padding: 15px; font-size: 1rem; margin-top: 8px; }

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: none;
}

.form-message.success { background: rgba(0, 255, 135, 0.1); border: 1px solid rgba(0, 255, 135, 0.3); color: var(--clr-green); }
.form-message.error { background: rgba(255, 68, 102, 0.1); border: 1px solid rgba(255, 68, 102, 0.3); color: #ff4466; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-bg-3);
  border-top: 1px solid var(--clr-border);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding: 70px 0 50px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo img { height: 40px; }
.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.04em;
}

.footer-logo-text span { color: var(--clr-accent); }

.footer-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--clr-accent); }
.footer-links a::before { content: '›'; color: var(--clr-primary); font-size: 1.1rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 102, 255, 0.1);
  color: var(--clr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-icon svg { width: 14px; height: 14px; }

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
  transition: all 0.2s var(--ease);
}

.footer-social a:hover {
  border-color: var(--clr-primary);
  color: var(--clr-primary);
  background: rgba(0, 102, 255, 0.08);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
}

.footer-copyright a { color: var(--clr-accent); }

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  transition: color 0.2s var(--ease);
}

.footer-bottom-links a:hover { color: var(--clr-accent); }

/* ── SCROLL TO TOP ───────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--clr-primary);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
  z-index: 900;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--clr-primary-h); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ── PRELOADER ───────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: all 0.5s var(--ease);
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.preloader-logo span { color: var(--clr-accent); }

.preloader-bar {
  width: 200px;
  height: 2px;
  background: var(--clr-border);
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  border-radius: 2px;
  animation: preload 1.5s ease-in-out forwards;
}

@keyframes preload {
  from { width: 0%; }
  to { width: 100%; }
}

/* ── GENERAL UTILITIES ───────────────────────────────────── */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-green-gradient {
  background: linear-gradient(135deg, var(--clr-green) 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-border), transparent);
  margin: 0;
}

/* Page header for inner pages */
.page-hero {
  padding: 160px 0 80px;
  background: var(--clr-bg-2);
  border-bottom: 1px solid var(--clr-border);
  text-align: center;
}

.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--clr-text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--clr-text-dim);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--clr-text-muted); }
.breadcrumb a:hover { color: var(--clr-accent); }
.breadcrumb span { color: var(--clr-text-dim); }

/* ── ELEMENTOR OVERRIDES ─────────────────────────────────── */
.elementor-section { position: relative; z-index: 1; }
.elementor-widget-wrap { align-items: center; }
.e-con, .elementor-section { background-color: transparent !important; }

/* Allow Elementor to override sections */
.elementor-template-full-width .site-header { position: relative; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-overview-grid { grid-template-columns: 1fr; }
  .service-pillar + .service-pillar { border-left: none; border-top: 1px solid var(--clr-border); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-content { grid-template-columns: 1fr; }
  .why-us-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .primary-nav { display: none; }
  .nav-toggle { display: flex; }

  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 7, 17, 0.98);
    backdrop-filter: blur(20px);
    padding: 30px 24px;
    gap: 4px;
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid var(--clr-border);
  }

  .primary-nav.open a {
    padding: 14px 16px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--clr-border);
    border-radius: 0;
  }

  .nav-cta { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { flex-direction: column; gap: 16px; }
  .trust-logos { gap: 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .service-pillar { padding: 40px 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-float-card { display: none; }
}

/* ── BLOG / POSTS ─────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--clr-card);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.blog-thumb { height: 200px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }

.blog-body { padding: 24px; }
.blog-cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-accent); margin-bottom: 8px; }
.blog-title { font-size: 1.05rem; margin-bottom: 10px; }
.blog-title a { color: var(--clr-white); }
.blog-title a:hover { color: var(--clr-accent); }
.blog-excerpt { font-size: 0.88rem; color: var(--clr-text-muted); margin-bottom: 16px; }
.blog-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--clr-text-dim); }

/* Sidebar */
.content-sidebar-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.sidebar { position: sticky; top: 100px; }
.widget { margin-bottom: 30px; }
.widget-title { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--clr-border); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .content-sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
