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

:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f2a;
  --bg-card: #13133a;
  --bg-card-hover: #1a1a4a;
  --text-primary: #f1f1ff;
  --text-secondary: #a0a0d0;
  --text-muted: #6a6a9a;
  --accent-1: #6366f1;
  --accent-2: #a855f7;
  --accent-3: #8b5cf6;
  --gradient-1: linear-gradient(135deg, #6366f1, #a855f7);
  --gradient-2: linear-gradient(135deg, #4f46e5, #7c3aed);
  --gradient-3: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
  --border-color: rgba(99, 102, 241, 0.15);
  --border-glow: rgba(99, 102, 241, 0.3);
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1200px;
  --nav-height: 72px;
}

/* ===== LIGHT MODE ===== */
body.light-mode {
  --bg-primary: #f0f2f8;
  --bg-secondary: #e2e6f0;
  --bg-card: #ffffff;
  --bg-card-hover: #f4f6fc;
  --text-primary: #0b1121;
  --text-secondary: #3b4a6b;
  --text-muted: #8896b8;
  --border-color: rgba(99, 102, 241, 0.15);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-glow: 0 4px 24px rgba(99,102,241,0.1);
  --badge-bg: #eef2ff;
  --input-bg: #ffffff;
  --nav-bg-scrolled: rgba(240, 242, 248, 0.92);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== CURSOR GLOW ===== */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

@media (max-width: 768px) {
  .cursor-glow { display: none; }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 var(--border-color);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

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

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

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s;
  border-radius: 2px;
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  position: relative;
  width: 44px;
  height: 28px;
  border-radius: 14px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.4s ease;
  overflow: hidden;
}

.theme-toggle:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.12);
}

.theme-toggle .toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
  z-index: 2;
}

.theme-toggle .toggle-thumb svg {
  width: 13px;
  height: 13px;
  color: #fff;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  position: absolute;
}

.theme-toggle .toggle-thumb .sun-icon {
  opacity: 0;
  transform: scale(0) rotate(-90deg);
}

.theme-toggle .toggle-thumb .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

body.light-mode .theme-toggle {
  border-color: rgba(99, 102, 241, 0.25);
  background: #e0e4f0;
}

body.light-mode .theme-toggle .toggle-thumb {
  transform: translateX(16px);
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

body.light-mode .theme-toggle .toggle-thumb .sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

body.light-mode .theme-toggle .toggle-thumb .moon-icon {
  opacity: 0;
  transform: scale(0) rotate(90deg);
}

body.light-mode .theme-toggle:hover {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  background: none;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  padding: 0 8px;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  transition: all 0.3s;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.lang-toggle:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.lang-toggle .lang-globe {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) { opacity: 0; }

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 0.95rem; }

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent-1);
  top: -20%; left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--accent-2);
  bottom: -20%; right: -10%;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px; height: 400px;
  background: var(--accent-3);
  top: 40%; left: 50%;
  transform: translateX(-50%);
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(50px, -50px) scale(1.1); }
  50% { transform: translate(-30px, 30px) scale(0.95); }
  75% { transform: translate(40px, 40px) scale(1.05); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-suffix {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-2);
}

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

/* ===== TRUSTED BY ===== */
.trusted {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.trusted-label {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trusted-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.trusted-logo:hover span {
  opacity: 0.8;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  border-color: var(--accent-1);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-1);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 100px 0;
  background: var(--bg-primary);
}

.steps {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px 0;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s;
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 80px;
  bottom: 0;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
}

.step-number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gradient-1);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.step-arrow {
  flex-shrink: 0;
  color: var(--accent-1);
  margin-top: 4px;
  opacity: 0.5;
}

/* ===== SECURITY ===== */
.security {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}

.security-card:hover {
  border-color: var(--accent-1);
  box-shadow: var(--shadow-glow);
}

.security-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.security-card-header svg {
  width: 32px;
  height: 32px;
  color: var(--accent-1);
  flex-shrink: 0;
}

.security-card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.security-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.security-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.security-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-1);
  font-weight: 600;
}

.security-list li strong {
  color: var(--text-primary);
}

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

/* ===== STATS BANNER ===== */
.stats-banner {
  padding: 80px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stats-item {
  text-align: center;
}

.stats-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stats-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-2);
}

.stats-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ===== TECHNOLOGY ===== */
.tech {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tech-item {
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  transition: all 0.3s;
  cursor: default;
}

.tech-item:hover {
  border-color: var(--accent-1);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.tech-item span {
  font-weight: 600;
  font-size: 0.95rem;
  font-family: 'JetBrains Mono', monospace;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
  background: var(--bg-primary);
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

.faq-item.active {
  border-color: var(--accent-1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent-1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

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

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

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

.cta-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s;
}

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

.cta-form input:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.cta-note {
  margin-top: 16px !important;
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

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

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.3s;
}

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

.footer-social a:hover {
  color: var(--accent-1);
  border-color: var(--accent-1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

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

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

/* ===== MOBILE NAV OVERLAY ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.4s;
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .hero-stats {
    gap: 24px;
  }

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

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

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

  .stats-number {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .cta-card {
    padding: 40px 24px;
  }

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

  .step-arrow {
    display: none;
  }
}

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

/* ===== THEME TRANSITION ===== */
body, body * {
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card, .security-card, .step, .faq-item, .cta-card, .tech-item {
  transition: all 0.35s ease, opacity 0.6s ease, transform 0.6s ease;
}

body.light-mode .cta-form input {
  background: #ffffff;
  border-color: #d0d0e8;
}

body.light-mode .cta-form input:focus {
  border-color: var(--accent-1);
}

body.light-mode .gradient-orb {
  opacity: 0.08;
}

body.light-mode .hero-grid {
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
}

body.light-mode .navbar.scrolled {
  border-bottom: 1px solid var(--border-color);
}

body.light-mode .hero-badge {
  background: #eef2ff;
  border-color: rgba(99, 102, 241, 0.2);
}

body.light-mode .hero-stats {
  border-top-color: rgba(99, 102, 241, 0.1);
}

body.light-mode .btn-outline {
  color: #0b1121;
}

body.light-mode .trusted-logo span {
  color: #64748b;
}

body.light-mode .trusted {
  background: #e2e6f0;
}

body.light-mode .features {
  background: #e2e6f0;
}

body.light-mode .security {
  background: #e2e6f0;
}

body.light-mode .tech {
  background: #e2e6f0;
}

body.light-mode .cta {
  background: #e2e6f0;
}

body.light-mode .stats-banner {
  background: #f0f2f8;
}

body.light-mode .stats-banner::before {
  background:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
}

body.light-mode .cursor-glow {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

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