/* ===================================================================
   ATOMI AGENCY WEBSITE STYLES
   Single CSS file for entire site
   =================================================================== */

/* ===================================================================
   1. DESIGN TOKENS (Section 2.1 of spec)
   =================================================================== */

:root {
  /* Colors */
  --bg-base: #181C23;
  --bg-surface: rgba(34, 41, 53, 0.92);
  --bg-surface-alt: rgba(24, 28, 35, 0.96);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --accent-primary: #00ADB5;
  --accent-bright: #00DEE8;
  --accent-secondary: #7B5CFF;
  --text-main: #FFFFFF;
  --text-muted: #A8B0BA;
  --text-faint: #7F8996;
  --text-error: #FF6B6B;
  --text-success: #4ECDC4;
  
  /* Shadows and glows */
  --shadow-glow-teal: 0 0 60px rgba(0, 222, 232, 0.18);
  --shadow-glow-purple: 0 0 90px rgba(123, 92, 255, 0.12);
  --focus-ring: 0 0 0 3px rgba(0, 222, 232, 0.5);
  
  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Spacing scale (8px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 96px;
  --space-6xl: 128px;
  
  /* Border radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-card: 24px;
  --radius-pill: 999px;
  
  /* Breakpoints */
  --bp-mobile: 768px;
  --bp-tablet: 1024px;
  --bp-desktop: 1024px;
  --bp-large: 1440px;
  --max-width: 1120px;
  
  /* Section padding */
  --section-padding-mobile: 32px;
  --section-padding-tablet: 48px;
  --section-padding-desktop: 80px;
}

/* ===================================================================
   2. RESET AND BASE STYLES (Section 11 of spec)
   =================================================================== */

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

html, body {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===================================================================
   3. TYPOGRAPHY (Section 2.2 of spec)
   =================================================================== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: clamp(1.2, 1.1 + 0.1vw, 1.1);
}

h2 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.125rem, 2vw + 0.25rem, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

/* Body text */
p {
  margin-bottom: 1.5em;
  max-width: 75ch;
}

/* Links */
a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.2s ease-out;
}

a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 2px;
}

/* Small text */
.text-small {
  font-size: clamp(0.75rem, 1vw + 0.25rem, 0.875rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* ===================================================================
   4. LAYOUT UTILITIES
   =================================================================== */

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

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

.section {
  padding: var(--section-padding-desktop) 0;
  position: relative;
  overflow: hidden;
}

.section:not(.hero-section) {
  margin-top: -60px;
  padding-top: calc(var(--section-padding-desktop) + 60px);
}

.section.alt-bg {
  background: var(--bg-surface-alt);
}

@media (max-width: 1024px) {
  .section {
    padding: var(--section-padding-tablet) 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-mobile) 0;
  }
}

/* Text utilities */
.text-center { text-align: center; }
.text-main { color: var(--text-main); }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }

/* ===================================================================
   5. GLASS CARD SYSTEM (Section 2.4 of spec)
   =================================================================== */

.glass-card {
  /* Background layers */
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(145deg, #222835, #171C22);
  
  /* Border */
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  
  /* Enhanced shadows with inner glow */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08), /* top edge highlight */
    var(--shadow-glow-teal),
    var(--shadow-glow-purple);
  
  /* Performance optimisation */
  transform: translateZ(0);
  will-change: transform;
  
  /* Default padding */
  padding: var(--space-3xl);
  
  transition: all 0.3s ease-out;
}

.glass-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 80px rgba(0, 222, 232, 0.25),
    0 0 120px rgba(123, 92, 255, 0.18);
}

@media (max-width: 768px) {
  .glass-card {
    padding: var(--space-xl);
  }
}

/* ===================================================================
   6. BUTTONS (Section 2.5 of spec)
   =================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-out;
  min-height: 44px; /* Touch-friendly */
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-bright));
  color: var(--text-main);
}

.btn-primary:hover {
  transform: scale(1.02) translateY(-1px);
  box-shadow: 0 0 30px rgba(0, 222, 232, 0.4);
  color: var(--text-main);
  text-decoration: none;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255,255,255,0.18);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
  color: var(--text-main);
  text-decoration: none;
}

.btn-secondary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ===================================================================
   7. FORM ELEMENTS (Section 2.6 of spec)
   =================================================================== */

