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

:root {
  --bg-deep: #0a0a14;
  --bg-primary: #0d0d1a;
  --bg-card: #12122a;
  --bg-card-hover: #1a1a3a;
  --bg-elevated: #16163a;
  --purple-primary: #7c3aed;
  --purple-light: #a78bfa;
  --purple-glow: rgba(124, 58, 237, 0.3);
  --purple-subtle: rgba(124, 58, 237, 0.08);
  --accent-cyan: #06d6a0;
  --accent-amber: #f59e0b;
  --text-primary: #f1f0ff;
  --text-secondary: #a09cb5;
  --text-muted: #6b6580;
  --border-subtle: rgba(124, 58, 237, 0.15);
  --border-card: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====== ANIMATED BG GRAIN ====== */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 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='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ====== UTILITY ====== */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-label,
.section-title,
.section-subtitle {
  text-align: center;
}
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), #6d28d9);
  color: white;
  box-shadow: 0 4px 25px var(--purple-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
}
.btn-outline:hover {
  border-color: var(--purple-light);
  background: var(--purple-subtle);
}

/* ====== NAV ====== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 20, 0.8);
  border-bottom: 1px solid var(--border-card);
  transition: all 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--purple-primary), var(--accent-cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: white;
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links .btn { padding: 10px 24px; font-size: 14px; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; }

/* Mobile menu */
.nav-links.show {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(10, 10, 20, 0.95);
  backdrop-filter: blur(20px);
  padding: 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border-card);
}

/* ====== FOOTER ====== */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-card);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--purple-light); }
.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom span { font-size: 13px; color: var(--text-muted); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
}
.footer-socials a:hover {
  border-color: var(--border-subtle);
  color: var(--purple-light);
}

/* ====== PAGE HERO (reusable for inner pages) ====== */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  animation: pulse-glow 8s ease-in-out infinite;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, transparent 70%);
  animation: pulse-glow 10s ease-in-out infinite reverse;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ====== CARDS (shared) ====== */
.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-primary), var(--accent-cyan));
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--purple-subtle);
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====== CTA SECTION (shared) ====== */
.cta-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  opacity: 0.5;
}
.cta-section h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.cta-section p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ====== SCROLL ANIMATIONS ====== */
@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== PRICING (shared) ====== */
.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 32px 0 48px;
}
.pricing-toggle span { font-size: 14px; color: var(--text-secondary); }
.toggle-switch {
  position: relative;
  width: 52px; height: 28px;
  background: var(--bg-elevated);
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--purple-primary);
  border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch.yearly::after { left: 27px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s;
  position: relative;
}
.pricing-card.featured {
  border-color: var(--purple-primary);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), var(--bg-card));
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple-primary), #6d28d9);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.pricing-card .price {
  font-size: 40px;
  font-weight: 900;
  margin: 16px 0;
}
.pricing-card .price span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 28px;
}
.pricing-card ul li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-card ul li::before {
  content: '\2713';
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 13px;
}
.pricing-card .btn { width: 100%; justify-content: center; }

/* ====== FEATURE ITEMS (shared) ====== */
.feature-item {
  display: flex;
  gap: 16px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.feature-item:hover {
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}
.feature-item .f-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: var(--purple-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.feature-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.feature-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ====== CONSULT CARDS (shared) ====== */
.consult-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.consult-card:hover {
  border-color: var(--border-subtle);
  transform: translateX(6px);
}
.consult-card .icon-wrap {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--purple-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.consult-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.consult-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====== WHY CARDS (shared) ====== */
.why-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.why-card:hover { border-color: var(--border-subtle); transform: translateY(-4px); }
.why-card .w-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.why-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ====== TESTIMONIALS (shared) ====== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.testimonial-card:hover { border-color: var(--border-subtle); }
.stars { color: var(--accent-amber); font-size: 14px; margin-bottom: 16px; }
.testimonial-card blockquote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-primary), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: white;
}
.testimonial-author h5 { font-size: 14px; font-weight: 600; }
.testimonial-author span { font-size: 12px; color: var(--text-muted); }

/* ====== ACCORDION (FAQ) ====== */
.accordion { max-width: 940px; margin: 0 auto; }
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.accordion-header:hover { background: var(--bg-card-hover); }
.accordion-header .arrow {
  font-size: 12px;
  transition: transform 0.3s;
  color: var(--purple-light);
}
.accordion-item.active .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-body-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====== FORM STYLES ====== */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ====== PROSE CONTENT (for legal pages) ====== */
.prose {
  max-width: 940px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text-primary);
}
.prose h2:first-child { margin-top: 0; }
.prose p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.prose ul, .prose ol {
  margin: 16px 0;
  padding-left: 24px;
}
.prose li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

