/* Root Variables */
:root {
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #8b5cf6;
  --background-dark: #0f172a;
  --background-darker: #020617;
  --surface: #1e293b;
  --surface-light: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border-color: rgba(148, 163, 184, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --gold: #ffd700;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background-darker);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform, opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.logo svg {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: background 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--surface-light);
  border-color: var(--primary-color);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--spacing-2xl);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform, opacity;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  /* Reduce blur on mobile Safari to avoid layer invalidations */
  filter: blur(80px);
  -webkit-filter: blur(80px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
  transform: translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  contain: paint;
  transform-style: preserve-3d;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: 7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  top: 50%;
  right: 20%;
  animation-delay: 14s;
}

@keyframes float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  33% {
    transform: translate3d(30px, -30px, 0) scale(1.1);
  }

  66% {
    transform: translate3d(-20px, 20px, 0) scale(0.9);
  }
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 2rem;
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.feature-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-color);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--spacing-xl);
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-color);
}

.stat {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

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

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  animation: floatPhone 6s ease-in-out infinite;
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes floatPhone {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -20px, 0) rotate(2deg);
  }
}

.phone-frame {
  width: 320px;
  height: 650px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2.5rem;
  padding: 1rem;
  box-shadow:
    0 0 0 8px rgba(148, 163, 184, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(99, 102, 241, 0.2);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #0f172a;
  border-radius: 1rem;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 2rem;
  overflow: hidden;
}

.app-preview {
  padding: 1.5rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.preview-logo svg {
  color: var(--primary-color);
}

.preview-balance {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
}

.preview-welcome {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
}

.welcome-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.preview-welcome h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.preview-welcome p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.preview-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.25rem;
}

.card-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--primary-gradient);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

/* Features Section */
.features {
  padding: var(--spacing-2xl) 0;
  background: var(--background-darker);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 2rem;
  color: var(--primary-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--primary-light);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

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

/* How It Works */
.how-it-works {
  padding: var(--spacing-2xl) 0;
  background: var(--background-dark);
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.step {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-glow);
}

.step-content {
  flex: 1;
  padding-top: 0.5rem;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Experts Section */
.experts {
  padding: var(--spacing-2xl) 0;
  background: var(--background-dark);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.expert-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.expert-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.expert-avatar {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--shadow-glow);
}

.expert-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.expert-status.available {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.expert-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.expert-username {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.expert-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--gold);
}

.rating-stars span {
  font-weight: 600;
  color: var(--text-primary);
}

.rating-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.tag {
  padding: 0.375rem 0.75rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary-light);
}

.expert-languages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.expert-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

.price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-light);
}

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

.expert-btn {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 4px 15px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.2) inset,
    0 1px 2px rgba(255, 255, 255, 0.1) inset;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.expert-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.expert-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent, rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.expert-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 30px rgba(99, 102, 241, 0.5),
    0 4px 15px rgba(139, 92, 246, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 2px 4px rgba(255, 255, 255, 0.2) inset;
}

.expert-btn:hover::before {
  transform: translateX(100%);
}

.expert-btn:hover::after {
  opacity: 1;
}

.expert-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 4px 15px rgba(99, 102, 241, 0.4),
    0 2px 8px rgba(139, 92, 246, 0.3);
}

.experts-cta {
  text-align: center;
  margin-top: var(--spacing-xl);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0);
  will-change: opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.modal-content {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  max-width: 500px;
  max-height: 90vh;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  color: var(--primary-light);
}

.modal-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modal-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.modal-btn {
  padding: 0.875rem 2rem;
}

/* Expert Application Modal */
.expert-modal-content {
  max-width: 480px;
  padding: var(--spacing-xl);
}

.modal-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.modal-icon-small {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 2px solid rgba(99, 102, 241, 0.3);
  border-radius: 50%;
  color: var(--primary-light);
}

.modal-header .modal-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

.modal-header .modal-description {
  font-size: 0.875rem;
}

.expert-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: left;
}

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

.required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

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

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-submit {
  margin-top: var(--spacing-sm);
  width: 100%;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: var(--spacing-md) 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 2px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  color: var(--success);
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--success);
}

.success-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

/* Testimonials */
.testimonials {
  padding: var(--spacing-2xl) 0;
  background: var(--background-darker);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--gold);
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.author-name {
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.author-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Become Expert Section */
.become-expert-section {
  padding: var(--spacing-2xl) 0;
  background: var(--background-dark);
}

.become-expert-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  transition: all 0.3s ease;
}

