/* ==========================================================================
   NEWONE — Design System & Styles
   Rebuilt from Tailwind → Vanilla CSS
   ========================================================================== */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  /* Colors — Light Mode */
  --background: #ffffff;
  --foreground: #222233;

  --card: #ffffff;
  --card-foreground: #222233;

  --primary: hsl(252, 73%, 45%);
  --primary-light: hsl(252, 73%, 55%);
  --primary-dark: hsl(252, 73%, 35%);
  --primary-foreground: #ffffff;

  --secondary: hsl(201, 73%, 53%);
  --secondary-light: hsl(201, 73%, 63%);
  --secondary-foreground: #ffffff;

  --accent: hsl(239, 87%, 37%);
  --accent-hover: hsl(239, 87%, 42%);
  --accent-foreground: #ffffff;

  --muted: hsl(240, 5%, 96%);
  --muted-foreground: hsl(240, 4%, 46%);

  --border: hsl(240, 6%, 90%);
  --input-border: hsl(240, 6%, 85%);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--secondary), var(--primary));
  --gradient-cta: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-hero-bg: var(--background);

  /* Shadows & Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px -10px rgba(90, 50, 180, 0.2);
  --shadow-xl: 0 20px 60px -15px rgba(90, 50, 180, 0.25);
  --glow-primary: 0 0 30px hsla(252, 73%, 45%, 0.35);

  /* Typography */
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing */
  --container-max: 1400px;
  --container-padding: 1.5rem;
  --section-padding-y: 5rem;
  --section-padding-y-lg: 8rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Header */
  --header-height: 5rem;
  --header-bg: rgba(255, 255, 255, 0.8);
  --header-border: hsla(252, 73%, 45%, 0.1);
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --background: #08090F;
  --foreground: #f5f5f7;

  --card: hsl(240, 8%, 12%);
  --card-foreground: #f5f5f7;

  --primary: hsl(252, 73%, 55%);
  --primary-light: hsl(252, 73%, 65%);
  --primary-dark: hsl(252, 73%, 45%);

  --secondary: hsl(201, 73%, 63%);
  --secondary-light: hsl(201, 73%, 73%);

  --accent: hsl(239, 87%, 47%);
  --accent-hover: hsl(239, 87%, 52%);

  --muted: hsl(240, 6%, 18%);
  --muted-foreground: hsl(240, 5%, 65%);

  --border: hsl(240, 6%, 22%);
  --input-border: hsl(240, 6%, 28%);

  --gradient-hero-bg: linear-gradient(180deg, var(--background) 0%, hsl(240, 15%, 13%) 50%, var(--background) 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 40px -10px rgba(120, 80, 220, 0.3);
  --shadow-xl: 0 20px 60px -15px rgba(120, 80, 220, 0.35);
  --glow-primary: 0 0 30px hsla(252, 73%, 55%, 0.4);

  --header-bg: hsla(240, 10%, 10%, 0.85);
  --header-border: hsla(252, 73%, 55%, 0.15);
}

[data-theme="dark"] .hero__tagline,
[data-theme="dark"] .section-title,
[data-theme="dark"] .system__benefits-title,
[data-theme="dark"] .hex-path,
[data-theme="dark"] .hex-icon {
  color: #ffffff;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

input, textarea {
  font-family: var(--font-body);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  white-space: nowrap;
  line-height: 1;
}

.btn:active {
  transform: scale(0.97);
}

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

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.btn--sm {
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
}

.btn--lg {
  font-size: 1.125rem;
  padding: 0.875rem 2rem;
}

.btn--xl {
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
}

.btn .btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  position: relative;
}

.header__logo-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  filter: blur(12px);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.header__logo:hover .header__logo-glow {
  opacity: 0.5;
}

.header__logo-text {
  position: relative;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
  transition: all var(--transition-base);
  cursor: pointer;
}

.theme-toggle:hover {
  background: var(--muted);
  border-color: var(--primary);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun  { display: none; }

[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero-bg);
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3rem;
  transition: background 0.4s ease;
}

.hero__content {
  position: relative;
  z-index: 5;
  max-width: 72rem;
  margin-inline: auto;
  text-align: center;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin-block: -8rem 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.hero__visual img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
  transition: transform var(--transition-slow);
}

[data-theme="dark"] .hero__visual img {
  mix-blend-mode: normal;
}