/* ====== COMPARISON TABLE ====== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-card);
  font-size: 14px;
}
.comparison-table th {
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-card);
}
.comparison-table td {
  color: var(--text-secondary);
}
.comparison-table td:not(:first-child),
.comparison-table th:not(:first-child) {
  text-align: center;
}
.comparison-table tr:hover td { background: var(--bg-card); }
.check { color: var(--accent-cyan); font-weight: 700; }
.cross { color: var(--text-muted); }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .page-hero { padding: 120px 0 60px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; }
  .page-hero { padding: 100px 0 40px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero p { font-size: 14px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .footer-grid { gap: 32px; }
  .footer-col h4 { font-size: 14px; }
  .comparison-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ====== AUTH PAGES (login, register, forgot/reset password, verify email) ====== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--text-primary);
}
.auth-page::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  animation: pulse-glow 8s ease-in-out infinite;
  pointer-events: none;
}
.auth-page::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6,214,160,0.08) 0%, transparent 70%);
  animation: pulse-glow 10s ease-in-out infinite reverse;
  pointer-events: none;
}
.auth-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  animation: fadeInUp 0.6s ease both;
}
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  text-decoration: none;
}
.auth-logo .logo-icon { width: 44px; height: 44px; font-size: 20px; }
.auth-logo .logo-text { font-size: 24px; }
.auth-header {
  text-align: center;
  margin-bottom: 32px;
}
.auth-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.auth-header p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* Auth form inputs */
.auth-form .form-group { margin-bottom: 20px; }
.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.auth-form input {
  width: 100%;
  padding: 14px 18px;
  background-color: #ffffff !important;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  color: #0a0a14 !important;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.auth-form input:focus {
  background-color: #ffffff !important;
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}
.auth-form input::placeholder { color: #9ca3af; }
.auth-form input.invalid { border-color: #ef4444; }
.auth-form input.valid { border-color: var(--accent-cyan); }
/* Keep autofill background/text consistent with the normal state */
.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus,
.auth-form input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #0a0a14 !important;
  caret-color: #0a0a14;
  transition: background-color 9999s ease-in-out 0s;
}
.auth-form .btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px;
}
.auth-page .btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), var(--accent-cyan)) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 25px rgba(124, 58, 237, 0.35), 0 4px 25px rgba(6, 214, 160, 0.25) !important;
}
.auth-page .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #8b5cf6, #10e6b0) !important;
  box-shadow: 0 8px 40px rgba(124, 58, 237, 0.45), 0 8px 40px rgba(6, 214, 160, 0.35) !important;
  transform: translateY(-2px);
}
.auth-form .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Password field with toggle */
.password-field { position: relative; }
.password-field input { padding-right: 48px; }
.password-toggle {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer; font-size: 18px;
  padding: 4px; transition: color 0.2s;
}
.password-toggle:hover { color: var(--text-primary); }
.auth-form .password-toggle { color: #6b7280; }
.auth-form .password-toggle:hover { color: #0a0a14; }

/* Password strength criteria */
.password-criteria {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.password-criteria li {
  font-size: 12px;
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.password-criteria li .check-icon {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  flex-shrink: 0;
  transition: all 0.2s;
}
.password-criteria li.met { color: var(--accent-cyan); }
.password-criteria li.met .check-icon {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-deep);
}

/* Helper text */
.helper-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}
.helper-text.error { color: #ef4444; }
.helper-text.success { color: var(--accent-cyan); }

/* Auth divider ("or" separator) */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: ''; flex: 1; height: 1px;
  background: var(--border-card);
}
.auth-divider span { font-size: 13px; color: var(--text-muted); white-space: nowrap; }

/* Auth footer text */
.auth-footer-text {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}
.auth-footer-text a {
  color: var(--purple-light);
  text-decoration: none;
  font-weight: 600;
}
.auth-footer-text a:hover { text-decoration: underline; }

/* Loading spinner */
.loading-spinner {
  display: none;
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading .loading-spinner { display: inline-block; }
.btn.loading { pointer-events: none; opacity: 0.8; }

/* Error text */
.error-text {
  font-size: 13px;
  color: #ef4444;
  margin-top: 6px;
  display: none;
}
.error-text.show { display: block; }

/* Success / Error states */
.success-state,
.error-state {
  display: none;
  text-align: center;
}
.success-state.show,
.error-state.show { display: block; }
.success-icon,
.error-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  background: var(--purple-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.success-state h2,
.error-state h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.success-state p,
.error-state p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Back to login link */
.back-to-login {
  text-align: center;
  font-size: 14px;
}
.back-to-login a {
  color: var(--purple-light);
  text-decoration: none;
  font-weight: 600;
}
.back-to-login a:hover { text-decoration: underline; }

/* Resend text */
.resend-text {
  font-size: 14px;
  color: var(--text-secondary);
}
.resend-text a {
  color: var(--purple-light);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
.resend-text a:hover { text-decoration: underline; }

/* Auth responsive */
@media (max-width: 768px) {
  .auth-page { padding: 60px 16px 40px; }
  .auth-card { padding: 36px 24px; }
  .auth-header h1 { font-size: 22px; }
  .auth-header p { font-size: 14px; }
}
@media (max-width: 480px) {
  .auth-page { padding: 40px 12px 32px; }
  .auth-card { padding: 28px 16px; }
}


/* ====== LOGIN PAGE ====== */
.form-options {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 28px;
  }
  .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }
  .remember-me input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--purple-primary);
    cursor: pointer;
  }
  .remember-me span {
    font-size: 14px;
    color: var(--text-secondary);
  }
  .forgot-link {
    font-size: 14px;
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }
  .forgot-link:hover { color: var(--text-primary); }

  @media (max-width: 480px) {
    .form-options { flex-direction: column; gap: 12px; align-items: flex-start; }
  }

/* ====== REGISTER PAGE ====== */
/* Register-specific overrides (shared defaults in styles.css) */
  .auth-page { padding: 100px 24px 40px; }
  .auth-card { max-width: 480px; padding: 44px 40px; }

  /* Privacy checkbox */
  .privacy-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0;
  }
  .privacy-group input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px;
    accent-color: var(--purple-primary);
    cursor: pointer;
    flex-shrink: 0;
  }
  .privacy-group label {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    cursor: pointer;
    font-weight: 400;
  }
  .privacy-group label a {
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 600;
  }
  .privacy-group label a:hover { text-decoration: underline; }
  .privacy-hint {
    font-size: 12px;
    color: #ef4444;
    margin-top: -16px;
    margin-bottom: 20px;
    display: none;
  }
  .privacy-hint.show { display: block; }

  /* Privacy Modal */
  .privacy-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(5,5,15,0.85);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }
  .privacy-modal-overlay.active { display: flex; }
  .privacy-modal {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    max-width: 560px;
    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: modalIn 0.3s ease;
  }
  @keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
  .privacy-modal h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
  }
  .privacy-modal h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 8px;
    color: var(--purple-light);
  }
  .privacy-modal p,
  .privacy-modal li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
  }
  .privacy-modal ul {
    padding-left: 20px;
    margin: 8px 0;
  }
  .privacy-modal li { margin-bottom: 4px; }
  .privacy-modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-card);
  }
  .privacy-modal-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 16px;
    padding: 16px;
  }
  .privacy-modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--purple-primary), var(--accent-cyan)) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 25px rgba(124, 58, 237, 0.35), 0 4px 25px rgba(6, 214, 160, 0.25) !important;
  }
  .privacy-modal-actions .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b5cf6, #10e6b0) !important;
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.45), 0 8px 40px rgba(6, 214, 160, 0.35) !important;
    transform: translateY(-2px);
  }
  .privacy-modal-actions .btn-outline {
    background: linear-gradient(135deg, var(--purple-primary), var(--accent-cyan)) !important;
    color: #ffffff !important;
    border: none !important;
    opacity: 0.6;
    box-shadow: 0 4px 25px rgba(124, 58, 237, 0.2), 0 4px 25px rgba(6, 214, 160, 0.15) !important;
  }
  .privacy-modal-actions .btn-outline:hover {
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.3), 0 8px 40px rgba(6, 214, 160, 0.2) !important;
  }

  @media (max-width: 480px) {
    .privacy-modal { padding: 28px 20px; }
    .privacy-modal-actions { flex-direction: column; }
  }

/* ====== FORGOT PASSWORD PAGE ====== */
/* Page-specific styles only — shared auth styles are in styles.css */
  .auth-form .btn { margin-bottom: 20px; }
  .success-state .btn { margin-bottom: 16px; }
  .try-again {
    font-size: 14px;
    color: var(--text-secondary);
  }
  .try-again a {
    color: var(--purple-light);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
  }
  .try-again a:hover { text-decoration: underline; }

