/* ========================================
   CSS CUSTOM PROPERTIES (THEME VARIABLES)
   ======================================== */

:root[data-theme="dark"] {
  /* Colors - Dark Mode */
  --bg-primary: #020617;
  --bg-secondary: #0b1a2a;
  --bg-tertiary: #0d2235;

  --text-primary: #ffffff;
  --text-secondary: #f8fafc;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;

  --accent-primary: #0052ff;
  --accent-secondary: #00a3ff;
  --accent-tertiary: #00e5ff;

  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(11, 26, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Shadows & Glows */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 60px rgba(0, 0, 0, 0.6);
  --glow-blue: 0 0 30px rgba(0, 82, 255, 0.4);
  --glow-cyan: 0 0 50px rgba(0, 229, 255, 0.3);
}

:root[data-theme="light"] {
  /* Colors - Light Mode */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;

  --text-primary: #0d2235;
  --text-secondary: #1e293b;
  --text-tertiary: #475569;
  --text-muted: #94a3b8;

  --accent-primary: #0052ff;
  --accent-secondary: #00a3ff;
  --accent-tertiary: #00e5ff;

  --border-color: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(248, 250, 252, 0.8);
  --glass-border: rgba(0, 82, 255, 0.1);

  /* Shadows & Glows */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 60px rgba(0, 0, 0, 0.15);
  --glow-blue: 0 4px 20px rgba(0, 82, 255, 0.15);
  --glow-cyan: 0 6px 30px rgba(0, 163, 255, 0.2);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.7;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

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

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Currency Toggle */
.currency-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 60px; /* Prevent layout shift */
  justify-content: center;
}

.currency-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.currency-toggle:active {
  transform: scale(0.95);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  box-shadow: var(--glow-cyan);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: var(--glow-blue);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 65px;
}

.logo-img {
  height: 100%;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-primary);
}

.theme-toggle {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-sm);
}

.theme-icon {
  font-size: 1.25rem;
  transition: opacity 0.3s ease;
}

:root[data-theme="dark"] .theme-icon-light {
  opacity: 0;
  position: absolute;
}

:root[data-theme="dark"] .theme-icon-dark {
  opacity: 1;
}

:root[data-theme="light"] .theme-icon-dark {
  opacity: 0;
  position: absolute;
}

:root[data-theme="light"] .theme-icon-light {
  opacity: 1;
}

/* ========================================
   SCROLL PROGRESS
   ======================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  z-index: 1001;
  transition: width 0.1s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-artwork {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle at center,
    rgba(0, 82, 255, 0.2) 0%,
    transparent 70%
  );
  opacity: 0.6;
  filter: blur(40px);
}

.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(0, 82, 255, 0.15) 0%,
    transparent 50%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.stat-card {
  position: absolute;
  z-index: 20; /* Ensure it stays above video */
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

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

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-primary);
  display: block;
  margin-bottom: 0.25rem;
}

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

.hero-center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8rem; /* Large gap for spacing */
  width: 100%;
  position: relative;
  z-index: 10;
}

/* ========================================
   TECH STACK SECTION
   ======================================== */

.tech-stack-section {
  padding: 2rem 0 4rem;
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 2;
}

.tech-stack-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.tech-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.tech-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}

.tech-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

.tech-logo svg {
  width: 32px;
  height: 32px;
}

.tech-logo span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .tech-logos {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem;
  }

  .tech-logo span {
    display: none; /* Hide text on mobile to save space */
  }
}

/* ========================================
   WORK / PORTFOLIO SECTION
   ======================================== */

.work-section {
  padding: 6rem 0;
  position: relative;
}