.input-field {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  transition: all 0.2s ease-out;
  min-height: 44px; /* Touch-friendly */
}

.input-field::placeholder {
  color: var(--text-faint);
}

.input-field:hover {
  border-color: rgba(255,255,255,0.18);
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(0, 173, 181, 0.1);
}

.input-field.error {
  border-color: var(--text-error);
}

.input-field.success {
  border-color: var(--text-success);
}

.input-field:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Textarea */
textarea.input-field {
  resize: vertical;
  min-height: 120px;
}

/* Form validation messages */
.validation-message {
  font-size: 14px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.validation-message.error {
  color: var(--text-error);
}

.validation-message.success {
  color: var(--text-success);
}

/* ===================================================================
   8. NAVIGATION (Section 3.1 of spec)
   =================================================================== */

.nav-bar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(24, 28, 35, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 12px 20px;
  transition: all 0.3s ease-out;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 8px 32px rgba(0,0,0,0.15),
    0 2px 8px rgba(0,0,0,0.1);
  width: fit-content;
  max-width: calc(100vw - 40px);
  overflow: hidden;
}

.nav-bar.scrolled {
  background: rgba(24, 28, 35, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 12px 40px rgba(0,0,0,0.2),
    0 4px 16px rgba(0,0,0,0.12);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.nav-logo:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  padding: var(--space-sm) var(--space-sm);
  transition: color 0.2s ease-out;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--accent-primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-cta .btn {
  padding: 6px 16px;
  font-size: 14px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-sm);
}

@media (max-width: 1024px) {
  .nav-links {
    gap: var(--space-xl);
  }
  
  .nav-cta .btn {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Mobile menu overlay - hidden by default */
.nav-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-surface-alt);
  backdrop-filter: blur(20px);
  z-index: 9999;
  padding: var(--space-4xl);
  transform: translateX(-100%);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
}

.nav-mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-close {
  position: absolute;
  top: var(--space-xl);
  right: var(--space-xl);
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: var(--space-sm);
  transition: all 0.2s ease-out;
  z-index: 10000;
}

.nav-mobile-close:hover {
  color: var(--accent-bright);
  transform: rotate(90deg);
}

@media (max-width: 1024px) {
  .nav-links {
    gap: var(--space-lg);
  }
  
  .nav-links a {
    font-size: 14px;
    padding: var(--space-xs) var(--space-sm);
  }
}

@media (max-width: 768px) {
  .nav-bar {
    top: 16px;
    padding: 8px 16px;
  }
  
  .nav-container {
    gap: var(--space-lg);
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-links,
  .nav-cta {
    display: none;
  }
}

/* ===================================================================
   9. FOOTER (Section 3.2.9 of spec)
   =================================================================== */

.footer {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4xl) 0 var(--space-2xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-4xl);
  margin-bottom: var(--space-4xl);
}

.footer-brand {
  max-width: 400px;
}

.footer-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
}

.footer-logo a:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

.footer-tagline {
  margin-top: var(--space-lg);
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2xl);
}

.footer-column h4 {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease-out;
}

.footer-column a:hover {
  color: var(--text-main);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xl);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-faint);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-3xl) 0 var(--space-xl) 0;
  }
  
  .footer-content {
    gap: var(--space-2xl);
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* Mobile Navigation Styles */
.nav-links-mobile {
  list-style: none;
  margin-bottom: var(--space-3xl);
}

.nav-links-mobile li {
  margin-bottom: var(--space-lg);
}

.nav-links-mobile a {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  display: block;
  padding: var(--space-sm) 0;
}

.nav-links-mobile a:hover {
  color: var(--accent-bright);
  text-decoration: none;
}

.nav-cta-mobile {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ===================================================================
   10. REUSABLE COMPONENTS (Section 3.2 of spec)
   =================================================================== */

/* 2. HeroCard - Large glass card for major sections */
.hero-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-3xl);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 50%),
    linear-gradient(145deg, rgba(34, 41, 53, 0.85), rgba(24, 28, 35, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    var(--shadow-glow-teal),
    var(--shadow-glow-purple);
  position: relative;
  overflow: hidden;
  animation: heroGlow 4s ease-in-out infinite;
  z-index: 5;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 222, 232, 0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(123, 92, 255, 0.1), transparent 50%);
  z-index: -1;
  filter: blur(80px);
  animation: heroGlowBg 6s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% {
    background:
      radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 50%),
      linear-gradient(145deg, rgba(34, 41, 53, 0.85), rgba(24, 28, 35, 0.9));
  }
  50% {
    background:
      radial-gradient(circle at top left, rgba(255,255,255,0.12), transparent 50%),
      linear-gradient(145deg, rgba(34, 41, 53, 0.9), rgba(24, 28, 35, 0.95));
  }
}