/* ====== VERIFY EMAIL PAGE ====== */
/* Page-specific styles only — shared auth styles are in styles.css */
  .auth-card--verify { max-width: 480px; text-align: center; }

  /* State containers */
  .state-view { display: none; }
  .state-view.active { display: block; }

  /* Verifying state */
  .verifying-spinner {
    width: 56px; height: 56px;
    margin: 0 auto 24px;
    border: 3px solid var(--border-card);
    border-top-color: var(--purple-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  .state-view h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
  .state-view p {
    font-size: 15px; color: var(--text-secondary);
    line-height: 1.7; margin-bottom: 24px;
    max-width: 380px; margin-left: auto; margin-right: auto;
  }

  /* Status icons */
  .status-icon {
    width: 80px; height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
  }
  .status-icon.success {
    background: rgba(6,214,160,0.12);
    border: 1px solid rgba(6,214,160,0.25);
  }
  .status-icon.error {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.25);
  }
  .status-icon.pending {
    background: var(--purple-subtle);
    border: 1px solid var(--border-subtle);
  }

  .auth-card .btn {
    display: inline-flex;
    min-width: 200px;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 12px;
  }
  .resend-text a.disabled {
    opacity: 0.5;
    pointer-events: none;
  }
  .countdown {
    font-family: 'Space Mono', monospace;
    color: var(--purple-light);
    font-size: 13px;
  }

/* ====== HOME PAGE ====== */
/* ====== HERO ====== */
    .hero {
      padding: 92px 0 60px;
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .hero::before {
      content: '';
      position: absolute;
      top: -200px; right: -200px;
      width: 800px; height: 800px;
      background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
      animation: pulse-glow 8s ease-in-out infinite;
    }
    .hero::after {
      content: '';
      position: absolute;
      bottom: -100px; left: -100px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, transparent 70%);
      animation: pulse-glow 10s ease-in-out infinite reverse;
    }
    .hero .container { position: relative; z-index: 2; }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 20px;
      background: var(--purple-subtle);
      border: 1px solid var(--border-subtle);
      border-radius: 50px;
      font-size: 13px;
      font-weight: 600;
      color: var(--purple-light);
      margin-bottom: 16px;
      animation: fadeInUp 0.6s ease;
    }
    .hero-badge::before {
      content: '';
      width: 8px; height: 8px;
      background: var(--accent-cyan);
      border-radius: 50%;
      animation: pulse-dot 2s infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }

    .hero h1 {
      font-size: clamp(40px, 6vw, 68px);
      font-weight: 900;
      line-height: 1.08;
      letter-spacing: -2px;
      margin-bottom: 16px;
      animation: fadeInUp 0.6s ease 0.1s both;
    }
    .hero p.hero-desc {
      font-size: 18px;
      color: var(--text-secondary);
      max-width: 680px;
      margin: 0 auto 24px;
      line-height: 1.7;
      animation: fadeInUp 0.6s ease 0.2s both;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 32px;
      animation: fadeInUp 0.6s ease 0.3s both;
    }

    /* ====== HERO STATS ====== */
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 48px;
      flex-wrap: wrap;
      margin-top: 60px;
      animation: fadeInUp 0.6s ease 0.4s both;
    }
    .hero-stat { text-align: center; }
    .hero-stat .stat-value {
      font-size: 28px;
      font-weight: 800;
      color: var(--text-primary);
    }
    .hero-stat .stat-label {
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 4px;
    }

    /* ====== HERO SLIDER ====== */
    .hero-visual {
      margin-top: 32px;
      animation: fadeInUp 0.6s ease 0.5s both;
    }
    .truck-slider {
      position: relative;
      width: 100%;
      max-width: 940px;
      margin: 0 auto;
      aspect-ratio: 16 / 9;
      border-radius: 16px;
      overflow: hidden;
    }
    .truck-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.6s ease;
      pointer-events: none;
    }
    .truck-slide.active {
      opacity: 1;
      pointer-events: auto;
    }
    .truck-slide img {
      width: 100%;
      height: auto;
      display: block;
    }
    .truck-slide .slide-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10,10,20,0.85) 0%, rgba(10,10,20,0.3) 50%, transparent 100%);
    }
    .truck-slide .slide-text {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 32px 40px;
      z-index: 2;
    }
    .truck-slide .slide-text h3 {
      font-size: 28px;
      font-weight: 800;
      margin: 0 0 8px;
      color: #fff;
    }
    .truck-slide .slide-text p {
      font-size: 16px;
      color: rgba(255,255,255,0.75);
      margin: 0;
    }
    .slider-dots {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 20px;
    }
    .slider-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      background: var(--bg-elevated);
      border: 1px solid var(--border-subtle);
      cursor: pointer;
      transition: all 0.3s;
    }
    .slider-dot.active {
      background: var(--purple-primary);
      border-color: var(--purple-primary);
      transform: scale(1.2);
    }

    /* ====== SERVICES GRID ====== */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 48px;
    }

    /* ====== CONSULTING ====== */
    .consulting-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
      margin-top: 48px;
    }
    .consulting-visual {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 120px;
      height: 400px;
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-lg);
    }
    .consulting-cards {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* ====== FEATURES GRID ====== */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      margin-top: 48px;
    }

    /* ====== WHY US GRID ====== */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 48px;
    }

    /* ====== TESTIMONIALS GRID ====== */
    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 48px;
    }

    /* ====== CAREERS TEASER ====== */
    .careers-teaser {
      text-align: center;
      padding: 80px 40px;
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-lg);
      position: relative;
      overflow: hidden;
    }
    .careers-teaser::before {
      content: '';
      position: absolute;
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 400px; height: 400px;
      background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
      opacity: 0.3;
    }
    .careers-teaser h2 {
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 800;
      margin-bottom: 14px;
      position: relative;
      z-index: 2;
    }
    .careers-teaser p {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 580px;
      margin: 0 auto 28px;
      line-height: 1.7;
      position: relative;
      z-index: 2;
    }
    .careers-teaser .btn { position: relative; z-index: 2; }

    /* ====== RESPONSIVE ====== */
    @media (max-width: 1024px) {
      .services-grid { grid-template-columns: repeat(2, 1fr); }
      .consulting-layout { grid-template-columns: 1fr; }
      .consulting-visual { height: 280px; font-size: 80px; }
      .why-grid { grid-template-columns: repeat(2, 1fr); }
      .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
    }
    @media (max-width: 768px) {
      .hero { padding: 72px 0 40px; }
      .hero h1 { letter-spacing: -1px; }
      .hero-stats { gap: 28px; }
      .hero-stat .stat-value { font-size: 22px; }
      .services-grid { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr; }
      .why-grid { grid-template-columns: 1fr; }
      .truck-slide .slide-text { padding: 20px; }
      .truck-slide .slide-text h3 { font-size: 20px; }
      .truck-slide .slide-text p { font-size: 14px; }
      .careers-teaser { padding: 48px 24px; }
    }
    @media (max-width: 480px) {
      .hero h1 { letter-spacing: -1px; }
      .hero-stats { gap: 24px; }
      .hero-stat .stat-value { font-size: 20px; }
      .hero-stat .stat-label { font-size: 12px; }
      .services-grid { grid-template-columns: 1fr; }
      .why-grid { grid-template-columns: 1fr; }
      .testimonials-grid { max-width: 100%; }
      .truck-slide .slide-text { padding: 16px; }
      .truck-slide .slide-text h3 { font-size: 18px; }
      .truck-slide .slide-text p { font-size: 13px; }
    }

