/* CSS Design System for TechWhizz LandX Redesign */

:root {
  /* Dark Theme variables (Default) */
  --bg-primary: #07090e;
  --bg-secondary: #0d111d;
  --bg-glass: rgba(13, 17, 29, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --input-bg: rgba(255, 255, 255, 0.03);
  --btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --btn-secondary-hover: rgba(255, 255, 255, 0.10);
  
  /* Brand Accents */
  --accent-orange: #ff5c35;
  --accent-orange-rgb: 255, 92, 53;
  --accent-gradient: linear-gradient(135deg, #ff5c35 0%, #ff7b5a 100%);
  
  /* Layout Constants */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --container-width: 1280px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  /* Light Theme variables */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);
  --border-color: rgba(15, 23, 42, 0.08);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --card-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
  --input-bg: rgba(15, 23, 42, 0.02);
  --btn-secondary-bg: rgba(15, 23, 42, 0.03);
  --btn-secondary-hover: rgba(15, 23, 42, 0.07);
}

/* -------------------------------------------------------------
   1. Reset & Global Styles
   ------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* -------------------------------------------------------------
   2. Typography & Utility Classes
   ------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(var(--accent-orange-rgb), 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.15);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-sm {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -5px rgba(var(--accent-orange-rgb), 0.3);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--btn-secondary-hover);
  border-color: var(--text-primary);
}

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

.btn-outline:hover {
  border-color: var(--accent-orange);
  background: rgba(var(--accent-orange-rgb), 0.04);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

button:disabled,
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

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

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

.section-header .sub-title {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-orange);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 3.4rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* -------------------------------------------------------------
   3. Header Navigation
   ------------------------------------------------------------- */
.navbar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(var(--bg-primary), 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

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

.brand-logo {
  height: 42px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-item-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-item-link:hover, .nav-item-link.active {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: var(--btn-secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.sun-icon, .moon-icon {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .sun-icon { transform: translateY(30px); }
[data-theme="dark"] .moon-icon { transform: translateY(0); }
[data-theme="light"] .sun-icon { transform: translateY(0); }
[data-theme="light"] .moon-icon { transform: translateY(-30px); }

/* -------------------------------------------------------------
   4. Hero Section (LandX Demo-8 Split Layout)
   ------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(var(--accent-orange-rgb), 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content > * {
  animation: slideUpFade 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}
.hero-content .badge { animation-delay: 0.15s; }
.hero-content h1 { animation-delay: 0.4s; }
.hero-content p { animation-delay: 0.65s; }
.hero-content form { animation-delay: 0.9s; }
.hero-content .hero-caption-note { animation-delay: 1.15s; }

.hero-title {
  font-size: 5.2rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.35rem;
  margin-bottom: 35px;
  line-height: 1.65;
}

/* LandX Lead Form */
.hero-signup-form {
  position: relative;
  max-width: 500px;
  margin-bottom: 12px;
}

.hero-signup-form .input-wrap {
  display: flex;
  gap: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 6px;
  border-radius: 10px;
  box-shadow: var(--card-shadow);
}

.hero-signup-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.hero-signup-form input:focus {
  outline: none;
}

.hero-signup-form .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.hero-caption-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Scaled-down Graphic Wrapper (fixing zoomed-in look) */
.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideUpFade 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.2s;
  opacity: 0;
}

.mockup-frame {
  max-width: 620px; /* Sized to look balanced, not zoomed in or out */
  width: 100%;
  padding: 8px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  position: relative;
  box-shadow: var(--card-shadow), 0 0 30px rgba(var(--accent-orange-rgb), 0.08);
}

.hero-img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
}

.floating-badge {
  position: absolute;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.badge-top {
  top: 15px;
  left: -20px;
  border-left: 2px solid var(--accent-orange);
}

.badge-bottom {
  bottom: 20px;
  right: -15px;
  border-left: 2px solid #10b981;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background: var(--accent-orange);
  border-radius: 50%;
  display: inline-block;
}

/* -------------------------------------------------------------
   5. Trusted By Bar
   ------------------------------------------------------------- */
.clients-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.clients-section .section-container {
  padding: 30px 24px;
  text-align: center;
}

.clients-title {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.client-logo {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-muted);
  opacity: 0.6;
}

/* -------------------------------------------------------------
   6. Core Capabilities (6 Grid Services)
   ------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-orange-rgb), 0.2);
}

.service-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(var(--accent-orange-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-orange-rgb), 0.1);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   7. Split Alternating Feature Rows
   ------------------------------------------------------------- */
.split-features-section {
  background: var(--bg-secondary);
}

.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 80px 24px;
}

.split-row.reverse {
  direction: ltr; /* Keeps layout order on template */
}

.split-content-text h2 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.split-content-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.feature-bullets li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Custom Visual Mockups with floating elements */
.portrait-container {
  border-radius: 24px;
  overflow: hidden;
  border: 4px solid var(--bg-secondary);
  box-shadow: var(--card-shadow);
  background: var(--bg-secondary);
}

.seamless-portrait {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* 1. Chat Mockup Section */
.visual-wrap-chat {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  /* Animate entire wrap slightly */
  animation: floatMain 6s ease-in-out infinite;
}

.floating-item {
  position: absolute;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  font-family: var(--font-title);
  font-weight: 600;
  pointer-events: none;
}

/* Chat bubble styling */
.bubble-1 {
  left: -20px;
  top: 60%;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 18px;
  border-radius: 20px 20px 20px 4px;
  font-size: 0.9rem;
  animation: floatY1 4s ease-in-out infinite;
}

.bubble-2 {
  right: -30px;
  top: 70%;
  background: #27272a;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 20px 20px 4px 20px;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: floatY2 4.5s ease-in-out infinite;
}

.bubble-3 {
  left: 20px;
  top: 80%;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 20px 20px 20px 4px;
  font-size: 0.9rem;
  animation: floatY3 5s ease-in-out infinite;
}

.bubble-4 {
  left: -10px;
  top: 92%;
  background: #ffffff;
  color: #0f172a;
  padding: 10px 18px;
  border-radius: 20px 20px 20px 4px;
  font-size: 0.9rem;
  animation: floatY1 4.8s ease-in-out infinite;
}

/* Emoji badges */
.emoji-brain, .emoji-star, .emoji-coffee {
  background: #ffffff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.emoji-brain {
  left: -40px;
  top: 35%;
  animation: floatY2 4s ease-in-out infinite;
}

.emoji-star {
  right: -20px;
  top: 55%;
  animation: floatY3 3.8s ease-in-out infinite;
}

.emoji-coffee {
  right: 0px;
  top: 10%;
  animation: floatY1 5.2s ease-in-out infinite;
}

/* 2. Metrics Mockup Section */
.visual-wrap-metrics {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  animation: floatMain 7s ease-in-out infinite;
}

/* Circular Progress mini card */
.metric-progress-card {
  left: -30px;
  bottom: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 200px;
  animation: floatY2 4.2s ease-in-out infinite;
}

.circular-progress-mini {
  width: 50px;
  height: 50px;
  position: relative;
}

.circular-chart {
  display: block;
  margin: 10px auto;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke: var(--accent-orange);
  stroke-width: 3.8;
  stroke-linecap: round;
}

.progress-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 800;
}

.progress-details-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bar-line-1, .bar-line-2 {
  height: 6px;
  border-radius: 3px;
  background: var(--text-muted);
}
.bar-line-1 { width: 80%; background: var(--text-secondary); }
.bar-line-2 { width: 50%; }

/* Speed downloading card */
.metric-download-card {
  right: -30px;
  top: 40%;
  background: #00f0ff;
  color: #090e1a;
  border-radius: 16px;
  padding: 20px;
  width: 160px;
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.25);
  animation: floatY1 4.6s ease-in-out infinite;
}

.download-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.download-stats {
  font-family: var(--font-title);
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.speed-num {
  font-size: 2.2rem;
  line-height: 1;
}

.speed-unit {
  font-size: 0.8rem;
}

.download-label {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
}

/* 3. Sync Connections Mockup Section */
.visual-wrap-sync {
  position: relative;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 40px;
  animation: floatMain 8s ease-in-out infinite;
}

.phone-mockup {
  border: 12px solid var(--border-color);
  border-radius: 40px;
  background: #ffffff;
  box-shadow: var(--card-shadow);
  padding: 10px;
  width: 290px;
  margin: 0 auto;
  position: relative;
}

.phone-notch {
  width: 110px;
  height: 18px;
  background: var(--border-color);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  background: #f8fafc;
  border-radius: 28px;
  overflow: hidden;
  padding: 24px 16px 16px;
  font-family: var(--font-body);
  color: #0f172a;
}

[data-theme="dark"] .phone-screen {
  background: #0f172a;
  color: #f8fafc;
}

.screen-header {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.back-arrow {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.screen-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.storage-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.storage-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .storage-item {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.05);
}

.storage-item.checked {
  border-color: #3b82f6;
  background: #eff6ff;
}

[data-theme="dark"] .storage-item.checked {
  background: #1e3a8a;
  border-color: #3b82f6;
}

.storage-icon {
  font-size: 1.1rem;
}

.storage-name {
  font-size: 0.8rem;
  font-weight: 600;
  flex: 1;
}

.radio-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
}

.radio-indicator.checked {
  background: #3b82f6;
  border-color: #3b82f6;
}

/* Floating brand icons positioned absolutely */
.floating-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-s3 { left: 10px; top: 20%; background: #ffffff; color: #ff9900; animation: floatY1 4s ease-in-out infinite; }
.icon-drive { left: 30px; top: 40%; color: #34a853; animation: floatY2 4.4s ease-in-out infinite; }
.icon-backblaze { left: -10px; top: 65%; color: #f15a24; animation: floatY3 3.8s ease-in-out infinite; }

.icon-box { right: 30px; top: 15%; color: #0061d5; animation: floatY2 4.6s ease-in-out infinite; }
.icon-vultr { right: 40px; top: 35%; color: #007bfc; animation: floatY1 5s ease-in-out infinite; }
.icon-onedrive { right: 0px; top: 55%; color: #0078d4; animation: floatY3 4.2s ease-in-out infinite; }
.icon-mega { right: 20px; top: 75%; color: #d90007; animation: floatY2 4.8s ease-in-out infinite; }

/* Staggered Floating Keyframes */
@keyframes floatMain {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

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

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

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

.chart-label {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------
   8. Stats Section
   ------------------------------------------------------------- */
.stats-section {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.stats-section .section-container {
  padding: 50px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.8rem;
  color: var(--accent-orange);
  margin-bottom: 8px;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  max-width: 250px;
  margin: 0 auto;
}

/* -------------------------------------------------------------
   9. Process Section
   ------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-card {
  padding: 24px;
  text-align: center;
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(var(--accent-orange-rgb), 0.08);
  color: var(--accent-orange);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.15);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   10. FAQ Section (Accordion Layout)
   ------------------------------------------------------------- */
.faq-section {
  background: var(--bg-secondary);
}

.faq-accordion-container {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-trigger:hover {
  color: var(--accent-orange);
}

.faq-icon-arrow {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(45deg);
  color: var(--accent-orange);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.2s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 120px; /* Expands smoothly */
  opacity: 1;
  padding-bottom: 16px;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* -------------------------------------------------------------
   11. Contact Section
   ------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.contact-info-panel h2 {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.contact-info-panel p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 30px;
}

.contact-address-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.contact-detail .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--btn-secondary-bg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail address {
  font-style: normal;
}

.contact-form-panel {
  padding: 35px;
}

.form-row {
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  background: var(--bg-secondary);
}

/* Error validation states */
.form-group.has-error input, 
.form-group.has-error textarea {
  border-color: #ef4444;
}

.error-hint {
  font-size: 0.78rem;
  color: #ef4444;
  font-weight: 500;
  display: none;
}

.form-group.has-error .error-hint {
  display: block;
}

/* Success form box */
#techwhizz-contact-form.hidden {
  display: none;
}

.success-message-box {
  display: none;
  text-align: center;
  padding: 30px 10px;
  animation: fadeIn 0.4s ease-out forwards;
}

.success-message-box.active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--accent-orange-rgb), 0.08);
  color: var(--accent-orange);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--accent-orange-rgb), 0.15);
}

.success-message-box h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.success-message-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 380px;
}

/* -------------------------------------------------------------
   12. Footer Section
   ------------------------------------------------------------- */
.main-footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.main-footer .section-container {
  padding: 60px 24px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 15px;
  max-width: 250px;
}

.footer-links h4, 
.footer-newsletter h4 {
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.footer-newsletter p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 300px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.newsletter-form .btn {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.success-hint {
  font-size: 0.78rem;
  color: #10b981;
  font-weight: 500;
  display: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}

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

/* -------------------------------------------------------------
   13. Animations & Reveals
   ------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------
   14. Responsive Rules
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-signup-form {
    width: 100%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .split-row.reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .feature-bullets {
    align-items: center;
  }
  .stats-grid {
    gap: 20px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .services-grid, .process-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   11. Selected Work & Case Studies System
   ------------------------------------------------------------- */
.featured-project-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.featured-project-card:hover {
  border-color: rgba(var(--accent-orange-rgb), 0.3);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.4);
}

.project-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.project-category-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 9999px;
  background: rgba(var(--accent-orange-rgb), 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.25);
}

.featured-project-content h3 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.featured-project-content .project-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.featured-project-content .project-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.project-tag {
  display: inline-block;
  padding: 5px 13px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--btn-secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.project-tag:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Featured Preview Interactive Box */
.project-preview-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.preview-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.preview-flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.preview-flow-step .step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  flex-shrink: 0;
}

.preview-flow-step .step-label {
  font-weight: 600;
}

.preview-flow-step .step-desc {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-left: auto;
}

.preview-flow-connector {
  display: flex;
  justify-content: center;
  margin: -4px 0 6px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.selected-work-actions {
  text-align: center;
  margin-top: 48px;
}

/* Breadcrumbs Component */
.breadcrumb-nav {
  margin-bottom: 28px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--text-primary);
}

.breadcrumb-separator {
  color: var(--text-muted);
  user-select: none;
}

.breadcrumb-item.active {
  color: var(--text-primary);
  font-weight: 600;
}

/* Case Study Hub Styles */
.cs-hub-hero {
  padding: 120px 0 60px 0;
  text-align: center;
}

.cs-hub-hero h1 {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-top: 12px;
  margin-bottom: 20px;
}

.cs-hub-hero .cs-hub-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

.cs-hub-trust-box {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 32px;
  margin-top: 48px;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.cs-hub-trust-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Case Study Detail Article Styles */
.cs-detail-hero {
  padding: 120px 0 60px 0;
  border-bottom: 1px solid var(--border-color);
  background: radial-gradient(circle at 50% 0%, rgba(var(--accent-orange-rgb), 0.08) 0%, transparent 70%);
}

.cs-detail-header {
  max-width: 920px;
  margin: 0 auto;
}

.cs-descriptor {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.cs-detail-hero h1 {
  font-family: var(--font-title);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.cs-hero-statement {
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  padding-left: 20px;
  border-left: 3px solid var(--accent-orange);
  margin-top: 24px;
}

/* Section Containers & Prose */
.cs-body-section {
  padding: 60px 0;
}

.cs-prose {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.cs-prose h2 {
  font-family: var(--font-title);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
  margin-top: 40px;
}

.cs-prose h2:first-child {
  margin-top: 0;
}

.cs-prose h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.cs-prose p {
  margin-bottom: 24px;
}

/* Architecture Visual Component */
.cs-arch-wrapper {
  max-width: 1040px;
  margin: 40px auto;
  padding: 40px 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.cs-arch-lane {
  margin-bottom: 36px;
}

.cs-arch-lane:last-child {
  margin-bottom: 0;
}

.arch-lane-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.arch-lane-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(var(--accent-orange-rgb), 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.3);
}

.arch-lane-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.arch-nodes-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.arch-node {
  padding: 12px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.arch-node:hover {
  border-color: var(--accent-orange);
  transform: translateY(-2px);
}

.arch-node.highlight {
  border-color: rgba(var(--accent-orange-rgb), 0.5);
  background: rgba(var(--accent-orange-rgb), 0.08);
}

.arch-arrow {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1.1rem;
  user-select: none;
}

.arch-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 24px;
  text-align: center;
  font-style: italic;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

/* Reliability Cards Grid */
.reliability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.reliability-card {
  padding: 28px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.reliability-card:hover {
  border-color: rgba(var(--accent-orange-rgb), 0.3);
  transform: translateY(-3px);
}

.reliability-card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reliability-card h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.reliability-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 7-Step Flow Component */
.flow-steps-container {
  max-width: 860px;
  margin: 36px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-step-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.flow-step-item:hover {
  border-color: rgba(var(--accent-orange-rgb), 0.3);
  background: rgba(var(--accent-orange-rgb), 0.03);
}

.step-number {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-orange);
  background: rgba(var(--accent-orange-rgb), 0.1);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.flow-supporting-statement {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent-orange);
  padding: 16px 24px;
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 24px;
}

/* Technology Matrix Grid */
.tech-matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
  margin-bottom: 36px;
}

.tech-matrix-card {
  padding: 24px 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
}

.tech-matrix-card h3 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-orange);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.tech-matrix-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tech-matrix-card li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tech-matrix-card li::before {
  content: "•";
  color: var(--accent-orange);
  font-size: 1.2rem;
  line-height: 1;
}

/* Impact & Takeaway Callout Box */
.cs-impact-box {
  background: linear-gradient(135deg, rgba(var(--accent-orange-rgb), 0.06) 0%, transparent 100%);
  border: 1px solid rgba(var(--accent-orange-rgb), 0.2);
  border-radius: 16px;
  padding: 36px 32px;
  margin: 36px 0;
}

.cs-impact-box h2 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cs-impact-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.cs-impact-box p:last-child {
  margin-bottom: 0;
}

/* Detail Page CTA Box */
.cs-cta-section {
  padding: 80px 0 100px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(var(--accent-orange-rgb), 0.05) 0%, transparent 70%);
}

.cs-cta-box {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.cs-cta-box h2 {
  font-family: var(--font-title);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cs-cta-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 32px auto;
}

/* Responsive Media Queries for Case Studies */
@media (max-width: 1024px) {
  .featured-project-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px;
  }
  .reliability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cs-detail-hero h1 {
    font-size: 2.4rem;
  }
  .cs-hub-hero h1 {
    font-size: 2.4rem;
  }
  .featured-project-content h3 {
    font-size: 1.8rem;
  }
  .featured-project-card {
    padding: 24px;
  }
  .reliability-grid {
    grid-template-columns: 1fr;
  }
  .tech-matrix-grid {
    grid-template-columns: 1fr;
  }
  .arch-nodes-row {
    flex-direction: column;
    align-items: stretch;
  }
  .arch-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
  .arch-node {
    text-align: center;
    white-space: normal;
  }
  .cs-arch-wrapper {
    padding: 24px 16px;
  }
  .cs-cta-box {
    padding: 36px 20px;
  }
  .cs-cta-box h2 {
    font-size: 1.8rem;
  }
}

