/* OPTICAST DIGITAL - PREMIUM REDESIGN
   "Dark architectural sci-fi with controlled neon accents"
   75% deep charcoal / 15% cool neutral text / 10% accent lighting
*/

/* ========== DESIGN TOKENS ========== */
:root {
  --primary: #0047ff;
  --secondary: #ff5f00;
  --tertiary: #39ff14;
  --bg-main: #090a0c;
  --bg-surface: #121315;
  --bg-container: #1f2022;
  --bg-lowest: #0d0e10;
  --bg-high: #292a2c;
  --text-main: #f9fafa;
  --text-secondary: #c7c4d7;
  --text-muted: #908fa0;
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.7, 0, 0.3, 1);
  --animate-first: moveVertical 30s ease infinite;
  --animate-second: moveInCircle 20s reverse infinite;
  --animate-third: moveInCircle 40s linear infinite;
  --animate-fourth: moveHorizontal 40s ease infinite;
  --animate-fifth: moveInCircle 20s ease infinite;
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h3 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

h4 {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--text-muted);
}

.body-lg {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.body-md {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ========== LAYOUT ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr 1fr;
}

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

  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

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

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s var(--ease-expo);
}

.nav.scrolled {
  background: rgba(9, 10, 12, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem clamp(1.5rem, 4vw, 4rem);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo span {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-phone {
  color: var(--text-secondary) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  transition: color 0.3s ease !important;
}

.nav-phone:hover {
  color: var(--text-main) !important;
}

.nav-cta {
  background: var(--secondary);
  color: white !important;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  transition: all 0.3s var(--ease-expo) !important;
  box-shadow: 0 4px 20px rgba(255, 95, 0, 0.25);
}

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

.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
}

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

  .nav-mobile-toggle {
    display: none;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: -2px;
  z-index: 0;
  overflow: hidden;
  background: var(--bg-main);
}

.hero-video-wrap video {
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  opacity: 0.35;
  margin: -2px;
  transition:
    visibility 0.3s ease,
    opacity 0.3s ease;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      var(--bg-main) 0%,
      transparent 25%,
      transparent 65%,
      var(--bg-main) 100%
    ),
    linear-gradient(to right, rgba(9, 10, 12, 0.5), transparent, rgba(9, 10, 12, 0.5));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 71, 255, 0.08);
  border: 1px solid rgba(0, 71, 255, 0.2);
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--tertiary);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

.hero-badge span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--secondary);
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  color: var(--primary);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.4s var(--ease-expo);
  box-shadow: 0 8px 30px rgba(255, 95, 0, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 95, 0, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  padding: 0.9rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s var(--ease-expo);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.btn-ghost:hover {
  gap: 0.75rem;
}

.btn-ghost svg {
  transition: transform 0.3s ease;
}

.btn-ghost:hover svg {
  transform: translateX(4px);
}

/* ========== SECTIONS ========== */
.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-main);
}

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

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

/* Light section for dark-to-light transitions */
.section-light {
  background: #f9fafa;
  color: #090a0c;
}

.section-light h2,
.section-light h3,
.section-light h4 {
  color: #090a0c;
}

.section-light .body-lg {
  color: #3a3a4a;
}

.section-light .body-md {
  color: #5a5a6a;
}

.section-light .label {
  color: var(--primary);
}

.section-light .card {
  background: white;
  border-color: rgba(0, 0, 0, 0.08);
}

.section-light .card:hover {
  border-color: rgba(0, 71, 255, 0.2);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .label {
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-container);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: all 0.5s var(--ease-expo);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(0, 71, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.card-icon.blue {
  background: rgba(0, 71, 255, 0.1);
  color: var(--primary);
}

.card-icon.orange {
  background: rgba(255, 95, 0, 0.1);
  color: var(--secondary);
}

.card-icon.green {
  background: rgba(57, 255, 20, 0.1);
  color: var(--tertiary);
}

.card h4 {
  margin-bottom: 0.75rem;
}

/* Feature card with glow effect */
.card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

/* ========== STATS BAR ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
}

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

.stat {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  background: var(--bg-surface);
}

.stat-value {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.stat-value.blue {
  color: var(--primary);
}

.stat-value.orange {
  color: var(--secondary);
}

.stat-value.green {
  color: var(--tertiary);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== PROCESS SECTION ========== */
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.process-number {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(0, 71, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.process-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 71, 255, 0.3), transparent);
  margin: 0.5rem 0 0.5rem 23px;
}

/* ========== IMAGE SHOWCASES ========== */
.showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-expo);
}

.showcase:hover img {
  transform: scale(1.03);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 10, 12, 0.7) 0%, transparent 50%);
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: clamp(5rem, 12vw, 10rem) 0;
  position: relative;
  overflow: hidden;
}