/* ====== SERVICES PAGE ====== */
/* ====== SERVICES PAGE STYLES ====== */
    .service-detail {
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }
    .service-detail:nth-child(even) {
      background: linear-gradient(180deg, rgba(18, 18, 42, 0.5) 0%, var(--bg-deep) 100%);
    }
    .service-detail:nth-child(odd) {
      background: var(--bg-deep);
    }
    .service-detail::before {
      content: '';
      position: absolute;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      opacity: 0.06;
      pointer-events: none;
    }
    .service-detail:nth-child(odd)::before {
      top: -100px;
      right: -100px;
      background: radial-gradient(circle, var(--purple-primary), transparent 70%);
    }
    .service-detail:nth-child(even)::before {
      bottom: -100px;
      left: -100px;
      background: radial-gradient(circle, var(--accent-cyan), transparent 70%);
    }

    .service-detail-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    .service-detail:nth-child(even) .service-detail-inner {
      direction: rtl;
    }
    .service-detail:nth-child(even) .service-detail-inner > * {
      direction: ltr;
    }

    .service-detail-icon {
      width: 80px;
      height: 80px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 40px;
      margin-bottom: 24px;
      background: var(--purple-subtle);
      border: 1px solid var(--border-subtle);
    }
    .service-detail-content h2 {
      font-size: clamp(26px, 3vw, 36px);
      font-weight: 800;
      margin-bottom: 16px;
      line-height: 1.2;
    }
    .service-detail-content p {
      font-size: 16px;
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 16px;
    }
    .service-detail-content .btn {
      margin-top: 16px;
    }

    .service-features-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .service-feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-sm);
      padding: 20px;
      transition: all 0.3s ease;
    }
    .service-feature-card:hover {
      border-color: var(--border-subtle);
      background: var(--bg-card-hover);
      transform: translateY(-2px);
    }
    .service-feature-card h4 {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 6px;
      color: var(--text-primary);
    }
    .service-feature-card p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.6;
      margin: 0;
    }
    .service-feature-card .feature-icon {
      font-size: 20px;
      margin-bottom: 10px;
      display: block;
    }

    /* Service number badge */
    .service-number {
      font-family: 'Space Mono', monospace;
      font-size: 12px;
      letter-spacing: 2px;
      color: var(--purple-light);
      text-transform: uppercase;
      margin-bottom: 8px;
      display: block;
    }

    /* Responsive */
    @media (max-width: 900px) {
      .service-detail-inner {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      .service-detail:nth-child(even) .service-detail-inner {
        direction: ltr;
      }
      .service-features-grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 600px) {
      .service-features-grid {
        grid-template-columns: 1fr;
      }
      .service-detail {
        padding: 60px 0;
      }
    }
    @media (max-width: 480px) {
      .service-detail {
        padding: 40px 0;
      }
      .service-detail-inner {
        gap: 24px;
      }
      .service-detail-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
      }
      .service-detail-content h2 {
        font-size: 22px;
      }
      .service-detail-content p {
        font-size: 14px;
      }
      .service-feature-card {
        padding: 20px;
      }
    }

/* ====== CONSULTING PAGE ====== */
/* ====== CONSULTING SERVICE DETAIL SECTIONS ====== */
    .consult-detail {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
      padding: 60px 0;
      border-bottom: 1px solid var(--border-card);
    }
    .consult-detail:last-of-type {
      border-bottom: none;
    }
    .consult-detail.reverse {
      direction: rtl;
    }
    .consult-detail.reverse > * {
      direction: ltr;
    }
    .consult-detail-icon {
      font-size: 48px;
      margin-bottom: 16px;
      display: block;
    }
    .consult-detail h3 {
      font-size: clamp(24px, 3vw, 32px);
      font-weight: 800;
      margin-bottom: 14px;
      line-height: 1.2;
    }
    .consult-detail > div > p {
      font-size: 16px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 24px;
    }
    .consult-detail-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .consult-detail-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 0;
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    .consult-detail-list li::before {
      content: '\2713';
      color: var(--accent-cyan);
      font-weight: 700;
      font-size: 14px;
      min-width: 20px;
      text-align: center;
      margin-top: 2px;
    }
    .consult-sidebar {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      padding: 32px;
    }
    .consult-sidebar h4 {
      font-size: 14px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      color: var(--purple-light);
      margin-bottom: 20px;
    }
    .consult-sidebar-item {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 14px 0;
      border-bottom: 1px solid var(--border-card);
    }
    .consult-sidebar-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .consult-sidebar-item .sb-icon {
      width: 36px;
      height: 36px;
      min-width: 36px;
      border-radius: 10px;
      background: var(--purple-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }
    .consult-sidebar-item h5 {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .consult-sidebar-item p {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .who-for {
      margin-top: 24px;
      padding: 20px;
      background: rgba(124, 58, 237, 0.06);
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-subtle);
    }
    .who-for h5 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      color: var(--purple-light);
      margin-bottom: 10px;
    }
    .who-for p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* ====== HOW IT WORKS ====== */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      margin-top: 48px;
    }
    .step-card {
      text-align: center;
      padding: 40px 28px;
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      transition: all 0.3s;
      position: relative;
    }
    .step-card:hover {
      border-color: var(--border-subtle);
      transform: translateY(-4px);
    }
    .step-number {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--purple-primary), #6d28d9);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      font-weight: 900;
      color: white;
      margin: 0 auto 20px;
      box-shadow: 0 4px 20px var(--purple-glow);
    }
    .step-icon {
      font-size: 32px;
      margin-bottom: 16px;
      display: block;
    }
    .step-card h4 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .step-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
    }
    .step-connector {
      display: none;
    }

    /* ====== FAQ SECTION ====== */
    .faq-section { text-align: center; }
    .faq-section .section-title,
    .faq-section .section-subtitle {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }
    .faq-section .section-subtitle {
      margin: 0 auto 48px;
    }

    /* ====== RESPONSIVE ====== */
    @media (max-width: 1024px) {
      .consult-detail {
        grid-template-columns: 1fr;
        gap: 32px;
      }
      .consult-detail.reverse {
        direction: ltr;
      }
    }
    @media (max-width: 768px) {
      .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
      }
      .consult-detail {
        padding: 40px 0;
      }
    }
    @media (max-width: 480px) {
      .consult-detail {
        gap: 24px;
      }
      .consult-sidebar {
        padding: 24px;
      }
      .consult-detail h3 {
        font-size: 22px;
      }
      .consult-detail > div > p {
        font-size: 14px;
      }
      .steps-grid {
        max-width: 100%;
      }
      .step-card {
        padding: 28px 20px;
      }
    }

