/* Helianthe AI - Modern Purple Gradient Theme */
/* Using custom CSS with modern design principles */

:root {
  /* Purple Gradient Colors */
  --primary-start: #667eea;
  --primary-end: #764ba2;
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-gradient-hover: linear-gradient(135deg, #5a6fd6 0%, #6a4291 100%);

  /* Dark Theme */
  --bg-dark: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a25;
  --bg-elevated: #1e1e2a;

  /* Text Colors */
  --text-primary: #ddd;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.5);

  /* Accent Colors */
  --accent-glow: rgba(102, 126, 234, 0.3);
  --accent-border: rgba(118, 75, 162, 0.3);

  /* Status Colors */
  --status-online: #10b981;
  --status-standby: #f59e0b;
  --status-offline: #ef4444;

  /* Spacing */
  --section-padding: 100px 0;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
  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(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text-secondary);
}

/* Circuit Background */
.circuit-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
}

.circuit-svg {
  width: 100%;
  height: 100%;
}

.circuit-traces path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawTrace 8s ease-in-out infinite;
}

.circuit-traces path:nth-child(2) { animation-delay: 1s; }
.circuit-traces path:nth-child(3) { animation-delay: 2s; }
.circuit-traces path:nth-child(4) { animation-delay: 3s; }
.circuit-traces path:nth-child(5) { animation-delay: 4s; }
.circuit-traces path:nth-child(6) { animation-delay: 5s; }

@keyframes drawTrace {
  0%, 100% { stroke-dashoffset: 1000; }
  50% { stroke-dashoffset: 0; }
}

.circuit-nodes circle {
  animation: pulseNode 3s ease-in-out infinite;
}

.circuit-nodes circle:nth-child(odd) { animation-delay: 0.5s; }

@keyframes pulseNode {
  0%, 100% { opacity: 0.3; r: 4; }
  50% { opacity: 1; r: 6; }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Typography */
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.section-intro {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 60px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--accent-border);
  padding: 16px 0;
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-normal);
}

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

nav a:hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

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

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--primary-start);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Hero Swiper Section */
.hero-swiper {
  height: 100vh;
  min-height: 600px;
  padding-top: 72px;
}

.hero-slider {
  height: 100%;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-core .slide-bg {
  background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}

.slide-modules .slide-bg {
  background: radial-gradient(ellipse at center, rgba(118, 75, 162, 0.15) 0%, transparent 70%);
}

.slide-integration .slide-bg {
  background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.1) 0%, transparent 60%);
}

.slide-content {
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  z-index: 1;
}

.tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--text-secondary);
  margin: 24px 0 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
  color: var(--primary-start);
  background: var(--bg-card);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--primary-gradient);
  color: white;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem;
}

.swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 1;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  background: var(--primary-gradient);
  width: 30px;
  border-radius: 5px;
}

/* Architecture Section */
.architecture-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.schematic-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px) {
  .schematic-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.cpu-topdown {
  display: flex;
  justify-content: center;
}

.cpu-svg {
  width: 100%;
  max-width: 600px;
  filter: drop-shadow(0 0 40px var(--accent-glow));
}

.layer-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  fill: var(--text-muted);
  letter-spacing: 0.1em;
}

.core-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  fill: white;
  letter-spacing: 0.1em;
}

.core-sublabel {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  fill: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.node-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  fill: white;
}

.layer {
  transition: all var(--transition-normal);
}

.service-nodes .node {
  cursor: pointer;
}

.service-nodes .node rect {
  transition: opacity var(--transition-normal);
}

.service-nodes .node:hover rect {
  opacity: 1;
}

.bus-line {
  stroke-dasharray: 5 3;
  animation: flowBus 2s linear infinite;
}

@keyframes flowBus {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -16; }
}

.data-pulse {
  filter: drop-shadow(0 0 6px currentColor);
}

/* Architecture Description */
.arch-description {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.arch-layer {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-border);
  transition: all var(--transition-normal);
}

.arch-layer:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-start);
}

.layer-indicator {
  width: 4px;
  height: 50px;
  border-radius: 2px;
  flex-shrink: 0;
}

.layer-indicator.infra {
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.5), rgba(118, 75, 162, 0.3));
}

.layer-indicator.services {
  background: linear-gradient(180deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.6));
}

.layer-indicator.core {
  background: var(--primary-gradient);
}

.layer-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Modules Section */
.modules-section {
  padding: var(--section-padding);
}

.module-swiper {
  margin-top: 40px;
}

.modules-slider {
  padding-bottom: 50px;
}

