/* PlanB - Design System CSS */
/* Version: 1.0.0 */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */

:root {
  /* Primary Colors - Teal/Cyan */
  --color-primary-50: #E6FFFE;
  --color-primary-100: #B3FFFC;
  --color-primary-200: #80FFF9;
  --color-primary-300: #4DFFF6;
  --color-primary-400: #1AFFF3;
  --color-primary-500: #00E6D9;
  --color-primary-600: #00B3A8;
  --color-primary-700: #008077;
  --color-primary-800: #004D47;
  --color-primary-900: #001A18;

  /* Secondary Colors - Indigo */
  --color-secondary-500: #6366F1;
  --color-secondary-600: #4F46E5;
  --color-secondary-700: #4338CA;

  /* Neutral Colors */
  --color-neutral-0: #FFFFFF;
  --color-neutral-50: #F8FAFC;
  --color-neutral-100: #F1F5F9;
  --color-neutral-200: #E2E8F0;
  --color-neutral-300: #CBD5E1;
  --color-neutral-400: #94A3B8;
  --color-neutral-500: #64748B;
  --color-neutral-600: #475569;
  --color-neutral-700: #334155;
  --color-neutral-800: #1E293B;
  --color-neutral-900: #0F172A;
  --color-neutral-950: #020617;

  /* Background Colors */
  --bg-primary: #0A0E17;
  --bg-secondary: #0F172A;
  --bg-tertiary: #1E293B;
  --bg-elevated: #1E293B;

  /* Surface Colors */
  --surface-card: #141B2D;
  --surface-card-hover: #1A2335;
  --surface-input: #0F172A;

  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  --text-accent: #00E6D9;

  /* Border Colors */
  --border-default: #1E293B;
  --border-subtle: #334155;
  --border-strong: #475569;
  --border-accent: #00E6D9;

  /* Status Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;
  --color-info: #3B82F6;

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A0E17 0%, #0F172A 50%, #1E293B 100%);
  --gradient-cta: linear-gradient(135deg, #00B3A8 0%, #4F46E5 100%);
  --gradient-accent: linear-gradient(90deg, #00E6D9 0%, #6366F1 100%);

  /* Typography */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(0, 230, 217, 0.3);
  --shadow-glow-strong: 0 0 30px rgba(0, 230, 217, 0.5);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 230, 217, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-normal: 250ms ease-out;
  --transition-slow: 350ms ease-out;

  /* Layout */
  --container-max: 1280px;
  --header-height: 72px;
  --header-height-mobile: 64px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-xl);
  font-weight: 600;
}

p {
  color: var(--text-secondary);
}

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

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.overline {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-500);
}

/* ========================================
   Layout
   ======================================== */

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

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-16);
  }
}

section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1024px) {
  section {
    padding: var(--space-24) 0;
  }
}

/* ========================================
   Header
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height-mobile);
  background: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition-normal), background var(--transition-normal);
}

@media (min-width: 768px) {
  .header {
    height: var(--header-height);
  }
}

.header.scrolled {
  border-bottom-color: var(--border-default);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.logo {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--color-primary-500);
}

.nav-links {
  display: none;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-500);
  transition: width var(--transition-normal);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: inline-flex;
  }
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: var(--color-primary-500);
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--color-primary-600);
  box-shadow: var(--shadow-glow-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary-500);
  border: 2px solid var(--color-primary-500);
}

.btn-secondary:hover {
  background: rgba(0, 230, 217, 0.1);
  border-color: var(--color-primary-400);
  color: var(--color-primary-400);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding-top: var(--header-height-mobile);
}

@media (min-width: 768px) {
  .hero {
    padding-top: var(--header-height);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 230, 217, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 230, 217, 0.1) 0%, transparent 35%),
    radial-gradient(circle at 60% 20%, rgba(0, 230, 217, 0.08) 0%, transparent 30%);
}

/* Animated grid overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 230, 217, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 217, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Gradient glow */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -20%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(0, 230, 217, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-overline {
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: var(--space-6);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--text-xl);
  }
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .hero-trust {
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
  }
}

.hero-trust-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.tech-logos {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.tech-logo {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  border: 1px solid var(--border-default);
}

.tech-logo:hover {
  border-color: var(--color-primary-500);
  transform: translateY(-2px);
}

.tech-logo img,
.tech-logo svg {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.tech-logo:hover img,
.tech-logo:hover svg {
  opacity: 1;
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: var(--space-16);
  }
}

.section-header .overline {
  margin-bottom: var(--space-3);
}

.section-header h2 {
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

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

/* ========================================
   Value Proposition Section
   ======================================== */

.value-section {
  background: var(--bg-secondary);
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: var(--space-8);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--surface-card));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.value-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(43%) saturate(1067%) hue-rotate(127deg) brightness(101%) contrast(101%);
}