/* ====== PRICING PAGE ====== */
/* ====== PRICING PAGE SPECIFIC ====== */
    .pricing-section {
      text-align: center;
    }

    .pricing-section .section-subtitle {
      margin: 0 auto;
    }

    .pricing-save-badge {
      display: inline-block;
      background: rgba(6, 214, 160, 0.12);
      color: var(--accent-cyan);
      font-size: 12px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 50px;
      margin-left: 8px;
    }

    /* Comparison Table Wrapper */
    .table-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      border-radius: var(--radius);
      border: 1px solid var(--border-card);
    }

    .comparison-table {
      margin-top: 0;
      min-width: 600px;
    }

    .comparison-table th:first-child,
    .comparison-table td:first-child {
      position: sticky;
      left: 0;
      background: var(--bg-primary);
      z-index: 2;
    }

    .comparison-table th:first-child {
      background: var(--bg-card);
    }

    .comparison-table tr:hover td:first-child {
      background: var(--bg-card);
    }

    /* Consulting CTA Card */
    .consulting-cta-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-lg);
      padding: 48px;
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
      position: relative;
      overflow: hidden;
    }

    .consulting-cta-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--purple-primary), var(--accent-cyan));
    }

    .consulting-cta-card .consulting-icon {
      font-size: 48px;
      margin-bottom: 20px;
      display: block;
    }

    .consulting-cta-card h3 {
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 12px;
    }

    .consulting-cta-card p {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.7;
      max-width: 500px;
      margin: 0 auto 28px;
    }

    @media (max-width: 768px) {
      .consulting-cta-card {
        padding: 32px 20px;
      }
    }

    @media (max-width: 480px) {
      .comparison-table td,
      .comparison-table th {
        padding: 12px 8px;
        font-size: 12px;
      }
      .consulting-cta-card {
        padding: 28px 16px;
      }
      .consulting-cta-card h3 {
        font-size: 22px;
      }
    }

/* ====== APPLY PAGE ====== */
.apply-hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .apply-hero::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    pointer-events: none;
  }
  .apply-hero .container { position: relative; z-index: 1; }
  .apply-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    margin-bottom: 14px;
    line-height: 1.1;
  }
  .apply-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
  }
  .role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--purple-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--purple-light);
    margin-bottom: 20px;
  }

  /* Form Layout */
  .apply-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
  }
  .form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 48px;
  }
  .form-section {
    margin-bottom: 40px;
  }
  .form-section:last-child { margin-bottom: 0; }
  .form-section-title {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-card);
  }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .form-row.full { grid-template-columns: 1fr; }

  /* File Upload */
  .file-upload-area {
    position: relative;
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s, background 0.3s;
  }
  .file-upload-area:hover,
  .file-upload-area.dragover {
    border-color: var(--purple-primary);
    background: var(--purple-subtle);
  }
  .file-upload-area input[type="file"] {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
  }
  .upload-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
  }
  .file-upload-area h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .file-upload-area p {
    font-size: 13px;
    color: var(--text-muted);
  }
  .file-upload-area .file-name {
    display: none;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--accent-cyan);
    font-weight: 600;
  }
  .file-upload-area.has-file .file-name { display: inline-block; }
  .file-upload-area.has-file .upload-prompt { display: none; }

  /* Work Experience Entry */
  .experience-entry {
    background: var(--bg-elevated);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 16px;
    position: relative;
  }
  .experience-entry .entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  .experience-entry .entry-header h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
  }
  .remove-entry {
    background: none;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: background 0.2s, border-color 0.2s;
  }
  .remove-entry:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
  }
  .add-experience-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px dashed var(--border-subtle);
    color: var(--purple-light);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
  }
  .add-experience-btn:hover {
    background: var(--purple-subtle);
    border-color: var(--purple-primary);
  }

  /* Checkbox */
  .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
  }
  .checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--purple-primary);
    cursor: pointer;
    flex-shrink: 0;
  }
  .checkbox-group label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
  }
  .checkbox-group label a {
    color: var(--purple-light);
    text-decoration: none;
  }
  .checkbox-group label a:hover { text-decoration: underline; }

  /* Submit area */
  .form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-card);
  }
  .form-actions .back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
  }
  .form-actions .back-link:hover { color: var(--text-primary); }

  /* Success message */
  .success-message {
    display: none;
    text-align: center;
    padding: 60px 40px;
  }
  .success-message.show { display: block; }
  .success-message .success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
  }
  .success-message h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
  }
  .success-message p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 28px;
    line-height: 1.7;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .apply-hero { padding: 120px 0 40px; }
    .form-card { padding: 32px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .experience-entry { padding: 20px; }
    .form-actions { flex-direction: column-reverse; gap: 12px; }
    .form-actions .btn { width: 100%; justify-content: center; }
  }

  @media (max-width: 600px) {
    .file-upload-area { padding: 24px 16px; }
  }

  @media (max-width: 480px) {
    .apply-hero { padding: 80px 0 32px; }
    .form-card { padding: 24px 16px; }
  }

