/* ==========================================================================
   StackVivid — Design System & Main Stylesheet
   Engineered to Perform. Designed to Stand Out.
   Official Brand Identity: Electric Violet (#6835F9) × Sky Blue (#00A3FF) × Vivid Coral (#FF3366)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Theme Tokens (Dark & Light)
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  /* Color Mode Flag */
  color-scheme: dark;

  /* Brand Palette from Official Logo */
  --brand-violet: #6835F9;
  --brand-blue: #00A3FF;
  --brand-coral: #FF3366;
  --brand-violet-rgb: 104, 53, 249;
  --brand-blue-rgb: 0, 163, 255;
  --brand-coral-rgb: 255, 51, 102;

  /* Canvas: Dark Theme */
  --bg-primary: #080A10;
  --bg-secondary: #0E121E;
  --bg-surface: #13192B;
  --bg-surface-elevated: #182138;
  --bg-card: rgba(16, 22, 38, 0.78);
  --bg-card-hover: rgba(22, 30, 52, 0.92);
  --bg-glass: rgba(10, 13, 20, 0.85);

  /* Borders & Outlines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(104, 53, 249, 0.45);
  --border-blue: rgba(0, 163, 255, 0.38);
  --border-coral: rgba(255, 51, 102, 0.35);

  /* Accents */
  --accent-violet: #6835F9;
  --accent-violet-light: #9D7BFF;
  --accent-violet-dark: #4F1CE4;
  --accent-blue: #00A3FF;
  --accent-cyan: #38BDF8;
  --accent-coral: #FF3366;
  --accent-teal: #14B8A6;
  --accent-emerald: #10B981;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #6835F9 0%, #00A3FF 52%, #FF3366 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(104, 53, 249, 0.16) 0%, rgba(0, 163, 255, 0.12) 50%, rgba(255, 51, 102, 0.12) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(104, 53, 249, 0.22) 0%, rgba(0, 163, 255, 0.08) 50%, transparent 80%);
  --gradient-card-border: linear-gradient(135deg, rgba(104, 53, 249, 0.5) 0%, rgba(0, 163, 255, 0.25) 50%, rgba(255, 51, 102, 0.4) 100%);

  /* Ambient Background Radials */
  --bg-radial-1: rgba(104, 53, 249, 0.16);
  --bg-radial-2: rgba(0, 163, 255, 0.1);
  --bg-radial-3: rgba(255, 51, 102, 0.08);

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-accent: #00A3FF;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.06);
  --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 28px -4px rgba(104, 53, 249, 0.35);
  --shadow-glow: 0 0 30px rgba(104, 53, 249, 0.35);
}

/* Light Theme Variables */
[data-theme="light"] {
  /* Color Mode Flag */
  color-scheme: light;

  /* Brand Palette Adjusted for Light Surface Contrast */
  --brand-violet: #5E22EC;
  --brand-blue: #0087D6;
  --brand-coral: #E61E50;
  --brand-violet-rgb: 94, 34, 236;
  --brand-blue-rgb: 0, 135, 214;
  --brand-coral-rgb: 230, 30, 80;

  /* Canvas: Light Theme */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-surface: #F1F5F9;
  --bg-surface-elevated: #FFFFFF;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(248, 250, 252, 0.88);

  /* Borders & Outlines */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-accent: rgba(94, 34, 236, 0.35);
  --border-blue: rgba(0, 135, 214, 0.35);
  --border-coral: rgba(230, 30, 80, 0.35);

  /* Accents */
  --accent-violet: #5E22EC;
  --accent-violet-light: #6835F9;
  --accent-violet-dark: #4312B8;
  --accent-blue: #0087D6;
  --accent-cyan: #0284C7;
  --accent-coral: #E61E50;
  --accent-teal: #0D9488;
  --accent-emerald: #059669;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #5E22EC 0%, #0087D6 52%, #E61E50 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(94, 34, 236, 0.08) 0%, rgba(0, 135, 214, 0.08) 50%, rgba(230, 30, 80, 0.08) 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(94, 34, 236, 0.12) 0%, rgba(0, 135, 214, 0.05) 50%, transparent 80%);
  --gradient-card-border: linear-gradient(135deg, rgba(94, 34, 236, 0.35) 0%, rgba(0, 135, 214, 0.2) 50%, rgba(230, 30, 80, 0.25) 100%);

  /* Ambient Background Radials */
  --bg-radial-1: rgba(94, 34, 236, 0.07);
  --bg-radial-2: rgba(0, 135, 214, 0.06);
  --bg-radial-3: rgba(230, 30, 80, 0.05);

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --text-accent: #5E22EC;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 10px 28px -6px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 35px -10px rgba(94, 34, 236, 0.16), 0 4px 15px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 30px rgba(94, 34, 236, 0.18);
}