.hero__visual:hover img {
  transform: scale(1.02);
}

.hero__visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: linear-gradient(90deg, hsla(252, 73%, 45%, 0.2), hsla(201, 73%, 53%, 0.2), hsla(252, 73%, 45%, 0.2));
  filter: blur(50px);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity var(--transition-base);
}

[data-theme="dark"] .hero__visual-glow {
  opacity: 0.6;
}

.hero__title {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero__tag {
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid hsla(252, 73%, 45%, 0.2);
  background: hsla(252, 73%, 45%, 0.05);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all var(--transition-base);
}

.hero__tag:hover {
  border-color: hsla(252, 73%, 45%, 0.4);
  background: hsla(252, 73%, 45%, 0.1);
}

.hero__cta {
  margin-bottom: 1rem;
}



.hero__tagline {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 4.8vw, 4rem);
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-align: center;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding: 0 1rem;
  white-space: nowrap;
}

/* Hero Background Blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

[data-theme="dark"] .hero__blob {
  opacity: 1;
}

.hero__blob--1 {
  top: 5rem;
  left: 2rem;
  width: 16rem;
  height: 16rem;
  background: hsla(252, 73%, 45%, 0.1);
  animation: pulse 4s ease-in-out infinite;
}

.hero__blob--2 {
  bottom: 5rem;
  right: 2rem;
  width: 24rem;
  height: 24rem;
  background: hsla(201, 73%, 53%, 0.1);
  animation: pulse 4s ease-in-out infinite 1s;
}


/* ==========================================================================
   SYSTEM SECTION
   ========================================================================== */
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsla(252, 73%, 45%, 0.3), var(--primary), hsla(252, 73%, 45%, 0.3), transparent);
  margin: 4rem auto;
  width: 80%;
  max-width: var(--container-max);
  opacity: 0.8;
}

.system {
  padding: var(--section-padding-y) 0;
  position: relative;
  overflow: hidden;
}

.system__inner {
  max-width: 72rem;
  margin-inline: auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  text-align: center;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
}

.system .section-title {
  font-size: clamp(2.5rem, 7.5vw, 5.5rem);
  letter-spacing: 0.1em;
  margin-bottom: 4rem;
}

.system__car {
  position: relative;
  max-width: 55rem;
  margin: 0 auto 3rem;
}

.system__car-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, hsla(252, 73%, 45%, 0.25), hsla(201, 73%, 53%, 0.25), hsla(252, 73%, 45%, 0.25));
  filter: blur(32px);
  opacity: 0;
  transition: opacity var(--transition-base);
}

[data-theme="dark"] .system__car-glow {
  opacity: 0;
  display: none;
}

.system__car img,
.system__car video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.system__car img {
  mix-blend-mode: multiply;
}

[data-theme="dark"] .system__car img {
  mix-blend-mode: normal;
}

/* Module Grid */
.system__modules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.system__module {
  position: relative;
}

.system__module-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  filter: blur(16px);
  opacity: 0.35;
  transition: opacity var(--transition-base);
}

.system__module:hover .system__module-glow {
  opacity: 0.6;
}

.system__module-glow {
  display: none;
}

.system__module-card {
  position: relative;
  background: transparent;
  border: 2px solid hsla(252, 73%, 45%, 0.2);
  border-radius: var(--radius-2xl);
  padding: 1rem 1.5rem;
  text-align: center;
  transition: all var(--transition-base);
}

.system__module:hover .system__module-card {
  border-color: hsla(252, 73%, 45%, 0.5);
  transform: scale(1.08);
}

.system__module-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* Hex Button Design */
.system__module-icon.hex-btn {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 0.5rem;
}

.hex-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hex-path {
  transition: color 0.2s ease, fill 0.2s ease;
  color: var(--primary);
}

.hex-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--primary);
  transition: color 0.2s ease;
}

.hex-icon svg {
  width: 40px;
  height: 40px;
}

