/* ═══════════════════════════════════════════════════
   BrainMapPro — Website Stylesheet
   ═══════════════════════════════════════════════════ */

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

:root {
  --bg-primary: #0A0E1A;
  --bg-secondary: #0F1629;
  --bg-card: #141B2D;
  --bg-card-hover: #1A2340;
  --border: #1E2D4A;
  --border-light: #2A3A5C;
  --text-primary: #E8ECF4;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent-blue: #3B82F6;
  --accent-blue-light: #60A5FA;
  --accent-purple: #8B5CF6;
  --accent-green: #10B981;
  --accent-orange: #F59E0B;
  --accent-red: #EF4444;
  --accent-cyan: #06B6D4;
  --gradient-primary: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #06B6D4 100%);
  --gradient-text: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #34D399 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(59,130,246,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════ NAVIGATION ═══════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
}

.logo-icon { font-size: 28px; }
.logo-text { color: var(--text-primary); }
.logo-accent { color: var(--accent-blue); }

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

.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-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.lang-switch:hover {
  color: var(--text-primary);
  border-color: var(--accent-blue);
  background: rgba(59,130,246,0.1);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--accent-blue);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--accent-blue-light);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}

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

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

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 140px 24px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-glow-1 {
  width: 600px; height: 600px;
  background: rgba(59,130,246,0.15);
  top: -100px; right: -100px;
}

.hero-glow-2 {
  width: 500px; height: 500px;
  background: rgba(139,92,246,0.1);
  bottom: -100px; left: -100px;
}

.hero-container {
  position: relative;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: 50px;
  color: var(--accent-blue-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero-badge-large {
  font-size: 18px;
  padding: 12px 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(139,92,246,0.15) 100%);
  border: 1px solid rgba(59,130,246,0.3);
  box-shadow: 0 0 20px rgba(59,130,246,0.1);
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-blue-light);
  box-shadow: 0 0 30px rgba(59,130,246,0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-muted);
}

.btn-full { width: 100%; justify-content: center; }

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-blue-light);
  font-family: 'JetBrains Mono', monospace;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-screenshot {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.screenshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.screenshot-placeholder,
.gallery-placeholder {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
}

.screenshot-placeholder {
  height: 500px;
}

.placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.placeholder-icon {
  font-size: 48px;
  opacity: 0.5;
}

/* ═══════════════ SECTIONS ═══════════════ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: 50px;
  color: var(--accent-blue-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(59,130,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent, var(--accent-blue));
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  opacity: 0.6;
}

/* ═══════════════ AI HIGHLIGHT ═══════════════ */
.ai-section {
  background: var(--bg-secondary);
  overflow: hidden;
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.ai-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ai-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.ai-desc strong {
  color: #A78BFA;
}

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-feat-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 85, 247, 0.08);
  border-radius: 10px;
}

.ai-feat strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.ai-feat span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.ai-visual {
  position: relative;
}

.ai-report-preview {
  background: #0D1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 30px rgba(168,85,247,0.08);
}

.ai-preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.ai-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ai-dot.red { background: #EF4444; }
.ai-dot.yellow { background: #F59E0B; }
.ai-dot.green { background: #10B981; }

.ai-preview-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.ai-preview-body {
  padding: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-height: 400px;
  overflow-y: auto;
}

.ai-preview-body p {
  margin-bottom: 12px;
}

.ai-preview-body strong {
  color: #A78BFA;
}

.ai-preview-body em {
  color: var(--text-muted);
  font-size: 11px;
}

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

/* ═══════════════ MODULES ═══════════════ */
.modules-section {
  background: var(--bg-secondary);
}

.modules-category {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  padding-left: 16px;
  border-left: 3px solid var(--accent-blue);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s;
}

.module-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.module-card.available {
  border-top: 3px solid var(--accent-green);
}

.module-card.upcoming {
  border-top: 3px solid var(--accent-purple);
  opacity: 0.85;
}

.module-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(16,185,129,0.1);
  color: var(--accent-green);
  margin-bottom: 12px;
}

.upcoming-status {
  background: rgba(139,92,246,0.1);
  color: var(--accent-purple);
}

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

.module-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════ SCREENSHOTS / GALLERY ═══════════════ */

/* Filter tabs */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.gallery-filter {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-filter:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
}

.gallery-filter.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.gallery-item:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 16 / 10;
}

.gallery-item.large img {
  aspect-ratio: 21 / 10;
}

.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(59, 130, 246, 0.15);
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: all 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.15);
}

.lightbox-caption {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-align: center;
  z-index: 10001;
}

/* Video section */
.video-section {
  margin-top: 64px;
  text-align: center;
}

.video-title {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
}

.video-play-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 2px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  transition: all 0.3s;
}

.video-placeholder:hover .video-play-btn {
  background: var(--accent-blue);
  color: #fff;
  transform: scale(1.1);
}

.video-wrapper video,
.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

/* Hero image */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

/* ═══════════════ TECHNOLOGY ═══════════════ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.tech-item:hover {
  border-color: var(--accent-blue);
  background: var(--bg-card-hover);
}

.tech-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.tech-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════ COMPARISON TABLE ═══════════════ */
.comparison-section {
  background: var(--bg-secondary);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  background: var(--bg-card);
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.comparison-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(59,130,246,0.03);
}

.highlight-col {
  background: rgba(59,130,246,0.05) !important;
  color: var(--text-primary) !important;
  font-weight: 500;
}

.check {
  color: var(--accent-green);
  font-weight: 700;
  margin-right: 4px;
}

.cross {
  color: var(--accent-red);
  opacity: 0.6;
  margin-right: 4px;
}

/* ═══════════════ ROADMAP ═══════════════ */
.roadmap-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.roadmap-item {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  position: relative;
}

.roadmap-item::before {
  content: '';
  position: absolute;
  left: 74px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-purple);
  z-index: 1;
}

.roadmap-item.active::before {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 0 12px rgba(59,130,246,0.4);
}

.roadmap-date {
  min-width: 60px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-blue-light);
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
  padding-top: 4px;
}

.roadmap-content {
  padding-left: 20px;
}

.roadmap-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.roadmap-content ul {
  list-style: none;
}

.roadmap-content li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.roadmap-content li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  opacity: 0.6;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  font-size: 24px;
  line-height: 1;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-item a,
.contact-item span {
  font-size: 15px;
  color: var(--text-primary);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--accent-blue-light);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

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

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

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

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

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

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

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

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .features-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .gallery-filters { gap: 6px; }
  .gallery-filter { padding: 6px 14px; font-size: 12px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .hero { padding: 120px 24px 40px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-actions { flex-direction: column; align-items: center; }

  .roadmap-timeline::before { left: 20px; }
  .roadmap-item::before { left: 14px; }
  .roadmap-date { min-width: 0; font-size: 12px; }
}

/* ═══════════════ ANIMATIONS ═══════════════ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
