/* ==========================================================================
   Clipping Path Masterly — Modern Studio Design System
   Benchmark: Pixelz, Path Edits, FixThePhoto
   Craft: High-Precision Dark Studio Aesthetic (Anti-Generic AI)
   ========================================================================== */

:root {
  /* Surface & Background Colors */
  --bg-main: #080B10;
  --bg-surface: #0E131C;
  --bg-card: #131A26;
  --bg-card-hover: #182232;
  --bg-card-elevated: #1E293B;
  --bg-input: #0B0F17;

  /* Accent & Highlight Colors */
  --accent: #00F0C8;
  --accent-hover: #2BFFDA;
  --accent-dim: #00C4A3;
  --accent-soft: rgba(0, 240, 200, 0.08);
  --accent-glow: rgba(0, 240, 200, 0.22);
  --accent-blue: #38BDF8;
  --accent-blue-soft: rgba(56, 189, 248, 0.08);
  --accent-amber: #F59E0B;
  --accent-amber-soft: rgba(245, 158, 11, 0.1);
  --accent-rose: #F43F5E;
  --accent-rose-soft: rgba(244, 63, 94, 0.1);
  --accent-slate: #94A3B8;
  --accent-slate-soft: rgba(148, 163, 184, 0.08);

  /* Typography Colors */
  --text-hi: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #080B10;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(0, 240, 200, 0.4);
  --border-active: #00F0C8;

  /* Typography Font Stacks */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, Menlo, monospace;

  /* Dimensions & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --max-width: 1200px;
  --header-height: 80px;

  /* Spacing Tiers (varied visual rhythm) */
  --section-lg: 120px;
  --section-md: 88px;
  --section-sm: 56px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-accent: 0 8px 25px -4px rgba(0, 240, 200, 0.3);
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: hidden;
  max-width: 100vw;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Noise Texture Overlay (premium — Linear/Raycast style) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 240, 200, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.028;
  pointer-events: none;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Common Layout Containers */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  padding: var(--section-md) 0;
  z-index: 1;
}

section.section-lg { padding: var(--section-lg) 0; }
section.section-sm { padding: var(--section-sm) 0; }

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
  section.section-lg { padding: 80px 0; }
  section.section-sm { padding: 40px 0; }
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.35;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 240, 200, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

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

/* Section Head — Left Aligned Variant */
.section-head--left {
  text-align: left;
  max-width: none;
  margin: 0 0 48px 0;
}

.section-head--left .eyebrow {
  margin-bottom: 10px;
}

/* Section Head — Split Variant (heading left, description right) */
.section-head--split {
  text-align: left;
  max-width: none;
  margin: 0 0 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}

.section-head--split .eyebrow {
  grid-column: 1 / -1;
}

.section-head--split p {
  margin-top: 0;
}

@media (max-width: 768px) {
  .section-head--split {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.section-head p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-top: 12px;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, #00F0C8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 11, 16, 0.82);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

header.scrolled {
  background: rgba(8, 11, 16, 0.94);
  border-bottom: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-elevated));
  border: 1px solid rgba(0, 240, 200, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 240, 200, 0.12);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.logo:hover .logo-badge {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(0, 240, 200, 0.25);
}

.logo-word {
  display: flex;
  flex-direction: column;
}

.logo-word .l1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-hi);
  letter-spacing: -0.01em;
}

