/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
/* ==========================================================================
   UPDATED BRAND PALETTE (Matched to asirweb__logo.webp)
   ========================================================================== */
:root {
  /* Color Palette directly extracted from logo */
  --clr-primary: #021B4E;        /* Dark Navy from logo shield */
  --clr-primary-light: #082975;  /* Lighter navy for surface hover states */
  --clr-accent: #1BCDD7;         /* Bright Cyan from logo chevron */
  --clr-accent-hover: #4DE5EE;   /* Lighter cyan for button hovers */
  --clr-success: #22C55E;
  
  --clr-bg: #040816;             /* Ultra-dark navy base */
  --clr-surface: #0A142F;        /* Elevated card surface */
  --clr-card: #0F1D3F;           /* Elevated UI cards */
  --clr-text: #FFFFFF;           /* White (matching upper logo chevron) */
  --clr-muted: #94A3B8;          /* Soft grey-blue for secondary text */
  --clr-border: rgba(27, 205, 215, 0.12); /* Subtle cyan-tinted borders */
  --clr-glass: rgba(10, 20, 47, 0.7);

  /* Typography */
  --font-main: 'DM Sans', sans-serif;
  
  /* Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.375vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);

  /* Utilities */
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* ==========================================================================
   HEADER LOGO FIX
   ========================================================================== */
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 60px; 
  width: auto;
  display: block;
  
  /* This strips all color and turns the entire image pure white */
  filter: brightness(0) invert(1);
  
  transition: opacity var(--transition-smooth);
}

.brand-logo-link:hover .brand-logo-img {
  opacity: 0.75;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Update your global reset at the top of style.css */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offsets the sticky header perfectly */
}
body {
  font-family: var(--font-main);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   2. GLOBAL COMPONENTS (Buttons, Tags, etc.)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--clr-accent);
  color: var(--clr-bg);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
  background-color: #16d1bc;
}

.btn-secondary {
  background-color: var(--clr-surface);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}
/* ==========================================================================
   18. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* State added via JS when scrolling */
.site-header.scrolled {
  padding: 1rem 0;
  background-color: rgba(4, 8, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--clr-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: color var(--transition-smooth);
}

.nav-link:hover {
  color: var(--clr-text);
}

.nav-btn {
  padding: 0.75rem 1.5rem; /* Slightly smaller button for header */
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--clr-text);
  transition: var(--transition-smooth);
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 9px; }
.hamburger-line:nth-child(3) { top: 18px; }

/* Hamburger to X Animation */
.mobile-toggle.active .hamburger-line:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active .hamburger-line:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}
/* ==========================================================================
   SERVICES DROPDOWN MENU (Pure CSS)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.6rem;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform var(--transition-smooth);
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  min-width: 240px;
  padding: 0.5rem 0;
  margin-top: 1rem;
  
  /* Hidden by default, animated in via CSS */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-smooth);
  
  list-style: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  z-index: 1050;
}

/* Hover States to trigger dropdown */
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--clr-muted);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.dropdown-menu li a:hover {
  color: var(--clr-accent);
  background-color: rgba(255, 255, 255, 0.03);
  padding-left: 1.75rem; /* Slight indent effect on hover */
}

/* Dropdown Responsive Overrides */
@media screen and (max-width: 900px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    border: none;
    border-left: 2px solid var(--clr-border);
    border-radius: 0;
    margin-top: 0.5rem;
    padding: 0;
    
    /* Make it visible in the mobile stack */
    display: none; 
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item-dropdown:hover .dropdown-menu,
  .nav-item-dropdown:active .dropdown-menu {
    display: block;
  }
}
/* ==========================================================================
   HEADER RESPONSIVE (Mobile Menu)
   ========================================================================== */
@media screen and (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 100%;
    height: 100vh;
    background-color: var(--clr-bg);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--clr-border);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .nav-link {
    font-size: var(--text-xl);
  }
}
/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(10, 42, 94, 0.4) 0%, rgba(4, 8, 22, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--clr-text) 0%, var(--clr-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--clr-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   4. HERO VISUAL (GLASS DASHBOARD)
   ========================================================================== */
.glass-dashboard {
  background: var(--clr-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-dashboard::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dash-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 1rem;
}

.window-controls {
  display: flex;
  gap: 6px;
  margin-right: 1.5rem;
}

.window-controls span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-border);
}