@keyframes heroGlowBg {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .hero-card {
    padding: var(--space-2xl) var(--space-xl);
    margin: 0 var(--space-lg);
  }
}

/* 3. FeatureCard - Smaller glass cards for grids */
.feature-card {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(145deg, rgba(34, 41, 53, 0.8), rgba(24, 28, 35, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
  transition: all 0.3s ease-out;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 32px rgba(0, 222, 232, 0.15),
    0 4px 16px rgba(123, 92, 255, 0.1);
}

.feature-card h3 {
  color: var(--text-main);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.feature-card ul {
  list-style: none;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.feature-card li {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
  position: relative;
  line-height: 1.4;
}

.feature-card li::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: 600;
  position: absolute;
  left: 0;
}

.feature-card .card-link {
  color: var(--accent-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  flex-shrink: 0;
}

.feature-card .card-link:hover {
  color: var(--accent-bright);
  transform: translateX(2px);
}

/* 4. StatChip - Small rounded pill with icon + stat */
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(0, 173, 181, 0.1);
  border: 1px solid rgba(0, 173, 181, 0.2);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-bright);
  white-space: nowrap;
}

.stat-chip-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* 5. ProcessStep - Numbered step with visual progression */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-bright));
  color: var(--text-main);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto var(--space-lg) auto;
  position: relative;
  z-index: 2;
}

.process-step-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto var(--space-lg) auto;
  color: var(--accent-bright);
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* Connection line between steps on desktop */
@media (min-width: 769px) {
  .process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-bright));
    opacity: 0.3;
    z-index: 1;
  }
}

/* 6. TestimonialCard - Glass card with enhanced styling */
.testimonial-card {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(145deg, rgba(34, 41, 53, 0.8), rgba(24, 28, 35, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  font-size: 60px;
  font-weight: 700;
  color: var(--accent-primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: var(--space-xl);
  font-style: italic;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-weight: 600;
  font-size: 18px;
}

.testimonial-details h4 {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.testimonial-details p {
  color: var(--text-faint);
  font-size: 14px;
  margin: 0;
}

/* 7. CalloutStrip - Full-width conversion bar */
.callout-strip {
  background: linear-gradient(135deg, rgba(24, 28, 35, 0.95), rgba(34, 41, 53, 0.9));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 200%;
  background:
    radial-gradient(ellipse at center, rgba(0, 222, 232, 0.1), transparent 70%),
    radial-gradient(ellipse at center, rgba(123, 92, 255, 0.08), transparent 70%);
  z-index: 1;
  filter: blur(40px);
}

.callout-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.callout-strip h2 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  margin-bottom: var(--space-lg);
  color: var(--text-main);
}

.callout-strip p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.callout-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .callout-strip {
    padding: var(--space-2xl) 0;
  }
  
  .callout-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .callout-ctas .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* 8. FormBlock - Standardised form styling */
.form-block {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(145deg, rgba(34, 41, 53, 0.8), rgba(24, 28, 35, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
}

.form-block h3 {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--text-main);
}

.form-group {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: var(--space-sm);
  font-size: 14px;
}

.form-help {
  color: var(--text-faint);
  font-size: 12px;
  margin-top: var(--space-xs);
}

.form-submit {
  width: 100%;
  margin-top: var(--space-lg);
}

/* Loading state for forms */
.form-loading {
  opacity: 0.7;
  pointer-events: none;
}

.form-loading .btn {
  position: relative;
}

.form-loading .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.form-loading .btn span {
  opacity: 0;
}

/* Loading Spinner (Section 3.2.10 of spec) */
.loading-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===================================================================
   10. ANIMATIONS (Section 6 of spec)
   =================================================================== */

/* Fade up on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease-out;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift */
.hover-lift {
  transition: transform 0.2s ease-out;
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* ===================================================================
   11. ACCESSIBILITY (Section 7 of spec)
   =================================================================== */

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--accent-primary);
  color: var(--text-main);
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* Focus management */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===================================================================
   11. PAGE-SPECIFIC STYLES
   =================================================================== */

/* Home Page Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-6xl) 0;
  background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-base) 85%, transparent 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 222, 232, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(123, 92, 255, 0.1), transparent 50%);
  z-index: 1;
  filter: blur(100px);
  pointer-events: none;
  animation: gradientWaves 15s ease-in-out infinite;
}

@keyframes gradientWaves {
  0%, 100% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(5%) translateY(-3%) scale(1.05);
    opacity: 0.9;
  }
}

/* Subtle Particle Effects */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-bright);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 10px var(--accent-bright);
  animation: twinkle 4s ease-in-out infinite;
}

.particle:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  top: 40%;
  left: 80%;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  top: 60%;
  left: 30%;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  top: 75%;
  left: 70%;
  animation-delay: 3s;
}

.particle:nth-child(5) {
  top: 30%;
  left: 50%;
  animation-delay: 1.5s;
}

.particle:nth-child(6) {
  top: 55%;
  left: 90%;
  animation-delay: 2.5s;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.5);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  color: var(--accent-bright);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  max-width: none;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 700px !important;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.hero-trust p {
  max-width: none;
  text-align: center;
}

/* Floating Glass Orbs - Spread across entire section */
.floating-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.04), transparent 70%);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 20px 60px rgba(0, 222, 232, 0.05);
  opacity: 0.6;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 222, 232, 0.08), transparent 70%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 30px 80px rgba(0, 222, 232, 0.1);
  animation: float 20s ease-in-out infinite;
}

