/* ================================================================
   CloudRaider - styles.css
   Brand: Dark theme, emerald accents, cybersecurity professional
   ================================================================ */

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

:root {
  --bg-deep: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #253349;
  --accent: #22c55e;
  --accent-hover: #4ade80;
  --accent-glow: rgba(34, 197, 94, 0.15);
  --accent-glow-strong: rgba(34, 197, 94, 0.3);
  --text-heading: #f1f5f9;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(34, 197, 94, 0.25);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ---- UTILITY ---- */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.font-mono { font-family: var(--font-mono); }

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.25rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #0f172a;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #0f172a;
  box-shadow: 0 0 30px var(--accent-glow-strong);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* ---- CARDS ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent-glow);
}
.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo:hover {
  color: var(--text-heading);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 32px;
  height: 32px;
}

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

.nav-links a {
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  margin-left: 0.75rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* Animated grid background */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Radial glow */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowFloat 6s ease-in-out infinite;
}

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

/* Scan line animation */
.hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.15;
  animation: scanDown 6s linear infinite;
}

@keyframes scanDown {
  0% { top: 0; }
  100% { top: 100%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--accent);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-body);
  margin-bottom: 2.5rem;
  max-width: 600px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.trust-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

/* ---- PROBLEM / SOLUTION ---- */
.problem-solution {
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(30, 41, 59, 0.3) 50%, var(--bg-deep) 100%);
}

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.ps-col {
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.ps-col--problem {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
}

.ps-col--solution {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(30, 41, 59, 0.6));
  border-color: var(--border-accent);
}

.ps-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.35rem;
}

.ps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ps-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.6;
}

.ps-list li .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-list li .icon svg {
  width: 18px;
  height: 18px;
}

.ps-col--problem .icon svg {
  color: #ef4444;
}
.ps-col--solution .icon svg {
  color: var(--accent);
}

/* ---- SERVICES GRID ---- */
.services-section {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card .card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card .card-desc {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent);
  transition: gap var(--transition);
}
.learn-more:hover {
  gap: 0.6rem;
}
.learn-more svg {
  width: 16px;
  height: 16px;
}

/* ---- METRICS ---- */
.metrics-section {
  background: linear-gradient(180deg, var(--bg-deep), rgba(34, 197, 94, 0.03), var(--bg-deep));
  position: relative;
  overflow: hidden;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.metric-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-body);
  font-weight: 500;
}

/* ---- SOCIAL PROOF ---- */
.social-proof {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.industry-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.industry-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.badge-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--transition);
}
.badge-icon:hover {
  background: rgba(34, 197, 94, 0.12);
  transform: translateY(-2px);
}
.badge-icon svg {
  width: 32px;
  height: 32px;
}

.badge-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
}

.testimonial-block {
  max-width: 700px;
  margin: 3rem auto 0;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.7;
  position: relative;
  padding: 0 2rem;
}
.testimonial-quote::before {
  content: '\201C';
  position: absolute;
  left: -0.5rem;
  top: -0.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-attr {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- DIFFERENCE ---- */
.difference-section {
  position: relative;
}

.difference-lead {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 3rem;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.diff-card {
  padding: 2rem;
}

.diff-card--highlight {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), var(--bg-card));
  box-shadow: 0 0 30px var(--accent-glow);
}

.diff-card-header {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.diff-card--highlight .diff-card-header {
  color: var(--accent);
  border-color: var(--border-accent);
}

.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.diff-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.925rem;
  line-height: 1.5;
}

.diff-list li .icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.diff-list li .icon svg {
  width: 16px;
  height: 16px;
}

/* ---- BLOG ---- */
.blog-section {
  background: linear-gradient(180deg, var(--bg-deep), rgba(30, 41, 59, 0.3), var(--bg-deep));
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
  flex: 1;
  line-height: 1.65;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ---- CTA FOOTER ---- */
.cta-footer {
  background: linear-gradient(180deg, var(--bg-deep), rgba(34, 197, 94, 0.04));
  text-align: center;
  padding: 5rem 0 3rem;
}

.cta-footer h2 {
  margin-bottom: 1rem;
}

.cta-footer .subtitle {
  color: var(--text-body);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-heading);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-contact {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-body);
}
.footer-contact a:hover {
  color: var(--accent);
}
.footer-contact svg {
  width: 16px;
  height: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-body);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.footer-social svg {
  width: 18px;
  height: 18px;
}

/* ---- PAGE HEROES (inner pages) ---- */
.page-hero {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  margin-bottom: 1rem;
}

.page-hero .page-subtitle {
  position: relative;
  z-index: 2;
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- SERVICES PAGE ---- */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-detail-card {
  padding: 2.5rem;
}

.service-detail-card h3 {
  margin-bottom: 0.75rem;
}

.service-detail-card .service-features {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-features li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-body);
}
.service-features li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ---- ABOUT PAGE ---- */
.about-section {
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-grid.single-col {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.value-card h4 {
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.value-icon svg {
  width: 24px;
  height: 24px;
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-heading);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-card {
  padding: 2.5rem;
}

.contact-method {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-method:last-child {
  margin-bottom: 0;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact-method-icon svg {
  width: 20px;
  height: 20px;
}

.contact-method-text h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.contact-method-text p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
}

/* ---- BLOG / INTEL PAGE ---- */
.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.intel-card {
  display: flex;
  flex-direction: column;
}

.intel-card-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), var(--bg-card));
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.intel-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.intel-card-image svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.intel-card-body {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.intel-card-body .blog-card-tag {
  margin-bottom: 0.5rem;
}

.intel-card-body h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.intel-card-body p {
  font-size: 0.9rem;
  color: var(--text-body);
  flex: 1;
  line-height: 1.65;
}

.intel-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
}

.intel-card-footer .date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid,
  .diff-grid,
  .blog-grid,
  .intel-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.75rem 1rem;
  }
  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 4rem;
  }
  .ps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-grid,
  .diff-grid,
  .blog-grid,
  .metrics-grid,
  .intel-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-contact {
    justify-content: center;
  }
  .trust-bar {
    gap: 1.25rem;
  }
  .industry-badges {
    gap: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .metric-value { font-size: 2rem; }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for grid items */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.35s; }
.fade-in:nth-child(6) { transition-delay: 0.4s; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ---- SELECTION ---- */
::selection {
  background: var(--accent);
  color: var(--bg-deep);
}