.window-controls span:nth-child(1) { background: #FF5F56; }
.window-controls span:nth-child(2) { background: #FFBD2E; }
.window-controls span:nth-child(3) { background: #27C93F; }

.dash-title {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.dash-metric {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.metric-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 4px;
  box-shadow: 0 0 10px currentColor;
}
.metric-icon.success { color: var(--clr-success); background: var(--clr-success); }
.metric-icon.accent { color: var(--clr-accent); background: var(--clr-accent); }

.metric-info {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: var(--text-xs);
  color: var(--clr-muted);
  margin-bottom: 0.1rem;
}

.metric-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-text);
}

/* ==========================================================================
   5. ANIMATIONS & REVEALS
   ========================================================================== */
.floating-element {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.reveal {
  opacity: 0;
  visibility: hidden;
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}
/* ==========================================================================
   MEDIA QUERIES (Desktop-First fallback structure handled by Grid)
   ========================================================================== */

/* Tablet (Landscape) & Small Desktops */
@media screen and (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }
}

/* Tablet (Portrait) & Mobile */
@media screen and (max-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  .dash-grid {
    grid-template-columns: 1fr; /* Stack dashboard items on mobile */
  }
  
  .glass-dashboard {
    padding: 1.5rem;
  }
}
/* ==========================================================================
   6. RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .hero-container {
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .btn {
    width: 100%;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }
  
  .glass-dashboard {
    padding: 1.5rem;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .floating-element {
    animation: none;
  }
  .reveal {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
  }
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}
/* ==========================================================================
   7. GLOBAL SECTION STYLES
   ========================================================================== */
.section-padding {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-inline: auto;
}

.section-title {
  font-size: var(--text-3xl);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.text-muted {
  color: var(--clr-muted);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--clr-muted);
}

/* ==========================================================================
   8. TRUST SECTION (Infinite Ticker)
   ========================================================================== */
.trust-section {
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background-color: var(--clr-surface);
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
}

/* Gradient masks for smooth fade in/out on edges */
.trust-section::before,
.trust-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.trust-section::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-surface), transparent);
}

.trust-section::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-surface), transparent);
}

.ticker-wrapper {
  display: flex;
  width: fit-content;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  animation: scroll-ticker 30s linear infinite;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--clr-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background-color: var(--clr-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--clr-accent);
}

@keyframes scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   9. PROBLEMS WE SOLVE
   ========================================================================== */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-card {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  overflow: hidden;
  z-index: 1;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: -1;
  pointer-events: none;
}

.problem-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.problem-card:hover .card-glow {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.2;
}