.logo-word .l2 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-hi);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

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

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-hi);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  position: relative;
  transition: background var(--transition-fast);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  transition: transform var(--transition-fast);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { bottom: -6px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  right: -100%;
  width: min(320px, 85vw);
  height: calc(100vh - var(--header-height));
  background: var(--bg-surface);
  border-left: 1px solid var(--border-card);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 99;
  transition: right var(--transition-normal);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu-backdrop {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 960px) {
  .nav-links, .nav-ctas {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(0, 240, 200, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(0, 240, 200, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-hi);
  border: 1px solid var(--border-card);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent-hover);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-card-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.tag-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(0, 240, 200, 0.25);
}

.tag-blue {
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
  border-color: rgba(56, 189, 248, 0.25);
}

.tag-gold {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.25);
}

.tag-rose {
  background: var(--accent-rose-soft);
  color: var(--accent-rose);
  border-color: rgba(244, 63, 94, 0.25);
}

.tag-slate {
  background: var(--accent-slate-soft);
  color: var(--accent-slate);
  border-color: rgba(148, 163, 184, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-lede {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-proof-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.proof-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.proof-pill svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Hero Live Interactive Card */
.hero-visual {
  position: relative;
}

.hero-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.hero-preview-card:hover {
  border-color: rgba(0, 240, 200, 0.4);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.hero-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-card-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.hero-badge-float {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--bg-card-elevated);
  border: 1px solid var(--accent);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.hero-badge-float .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent);
}

.hero-badge-float .lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

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

/* ==========================================================================
   Trust Bar & Compliance Logos
   ========================================================================== */
.trust-bar {
  padding: 32px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-bottom: 28px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-hi);
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.platforms-strip {
  margin-top: 24px;
  text-align: center;
}

.platforms-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.platform-chip {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   Interactive Pricing Calculator (Benchmark: Path Edits & Pixelz)
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 100%);
}

.calc-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-group-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tier Selection Cards */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  text-align: left;
}

.tier-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 200, 0.3);
}

.tier-card.active {
  background: var(--bg-card-elevated);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 240, 200, 0.15);
}

.tier-card.active::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.tier-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-hi);
  margin-bottom: 4px;
}

.tier-price-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}

.tier-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Volume Slider */
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-val-badge {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 240, 200, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.calc-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  outline: none;
  cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 12px var(--accent);
  transition: transform var(--transition-fast);
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Turnaround Selector Tabs */
.turnaround-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.turnaround-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.turnaround-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-hi);
}

.turnaround-btn.active {
  background: var(--bg-card-elevated);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 240, 200, 0.15);
}

/* Calculator Summary Box */
.calc-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.calc-summary-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
}

.summary-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.summary-row.discount-row {
  color: var(--accent);
  font-weight: 600;
}

.summary-total-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.total-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.total-price-display {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 16px 0;
}

.total-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-hi);
  letter-spacing: -0.03em;
}

.per-image-amount {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.calc-cta-btn {
  width: 100%;
  margin-top: 12px;
}

.calc-reassurance {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 960px) {
  .calc-container {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ==========================================================================
   Why Us / Manual vs AI Breakdown — Asymmetric Bento Layout
   ========================================================================== */
.why-section {
  background: var(--bg-main);
  padding: var(--section-lg) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* First card spans left column full height — featured card */
.why-card:first-child {
  grid-row: 1 / 3;
  padding: 40px 32px;
}

.why-card:first-child h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
}

.why-card:first-child p {
  font-size: 1rem;
}

/* Left accent bar hover — slides in from left */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 4px 4px 0;
}

.why-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.why-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.why-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 240, 200, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.why-card h3 {
  margin-bottom: 12px;
  color: var(--text-hi);
}

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

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card:first-child {
    grid-row: auto;
    padding: 32px 24px;
  }
}

/* ==========================================================================
   Services Grid — Featured Bento Layout
   ========================================================================== */
.services-section {
  background: var(--bg-surface);
  padding: var(--section-lg) 0;
}

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

/* First two service cards span 2 columns — featured pair */
.service-card.service-featured {
  grid-column: span 2;
  padding: 36px 32px;
}

.service-card.service-featured h3 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

/* Gradient top-border stripe hover (service-specific) */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  border-color: rgba(0, 240, 200, 0.35);
  box-shadow: var(--shadow-md);
}

.service-card-top {
  margin-bottom: 24px;
}

.service-price-chip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin: 12px 0 8px 0;
}