/* Shared Global Settings */
:root {
  /* Typography Families */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Layout & Spacing */
  --container-max: 1240px;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 24px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--bg-radial-1), transparent),
    radial-gradient(ellipse 60% 40% at 90% 40%, var(--bg-radial-2), transparent),
    radial-gradient(ellipse 60% 40% at 10% 70%, var(--bg-radial-3), transparent);
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Noise overlay for subtle organic texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

[data-theme="light"] body::before {
  opacity: 0.015;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Selection */
::selection {
  background-color: rgba(104, 53, 249, 0.4);
  color: #FFFFFF;
}

/* Accessible focus styling */
:focus-visible {
  outline: 2px solid var(--accent-violet-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent-violet);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   3. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 110px;
  padding-bottom: 110px;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding-top: 75px;
    padding-bottom: 75px;
  }
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-violet-light);
  background: rgba(var(--brand-violet-rgb), 0.12);
  border: 1px solid rgba(var(--brand-violet-rgb), 0.32);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.section-eyebrow .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--brand-blue);
  box-shadow: 0 0 10px var(--brand-blue);
  animation: pulse 2.2s infinite;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.section-description {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   4. Buttons, Badges & Theme Toggle
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(var(--brand-violet-rgb), 0.38);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--brand-violet-rgb), 0.55), 0 0 15px rgba(var(--brand-blue-rgb), 0.3);
  color: #FFFFFF;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .btn-secondary {
  background: #FFFFFF;
  border-color: var(--border-medium);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.btn-secondary:hover {
  background: rgba(var(--brand-violet-rgb), 0.08);
  border-color: var(--border-accent);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-normal);
  padding: 0;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-accent);
  transform: scale(1.08) rotate(12deg);
  box-shadow: 0 0 16px rgba(var(--brand-violet-rgb), 0.3);
}

.theme-toggle-btn svg {
  width: 19px;
  height: 19px;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

/* Dark Mode shows Sun Icon (switches to light) */
.theme-icon-sun {
  display: block;
  color: #FBBF24;
}
.theme-icon-moon {
  display: none;
  color: var(--accent-violet);
}

/* Light Mode shows Moon Icon (switches to dark) */
[data-theme="light"] .theme-icon-sun {
  display: none;
}
[data-theme="light"] .theme-icon-moon {
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation Bar
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 900;
  transition: background-color var(--transition-normal), 
              border-color var(--transition-normal), 
              box-shadow var(--transition-normal),
              backdrop-filter var(--transition-normal);
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand Wordmark & Official Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  user-select: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  box-shadow: 0 4px 14px rgba(var(--brand-violet-rgb), 0.2);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.brand:hover .brand-icon {
  transform: translateY(-2px) rotate(4deg);
  box-shadow: 0 6px 20px rgba(var(--brand-violet-rgb), 0.35);
}

.brand-icon svg {
  width: 26px;
  height: 26px;
}

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

/* Nav Menu (Desktop) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  z-index: 1001;
  padding: 0;
}

.mobile-toggle .bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-toggle .bar:not(:last-child) {
  margin-bottom: 5px;
}

.mobile-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.mobile-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
@media (max-width: 960px) {
  .mobile-header-actions {
    display: flex;
  }

  .nav-actions #theme-toggle {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 360px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-medium);
    box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + 30px) 32px 40px 32px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-actions {
    margin-top: 16px;
    width: 100%;
  }

  .nav-actions .btn {
    width: 100%;
  }

  .mobile-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    z-index: 950;
  }

  .mobile-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--nav-height) + 50px);
  padding-bottom: 90px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual-wrapper {
    max-width: 520px;
    margin: 10px auto 0 auto;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-headline {
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

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

.hero-lead {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 38px;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-tagline-badge strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-tagline-badge .sparkle-icon {
  color: var(--brand-coral);
  flex-shrink: 0;
}

/* Abstract Technology Visual */
.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.hero-visual-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(var(--brand-violet-rgb), 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all var(--transition-normal);
}

[data-theme="light"] .hero-visual-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(var(--brand-violet-rgb), 0.25);
}

/* Glowing corner accents on visual card */
.hero-visual-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(var(--brand-coral-rgb), 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(var(--brand-blue-rgb), 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.visual-dots {
  display: flex;
  gap: 7px;
}

.visual-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.visual-dots span:nth-child(1) { background: #FF3366; }
.visual-dots span:nth-child(2) { background: #00A3FF; }
.visual-dots span:nth-child(3) { background: #6835F9; }

.visual-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-violet-light);
  background: rgba(var(--brand-violet-rgb), 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(var(--brand-violet-rgb), 0.25);
}

/* System Flow Nodes */
.system-nodes-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.system-node-item {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: all var(--transition-normal);
  position: relative;
}

.system-node-item:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(var(--brand-violet-rgb), 0.15);
}

.system-node-item .node-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.node-icon-wrapper {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(var(--brand-violet-rgb), 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
}

.node-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.node-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.node-metric {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}

/* Data Flow Connectors */
.flow-connector {
  position: relative;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-connector::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-violet) 0%, var(--brand-blue) 50%, var(--brand-coral) 100%);
  opacity: 0.6;
}

.flow-connector .pulse-orb {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 10px var(--brand-blue), 0 0 20px var(--brand-coral);
  animation: flowOrb 3s infinite linear;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-accent);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm), 0 0 15px rgba(var(--brand-violet-rgb), 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 3;
}

.floating-badge-1 {
  top: -18px;
  right: 20px;
  animation: floatSlow 5s ease-in-out infinite;
}

.floating-badge-2 {
  bottom: -20px;
  left: 20px;
  animation: floatSlow 6s ease-in-out infinite reverse;
}

.floating-badge .badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-violet);
  color: #FFFFFF;
  font-size: 14px;
}