/* Custom Colored Icons (Abstract CSS Shapes for Premium Feel) */
.card-icon.alert::after { background-color: #F59E0B; }
.card-icon.alert { border: 1px solid rgba(245, 158, 11, 0.3); }

.card-icon.critical::after { background-color: #EF4444; }
.card-icon.critical { border: 1px solid rgba(239, 68, 68, 0.3); }

.card-icon.warning::after { background-color: var(--clr-accent); }
.card-icon.warning { border: 1px solid rgba(20, 184, 166, 0.3); }

.card-title {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
  color: var(--clr-text);
}

.card-text {
  color: var(--clr-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR NEW SECTIONS
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
  
  .problems-grid {
    grid-template-columns: 1fr;
  }

  .trust-section::before,
  .trust-section::after {
    width: 50px; /* Smaller gradient mask on mobile */
  }
}
/* ==========================================================================
   10. WHY ASIRWEB (Statistics)
   ========================================================================== */
.stats-section {
  position: relative;
  background-color: var(--clr-bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  padding: 4rem 0;
}

.stat-card {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--clr-border);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-size: clamp(3rem, 4vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.text-accent {
  color: var(--clr-accent);
}

.stat-label {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.stat-desc {
  font-size: var(--text-sm);
  color: var(--clr-muted);
}

/* ==========================================================================
   11. MAINTENANCE PLANS (Pricing)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center; /* Centers items vertically so the featured card can pop out */
}

.pricing-card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* Featured Card Styles */
.pricing-card.featured {
  background-color: rgba(10, 42, 94, 0.2); /* Very subtle primary tint */
  border-color: rgba(20, 184, 166, 0.3); /* Accent tint */
  padding: 4rem 2rem; /* Taller padding makes it stand out naturally */
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.pricing-card.featured:hover {
  border-color: var(--clr-accent);
}

.featured-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(100% 100% at 50% 0%, rgba(20, 184, 166, 0.08) 0%, transparent 100%);
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--clr-accent);
  color: var(--clr-bg);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}

/* Pricing Header */
.pricing-header {
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.plan-name {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  min-height: 2.8rem; /* Keeps alignment even if text breaks to two lines */
}

.plan-price {
  font-size: clamp(2.5rem, 3vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-text);
  margin-top: 1rem;
  display: flex;
  align-items:baseline;
}

.plan-price .currency {
  font-size: var(--text-xl);
  color: var(--clr-muted);
  font-weight: 600;
  margin-right: 0.25rem;
}

.plan-price .billing {
  font-size: var(--text-base);
  color: var(--clr-muted);
  font-weight: 400;
  margin-left: 0.25rem;
}

/* Pricing Features */
.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1; /* Pushes the button to the bottom */
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-base);
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.pricing-features li.disabled {
  color: var(--clr-muted);
  opacity: 0.5;
}

/* CSS-drawn checkmarks (Saves an SVG network request) */
.check-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(34, 197, 94, 0.1);
  position: relative;
  flex-shrink: 0;
}

.check-icon::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 50%;
  width: 4px;
  height: 9px;
  border: solid var(--clr-success);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pricing-features li.disabled span {
  background-color: transparent;
  border: 1px solid var(--clr-border);
}

.pricing-features li.disabled span::after {
  display: none;
}

.plan-btn {
  width: 100%;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR STATS & PRICING
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    border-right: none;
    padding: 3rem 0;
  }
  
  .stat-card {
    border-right: none;
    padding: 1.5rem 0;
  }
  
  /* Add internal borders for 2x2 grid */
  .stat-card:nth-child(1), .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--clr-border);
  }
  .stat-card:nth-child(odd) {
    border-right: 1px solid var(--clr-border);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pricing-card.featured {
    padding: 3rem 2rem; /* Reset padding on mobile */
  }
}

@media screen and (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
  }
  
  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid var(--clr-border);
    padding: 2rem 0;
  }
  
  .stat-card:last-child {
    border-bottom: none;
  }
}
/* ==========================================================================
   12. OUR PROCESS
   ========================================================================== */
.process-section {
  background-color: var(--clr-bg);
  border-top: 1px solid var(--clr-border);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

/* Connecting Line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 24px; /* Aligns with the center of the number circle */
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--clr-border);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--clr-text);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

/* Glow effect when hovering over a step */
.process-step:hover .step-number {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.2);
}

.step-title {
  font-size: var(--text-xl);
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.step-desc {
  font-size: var(--text-base);
  color: var(--clr-muted);
  line-height: 1.6;
}

/* ==========================================================================
   13. PORTFOLIO (Case Studies)
   ========================================================================== */
.portfolio-section {
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.case-study-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 4rem;
  transition: var(--transition-smooth);
}

.case-study-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.industry-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-accent);
  background-color: rgba(20, 184, 166, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.case-client {
  font-size: var(--text-xl);
  color: var(--clr-text);
  margin-bottom: 2rem;
}

.case-metrics {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
}

.metric {
  font-size: var(--text-sm);
  color: var(--clr-text);
  font-weight: 600;
}

.case-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.detail-group p {
  font-size: var(--text-sm);
  color: var(--clr-muted);
  line-height: 1.6;
}

.detail-label {
  font-family: var(--font-main);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Subtle line above detail labels for structural hierarchy */
.detail-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background-color: var(--clr-accent);
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .case-study-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }

  .case-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  /* Collapse Process Timeline to Vertical */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .process-timeline::before {
    /* Reposition line for vertical layout */
    top: 0;
    left: 24px; /* Center of the 48px circle */
    width: 1px;
    height: 100%;
  }

  .process-step {
    display: flex;
    flex-direction: column;
  }

  .case-study-card {
    padding: 2rem;
  }

  .case-details {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   14. TESTIMONIALS
   ========================================================================== */
.testimonials-section {
  background-color: var(--clr-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #F59E0B; /* Gold for stars */
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  font-size: var(--text-lg);
  color: var(--clr-text);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  font-style: italic;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.placeholder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-surface), var(--clr-border));
  border: 1px solid var(--clr-border);
}

.client-name {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--clr-text);
}

