:root {
  --bg: #07111f;
  --bg-soft: #0d1a2d;
  --panel: rgba(12, 22, 39, 0.78);
  --panel-strong: #10213a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.12);
  --text: #f6f8fb;
  --muted: #9eb1c9;
  --primary: #6ee7f9;
  --primary-strong: #2cc5d8;
  --secondary: #8b5cf6;
  --accent: #22c55e;
  --shadow: 0 30px 80px rgba(2, 9, 20, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --nav-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(110, 231, 249, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.18), transparent 32%),
    linear-gradient(180deg, #07111f 0%, #091727 40%, #0c1c2f 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

body.menu-open {
  overflow: hidden;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.site-shell::before {
  background: #2dd4bf;
  top: 90px;
  left: -90px;
}

.site-shell::after {
  background: #8b5cf6;
  bottom: 30px;
  right: -110px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 64px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(110, 231, 249, 0.25);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(110, 231, 249, 0.08);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-heading h1,
.section-heading h2 {
  margin: 0.9rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading p,
.lede,
.hero-copy p,
.card p,
.product-copy p,
.vision-copy p,
.contact-copy p,
.page-hero p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 12, 23, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 50px rgba(2, 9, 20, 0.28);
}

.nav-wrap {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(110, 231, 249, 0.95), rgba(139, 92, 246, 0.92));
  color: #04111f;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(59, 130, 246, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  width: 46px;
  height: 46px;
  padding: 0.75rem;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 1rem;
  right: 1rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid var(--surface-border);
  background: rgba(5, 12, 23, 0.96);
  box-shadow: var(--shadow);
  display: none;
}

.nav-menu.open {
  display: block;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-links a {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button,
.button-ghost,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #04111f;
  box-shadow: 0 18px 30px rgba(44, 197, 216, 0.28);
}

.button:hover,
.button:focus-visible,
.button-ghost:hover,
.button-ghost:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-2px);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button-link {
  padding-inline: 0;
  min-height: auto;
  border-radius: 0;
  color: var(--primary);
}

.button.full {
  width: 100%;
}

.hero {
  padding: 56px 0 88px;
}

.hero-grid,
.two-column,
.contact-grid,
.product-hero-grid,
.vision-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

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

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  margin: 1rem 0 1.25rem;
  max-width: 12ch;
}

.hero-copy p {
  max-width: 62ch;
  font-size: 1.05rem;
}

.hero-card,
.glass-card,
.contact-card,
.feature-panel,
.story-card,
.shot-card,
.cta-panel {
  background: var(--panel);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  padding: 1.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.metric {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.metric strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.dashboard-mock {
  min-height: 420px;
  padding: 1.2rem;
  display: grid;
  gap: 1rem;
  background:
    linear-gradient(160deg, rgba(110, 231, 249, 0.12), rgba(139, 92, 246, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.mock-topbar,
.mock-card-grid,
.mock-card,
.mock-list,
.mock-item {
  border-radius: var(--radius-md);
}

.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1rem;
  background: rgba(5, 12, 23, 0.56);
}

.mock-dots {
  display: flex;
  gap: 0.35rem;
}

.mock-dots span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.mock-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(110, 231, 249, 0.14);
  color: var(--primary);
  font-size: 0.85rem;
}

.mock-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.mock-card {
  min-height: 125px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.mock-card h3,
.story-card h3,
.timeline-item h3 {
  margin: 0 0 0.45rem;
}

.mock-list {
  display: grid;
  gap: 0.85rem;
}

.mock-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.tag {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-visual,
.product-visual,
.image-frame,
.contact-card {
  overflow: hidden;
}

.image-frame {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(110, 231, 249, 0.16), rgba(139, 92, 246, 0.18)),
    rgba(255, 255, 255, 0.05);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame.contain img {
  object-fit: contain;
  padding: 1.5rem;
}

.placeholder-stack {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.placeholder-stack strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.featured-product,
.page-hero,
.products-grid-section,
.story-layout,
.vision-layout {
  position: relative;
}

.feature-panel,
.story-card,
.cta-panel,
.contact-card,
.glass-card {
  padding: 1.65rem;
}

.feature-list,
.detail-list,
.timeline,
.mini-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.detail-list li,
.mini-list li,
.timeline-item {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.products-grid,
.cards-grid,
.features-grid,
.screens-grid,
.stats-grid,
.principles-grid {
  display: grid;
  gap: 1.25rem;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(110, 231, 249, 0.28);
  box-shadow: 0 26px 70px rgba(2, 9, 20, 0.5);
}

.card-media {
  min-height: 220px;
  background:
    linear-gradient(145deg, rgba(110, 231, 249, 0.16), rgba(139, 92, 246, 0.2)),
    rgba(255, 255, 255, 0.04);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media.feature-media {
  min-height: 250px;
  display: grid;
  place-items: center;
}

.card-media.feature-media img {
  object-fit: contain;
  padding: 1rem;
}

.card-body {
  padding: 1.45rem;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}

.card-body .button-link {
  margin-top: auto;
}

.page-hero {
  padding: 52px 0 30px;
}

.page-hero .glass-card {
  padding: 2rem;
}

.page-hero .button-row {
  margin-top: 1.35rem;
}

.product-hero-grid .product-visual {
  min-height: 360px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 600;
}

.product-badge img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.story-layout {
  display: grid;
  gap: 1.25rem;
}

.screens-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shot-card {
  padding: 0.9rem;
}

.shot-card img,
.shot-card .image-frame {
  border-radius: 18px;
}

.cta-panel {
  display: grid;
  gap: 1rem;
  align-items: center;
}

.vision-grid,
.contact-grid {
  grid-template-columns: 1fr;
}

.stats-grid,
.principles-grid {
  grid-template-columns: 1fr;
}

.stat-card,
.principle-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(110, 231, 249, 0.65);
  box-shadow: 0 0 0 4px rgba(110, 231, 249, 0.14);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.alert {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid transparent;
}

.alert-success {
  color: #d7ffe4;
  background: rgba(34, 197, 94, 0.13);
  border-color: rgba(34, 197, 94, 0.28);
}

.alert-error {
  color: #ffd8d8;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.25);
}

.site-footer {
  padding: 28px 0 40px;
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (min-width: 768px) {
  .section {
    padding: 108px 0;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
  }

  .nav-links a {
    padding: 0.7rem 1rem;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.active {
    transform: none;
  }

  .hero-grid,
  .two-column,
  .vision-grid,
  .contact-grid,
  .product-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .products-grid,
  .cards-grid,
  .features-grid,
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1.2fr) auto;
  }

  .footer-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .screens-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-hero .glass-card {
    padding: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