.service-card h3 {
  margin-bottom: 10px;
  color: var(--text-hi);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  margin-top: 16px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-link:hover {
  color: var(--accent-hover);
  gap: 10px;
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card.service-featured {
    grid-column: span 1;
  }
}

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

/* ==========================================================================
   Portfolio & Interactive Before/After Sliders
   ========================================================================== */
.portfolio-section {
  background: var(--bg-main);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-hi);
  border-color: var(--border-card);
}

.filter-btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--text-inverse);
  font-weight: 600;
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(0, 240, 200, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item:hover {
  border-color: rgba(0, 240, 200, 0.4);
  box-shadow: var(--shadow-lg);
}

/* Before / After Slider Engine */
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  background: #000;
  --compare-pos: 50%;
}

.compare-after,
.compare-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.compare-after {
  z-index: 1;
}

.compare-before {
  z-index: 2;
  width: var(--compare-pos);
  overflow: hidden;
  border-right: 2px solid var(--accent);
}

.compare-before-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.compare-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.compare-label-tag {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 3;
  backdrop-filter: blur(8px);
}

.tag-after {
  right: 12px;
  background: rgba(0, 240, 200, 0.85);
  color: #080B10;
}

.tag-before {
  left: 12px;
  background: rgba(8, 11, 16, 0.85);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-pos);
  width: 40px;
  margin-left: -20px;
  z-index: 4;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-grip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 15px rgba(0, 240, 200, 0.5), var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.compare-grip svg {
  width: 18px;
  height: 18px;
  stroke: #080B10;
}

.compare-handle:hover .compare-grip,
.compare-handle:focus-visible .compare-grip {
  transform: scale(1.15);
}

.view-larger {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(8, 11, 16, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
}

.view-larger:hover {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

.portfolio-meta-box {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compare-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-caption h3 {
  font-size: 1.1rem;
}

.portfolio-meta {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.portfolio-request-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  padding: 4px 0;
  margin-top: 4px;
}

.portfolio-request-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

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

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 16, 0.92);
  backdrop-filter: blur(16px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  width: 100%;
  max-width: 1000px;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-hi);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--text-inverse);
}

/* ==========================================================================
   4-Step Studio Production Workflow — Horizontal Timeline Layout
   ========================================================================== */
.workflow-section {
  background: var(--bg-surface);
  padding: var(--section-sm) 0 var(--section-md) 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Timeline connector line across all steps */
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--accent-amber), var(--accent));
  opacity: 0.35;
  z-index: 0;
}

.step-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: none;
}

.step-card:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 0 20px rgba(0, 240, 200, 0.4);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-card);
  border: 2px solid var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 0 12px rgba(0, 240, 200, 0.2);
}

.step-card h3 {
  margin-bottom: 10px;
  color: var(--text-hi);
  font-size: 1.05rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
  .workflow-steps::before {
    display: none;
  }
  .step-card {
    align-items: flex-start;
    text-align: left;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
  }
}

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

/* ==========================================================================
   Deliverables & Compliance — Horizontal Inline Layout
   ========================================================================== */
.deliverables-section {
  background: var(--bg-main);
  padding: var(--section-sm) 0;
}

.deliverables-grid {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
}

.deliv-card {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--border-subtle);
  transition: background var(--transition-normal);
}

.deliv-card:last-child {
  border-right: none;
}

.deliv-card:hover {
  background: var(--bg-card);
}

.deliv-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.deliv-card h3 {
  font-size: 1.1rem;
}

.deliv-card p {
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .deliverables-grid {
    flex-direction: column;
  }
  .deliv-card {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .deliv-card:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   Client Testimonials — Staggered Masonry Layout
   ========================================================================== */
.testimonials-section {
  background: var(--bg-surface);
  padding: var(--section-md) 0;
}

.t-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Stagger alternate cards for visual rhythm */
.t-card:nth-child(even) {
  margin-top: 28px;
}

.t-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

/* Large decorative quotation mark */
.t-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(0, 240, 200, 0.08);
  pointer-events: none;
}

/* Subtle scale hover (no translate) */
.t-card:hover {
  border-color: var(--border-hover);
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.t-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.t-rating-stars {
  display: flex;
  gap: 2px;
}

.t-rating-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-amber);
  stroke: none;
}