/* ====== CONTACT PAGE ====== */
/* ====== CONTACT PAGE SPECIFIC ====== */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
    }

    .contact-form-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-lg);
      padding: 40px;
    }

    .contact-form-card h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .contact-form-card .form-intro {
      font-size: 14px;
      color: var(--text-secondary);
      margin-bottom: 28px;
      line-height: 1.6;
    }

    .contact-form-card .btn {
      width: 100%;
      justify-content: center;
      margin-top: 8px;
    }

    /* Info Cards */
    .contact-info-stack {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .info-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      padding: 28px;
      display: flex;
      gap: 18px;
      align-items: flex-start;
      transition: all 0.3s;
    }

    .info-card:hover {
      border-color: var(--border-subtle);
      background: var(--bg-card-hover);
      transform: translateX(6px);
    }

    .info-card .info-icon {
      width: 52px;
      height: 52px;
      min-width: 52px;
      border-radius: 14px;
      background: var(--purple-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
    }

    .info-card h4 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .info-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    .info-card a {
      color: var(--purple-light);
      text-decoration: none;
      transition: color 0.2s;
    }

    .info-card a:hover {
      color: var(--accent-cyan);
    }

    /* Map Placeholder */
    .map-placeholder {
      width: 100%;
      height: 320px;
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 50%, rgba(124, 58, 237, 0.12) 100%);
      border: 1px solid var(--border-card);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 12px;
      position: relative;
      overflow: hidden;
    }

    .map-placeholder::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 400px;
      height: 400px;
      background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
      opacity: 0.3;
    }

    .map-placeholder .map-icon {
      font-size: 48px;
      position: relative;
      z-index: 2;
      animation: pulse-glow 4s ease-in-out infinite;
    }

    .map-placeholder .map-text {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-secondary);
      position: relative;
      z-index: 2;
    }

    .map-placeholder .map-subtext {
      font-size: 13px;
      color: var(--text-muted);
      position: relative;
      z-index: 2;
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
      }
    }

    @media (max-width: 768px) {
      .contact-form-card {
        padding: 28px 20px;
      }

      .map-placeholder {
        height: 220px;
      }
    }

    @media (max-width: 480px) {
      .info-card .info-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
      }

      .contact-form-card {
        padding: 24px 16px;
      }

      .accordion-header {
        padding: 16px;
        font-size: 14px;
      }

      .accordion-body {
        padding: 0 16px 16px;
      }
    }

/* ====== CAREERS PAGE ====== */
/* ====== CAREERS PAGE STYLES ====== */

    /* Hero */
    .careers-hero {
      padding: 160px 0 100px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .careers-hero::before {
      content: '';
      position: absolute;
      top: -200px;
      left: 50%;
      transform: translateX(-50%);
      width: 800px;
      height: 800px;
      background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }
    .careers-hero .container {
      position: relative;
      z-index: 1;
    }
    .careers-hero h1 {
      font-size: clamp(36px, 6vw, 60px);
      font-weight: 900;
      margin-bottom: 20px;
      line-height: 1.1;
    }
    .careers-hero p {
      font-size: 19px;
      color: var(--text-secondary);
      max-width: 580px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* Culture Values */
    .culture-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 48px;
    }
    .culture-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      padding: 36px 28px;
      text-align: center;
      transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    }
    .culture-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-subtle);
      box-shadow: 0 12px 40px rgba(124, 58, 237, 0.1);
    }
    .culture-icon {
      font-size: 40px;
      margin-bottom: 16px;
      display: block;
    }
    .culture-card h3 {
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .culture-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* Job Listings */
    .jobs-grid {
      display: flex;
      flex-direction: column;
      gap: 20px;
      margin-top: 48px;
    }
    .job-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      padding: 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      transition: border-color 0.3s, box-shadow 0.3s;
    }
    .job-card:hover {
      border-color: var(--border-subtle);
      box-shadow: 0 8px 32px rgba(124, 58, 237, 0.08);
    }
    .job-info {
      flex: 1;
    }
    .job-info h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
    }
    .job-badges {
      display: flex;
      gap: 10px;
      margin-bottom: 12px;
      flex-wrap: wrap;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.5px;
      padding: 5px 14px;
      border-radius: 20px;
      font-weight: 700;
      text-transform: uppercase;
    }
    .badge-location {
      background: rgba(6, 214, 160, 0.12);
      color: var(--accent-cyan);
      border: 1px solid rgba(6, 214, 160, 0.2);
    }
    .badge-remote {
      background: rgba(124, 58, 237, 0.12);
      color: var(--purple-light);
      border: 1px solid rgba(124, 58, 237, 0.2);
    }
    .badge-type {
      background: rgba(245, 158, 11, 0.12);
      color: var(--accent-amber);
      border: 1px solid rgba(245, 158, 11, 0.2);
    }
    .job-desc {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.6;
    }
    .job-card .btn {
      flex-shrink: 0;
    }

    /* Modal */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(5, 5, 15, 0.85);
      backdrop-filter: blur(6px);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }
    .modal-overlay.active {
      display: flex;
    }
    .modal {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      max-width: 680px;
      width: 100%;
      max-height: 85vh;
      overflow-y: auto;
      padding: 48px;
      position: relative;
      animation: modalIn 0.3s ease;
    }
    @keyframes modalIn {
      from { opacity: 0; transform: translateY(24px) scale(0.97); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    .modal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      width: 40px;
      height: 40px;
      background: var(--bg-elevated);
      border: 1px solid var(--border-card);
      border-radius: 50%;
      color: var(--text-primary);
      font-size: 20px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, border-color 0.2s;
    }
    .modal-close:hover {
      background: var(--bg-card-hover);
      border-color: var(--border-subtle);
    }
    .modal h2 {
      font-size: 26px;
      font-weight: 800;
      margin-bottom: 8px;
    }
    .modal .job-badges {
      margin-bottom: 24px;
    }
    .modal-section {
      margin-bottom: 24px;
    }
    .modal-section h4 {
      font-size: 15px;
      font-weight: 700;
      color: var(--purple-light);
      margin-bottom: 10px;
      font-family: 'Space Mono', monospace;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .modal-section p,
    .modal-section li {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.7;
    }
    .modal-section ul {
      list-style: none;
      padding: 0;
    }
    .modal-section ul li {
      padding-left: 20px;
      position: relative;
      margin-bottom: 8px;
    }
    .modal-section ul li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 10px;
      width: 6px;
      height: 6px;
      background: var(--purple-primary);
      border-radius: 50%;
    }
    .modal .btn {
      margin-top: 12px;
    }

    /* General Application CTA */
    .general-app-card {
      background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      padding: 56px;
      text-align: center;
      max-width: 700px;
      margin: 0 auto;
    }
    .general-app-card h3 {
      font-size: 28px;
      font-weight: 800;
      margin-bottom: 14px;
    }
    .general-app-card p {
      font-size: 16px;
      color: var(--text-secondary);
      max-width: 480px;
      margin: 0 auto 28px;
      line-height: 1.7;
    }

    /* Perks Grid */
    .perks-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 48px;
    }
    .perk-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      padding: 32px 28px;
      text-align: center;
      transition: transform 0.3s, border-color 0.3s;
    }
    .perk-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-subtle);
    }
    .perk-icon {
      font-size: 36px;
      margin-bottom: 14px;
      display: block;
    }
    .perk-card h3 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .perk-card p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* ====== RESPONSIVE ====== */
    @media (max-width: 900px) {
      .culture-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .perks-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }
    @media (max-width: 700px) {
      .job-card {
        flex-direction: column;
        align-items: flex-start;
      }
      .job-card .btn {
        align-self: flex-start;
      }
      .modal {
        padding: 32px 24px;
      }
      .general-app-card {
        padding: 40px 28px;
      }
    }
    @media (max-width: 540px) {
      .culture-grid {
        grid-template-columns: 1fr;
      }
      .perks-grid {
        grid-template-columns: 1fr;
      }
      .careers-hero {
        padding: 130px 0 70px;
      }
    }

    @media (max-width: 480px) {
      .job-card {
        padding: 20px;
      }

      .culture-card {
        padding: 20px;
      }

      .perk-card {
        padding: 20px;
      }

      .modal {
        padding: 24px 16px;
      }
    }