/* Hover effects */
.system__module-card:hover .hex-path {
  stroke: url(#hex-gradient) !important;
}

.system__module-card:hover .hex-icon svg [stroke="currentColor"] {
  stroke: url(#hex-gradient) !important;
}

.system__module-card:hover .hex-icon svg [fill="currentColor"] {
  fill: url(#hex-gradient) !important;
}

.system__module-label {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

/* System Description */
.system__description {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
}

.system__text {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.system__text-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
}

/* Benefits Box */
.system__benefits {
  background: var(--muted);
  border: 1px solid hsla(252, 73%, 45%, 0.1);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  text-align: left;
}

[data-theme="dark"] .system__benefits {
  background: hsla(240, 6%, 18%, 0.6);
}

.system__benefits-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.system__benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: transform var(--transition-base);
}

.system__benefit:hover {
  transform: translateX(0.5rem);
}

.system__benefit + .system__benefit {
  margin-top: 1rem;
}

.system__benefit-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.system__benefit-check span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.system__benefit-text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.6;
}


/* ==========================================================================
   INTEGRATIONS SECTION
   ========================================================================== */
.integrations {
  padding: var(--section-padding-y) 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 50%, var(--background) 100%);
}

/* Decorative spinning rings */
.integrations__ring {
  position: absolute;
  border: 3px solid var(--primary);
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}

.integrations__ring--1 {
  top: 20%;
  left: 20%;
  width: 16rem;
  height: 16rem;
  animation: spin-slow 20s linear infinite;
}

.integrations__ring--2 {
  bottom: 20%;
  right: 20%;
  width: 24rem;
  height: 24rem;
  animation: spin-slow 30s linear infinite reverse;
  border-color: var(--secondary);
}

.integrations__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin-inline: auto;
}

.integrations__subtitle {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--secondary);
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
}

.integrations__text {
  text-align: center;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--foreground);
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* Integration Cards Grid */
.integrations__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .integrations__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.integration-card {
  position: relative;
}

.integration-card__glow {
  position: absolute;
  inset: -4px;
  background: var(--gradient-primary);
  border-radius: calc(var(--radius-2xl) + 4px);
  filter: blur(16px);
  opacity: 0.15;
  transition: opacity var(--transition-base);
}

.integration-card:hover .integration-card__glow {
  opacity: 0.35;
}

.integration-card__body {
  position: relative;
  background: var(--background);
  border: 1px solid hsla(252, 73%, 45%, 0.15);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
}

.integration-card:hover .integration-card__body {
  border-color: hsla(252, 73%, 45%, 0.35);
  transform: scale(1.03) translateY(-4px);
}

.integration-card__icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-2xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: transform var(--transition-base);
}

.integration-card:hover .integration-card__icon {
  transform: scale(1.1);
}

.integration-card__icon svg {
  width: 2rem;
  height: 2rem;
  color: #fff;
}

.integration-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.integration-card__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.integration-card__item {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: var(--muted);
  border: 1px solid hsla(252, 73%, 45%, 0.08);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.integration-card__item:hover {
  border-color: hsla(252, 73%, 45%, 0.25);
  background: hsla(252, 73%, 45%, 0.06);
}

[data-theme="dark"] .integration-card__item {
  background: hsla(240, 6%, 22%, 0.6);
}


/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta {
  position: relative;
  padding: var(--section-padding-y) 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-cta);
  opacity: 0.95;
}

.cta__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNncmlkKSIvPjwvc3ZnPg==");
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.cta__text {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.cta .btn--primary {
  background: var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.cta .btn--primary:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cta__dots {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  opacity: 0.6;
}

.cta__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #fff;
  animation: pulse 2s ease-in-out infinite;
}

.cta__dot:nth-child(2) { animation-delay: 0.2s; }
.cta__dot:nth-child(3) { animation-delay: 0.4s; }

/* CTA Glow Effects */
.cta__glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(48px);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

.cta__glow--1 {
  top: 20%;
  left: 20%;
  width: 16rem;
  height: 16rem;
}

.cta__glow--2 {
  bottom: 20%;
  right: 20%;
  width: 24rem;
  height: 24rem;
  animation-delay: 1s;
}


/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
  padding: var(--section-padding-y) 0;
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.contact__inner {
  max-width: 48rem;
  margin-inline: auto;
}

.contact__subtitle {
  text-align: center;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted-foreground);
  margin-top: -1.5rem;
  margin-bottom: 3rem;
}

.contact__form-wrapper {
  position: relative;
}

.contact__form-glow {
  position: absolute;
  inset: -4px;
  background: var(--gradient-primary);
  border-radius: calc(var(--radius-2xl) + 8px);
  filter: blur(32px);
  opacity: 0.15;
}