.client-role {
  font-size: var(--text-sm);
  color: var(--clr-muted);
}

/* ==========================================================================
   15. FAQ
   ========================================================================== */
.faq-section {
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

.faq-container {
  max-width: 800px; /* Kept narrower for optimal reading length */
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Hide the default HTML marker */
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }

.faq-question {
  padding: 1.5rem 2rem;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Custom Plus/Minus Icon */
.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--clr-accent);
  transition: transform var(--transition-smooth);
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

/* Rotate icon when open */
.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--clr-muted);
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ==========================================================================
   16. FINAL CTA
   ========================================================================== */
.final-cta-section {
  position: relative;
  padding: 8rem 0;
  background-color: var(--clr-bg);
  text-align: center;
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.cta-title {
  font-size: var(--text-3xl);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--clr-text);
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: var(--text-lg);
  color: var(--clr-muted);
  margin-bottom: 2.5rem;
}

.cta-btn {
  font-size: var(--text-lg);
  padding: 1.25rem 2.5rem;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--clr-muted);
  font-size: var(--text-sm);
  max-width: 250px;
}

.footer-heading {
  font-size: var(--text-base);
  color: var(--clr-text);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links,
.footer-socials {
  list-style: none;
}

.footer-links li,
.footer-socials li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-socials a {
  color: var(--clr-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-smooth);
}

.footer-links a:hover,
.footer-socials a:hover {
  color: var(--clr-accent);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--clr-muted);
  font-size: var(--text-xs);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--clr-muted);
  text-decoration: none;
  transition: color var(--transition-smooth);
}

.footer-legal a:hover {
  color: var(--clr-accent);
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-question {
    padding: 1.25rem 1.5rem;
  }
  
  .faq-answer {
    padding: 0 1.5rem 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
/* ==========================================================================
   19. CONTACT FORM
   ========================================================================== */
.contact-section {
  background-color: var(--clr-bg);
}

.contact-container {
  max-width: 800px;
}

.terminal-window {
  background-color: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  display: flex;
  align-items: center;
  background-color: rgba(4, 8, 22, 0.5);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--clr-border);
}

.terminal-title {
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-size: var(--text-xs);
  color: var(--clr-muted);
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-24px); /* Offsets the window controls to perfectly center text */
}

.terminal-body {
  padding: 3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 1rem;
  color: var(--clr-text);
  font-family: var(--font-main);
  font-size: var(--text-base);
  transition: border-color var(--transition-smooth);
  outline: none;
}

.form-control:focus {
  border-color: var(--clr-accent);
}

.form-control::placeholder {
  color: rgba(148, 163, 184, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Validation Styles */
.error-msg {
  display: none;
  color: #EF4444; /* Critical Red */
  font-size: var(--text-xs);
  margin-top: 0.5rem;
}

.form-group.has-error .form-control {
  border-color: #EF4444;
}

.form-group.has-error .error-msg {
  display: block;
}

.submit-btn {
  width: 100%;
}

/* Form Status Messages */
.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-size: var(--text-sm);
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--clr-success);
  border: 1px solid var(--clr-success);
}

.form-status.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: 1px solid #EF4444;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media screen and (max-width: 768px) {
  .terminal-body {
    padding: 2rem 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}