/* ====== BLOG PAGE ====== */
/* ====== BLOG HERO ====== */
    .blog-hero {
      padding: 160px 0 80px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .blog-hero::before {
      content: '';
      position: absolute;
      top: -200px; right: -200px;
      width: 800px; height: 800px;
      background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
      animation: pulse-glow 8s ease-in-out infinite;
    }
    .blog-hero::after {
      content: '';
      position: absolute;
      bottom: -100px; left: -100px;
      width: 500px; height: 500px;
      background: radial-gradient(circle, rgba(6, 214, 160, 0.1) 0%, transparent 70%);
      animation: pulse-glow 10s ease-in-out infinite reverse;
    }
    .blog-hero .container { position: relative; z-index: 2; }
    .blog-hero h1 {
      font-size: clamp(36px, 5vw, 56px);
      font-weight: 900;
      letter-spacing: -2px;
      margin-bottom: 16px;
      animation: fadeInUp 0.6s ease both;
    }
    .blog-hero p {
      font-size: 18px;
      color: var(--text-secondary);
      max-width: 540px;
      margin: 0 auto;
      line-height: 1.7;
      animation: fadeInUp 0.6s ease 0.1s both;
    }

    /* ====== CATEGORY FILTERS ====== */
    .filter-bar {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 10px;
      padding: 0 0 60px;
      position: relative;
      z-index: 2;
    }
    .filter-btn {
      padding: 10px 24px;
      border-radius: 50px;
      border: 1px solid var(--border-subtle);
      background: transparent;
      color: var(--text-secondary);
      font-family: 'Outfit', sans-serif;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .filter-btn:hover {
      border-color: var(--purple-primary);
      color: var(--text-primary);
      background: var(--purple-subtle);
    }
    .filter-btn.active {
      background: var(--purple-primary);
      border-color: var(--purple-primary);
      color: #fff;
    }

    /* ====== BLOG GRID ====== */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 32px;
      padding-bottom: 100px;
    }
    @media (max-width: 960px) {
      .blog-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
      .blog-grid { grid-template-columns: 1fr; }
    }

    /* ====== BLOG CARD ====== */
    .blog-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      overflow: hidden;
      transition: transform 0.35s ease, border-color 0.35s ease, opacity 0.4s ease;
    }
    .blog-card:hover {
      transform: translateY(-6px);
      border-color: var(--purple-primary);
    }
    .blog-card.hidden {
      display: none;
    }

    .blog-thumb {
      width: 100%;
      height: 200px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 48px;
      position: relative;
      overflow: hidden;
    }
    .blog-thumb.thumb-1 {
      background: linear-gradient(135deg, #1a1a3a 0%, #3b1a6e 50%, #0d0d1a 100%);
    }
    .blog-thumb.thumb-2 {
      background: linear-gradient(135deg, #0d2818 0%, #1a5c3a 50%, #0d0d1a 100%);
    }
    .blog-thumb.thumb-3 {
      background: linear-gradient(135deg, #1a1a3a 0%, #2a1a5e 50%, #162040 100%);
    }
    .blog-thumb.thumb-4 {
      background: linear-gradient(135deg, #1a1030 0%, #4a1a6e 50%, #1a1a3a 100%);
    }
    .blog-thumb.thumb-5 {
      background: linear-gradient(135deg, #0d1a2a 0%, #1a3a5e 50%, #0d0d1a 100%);
    }
    .blog-thumb.thumb-6 {
      background: linear-gradient(135deg, #1a1a2a 0%, #2a2a5e 50%, #0d1a2a 100%);
    }
    .blog-thumb-icon {
      font-size: 48px;
      opacity: 0.7;
      filter: grayscale(20%);
    }

    .blog-body {
      padding: 24px;
    }
    .blog-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 14px;
    }
    .blog-date {
      font-size: 13px;
      color: var(--text-muted);
      font-family: 'Space Mono', monospace;
    }
    .blog-category {
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 4px 12px;
      border-radius: 50px;
      background: var(--purple-subtle);
      color: var(--purple-light);
      border: 1px solid var(--border-subtle);
    }
    .blog-category.cat-finance {
      background: rgba(6, 214, 160, 0.08);
      color: var(--accent-cyan);
      border-color: rgba(6, 214, 160, 0.15);
    }
    .blog-category.cat-compliance {
      background: rgba(245, 158, 11, 0.08);
      color: var(--accent-amber);
      border-color: rgba(245, 158, 11, 0.15);
    }
    .blog-category.cat-industry {
      background: rgba(59, 130, 246, 0.08);
      color: #60a5fa;
      border-color: rgba(59, 130, 246, 0.15);
    }

    .blog-body h3 {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 10px;
      line-height: 1.3;
      color: var(--text-primary);
    }
    .blog-body p {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 18px;
    }
    .blog-link {
      font-size: 14px;
      font-weight: 600;
      color: var(--purple-light);
      text-decoration: none;
      transition: color 0.3s ease;
    }
    .blog-link:hover {
      color: var(--accent-cyan);
    }

    /* ====== CTA SECTION ====== */
    .blog-cta {
      padding: 80px 0 100px;
      text-align: center;
    }
    .blog-cta-box {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius-lg);
      padding: 60px 40px;
      position: relative;
      overflow: hidden;
    }
    .blog-cta-box::before {
      content: '';
      position: absolute;
      top: -50%; left: -50%;
      width: 200%; height: 200%;
      background: radial-gradient(circle at center, var(--purple-glow) 0%, transparent 60%);
      opacity: 0.4;
    }
    .blog-cta-box > * { position: relative; z-index: 2; }
    .blog-cta-box h2 {
      font-size: clamp(28px, 4vw, 40px);
      font-weight: 800;
      margin-bottom: 16px;
    }
    .blog-cta-box p {
      font-size: 17px;
      color: var(--text-secondary);
      max-width: 500px;
      margin: 0 auto 32px;
      line-height: 1.7;
    }

    /* ====== ANIMATIONS ====== */
    @keyframes pulse-glow {
      0%, 100% { opacity: 0.5; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.1); }
    }

    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    @media (max-width: 480px) {
      .blog-card {
        border-radius: 12px;
      }

      .blog-body {
        padding: 20px;
      }

      .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
      }
    }

/* ====== TERMS PAGE ====== */
@media (max-width: 480px) {
      .prose h2 {
        font-size: 20px;
        margin: 32px 0 12px;
      }
      .prose p,
      .prose li {
        font-size: 14px;
      }
      .prose ul,
      .prose ol {
        padding-left: 18px;
      }
      .section.reveal {
        padding-top: 24px;
      }
    }

/* ====== PRIVACY PAGE ====== */
@media (max-width: 480px) {
      .prose h2 {
        font-size: 20px;
        margin: 32px 0 12px;
      }
      .prose p,
      .prose li {
        font-size: 14px;
      }
      .prose ul,
      .prose ol {
        padding-left: 18px;
      }
      .section.reveal {
        padding-top: 24px;
      }
    }

/* ====== ABOUT PAGE ====== */
/* ====== ABOUT: STORY SECTION ====== */
    .story-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 60px;
      align-items: center;
    }
    .story-text p {
      font-size: 16px;
      color: var(--text-secondary);
      line-height: 1.8;
      margin-bottom: 20px;
    }
    .story-text p:last-child { margin-bottom: 0; }
    .story-visual {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .story-card {
      width: 100%;
      max-width: 380px;
      aspect-ratio: 4 / 3;
      background: linear-gradient(160deg, var(--bg-elevated), var(--bg-card));
      border: 1px solid var(--border-card);
      border-radius: var(--radius-lg);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
      position: relative;
      overflow: hidden;
    }
    .story-card::before {
      content: '';
      position: absolute;
      top: -60px;
      right: -60px;
      width: 200px;
      height: 200px;
      background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
    }
    .story-card::after {
      content: '';
      position: absolute;
      bottom: -40px;
      left: -40px;
      width: 160px;
      height: 160px;
      background: radial-gradient(circle, rgba(6, 214, 160, 0.12) 0%, transparent 70%);
    }
    .story-card .logo-icon-lg {
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, var(--purple-primary), var(--accent-cyan));
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 38px;
      color: white;
      position: relative;
      z-index: 1;
    }
    .story-card .est-label {
      font-family: 'Space Mono', monospace;
      font-size: 14px;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: var(--text-muted);
      position: relative;
      z-index: 1;
    }

    /* ====== ABOUT: MISSION & VISION ====== */
    .mv-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }
    .mv-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      padding: 40px 32px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s;
    }
    .mv-card:hover {
      border-color: var(--border-subtle);
      transform: translateY(-4px);
    }
    .mv-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--purple-primary), var(--accent-cyan));
      opacity: 0;
      transition: opacity 0.3s;
    }
    .mv-card:hover::before { opacity: 1; }
    .mv-card .mv-icon {
      font-size: 32px;
      margin-bottom: 16px;
      display: block;
    }
    .mv-card h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 14px;
    }
    .mv-card p {
      font-size: 15px;
      color: var(--text-secondary);
      line-height: 1.8;
    }

    /* ====== ABOUT: VALUES GRID ====== */
    .values-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
    }
    .value-card {
      text-align: center;
      padding: 36px 24px;
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      transition: all 0.3s;
    }
    .value-card:hover {
      border-color: var(--border-subtle);
      transform: translateY(-4px);
    }
    .value-card .v-icon {
      font-size: 36px;
      margin-bottom: 16px;
      display: block;
    }
    .value-card h4 {
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .value-card p {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* ====== ABOUT: TEAM ====== */
    .team-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 28px;
    }
    .team-card {
      background: var(--bg-card);
      border: 1px solid var(--border-card);
      border-radius: var(--radius);
      padding: 36px 24px;
      text-align: center;
      transition: all 0.3s;
    }
    .team-card:hover {
      border-color: var(--border-subtle);
      transform: translateY(-4px);
    }
    .team-avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 24px;
      color: white;
      margin: 0 auto 20px;
    }
    .team-avatar.av-1 { background: linear-gradient(135deg, var(--purple-primary), #6d28d9); }
    .team-avatar.av-2 { background: linear-gradient(135deg, var(--accent-cyan), #0891b2); }
    .team-avatar.av-3 { background: linear-gradient(135deg, var(--accent-amber), #d97706); }
    .team-avatar.av-4 { background: linear-gradient(135deg, #ec4899, #be185d); }
    .team-card h4 {
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 4px;
    }
    .team-card .team-role {
      font-family: 'Space Mono', monospace;
      font-size: 11px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--purple-light);
      margin-bottom: 14px;
      display: block;
    }
    .team-card p {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.6;
    }

    /* ====== ABOUT: STATS ====== */
    .stats-section {
      padding: 80px 0;
      background: var(--bg-primary);
      border-top: 1px solid var(--border-card);
      border-bottom: 1px solid var(--border-card);
    }
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }
    .stat-item h3 {
      font-size: clamp(32px, 4vw, 48px);
      font-weight: 900;
      background: linear-gradient(135deg, var(--purple-light), var(--accent-cyan));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 6px;
    }
    .stat-item p {
      font-size: 14px;
      color: var(--text-secondary);
      font-weight: 500;
    }

    /* ====== RESPONSIVE ====== */
    @media (max-width: 1024px) {
      .story-grid { grid-template-columns: 1fr; gap: 40px; }
      .story-visual { order: -1; }
      .values-grid { grid-template-columns: repeat(2, 1fr); }
      .team-grid { grid-template-columns: repeat(2, 1fr); }
      .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    }
    @media (max-width: 768px) {
      .mv-grid { grid-template-columns: 1fr; }
      .values-grid { grid-template-columns: 1fr; }
      .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 480px) {
      .stats-grid { grid-template-columns: 1fr; }
    }

/* ═══════════════════════════════════════════════════════════
   Auth Card Loading Overlay
   ═══════════════════════════════════════════════════════════ */
.auth-card { position: relative; }
.auth-card-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 20, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}
.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  border-top-color: #6366f1;
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
.loader-text {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
}