.floating-badge-2 .badge-icon {
  background: var(--brand-coral);
}

@media (max-width: 540px) {
  .floating-badge {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  grid-column: span 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(var(--brand-violet-rgb), 0.12);
  border: 1px solid rgba(var(--brand-violet-rgb), 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-violet);
  margin-bottom: 22px;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 0 20px rgba(var(--brand-violet-rgb), 0.5);
}

.service-card-num {
  position: absolute;
  top: 28px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dim);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.service-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.service-list-item svg {
  color: var(--brand-blue);
  flex-shrink: 0;
}

.service-card:hover .service-list-item {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   8. Why StackVivid Section
   -------------------------------------------------------------------------- */
.why-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(var(--brand-violet-rgb), 0.05) 50%, transparent 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.why-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.4), 0 0 20px -5px rgba(var(--brand-blue-rgb), 0.25);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--brand-blue-rgb), 0.12);
  border: 1px solid rgba(var(--brand-blue-rgb), 0.28);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform var(--transition-normal);
}

.why-card:hover .why-icon {
  transform: scale(1.1);
  background: rgba(var(--brand-blue-rgb), 0.2);
  box-shadow: 0 0 15px rgba(var(--brand-blue-rgb), 0.35);
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   9. Our Approach Section
   -------------------------------------------------------------------------- */
.approach-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 40px;
}

.approach-timeline::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0.4;
  z-index: 1;
}

@media (max-width: 992px) {
  .approach-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .approach-timeline::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .approach-timeline {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.approach-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  z-index: 2;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.approach-step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--brand-violet);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-violet);
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(var(--brand-violet-rgb), 0.3);
  transition: all var(--transition-normal);
}

.approach-step:hover .step-badge {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(var(--brand-violet-rgb), 0.6);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   10. Selected Project Experience Section
   -------------------------------------------------------------------------- */
.projects-header-wrapper {
  margin-bottom: 50px;
}

.projects-disclaimer-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(var(--brand-violet-rgb), 0.08);
  border: 1px solid rgba(var(--brand-violet-rgb), 0.28);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-top: 24px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: left;
}