.orb-2 {
  width: 250px;
  height: 250px;
  top: 20%;
  right: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(123, 92, 255, 0.06), transparent 70%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 25px 70px rgba(123, 92, 255, 0.08);
  animation: float 18s ease-in-out infinite 3s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: 15%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 173, 181, 0.06), transparent 70%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 60px rgba(0, 173, 181, 0.07);
  animation: float 22s ease-in-out infinite 5s;
}

.orb-4 {
  width: 180px;
  height: 180px;
  bottom: 30%;
  right: 12%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 222, 232, 0.05), transparent 70%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 60px rgba(0, 222, 232, 0.06);
  animation: float 16s ease-in-out infinite 7s;
}

.orb-5 {
  width: 220px;
  height: 220px;
  top: 60%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 30% 30%, rgba(123, 92, 255, 0.05), transparent 70%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 25px 70px rgba(123, 92, 255, 0.06);
  animation: float 24s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px) scale(1);
  }
  33% {
    transform: translateY(-30px) translateX(20px) scale(1.05);
  }
  66% {
    transform: translateY(15px) translateX(-20px) scale(0.95);
  }
}

/* Problem Section */
.problem-section {
  padding-top: calc(var(--section-padding-desktop) * 1.5);
  padding-bottom: calc(var(--section-padding-desktop) * 1.5);
}

.problem-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5xl);
  align-items: center;
}

.problem-text h2 {
  margin-bottom: var(--space-lg);
}

.problem-text p {
  font-size: 18px;
  line-height: 1.6;
}

.icon-list {
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  font-size: 16px;
  transition: all 0.2s ease-out;
}

.icon-list li:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.icon-list .icon {
  font-size: 24px;
  flex-shrink: 0;
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-4xl);
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Case Study Section */
.case-study-carousel {
  position: relative;
  /*overflow-x: hidden;*/
  overflow-y: visible;
}

.case-study-carousel:focus {
  outline: none;
}

.case-study-carousel:focus-visible {
  outline: none;
  box-shadow: none;
}

.case-study-track {
  display: flex;
  gap: 0;
  width: 100%;
  transition: transform 0.4s ease;
  padding: var(--space-xl) 0 var(--space-3xl);
  overflow: visible;
}

.case-study-slide {
  min-width: 100%;
  flex: 1 0 100%;
  box-sizing: border-box;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.case-study-section {
  overflow: visible;
}

.case-study-slide .case-study-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.case-study-slide .feature-card {
  height: 100%;
}

.case-study-slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.case-study-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-self: center;
}

