/* ========================================
   TideOps — Premium Design System
   ======================================== */

/* --- Loading Screen --- */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: loaderFadeOut 0.6s ease-out 1.5s forwards;
  pointer-events: none;
}

.loader-text {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  animation: loaderTextIn 0.8s ease-out forwards,
             loaderGlow 1.8s ease-in-out infinite;
}

@keyframes loaderTextIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderGlow {
  0%, 100% {
    text-shadow:
      0 0 20px rgba(37, 99, 235, 0.3),
      0 0 40px rgba(37, 99, 235, 0.15);
  }
  50% {
    text-shadow:
      0 0 30px rgba(37, 99, 235, 0.6),
      0 0 60px rgba(37, 99, 235, 0.3),
      0 0 100px rgba(37, 99, 235, 0.15);
  }
}

@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* --- CSS Custom Properties --- */
:root {
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --accent-purple: #7c3aed;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.35);
  --border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: all 0.5s var(--ease-out);
  --container: 1200px;
  --nav-height: 80px;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-tap-highlight-color: transparent;
}

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

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

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

/* --- Custom Cursor --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out), background 0.25s;
}

.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}

body:hover .cursor-dot,
body:hover .cursor-ring {
  opacity: 1;
}

.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(0.75);
  background: rgba(255, 255, 255, 0.8);
}

.cursor-hover .cursor-ring {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- Mouse Glow --- */
.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.nav.scrolled,
.nav-scrolled-always {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--text), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  letter-spacing: 0.2px;
}

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

.nav-cta {
  font-size: 0.85rem;
  padding: 0.65rem 1.5rem;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section Base --- */
.section {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 4rem;
  max-width: 700px;
}

/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s;
  z-index: -1;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 300vh; /* 3x viewport for scroll animation */
  background: var(--bg);
}

#hero-canvas {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: block;
}

.hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(ellipse at center, rgba(5,5,5,0.35) 0%, rgba(5,5,5,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  transition: opacity 0.5s ease-out;
}

.hero-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-title .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-title .char {
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero-cta {
  padding: 1.1rem 3rem;
  font-size: 1.05rem;
}

.scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  transition: opacity 0.5s;
}

.scroll-hint span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.scroll-dot {
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* --- Video Background Sections --- */
.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.45) 0%,
    rgba(5, 5, 5, 0.55) 50%,
    rgba(5, 5, 5, 0.75) 100%
  );
}

/* --- Problem Section --- */
.problem-section .container {
  position: relative;
  z-index: 1;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.problem-item {
  padding: 2.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.problem-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.problem-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.problem-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Services Section --- */
.services-section {
  background: var(--bg);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  transition: var(--transition);
  overflow: hidden;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.glass-card .card-glow {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), transparent, rgba(124,58,237,0.15));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
  pointer-events: none;
}

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

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 16px;
  margin-bottom: 2rem;
}

.glass-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- How It Works --- */
.how-section {
  background: var(--bg-elevated);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.67% + 1.5rem);
  right: calc(16.67% + 1.5rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--accent));
  opacity: 0.3;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-purple));
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.step-line {
  display: none;
}

.step h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* --- Results Section --- */
.results-section .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix,
.stat-prefix {
  -webkit-text-fill-color: var(--accent);
  font-weight: 700;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Audience Section --- */
.audience-section {
  background: var(--bg);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.audience-card {
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: var(--transition);
}

.audience-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateY(-4px);
}

.audience-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.audience-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.audience-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ready-signs {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.ready-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.ready-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ready-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.ready-item svg {
  flex-shrink: 0;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 12rem 0;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}

.cta-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.75);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.cta-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-main {
  padding: 1.2rem 3.5rem;
  font-size: 1.1rem;
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.25);
}

.cta-main:hover {
  box-shadow: 0 0 80px rgba(37, 99, 235, 0.4);
}

/* --- Footer --- */
.footer {
  padding: 4rem 0 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.footer-tagline {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.footer-contact a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Contact Page --- */
.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 4rem) 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-details {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-detail a {
  color: var(--text-muted);
  transition: color 0.3s;
}

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

.contact-promise {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.promise-item svg {
  flex-shrink: 0;
}

/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  margin-bottom: 1.5rem;
}

.success-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.success-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

/* --- Section Divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  max-width: 200px;
  margin: 0 auto;
  opacity: 0.3;
}

/* --- Animation Utility --- */
.animate-fade-up,
.glass-card,
.step,
.stat-card,
.audience-card,
.problem-item {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ========================================
   RESPONSIVE
   ======================================== */

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }

  .nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    color: var(--text);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero adjustments for mobile — same scroll animation, shorter scroll distance */
  .hero {
    height: 120vh;
  }

  /* particles enabled on mobile */

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
    letter-spacing: -1px;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
  }

  .cta-button.cta-main {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.2);
  }

  .section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
  }

  .section-label {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .problem-grid,
  .cards-container,
  .steps-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .problem-item {
    padding: 1.75rem;
  }

  .problem-item h3 {
    font-size: 1.1rem;
  }

  .problem-item p {
    font-size: 0.9rem;
  }

  .steps-container::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

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

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

  .contact-form-wrapper {
    padding: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cta-section {
    padding: 5rem 0;
  }

  .cta-headline {
    font-size: 1.8rem;
    letter-spacing: -1px;
  }

  .cta-sub {
    font-size: 1rem;
  }

  .cta-main {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
  }

  /* Mobile video: contain to show full scene */
  .video-bg {
    object-fit: contain;
    object-position: top center;
    background: #050505;
  }

  .cta-video-bg video {
    object-fit: contain;
    object-position: center;
    background: #050505;
  }

  .video-bg-container,
  .cta-video-bg {
    background: #050505;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .glass-card {
    padding: 1.75rem 1.25rem;
  }

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

  .glass-card p {
    font-size: 0.9rem;
  }

  .stat-card {
    padding: 1.25rem 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cta-headline {
    font-size: 1.6rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .step h3 {
    font-size: 1.1rem;
  }

  .step p {
    font-size: 0.9rem;
  }

  .audience-card h3 {
    font-size: 1.05rem;
  }

  .audience-card p {
    font-size: 0.9rem;
  }

  .ready-title {
    font-size: 1.2rem;
  }

  .footer {
    font-size: 0.9rem;
  }
}