.t-rating-score {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: var(--accent-amber-soft);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.t-quote {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.t-author {
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.t-author .who {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-hi);
}

.t-author .where {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

@media (max-width: 640px) {
  .t-grid {
    grid-template-columns: 1fr;
  }
  .t-card:nth-child(even) {
    margin-top: 0;
  }
}

/* ==========================================================================
   Resources & Guides Knowledge Hub
   ========================================================================== */
.resources-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: var(--section-md) 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.resource-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-amber));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-card:hover::after {
  transform: scaleX(1);
}

.resource-card:hover {
  border-color: rgba(0, 240, 200, 0.35);
  box-shadow: var(--shadow-md);
}

.resource-card h3 {
  font-size: 1.35rem;
  margin: 12px 0;
  line-height: 1.4;
  color: var(--text-hi);
}

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

.resource-card .btn {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
  .resource-card {
    padding: 24px;
  }
}

/* ==========================================================================
   Accordion FAQ
   ========================================================================== */
.faq-section {
  background: var(--bg-main);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(0, 240, 200, 0.3);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-hi);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Dual-Tab Free Trial & Quote Request Form
   ========================================================================== */
.form-section {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-tab-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: var(--bg-surface);
  padding: 6px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.form-tab-btn {
  background: transparent;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.form-tab-btn.active {
  background: var(--bg-card-elevated);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-hi);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-hi);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 240, 200, 0.15);
}

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

/* Modern File Dropzone */
.dropzone-box {
  border: 2px dashed var(--border-card);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.dropzone-box:hover,
.dropzone-box.dragover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.dropzone-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px auto;
  color: var(--accent);
}

.dropzone-text {
  font-size: 0.9rem;
  color: var(--text-hi);
  font-weight: 500;
}

.dropzone-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.file-preview-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-hi);
}

.file-chip-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.file-chip-remove:hover {
  color: #EF4444;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  margin: 8px 0;
}

.consent-check input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.form-status {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10B981;
  color: #34D399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #F87171;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

@media (max-width: 640px) {
  .form-wrapper {
    padding: 24px 18px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer — Enhanced with Social + Newsletter
   ========================================================================== */
footer {
  background: #05070B;
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 32px 0;
  position: relative;
  z-index: 1;
}

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

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
}

/* Social Media Links */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-inverse);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

/* Newsletter Signup Row */
.footer-newsletter {
  padding: 32px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter-text {
  flex: 1;
}

.newsletter-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 4px;
}

.newsletter-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.newsletter-form input {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-hi);
  width: 260px;
  transition: border-color var(--transition-fast);
}

.newsletter-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 240, 200, 0.15);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter-form input {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .newsletter-form {
    flex-direction: column;
  }
}

/* ==========================================================================
   Sticky Bottom Quick Action Bar
   ========================================================================== */
.sticky-action-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(14, 19, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 8px 12px 8px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 240, 200, 0.15);
  z-index: 90;
  transition: all var(--transition-normal);
}

.sticky-action-bar.is-hidden {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.sticky-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-hi);
}

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

/* ==========================================================================
   Subpage Specific Styles (Service Pages & Legal Pages)
   ========================================================================== */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: calc(var(--header-height) + 24px) 0 12px 0;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.content-prose {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 32px;
  margin-bottom: 64px;
}

.content-prose h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.content-prose h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.content-prose p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.content-prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.content-prose li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
  .content-prose {
    padding: 24px;
  }
}

/* ==========================================================================
   Reduced Motion Accessibility (WCAG 2.1 — Level AAA)
   Respects OS-level "Reduce motion" setting on macOS, Windows, iOS, Android.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .sticky-action-bar {
    transition: none;
  }

  .logo-badge,
  .btn,
  .tier-card,
  .service-card,
  .why-card,
  .t-card,
  .faq-item,
  .nav-toggle span,
  header {
    transition: none !important;
  }
}