.projects-disclaimer-banner svg {
  color: var(--brand-violet);
  flex-shrink: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-mockup-wrapper {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-window {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.project-card:hover .mockup-window {
  transform: scale(1.02);
}

.mockup-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-medium);
}

.mockup-nav-title {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
}

.mockup-body {
  padding: 16px;
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.mockup-bar {
  height: 10px;
  background: var(--border-subtle);
  border-radius: 5px;
}

.mockup-bar.accent-bar {
  background: var(--gradient-brand);
}

.mockup-chip {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(var(--brand-violet-rgb), 0.15);
  color: var(--brand-violet);
  border: 1px solid rgba(var(--brand-violet-rgb), 0.3);
}

.mockup-chip.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.3);
}

.mockup-chip.cyan {
  background: rgba(var(--brand-blue-rgb), 0.15);
  color: var(--brand-blue);
  border-color: rgba(var(--brand-blue-rgb), 0.3);
}

.project-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.35;
}

.project-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.project-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.project-feature-item svg {
  color: var(--brand-violet);
  flex-shrink: 0;
  margin-top: 3px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   11. About Founder Section
   -------------------------------------------------------------------------- */
.founder-section {
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(var(--brand-violet-rgb), 0.05) 50%, transparent 100%);
}

.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 960px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

.founder-portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card), 0 0 30px rgba(var(--brand-violet-rgb), 0.12);
  transition: all var(--transition-normal);
}

.founder-portrait-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-hover);
}

.founder-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 7;
  overflow: hidden;
  background: var(--bg-surface);
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.founder-portrait-card:hover .founder-img {
  transform: scale(1.03);
}

.founder-card-footer {
  padding: 20px 24px;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.founder-name-tag h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.founder-name-tag p {
  font-size: 0.8125rem;
  color: var(--brand-blue);
  font-weight: 600;
}

.founder-exp-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-coral);
  background: rgba(var(--brand-coral-rgb), 0.12);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(var(--brand-coral-rgb), 0.3);
}

.founder-story {
  display: flex;
  flex-direction: column;
}

.founder-quote {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.founder-quote p:not(:last-child) {
  margin-bottom: 16px;
}

.founder-credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 540px) {
  .founder-credentials-grid {
    grid-template-columns: 1fr;
  }
}

.credential-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all var(--transition-normal);
}

.credential-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
}

.credential-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.credential-num svg {
  color: var(--brand-blue);
}

.credential-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   12. Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  position: relative;
}

.contact-card {
  position: relative;
  background: radial-gradient(circle at 50% 0%, var(--bg-surface-elevated) 0%, var(--bg-card) 85%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  box-shadow: var(--shadow-card), 0 0 50px rgba(var(--brand-violet-rgb), 0.2);
  text-align: center;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 40px 24px;
  }
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--gradient-brand);
}

.contact-heading {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-subtext {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

.inquiry-intent-wrapper {
  margin-bottom: 32px;
}

.intent-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.intent-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.intent-chip {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.intent-chip:hover {
  background: rgba(var(--brand-violet-rgb), 0.15);
  border-color: rgba(var(--brand-violet-rgb), 0.4);
  color: var(--text-primary);
}

.intent-chip.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(var(--brand-violet-rgb), 0.4);
}

.email-contact-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 560px;
  margin: 0 auto 36px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.email-address-display {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-all;
}

.email-address-display svg {
  color: var(--brand-violet);
  flex-shrink: 0;
}

.email-actions-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.copy-toast {
  display: none;
  font-size: 0.8125rem;
  color: var(--accent-emerald);
  font-weight: 600;
  margin-top: 4px;
}

.copy-toast.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.contact-channels-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-item.disabled {
  opacity: 0.6;
}

.channel-status-tag {
  font-size: 0.6875rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

.static-site-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 24px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #06080E;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 35px 0;
  position: relative;
  color: #F8FAFC;
}

[data-theme="light"] .site-footer {
  background: #0B0E17;
  color: #F8FAFC;
}

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

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-coral);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #94A3B8;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #F8FAFC;
  margin-bottom: 18px;
}

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

.footer-link {
  font-size: 0.875rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-info {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94A3B8;
}

.footer-email-link {
  color: var(--brand-blue);
  font-weight: 600;
  word-break: break-all;
}

.footer-email-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 16px;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.back-to-top:hover {
  color: var(--brand-blue);
}

/* --------------------------------------------------------------------------
   14. Animations & Micro-Interactions
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes flowOrb {
  0% { top: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   15. Accessibility & Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-badge {
    animation: none !important;
  }
}