.modules-slider .swiper-pagination {
  bottom: 0;
}

.modules-slider .swiper-slide {
  width: 340px;
  height: auto;
  display: flex;
}

/* Module Cards (Bootstrap-inspired) */
.module-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-normal);
}

.module-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-start);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.card-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.card-status.online {
  background: rgba(16, 185, 129, 0.15);
  color: var(--status-online);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.card-status.standby {
  background: rgba(245, 158, 11, 0.15);
  color: var(--status-standby);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-status.offline {
  background: rgba(239, 68, 68, 0.15);
  color: var(--status-offline);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.module-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.module-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  margin-bottom: 20px;
}

.card-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--accent-border);
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-gradient);
  border-radius: 50%;
  flex-shrink: 0;
}

.card-features li:last-child {
  border-bottom: none;
}

/* Projects Section */
.projects-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-start);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--status-online);
  border: 1px solid rgba(16, 185, 129, 0.3);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.project-badge.development {
  background: rgba(102, 126, 234, 0.15);
  color: var(--primary-start);
  border: 1px solid rgba(102, 126, 234, 0.3);
}

.project-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.project-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.project-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border-radius: 4px;
  color: var(--text-muted);
}

.project-stats {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--accent-border);
}

.project-stats .stat {
  display: flex;
  flex-direction: column;
}

.project-stats .stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 600;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Facts Section */
.facts-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

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

/* Fact Cards (Bootstrap-style) */
.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.fact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.fact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-start);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.fact-card:hover::before {
  transform: scaleX(1);
}

.fact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
}

.fact-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.fact-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

/* Advantages Section */
.advantages-section {
  padding: var(--section-padding);
}

.advantages-swiper {
  margin-top: 40px;
}

.advantages-slider {
  padding-bottom: 50px;
}

.advantages-slider .swiper-pagination {
  bottom: 0;
}

.advantages-slider .swiper-slide {
  width: 380px;
  height: auto;
}

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  height: 100%;
  transition: all var(--transition-normal);
}

.advantage-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-start);
}

.adv-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 3rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  opacity: 0.5;
}

.advantage-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

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

/* Contact Section */
.contact-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
}

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

.info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-border);
  transition: all var(--transition-normal);
}

.info-item:hover {
  border-color: var(--primary-start);
}

.info-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary-start);
  flex-shrink: 0;
}

.info-item span {
  color: var(--text-secondary);
}

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

.contact-cta p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--accent-border);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

@media (max-width: 768px) {
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

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

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

.footer-bottom .made-with {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-bottom .coffee-icon {
  stroke: var(--primary-start);
  animation: steam 2s ease-in-out infinite;
}

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

.footer-bottom .legal-notice-link {
  margin-top: 12px;
}

.footer-bottom .legal-notice-link button {
  background: none;
  border: none;
  color: var(--primary-start);
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
  transition: color var(--transition-fast);
}

.footer-bottom .legal-notice-link button:hover {
  color: var(--primary-end);
}

/* Legal Notice Content (Footer Expandable) */
footer .legal-notice-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out, padding 0.25s ease-out, margin 0.25s ease-out;
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}

footer .legal-notice-content.open {
  max-height: 2000px;
  padding: 32px 0 40px;
  margin-top: 32px;
}

footer .legal-notice-content .legal-notice-heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 24px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

footer .legal-notice-body h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 24px 0 12px;
}

footer .legal-notice-body h3:first-child {
  margin-top: 0;
}

footer .legal-notice-body p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: 24px;
}

.lang-switcher button {
  background: transparent;
  border: 1px solid var(--accent-border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.lang-switcher button:hover,
.lang-switcher button.active {
  background: var(--primary-gradient);
  border-color: transparent;
  color: white;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

/* Smooth scrolling offset for fixed header */
section[id] {
  scroll-margin-top: 100px;
}

/* Selection color */
::selection {
  background: var(--primary-start);
  color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-start);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary-start);
  outline-offset: 2px;
}

/* Loading animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.module-card,
.fact-card,
.advantage-card {
  animation: fadeInUp 0.6s ease-out backwards;
}

.fact-card:nth-child(1) { animation-delay: 0.1s; }
.fact-card:nth-child(2) { animation-delay: 0.2s; }
.fact-card:nth-child(3) { animation-delay: 0.3s; }
.fact-card:nth-child(4) { animation-delay: 0.4s; }
.fact-card:nth-child(5) { animation-delay: 0.5s; }
.fact-card:nth-child(6) { animation-delay: 0.6s; }
