:root {
  color-scheme: dark;
  --bg: #07090c;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --muted-dark: #64748b;
  --accent: #ff7a2f;
  --accent-dark: #e84821;
  --accent-light: #ffb15a;
  --line: rgba(255, 255, 255, 0.07);
  --max-width: 1200px;
}

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bg-layer {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 122, 47, 0.11), transparent 34%),
    radial-gradient(circle at 82% 38%, rgba(255, 177, 90, 0.07), transparent 30%),
    linear-gradient(145deg, #111820, #07090c 68%);
  pointer-events: none;
}

.bg-layer .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1.8s ease;
}

.bg-layer .slide.active {
  opacity: 1;
}

.bg-layer .slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.52), rgba(7, 9, 12, 0.86) 52%, #07090c 100%);
}

.slide-1 {
  background:
    radial-gradient(circle at 25% 22%, rgba(255, 122, 47, 0.15), transparent 32%),
    linear-gradient(140deg, #151b23, #07090c 72%);
}

.slide-2 {
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 177, 90, 0.11), transparent 30%),
    linear-gradient(155deg, #111827, #07090c 72%);
}

.slide-3 {
  background:
    radial-gradient(circle at 50% 72%, rgba(232, 72, 33, 0.13), transparent 35%),
    linear-gradient(125deg, #101620, #07090c 74%);
}

.slide-4 {
  background:
    radial-gradient(circle at 72% 58%, rgba(255, 122, 47, 0.1), transparent 34%),
    linear-gradient(145deg, #12151a, #07090c 72%);
}

nav {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(7, 9, 12, 0.84);
  backdrop-filter: blur(16px);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
}

.nav-logo svg {
  width: auto;
  height: 30px;
  filter: none;
}

.footer-logo {
  font-size: 1.1rem;
}

.footer-logo svg {
  height: 26px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: #fff;
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 0.55rem 1.3rem;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-size: 0.85rem;
  font-weight: 700;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  box-shadow: 0 8px 28px rgba(255, 122, 47, 0.35);
  transform: translateY(-1px);
}

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

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--muted);
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  padding: 108px 0 4rem;
  align-items: center;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
}

.hero-badge span {
  color: #22c55e;
  font-weight: 700;
}

.hero h1 {
  max-width: 930px;
  margin-bottom: 1.2rem;
  color: var(--text);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero h1 .highlight,
.gradient-text {
  color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  max-width: 620px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border: 0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 4px 24px rgba(255, 122, 47, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 8px 32px rgba(255, 122, 47, 0.48);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(255, 122, 47, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.hero-video-wrap {
  width: 100%;
  max-width: 980px;
  margin: 3rem auto 0;
  overflow: hidden;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 122, 47, 0.08);
}

.hero-video-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

.stats-bar {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(0, 0, 0, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.035em;
}

.stat-label {
  margin-top: 0.3rem;
  color: var(--muted-dark);
  font-size: 0.85rem;
  font-weight: 500;
}

.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.surface-alt {
  background: rgba(0, 0, 0, 0.15);
}

.features-intro {
  margin-bottom: 3.5rem;
  text-align: center;
}

.tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255, 122, 47, 0.17);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 122, 47, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-sub {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  text-align: center;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.feature-item > * {
  min-width: 0;
}

.feature-item.reverse {
  direction: rtl;
}

.feature-item.reverse .feature-text {
  direction: ltr;
}

.standard {
  direction: ltr;
}

.feature-text h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.feature-text .feature-desc {
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.feature-text .tech-detail {
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  color: #cbd5e1;
  background: rgba(255, 122, 47, 0.055);
  font-size: 0.85rem;
}

.feature-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.feature-spec {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.feature-spec::before {
  margin-right: 0.3rem;
  color: var(--accent);
  content: ">";
  font-weight: 700;
}

.feature-visual {
  position: relative;
  display: flex;
  width: 100%;
  height: 280px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 122, 47, 0.065), rgba(255, 177, 90, 0.04));
}

.feature-visual.is-photo {
  background: #000;
}

.feature-visual .fv-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-position: center;
  background-size: cover;
  transition: transform 0.5s ease;
}

.feature-visual.is-photo .fv-bg {
  opacity: 1;
}

.feature-item:hover .fv-bg {
  transform: scale(1.02);
}

.feature-visual .fv-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
}

.feature-visual .fv-icon {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 3.5rem;
}

.feature-visual .fv-label {
  color: var(--muted-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.fv-image-1 { background-image: url("images/1.png"); }
.fv-image-2 { background-image: url("images/2.png"); }
.fv-image-3 { background-image: url("images/3.png"); }
.fv-image-4 { background-image: url("images/4.png"); }
.fv-image-5 { background-image: url("images/5.png"); }
.fv-image-6 { background-image: url("images/6.png"); }

.cta-section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  background: linear-gradient(135deg, rgba(255, 122, 47, 0.065), rgba(232, 72, 33, 0.04));
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.cta-section p {
  max-width: 580px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-actions {
  justify-content: center;
}

footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  background: rgba(0, 0, 0, 0.42);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand,
.footer-col {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-brand p {
  max-width: 310px;
  margin-top: 0.8rem;
  color: var(--muted-dark);
  font-size: 0.85rem;
}

.footer-col h5 {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  color: #475569;
  font-size: 0.8rem;
  text-align: center;
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .feature-item,
  .feature-item.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    direction: ltr;
  }

  .feature-visual {
    height: min(54vw, 420px);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-width: none;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(7, 9, 12, 0.98);
    text-align: center;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 108px;
  }

  .hero h1 br {
    display: none;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-video-wrap {
    margin-top: 2rem;
    border-radius: 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .feature-specs {
    grid-template-columns: 1fr;
  }

  .feature-visual {
    height: 52vw;
    min-height: 190px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.15rem);
  }

  .stats-grid {
    gap: 1rem;
  }

  .stat-label {
    font-size: 0.76rem;
  }

  .feature-visual {
    min-height: 175px;
  }
}

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

  .fade-up,
  .feature-visual .fv-bg,
  .bg-layer .slide {
    transition: none;
  }
}