.become-expert-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.become-expert-content {
  padding-right: var(--spacing-lg);
}

.become-expert-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.become-expert-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.become-expert-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.benefit-item {
  display: flex;
  gap: var(--spacing-sm);
  align-items: flex-start;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(99, 102, 241, 0.05);
}

.benefit-item svg {
  flex-shrink: 0;
  color: var(--primary-light);
  margin-top: 2px;
}

.benefit-item h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.benefit-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.become-expert-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.expert-stats-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(99, 102, 241, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  color: var(--primary-light);
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-card .stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-card .stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  padding: var(--spacing-2xl) 0;
  background: var(--background-darker);
}

.cta-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.cta-visual {
  position: relative;
  z-index: 1;
}

.cta-card-preview {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-xl);
}

.preview-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(99, 102, 241, 0.2);
  border-radius: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary-light);
  margin-bottom: var(--spacing-sm);
}

.preview-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.preview-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  color: white;
}

/* Footer */
.footer {
  background: var(--background-dark);
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.footer-brand .logo {
  margin-bottom: var(--spacing-md);
}

.footer-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  max-width: 320px;
}

.footer-version {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.footer-version:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-column a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 600px;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Mobile Menu */
.nav-links.active {
  display: flex;
  position: fixed;
  top: 77px;
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--spacing-lg);
  gap: 0;
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-links.active a {
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
}

.nav-links.active a:not(.btn-primary):not(.btn-secondary) {
  color: var(--text-secondary);
}

.nav-links.active a:not(.btn-primary):not(.btn-secondary):hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-light);
}

.nav-links.active .btn-primary,
.nav-links.active .btn-secondary {
  margin-top: var(--spacing-md);
  justify-content: center;
  width: 100%;
}