.gradient-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(40deg, var(--bg-surface), var(--bg-lowest));
  overflow: hidden;
}

.gradient-bg-container svg {
  position: absolute;
  width: 0;
  height: 0;
}

.gradients-container {
  position: absolute;
  inset: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: hard-light;
  opacity: 0.6;
  filter: blur(30px);
}

.gradient-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(40deg, var(--bg-surface), var(--bg-lowest));
  overflow: hidden;
}

.gradient-bg-container svg {
  position: absolute;
  width: 0;
  height: 0;
}

.gradients-container {
  position: absolute;
  inset: 0;
  filter: blur(40px) url(#blurMe);
}

.gradients-container.blur-2xl {
  filter: blur(80px);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: hard-light;
}

.gradient-orb-1 {
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  background: radial-gradient(circle at center, rgba(0, 71, 255, 1) 0%, rgba(0, 71, 255, 0) 50%);
  transform-origin: center center;
  animation: moveVertical 30s ease infinite;
}

.gradient-orb-2 {
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  background: radial-gradient(circle at center, rgba(255, 95, 0, 0.8) 0%, rgba(255, 95, 0, 0) 50%);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
}

.gradient-orb-3 {
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  background: radial-gradient(
    circle at center,
    rgba(57, 255, 20, 0.8) 0%,
    rgba(57, 255, 20, 0) 50%
  );
  transform-origin: calc(50% + 400px);
  animation: moveInCircle 40s linear infinite;
}

.gradient-orb-4 {
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  background: radial-gradient(circle at center, rgba(0, 71, 255, 0.8) 0%, rgba(0, 71, 255, 0) 50%);
  transform-origin: calc(50% - 200px);
  animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}

.gradient-orb-5 {
  width: 80%;
  height: 80%;
  top: calc(50% - 40%);
  left: calc(50% - 40%);
  background: radial-gradient(circle at center, rgba(255, 95, 0, 0.8) 0%, rgba(255, 95, 0, 0) 50%);
  transform-origin: calc(50% - 800px) calc(50% + 800px);
  animation: moveInCircle 20s ease infinite;
}

.gradient-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.5) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}

.cta-content-card {
  position: relative;
  display: inline-block;
  background: rgba(9, 10, 12, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 3rem 4rem;
  max-width: 700px;
}

.cta-section h2 {
  margin-bottom: 1.25rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-lowest);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s var(--ease-expo),
    transform 0.8s var(--ease-expo);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ========== LIGHT DISPLAY ACCENTS ========== */
.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.08;
}

/* ========== FORM STYLES ========== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

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

.form-group select {
  appearance: none;
  cursor: pointer;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 767px) {
  .hero-content {
    padding: 0 1rem;
  }

  .hide-mobile {
    display: none !important;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ========== SPECIAL: EXPERTISE IMAGE ========== */
.expertise-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.expertise-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(0, 71, 255, 0.15);
  pointer-events: none;
}

/* ========== FAQ / ACCORDION ========== */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-question h4 {
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.faq-question:hover h4 {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-expo);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== MOBILE NAV ========== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(9, 10, 12, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: var(--text-main);
}

/* ========== PRICING CARDS ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

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

.pricing-card {
  background: var(--bg-container);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.5s var(--ease-expo);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  border-color: rgba(0, 71, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.starter:hover {
  border-color: var(--tertiary);
  box-shadow:
    0 0 40px rgba(57, 255, 20, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.enterprise:hover {
  border-color: var(--secondary);
  box-shadow:
    0 0 40px rgba(255, 95, 0, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(0, 71, 255, 0.06) 0%, var(--bg-container) 40%);
}

.pricing-card.featured:hover {
  box-shadow:
    0 0 40px rgba(0, 71, 255, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.pricing-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  width: fit-content;
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}

.pricing-price .currency {
  font-size: 1.5rem;
  vertical-align: top;
  margin-right: 2px;
}

.pricing-price .period {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  line-height: 1.5;
}

.pricing-features li .check {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-card.featured .pricing-features li .check {
  color: var(--primary);
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* Light section pricing overrides */
.section-light .pricing-card {
  background: white;
  border-color: rgba(0, 0, 0, 0.08);
}

.section-light .pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(0, 71, 255, 0.04) 0%, white 40%);
}

.section-light .pricing-card h3,
.section-light .pricing-card h4,
.section-light .pricing-price {
  color: #090a0c;
}

.section-light .pricing-desc {
  color: #5a5a6a;
  border-color: rgba(0, 0, 0, 0.08);
}

.section-light .pricing-features li {
  color: #3a3a4a;
}

.section-light .pricing-features li .check {
  color: var(--primary);
}

/* ========== A11Y: FOCUS VISIBLE & SKIP LINK ========== */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

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

@media (min-width: 768px) {
  .mobile-nav-toggle { display: none; }
}