.value-card:hover .value-icon {
  border-color: var(--color-primary-500);
  box-shadow: var(--shadow-glow);
}

.value-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.value-card p {
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: var(--color-primary-500);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.service-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(43%) saturate(1067%) hue-rotate(127deg) brightness(101%) contrast(101%);
}

.service-card:hover .service-icon {
  background: rgba(0, 230, 217, 0.1);
}

.service-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.service-card > p {
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.service-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary-500);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-fast);
}

.service-link:hover {
  color: var(--color-primary-400);
  gap: var(--space-3);
}

/* ========================================
   Process Section
   ======================================== */

.process-section {
  background: var(--bg-secondary);
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  position: relative;
}

@media (min-width: 768px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Timeline connector for desktop */
@media (min-width: 1024px) {
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary-500), var(--color-secondary-500));
    opacity: 0.3;
  }
}

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

.process-number {
  width: 56px;
  height: 56px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 auto var(--space-5);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-glow);
}

.process-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(43%) saturate(1067%) hue-rotate(127deg) brightness(101%) contrast(101%);
}

.process-step h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.process-duration {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary-500);
  margin-bottom: var(--space-3);
}

.process-step > p {
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ========================================
   Trust Section
   ======================================== */

.trust-section {
  background: var(--bg-primary);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trust-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-normal);
}

.trust-card:hover {
  border-color: var(--color-primary-500);
  box-shadow: var(--shadow-card-hover);
}

.trust-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(0, 230, 217, 0.1), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(0, 230, 217, 0.2);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(43%) saturate(1067%) hue-rotate(127deg) brightness(101%) contrast(101%);
}

.trust-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}

.trust-card p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ========================================
   Audience Section
   ======================================== */

.audience-section {
  background: var(--bg-secondary);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-card {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-normal);
}

.audience-card:hover {
  border-color: var(--color-primary-500);
}

.audience-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.audience-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audience-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(82%) sepia(43%) saturate(1067%) hue-rotate(127deg) brightness(101%) contrast(101%);
}

.audience-card h3 {
  font-size: var(--text-2xl);
  color: var(--text-primary);
}

.audience-list li {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-default);
  font-size: var(--text-base);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.audience-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.audience-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary-500);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ========================================
   Tech Stack Section
   ======================================== */

.tech-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-default);
  border-bottom: 1px solid var(--border-default);
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.tech-category {
  text-align: center;
}

.tech-category-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-5);
}

.tech-category-logos {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.tech-item {
  width: 90px;
  height: 90px;
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--transition-fast);
}

.tech-item:hover {
  border-color: var(--color-primary-500);
  transform: translateY(-2px);
}

.tech-item-icon {
  width: 36px;
  height: 36px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-item-icon img,
.tech-item-icon svg {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.tech-item:hover .tech-item-icon img,
.tech-item:hover .tech-item-icon svg {
  opacity: 1;
}

.tech-item-name {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  font-weight: 500;
}

.tech-item:hover .tech-item-name {
  color: var(--text-secondary);
}

/* ========================================
   FAQ Section
   ======================================== */

.faq-section {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.faq-item.open {
  border-color: var(--color-primary-500);
}

.faq-question {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}

.faq-question h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.faq-toggle::before {
  content: '+';
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.faq-item.open .faq-toggle {
  background: var(--color-primary-500);
}

.faq-item.open .faq-toggle::before {
  content: '-';
  color: var(--bg-primary);
}

.faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  display: none;
}

.faq-answer p {
  font-size: var(--text-sm);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .cta-section {
    padding: var(--space-20) 0;
  }
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(0, 230, 217, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(0, 230, 217, 0.1) 0%, transparent 35%);
}

/* Pattern overlay */
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.cta-section > .container > .cta-content > p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  font-weight: 600;
  border-radius: var(--radius-lg);
  display: inline-block;
  margin-bottom: var(--space-6);
  transition: all var(--transition-normal);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.cta-trust {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.cta-trust span {
  margin: 0 var(--space-2);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: var(--space-8) auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(0, 230, 217, 0.15);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.contact-form .cta-button {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: var(--space-4);
}

.contact-form .cta-button:hover {
  background: var(--accent-primary);
  color: var(--bg-primary);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-default);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer-brand .logo {
  margin-bottom: var(--space-4);
  display: inline-block;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 280px;
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-500);
}

.footer-bottom {
  border-top: 1px solid var(--border-default);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-legal {
    justify-content: flex-end;
  }
}

.footer-legal a {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-primary-500);
}

/* ========================================
   Animations
   ======================================== */

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animation for children */
.stagger-children > * {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

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

  html {
    scroll-behavior: auto;
  }
}

/* ========================================
   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;
}

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