.nav-links.active .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-toggle.active {
  background: rgba(99, 102, 241, 0.2);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

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

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

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

  .become-expert-card {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .become-expert-title {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 100%;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-column h4 {
    font-size: 0.8125rem;
  }

  .expert-modal-content {
    max-width: 520px;
    padding: var(--spacing-lg);
  }
}

@media (max-width: 768px) {

  /* Less blur on mobile to reduce repaint cost */
  .gradient-orb {
    filter: blur(50px);
    -webkit-filter: blur(50px);
  }

  :root {
    --spacing-xs: 0.4rem;
    /* 80% of 0.5rem */
    --spacing-sm: 0.8rem;
    /* 80% of 1rem */
    --spacing-md: 1.2rem;
    /* 80% of 1.5rem */
    --spacing-lg: 1.6rem;
    /* 80% of 2rem */
    --spacing-xl: 2.4rem;
    /* 80% of 3rem */
    --spacing-2xl: 3.2rem;
    /* 80% of 4rem */
  }

  .nav-links {
    display: none;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .cta-visual {
    display: none;
  }

  /* Hide phone mockup on mobile so text shows first */
  .hero-visual {
    display: none;
  }

  .phone-frame {
    width: 280px;
    height: 570px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  /* Buttons: full-width and safe wrapping on mobile */
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .expert-btn,
  .modal-btn,
  .btn-become-expert,
  .cta-buttons .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
    padding-top: 0;
    border-top: none;
  }

  /* Mobile: make stats card-like for better readability */
  .stat {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: left;
    box-shadow: var(--shadow-sm);
  }

  .stat-number {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }

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

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

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

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

  .become-expert-title {
    font-size: 1.75rem;
  }

  .become-expert-description {
    font-size: 1rem;
  }

  .benefit-item {
    gap: var(--spacing-sm);
  }

  .benefit-item h4 {
    font-size: 0.9375rem;
  }

  .benefit-item p {
    font-size: 0.875rem;
  }

  .become-expert-content {
    padding: 0;
  }

  .expert-stats-card {
    padding: 0;
  }

  .stat-card .stat-number {
    font-size: 1.5rem;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: var(--spacing-xl);
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .footer-brand {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
  }

  .footer-column {
    text-align: center;
  }

  .footer-column h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary-light);
  }

  .footer-column ul {
    gap: var(--spacing-xs);
  }

  .footer-bottom {
    gap: var(--spacing-xs);
    padding-top: var(--spacing-md);
  }

  .footer-disclaimer {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  /* Phone mockup inner content sizing */
  .app-preview {
    padding: 1.25rem 0.875rem;
    gap: 0.55rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .preview-logo {
    font-size: 0.8125rem;
  }

  .preview-balance {
    font-size: 0.5875rem;
    padding: 0.25rem 0.5rem;
  }

  .preview-welcome {
    padding: 1rem;
  }

  .welcome-badge {
    font-size: 0.5625rem;
    margin-bottom: 0.5rem;
  }

  .preview-welcome h3 {
    font-size: 0.9375rem;
  }

  .preview-welcome p {
    font-size: 0.6875rem;
  }

  .preview-card {
    padding: 1rem;
  }

  .card-title {
    font-size: 0.875rem;
  }

  .card-btn {
    padding: 0.625rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xs: 0.3rem;
    /* 60% of 0.5rem (aligned with 60% scale) */
    --spacing-sm: 0.6rem;
    /* 60% of 1rem */
    --spacing-md: 0.9rem;
    /* 60% of 1.5rem */
    --spacing-lg: 1.2rem;
    /* 60% of 2rem */
    --spacing-xl: 1.8rem;
    /* 60% of 3rem */
    --spacing-2xl: 2.4rem;
    /* 60% of 4rem */
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .hero-title {
    font-size: 1.75rem;
  }

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

  .phone-frame {
    width: 240px;
    height: 490px;
  }

  .footer-column ul li {
    font-size: 0.875rem;
  }

  .footer-description {
    font-size: 0.875rem;
  }

  .nav-links.active {
    top: 67px;
  }

  .expert-modal-content {
    max-width: 95%;
    padding: var(--spacing-md);
  }

  .modal-header .modal-title {
    font-size: 1.25rem;
  }

  .modal-header .modal-description {
    font-size: 0.8125rem;
  }

  .modal-icon-small {
    width: 40px;
    height: 40px;
  }

  .success-icon {
    width: 56px;
    height: 56px;
  }

  .success-title {
    font-size: 1.25rem;
  }

  .success-text {
    font-size: 0.875rem;
  }

  .form-input,
  .form-textarea {
    font-size: 16px;
    /* Prevents zoom on iOS */
    padding: 0.625rem 0.75rem;
  }

  /* Extra-small screens: slightly smaller stats */
  .stat-number {
    font-size: 1.5rem;
  }

  /* Slightly reduce button padding on very small screens */
  .btn-primary,
  .btn-secondary,
  .btn-ghost,
  .expert-btn,
  .modal-btn,
  .btn-become-expert,
  .cta-buttons .btn-primary {
    padding: 0.75rem 1rem;
  }

  .form-group {
    gap: 0.25rem;
  }

  .expert-form {
    gap: var(--spacing-sm);
  }

  /* Phone mockup extra-tight sizing */
  .app-preview {
    padding: 1.875rem 0.75rem;
    gap: 0.525rem;
  }

  .preview-logo {
    font-size: 0.75rem;
  }

  .preview-balance {
    font-size: 0.525rem;
    padding: 0.25rem 0.5rem;
  }

  .preview-welcome h3 {
    font-size: 0.875rem;
  }

  .preview-welcome p {
    font-size: 0.65625rem;
  }

  .card-title {
    font-size: 0.8125rem;
  }

  .card-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Safer reveal animation (transition-based to avoid iOS restart) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Legal Pages */
.legal-page {
  background: var(--background-darker);
  color: var(--text-primary);
}

.legal-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.legal-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md) 0;
}

.legal-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 600;
  color: var(--text-primary);
}

.legal-logo svg {
  color: var(--primary-color);
}

.legal-back {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

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

.legal-main {
  padding: var(--spacing-2xl) 0;
}

.legal-article {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.legal-article h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.legal-article h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.legal-article h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: var(--spacing-sm);
  margin-bottom: 0.4rem;
}

.legal-article p {
  color: var(--text-secondary);
}

.legal-article ul,
.legal-article ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
  color: var(--text-secondary);
}

.legal-article a {
  color: var(--primary-light);
}

.legal-footer {
  border-top: 1px solid var(--border-color);
  background: rgba(15, 23, 42, 0.9);
  padding: var(--spacing-lg) 0;
}

.legal-footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 768px) {
  .legal-header-content {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .legal-article {
    padding: var(--spacing-lg);
  }

  .legal-article h1 {
    font-size: 1.65rem;
  }

  .legal-article h2 {
    font-size: 1.2rem;
  }
}