.case-study-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.case-study-nav {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: var(--radius-pill);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.case-study-nav:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.case-study-dots {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.case-study-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease-out;
  padding: 0;
  margin: 10px 0;
}

.case-study-dot.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(0, 222, 232, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .problem-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .case-study-slide .case-study-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
    padding: 100px 0 var(--space-4xl);
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-base) 90%, transparent 100%);
  }

  .section:not(.hero-section) {
    margin-top: -40px;
    padding-top: calc(var(--section-padding-mobile) + 40px);
  }

  .problem-section {
    padding-top: var(--section-padding-mobile);
    padding-bottom: var(--section-padding-mobile);
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .case-study-slide {
    padding: 0 var(--space-lg);
  }

  .case-study-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  .icon-list li {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

  /* Mobile orb adjustments */
  .orb-1 {
    width: 180px;
    height: 180px;
  }

  .orb-2 {
    width: 150px;
    height: 150px;
  }

  .orb-3 {
    width: 120px;
    height: 120px;
  }

  .orb-4 {
    width: 100px;
    height: 100px;
  }

  .orb-5 {
    width: 130px;
    height: 130px;
  }
}

/* ===================================================================
   12. UTILITY CLASSES
   =================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Spacing utilities */
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-lg); }
.mt-3 { margin-top: var(--space-xl); }
.mt-4 { margin-top: var(--space-2xl); }
.mt-5 { margin-top: var(--space-3xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-lg); }
.mb-3 { margin-bottom: var(--space-xl); }
.mb-4 { margin-bottom: var(--space-2xl); }
.mb-5 { margin-bottom: var(--space-3xl); }

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .feature-card {
    padding: var(--space-xl);
  }
}

/* ===================================================================
   13. AI TIME AUDIT LANDING PAGE STYLES
   =================================================================== */

/* Timeline Styles */
.timeline-step {
  position: relative;
  padding-left: 80px;
  margin-bottom: var(--space-4xl);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-bright));
  color: var(--text-main);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 222, 232, 0.3);
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 60px;
  width: 2px;
  height: calc(100% + var(--space-4xl));
  background: linear-gradient(180deg, var(--accent-primary), transparent);
  opacity: 0.3;
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-content h3 {
  margin-bottom: var(--space-md);
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Report Image Container */
.report-preview {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-preview img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.report-preview-placeholder {
  background: rgba(0, 173, 181, 0.05);
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-4xl) var(--space-2xl);
  color: var(--text-muted);
  font-size: 14px;
}

/* Pricing Card */
.pricing-card {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(145deg, rgba(34, 41, 53, 0.9), rgba(24, 28, 35, 0.95));
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-card);
  padding: var(--space-3xl);
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 0 60px rgba(0, 222, 232, 0.2);
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: var(--space-lg);
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: var(--space-xs);
  line-height: 1;
}

.price-note {
  font-size: 14px;
  color: var(--text-faint);
  margin-bottom: var(--space-2xl);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.pricing-features li {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-primary);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 18px;
}

/* Pricing section layout */
.pricing-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

/* FAQ Accordion */
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  overflow: hidden;
  transition: all 0.2s ease-out;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-xl);
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.faq-question:hover {
  color: var(--accent-bright);
}

.faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  transition: transform 0.2s ease-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Ideal For List */
.ideal-list {
  list-style: none;
  margin-top: var(--space-xl);
}

.ideal-list li {
  background: rgba(0, 173, 181, 0.05);
  border: 1px solid rgba(0, 173, 181, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-3xl);
  margin-bottom: var(--space-md);
  position: relative;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
}

.ideal-list li::before {
  content: '→';
  color: var(--accent-bright);
  font-weight: 700;
  position: absolute;
  left: var(--space-lg);
  font-size: 20px;
}

/* Report layout grid */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

/* Ensure pricing anchors land in view below sticky nav */
#payment-form,
#pricing-title {
  scroll-margin-top: 150px;
}

/* Mobile styles for AI Time Audit page */
@media (max-width: 768px) {
  #payment-form,
  #pricing-title {
    scroll-margin-top: 120px;
  }

  .timeline-step {
    padding-left: 70px;
  }

  .timeline-step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .timeline-step::before {
    left: 24px;
  }

  .price {
    font-size: 36px;
  }

  .pricing-card {
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
  }

  .report-grid,
  .pricing-payment-grid {
    grid-template-columns: 1fr;
  }
}