.contact__form-card {
  position: relative;
  background: var(--background);
  border: 1px solid hsla(252, 73%, 45%, 0.15);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .contact__form-card {
    padding: 3rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-xl);
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(252, 73%, 45%, 0.15);
}

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

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

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* Form Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.toast.toast--success { border-left: 4px solid hsl(142, 71%, 45%); }
.toast.toast--error   { border-left: 4px solid hsl(0, 84%, 60%); }

.toast__title {
  font-weight: 600;
  font-size: 0.95rem;
}

.toast__message {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--header-border);
  background: linear-gradient(180deg, var(--background) 0%, var(--muted) 100%);
}

.footer__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 3rem 0;
}

.footer__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer__row {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__logo {
  position: relative;
}

.footer__logo-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  filter: blur(16px);
  opacity: 0.4;
}

.footer__logo-text {
  position: relative;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-xl);
}

.footer__copy {
  font-size: 0.9rem;
  color: var(--muted-foreground);
  text-align: center;
}

@media (min-width: 768px) {
  .footer__copy {
    text-align: right;
  }
}

/* Decorative footer line */
.footer__decor {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--header-border);
}

.footer__decor-line {
  height: 4px;
  border-radius: var(--radius-full);
}

.footer__decor-line:nth-child(1) {
  width: 3rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer__decor-line:nth-child(2) {
  width: 2rem;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}

.footer__decor-line:nth-child(3) {
  width: 1rem;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}


/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll animation classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children delays */
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="6"] { transition-delay: 0.6s; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (min-width: 768px) {
  :root {
    --section-padding-y: 6rem;
    --container-padding: 2rem;
  }

  .hero__title {
    margin-bottom: 2rem;
  }

  .hero__tags {
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .hero__tag {
    font-size: 1rem;
  }

  .header__logo-text {
    font-size: 1.5rem;
    padding: 0.5rem 1.5rem;
  }

  .system__modules {
    gap: 1.5rem;
  }

  .system__module-card {
    padding: 1.25rem 2rem;
  }


  .system__benefits {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-padding-y: 8rem;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .hero__tagline {
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    font-size: clamp(1rem, 4vw, 1.5rem);
  }

  .cta__title {
    font-size: 1.5rem;
  }

  .system__modules {
    gap: 0.75rem;
  }

  .system__module-card {
    padding: 0.75rem 1rem;
  }
}

/* ==========================================================================
   System Modules Modal
   ========================================================================== */

.modal {
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal__container {
  position: relative;
  width: 90%;
  max-width: 800px;
  background-color: #1A1A1A;
  border-radius: 24px;
  padding: 3rem;
  box-shadow:
    0 0 40px rgba(7, 171, 228, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 15px 2px rgba(146, 22, 177, 0.35),
    0 0 30px 4px rgba(7, 171, 228, 0.25),
    -12px 0 25px rgba(146, 22, 177, 0.2),
    12px 0 25px rgba(7, 171, 228, 0.2);
  z-index: 1;
  overflow: hidden;
}

/* Fallback background if image fails */
.modal__container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 12, 0.98) 100%);
  z-index: -1;
}

/* Glow border now handled by box-shadow on .modal__container */

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s ease;
  z-index: 10;
}

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

.modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal__nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #07ABE4;
}

.modal__nav--prev {
  left: 1rem;
}

.modal__nav--next {
  right: 1rem;
}

.modal__slider {
  position: relative;
  width: 100%;
  padding: 0 3.5rem;
  z-index: 1;
}

.modal__container-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
  transition: background-image 0.3s ease;
}

.modal__slide {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.modal__slide.is-active {
  display: flex;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal__icon-col {
  display: none;
}

.modal__icon-glow {
  display: none;
}

.modal__content-col {
  flex: 1 1 auto;
}

.modal__subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #07ABE4;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.modal__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.modal__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal__desc p {
  margin-bottom: 0.75rem;
}

.modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  padding-left: 1.5rem;
}

.modal__list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #07ABE4, #9216B1);
  border-radius: 3px;
}

.modal__list li {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.modal__list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .modal__container {
    padding: 2rem;
  }
  
  .modal__slide.is-active {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .modal__list {
    text-align: left;
    display: inline-block;
  }
  
  .modal__nav {
    display: none; /* Hide arrows on mobile, rely on swipe or just close */
  }
  
  .modal__title {
    font-size: 2rem;
  }
}
