:root {
  --primary-accent: #696cff;
  --primary-light: #8b8dff;
  --primary-lighter: #a3a5ff;
  --primary-gradient: linear-gradient(135deg, #696cff 0%, #8b8dff 50%, #a3a5ff 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --bg-primary: #ffffff;
  --bg-secondary: linear-gradient(180deg, #fafaff 0%, #f5f5ff 100%);
  --text-primary: #1a1a2e;
  --text-secondary: #666680;
  --text-muted: #8a8aa3;
  --border-soft: rgba(105, 108, 255, 0.12);
  --shadow-soft: 0 8px 32px rgba(105, 108, 255, 0.12);
  --shadow-hover: 0 20px 40px rgba(105, 108, 255, 0.15);
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --site-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container,
.footer-container {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
}

.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
  animation: floatBlob 20s ease-in-out infinite;
}

.gradient-blob-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: var(--primary-accent);
}

.gradient-blob-2 {
  width: 500px;
  height: 500px;
  left: -150px;
  bottom: -150px;
  background: var(--primary-light);
  animation-delay: -5s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(105, 108, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 108, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(105, 108, 255, 0.08);
  backdrop-filter: blur(12px);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  padding: 14px 0;
  box-shadow: 0 4px 20px rgba(105, 108, 255, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
}

.navbar-brand-icon,
.footer-brand-icon,
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--primary-gradient);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--text-secondary);
  border-radius: 10px;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-accent);
  background: rgba(105, 108, 255, 0.06);
}

.d-flex {
  display: flex;
}

.gap-3 {
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--primary-gradient);
  box-shadow: 0 10px 24px rgba(105, 108, 255, 0.28);
}

.btn-outline {
  color: var(--primary-accent);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(105, 108, 255, 0.18);
}

.btn-outline:hover {
  background: rgba(105, 108, 255, 0.05);
}

.page-shell {
  padding: 132px 0 40px;
}

.hero-section,
.page-hero {
  padding: 32px 0 72px;
}

.mission-section,
.achievements-section {
  padding: 24px 0 72px;
}

.hero-layout,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
}

.hero-title,
.page-title {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-subtitle,
.page-description,
.section-subtitle {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.75;
}

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

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.08);
  border: 1px solid rgba(105, 108, 255, 0.12);
  color: var(--primary-accent);
  font-size: 14px;
  font-weight: 600;
}

.hero-actions,
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-panel,
.info-panel,
.pricing-card,
.news-card,
.feature-card,
.value-card,
.achievement-card,
.faq-card,
.job-card,
.contact-card,
.stat-card,
.process-step,
.support-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.hero-panel {
  padding: 28px;
}

.panel-list,
.check-list,
.simple-list,
.contact-list,
.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-list li,
.check-list li,
.simple-list li,
.contact-list li,
.meta-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(105, 108, 255, 0.08);
  color: var(--text-secondary);
}

.panel-list li:last-child,
.check-list li:last-child,
.simple-list li:last-child,
.contact-list li:last-child,
.meta-list li:last-child {
  border-bottom: 0;
}

.section {
  padding: 40px 0 72px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.cards-grid,
.values-grid,
.achievements-grid,
.pricing-grid,
.news-grid,
.faq-grid,
.contact-grid,
.stats-grid,
.jobs-grid,
.support-grid,
.process-grid {
  display: grid;
  gap: 20px;
}

.cards-grid.two,
.contact-grid,
.support-grid,
.process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards-grid.three,
.values-grid,
.achievements-grid,
.pricing-grid,
.news-grid,
.faq-grid,
.stats-grid,
.jobs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.value-card,
.achievement-card,
.faq-card,
.job-card,
.contact-card,
.stat-card,
.process-step,
.support-card,
.pricing-card,
.news-card {
  padding: 28px;
}

.card-title,
.value-title,
.achievement-value,
.pricing-title,
.news-title,
.job-title,
.faq-title {
  margin: 0 0 10px;
}

.value-icon,
.achievement-icon,
.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(105, 108, 255, 0.1);
  color: var(--primary-accent);
  font-size: 24px;
}

.cta-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.achievement-label,
.cta-feature span {
  color: var(--text-secondary);
}

.card-text,
.value-description,
.pricing-description,
.news-excerpt,
.job-copy,
.faq-answer,
.contact-copy,
.support-copy {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
}

.achievement-value,
.price-value {
  font-size: 34px;
  font-weight: 700;
}

.price-period,
.muted {
  color: var(--text-muted);
}

.tag-row,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(105, 108, 255, 0.08);
  color: var(--primary-accent);
  font-size: 14px;
  font-weight: 600;
}

.pricing-card.featured {
  position: relative;
  border-color: rgba(105, 108, 255, 0.24);
  transform: translateY(-6px);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.cta-section {
  padding: 24px 0 88px;
}

.cta-container {
  width: min(var(--site-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 40px;
  border-radius: 32px;
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.cta-title {
  margin: 14px 0 12px;
  font-size: clamp(32px, 4vw, 48px);
}

.cta-subtitle,
.cta-feature {
  color: rgba(255, 255, 255, 0.88);
}

.cta-feature span {
  color: inherit;
}

.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.footer {
  background: #111227;
  color: #fff;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer-brand h3,
.footer-column h4 {
  margin: 0 0 14px;
}

.footer-brand p,
.footer-column ul li a,
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-social,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.ecosystem-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.ecosystem-card {
  min-width: 180px;
  padding: 20px;
  text-align: center;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.ecosystem-card.center {
  background: var(--primary-gradient);
  color: #fff;
}

.ecosystem-icon {
  display: block;
  font-size: 28px;
  margin-bottom: 10px;
}

.ecosystem-title {
  font-weight: 700;
}

.scroll-animate {
  opacity: 1;
  transform: none;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.82);
}

.timeline-year {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-accent);
}

.navbar-toggler {
  display: none;
}

@media (max-width: 1024px) {
  .hero-layout,
  .page-hero-grid,
  .cards-grid.two,
  .cards-grid.three,
  .values-grid,
  .achievements-grid,
  .pricing-grid,
  .news-grid,
  .faq-grid,
  .contact-grid,
  .stats-grid,
  .jobs-grid,
  .support-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .navbar .container {
    flex-wrap: wrap;
  }

  .navbar-collapse {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .navbar-nav {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding-top: 110px;
  }

  .hero-section,
  .page-hero,
  .section,
  .cta-section {
    padding-bottom: 56px;
  }

  .hero-panel,
  .feature-card,
  .value-card,
  .achievement-card,
  .faq-card,
  .job-card,
  .contact-card,
  .stat-card,
  .process-step,
  .support-card,
  .pricing-card,
  .news-card,
  .cta-container {
    padding: 22px;
  }

  .btn,
  .btn-outline,
  .btn-primary {
    width: 100%;
  }

  .hero-actions,
  .cta-buttons,
  .cta-features,
  .d-flex.gap-3 {
    flex-direction: column;
  }
}