.section-subtitle {
  text-align: center;
  margin-top: -3rem; /* Pull closer to title */
  margin-bottom: 4rem;
  font-size: 1.125rem;
  color: var(--text-tertiary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
  justify-content: center;
}

.work-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.work-image {
  height: 240px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex; /* Flex, but hidden by opacity */
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-card:hover .work-overlay {
  opacity: 1;
}

.work-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.work-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(0, 82, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.work-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.work-description {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.work-metrics {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.metric {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.work-cta {
  text-align: center;
}

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

/* ========================================
   PARTNERSHIPS / TESTIMONIALS SECTION
   ======================================== */

.partnerships-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
}

.partnerships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.partner-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.partner-card::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 5rem;
  color: var(--accent-primary);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.partner-quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.partner-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.partner-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.125rem;
}

.partner-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

.partner-role {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
  padding: 6rem 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: var(--accent-primary);
  background: var(--bg-secondary); /* or slightly lighter? */
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

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

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg); /* Turn + into x */
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

/* ========================================
   TRUST SIGNALS & LEGAL
   ======================================== */

.form-security {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: var(--text-tertiary);
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

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

.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal a {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

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

.separator {
  color: var(--text-tertiary);
  font-size: 0.75rem;
}
.hero-video-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 82, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.1);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .hero-video-container {
    max-width: 100% !important;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
  }

  .stat-card {
    display: none !important;
  }

  .hero-center-content {
    gap: 4rem;
    padding: 0 1rem;
  }
}

.hero-main {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

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

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-tertiary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  font-weight: 500;
}

.scroll-mouse {
  width: 24px;
  height: 36px;
  border: 2px solid var(--text-tertiary);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text-tertiary);
  border-radius: 2px;
  animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
  0%,
  100% {
    opacity: 0;
    top: 8px;
  }
  50% {
    opacity: 1;
    top: 16px;
  }
}

/* ========================================
   VALUE SECTION
   ======================================== */

.value-section {
  padding: 6rem 0;
  position: relative;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
}

.value-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 3rem 2.5rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-primary);
}

.value-card-featured {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border-color: var(--accent-primary);
  box-shadow: var(--glow-blue);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.value-title {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.value-description {
  color: var(--text-tertiary);
  line-height: 1.7;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
  padding: 6rem 0;
  position: relative;
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card-featured {
  border-color: var(--accent-primary);
  box-shadow: var(--glow-blue);
}

.service-badge {
  position: absolute;
  top: -12px;
  right: 2rem;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.service-pricing-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: right;
}

.service-recurring {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

@media (max-width: 900px) {
  .service-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .service-pricing-group {
    text-align: left;
    width: 100%;
  }

  .service-price {
    align-self: flex-start;
  }
}

.service-title {
  color: var(--text-primary);
}

.service-price {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
}

.service-description {
  color: var(--text-tertiary);
  flex-grow: 1;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-features li {
  color: var(--text-secondary);
  padding-left: 1.75rem;
  position: relative;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 700;
}

.section-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  max-width: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 82, 255, 0.1) 0%,
    transparent 70%
  );
  opacity: 0.4;
  filter: blur(60px);
  pointer-events: none;
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-section {
  padding: 6rem 0;
  position: relative;
}

.process-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.process-step {
  flex: 1;
  text-align: center;
  max-width: 200px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: var(--glow-blue);
}

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

.step-description {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.process-connector {
  flex: 0 0 60px;
  height: 2px;
  background: var(--border-color);
  margin-top: 30px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  position: relative;
  padding: 4rem 0 2rem;
  background: var(--bg-secondary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 120px;
}

.contact-subtitle {
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item a {
  color: var(--accent-primary);
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

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

.form-group label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: var(--glow-blue);
}

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

.contact-form button[type="submit"] {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.form-status {
  grid-column: 1 / -1;
  padding: 1rem;
  border-radius: 20px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid #22c55e;
}

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

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--bg-secondary);
  padding: 2rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* HTML Logo Styles */
.nav-logo,
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-text {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.logo-ai {
  color: var(--primary);
  font-weight: 800;
}

/* Footer Layout Updates */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap; /* Handle mobile */
  gap: 2rem;
}

.footer-right-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 80px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
}

.footer-tagline {
  color: var(--text-tertiary);
  font-size: 0.9375rem;
}

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

.footer-links a {
  color: var(--text-tertiary);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

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

/* Ensure social icons are visible in light mode */
:root[data-theme="light"] .footer-social a {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

:root[data-theme="light"] .footer-social a:hover {
  background: rgba(
    0,
    0,
    0,
    0.1
  ); /* Slight darken on hover instead of primary color */
  color: var(--text-primary) !important;
}

:root[data-theme="light"] .footer-social a:hover svg {
  color: var(--text-primary) !important;
  fill: var(--text-primary) !important;
}

.footer-social a:hover svg {
  fill: #ffffff !important;
}

/* Captcha Styling */
.h-captcha {
  grid-column: 1 / -1;
  justify-self: center;
  margin-bottom: 1.5rem;
  display: flex !important;
  justify-content: center !important;
  width: 100% !important; /* Force full width to allow flex alignment */
}

/* Mobile media query no longer needs specific override if we want it centered everywhere, 
   but keeping the media query block for other potential mobile adjustments is fine, 
   or we can remove the redundant rule inside it. 
   For now, I'll just remove the redundant media query rule for cleanliness if it's empty, 
   but since I can't see the full context of what else is in media queries easily without reading,
   I'll just update the main rule and the media query to be consistent or remove the media query invalidation.
   Actually, I will just set main to center and remove the specific mobile override since it's now redundant. */

@media (max-width: 768px) {
  /* Other mobile styles */
}

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

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

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

@media (max-width: 1024px) {
  .process-timeline {
    flex-direction: column;
    align-items: center;
  }

  .process-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }

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

  .contact-info {
    position: static;
  }
}

.contact-email {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }

  .nav-link,
  .nav-menu .btn {
    display: none;
  }

  /* Fix for form overflow on small screens */
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  .contact-form-wrapper {
    padding: 1rem !important; /* drastically reduced from 3rem */
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 !important;
    gap: 1.5rem;
    box-sizing: border-box;
  }

  /* Mobile Menu Styles */
  .mobile-menu-toggle {
    display: flex !important; /* Force display on mobile */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: 1rem; /* Add spacing from other elements */
    visibility: visible !important;
  }

  .mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Hamburger Animation */
  .mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

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

  /* Mobile Nav Overlay */
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary); /* Uses theme background */
    padding: 6rem 2rem;
    align-items: center;
    gap: 2rem;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active .nav-link {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
  }

  .nav-menu.active .btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .no-scroll {
    overflow: hidden;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .stat-card {
    position: static !important;
    margin-bottom: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    margin-bottom: 2rem; /* Reduced from default spacing */
  }

  .value-section {
    padding-top: 2rem; /* Reduced padding start */
  }

  .nav-container {
    justify-content: space-between;
    gap: 1rem; /* Ensure space between logo and toggle */
  }

  .nav-logo {
    flex-shrink: 0; /* Prevent logo squishing */
    margin-right: auto;
  }

  .value-grid,
  .services-grid {
    grid-template-columns: 1fr;
    width: 100%;
    box-sizing: border-box;
  }

  .value-card,
  .service-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    align-items: center;
  }

  .footer-logo-link {
    justify-content: center;
  }

  .footer-tagline {
    text-align: center;
    max-width: 100%;
  }

  .footer-right-group {
    width: 100%;
    align-items: center;
    gap: 2rem;
  }

  .footer-links {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-social {
    justify-content: center;
    width: 100%;
  }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth theme transition */
* {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}
/* ========================================
   LEGAL PAGES
   ======================================== */

.legal-section {
  padding: 120px 0 80px; /* Top padding to clear fixed nav */
  background-color: var(--bg-primary);
  min-height: 100vh;
}

.legal-section h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-section h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-section .last-updated {
  display: block;
  color: var(--text-tertiary);
  margin-bottom: 3rem;
  font-size: 0.875rem;
}

.legal-section p,
.legal-section li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
/* ========================================
   STARTUP SETUP SECTION (Extracted from inline)
   ======================================== */
.startup-setup {
  margin-top: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem;
  background: var(--bg-secondary);
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .startup-setup {
    padding: 1.5rem;
    margin-top: 3rem;
  }
}

.startup-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.startup-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.startup-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.startup-features li {
  color: var(--text-primary);
  padding-left: 1.5rem;
  position: relative;
}

.startup-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: bold;
}

@media (max-width: 600px) {
  .startup-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Fix Plans Page Grid Mobile Overflow */
@media (max-width: 480px) {
  .services-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
  }

  .service-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .section-decoration {
    width: 200px;
    height: 200px;
  }
}
