:root {
  --navy: #0b1b2b;
  --anthracite: #1f2a37;
  --midnight: #091320;
  --accent: #ff7a18;
  --accent-soft: #ffb347;
  --light: #f6f8fb;
  --text: #dbe5ff;
  --muted: #8ea1c4;
  --white: #ffffff;
  --success: #0ec277;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--midnight);
  line-height: 1.6;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3 {
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section.light {
  background: linear-gradient(180deg, #0f1e30 0%, #091320 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
}

.btn {
  background-color: var(--accent);
  color: var(--white);
  border: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(255, 122, 24, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(255, 122, 24, 0.3);
}

.btn:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  box-shadow: none;
}

.btn-small {
  padding: 0.45rem 1.4rem;
  font-size: 0.9rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(9, 19, 32, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.08em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--white);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
}

.hero {
  padding: 8rem 0 5rem;
  background: radial-gradient(circle at 20% 20%, rgba(17, 31, 49, 0.8), rgba(9, 19, 32, 1));
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-led {
  background: rgba(15, 30, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-led-label {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--accent-soft);
}

.hero-led-text {
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

.hero-display {
  display: grid;
  place-items: center;
}

.display-frame {
  width: min(360px, 90%);
  background: linear-gradient(135deg, #0d1a29, #1d2c42);
  border-radius: 25px;
  padding: 1rem;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.display-screen {
  border-radius: 15px;
  background: linear-gradient(90deg, #030916, #05142f);
  border: 2px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.display-glow {
  position: absolute;
  inset: 1rem;
  border-radius: 18px;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.25), transparent 60%);
  filter: blur(30px);
  pointer-events: none;
}

.ticker-label {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.4em;
  font-size: 0.7rem;
}

.ticker-line {
  color: var(--accent-soft);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 1rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  animation: slideIn 8s linear infinite;
}

@keyframes slideIn {
  0% {
    transform: translateX(110%);
  }
  100% {
    transform: translateX(-110%);
  }
}

.display-base {
  width: 60%;
  height: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
  border-radius: 12px;
  margin: 1.2rem auto 0;
}

.trust-band {
  padding: 1.4rem 0;
  background: rgba(15, 25, 40, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--muted);
  justify-items: center;
}

.card {
  background: rgba(12, 23, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.7rem;
  border-radius: 18px;
  height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.card-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--accent-soft);
  stroke-width: 2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  align-items: start;
}

.solution-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(10, 20, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.solution-card ul {
  padding-left: 1.2rem;
  color: var(--muted);
  margin: 0;
}

.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline li {
  background: rgba(15, 26, 40, 0.8);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 122, 24, 0.15);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.reference-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.reference-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.accordion {
  display: grid;
  gap: 1rem;
}

.accordion-btn {
  width: 100%;
  text-align: left;
  background: rgba(13, 24, 38, 0.9);
  color: var(--white);
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

.accordion-btn::after {
  content: "+";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--accent);
}

.accordion-btn[aria-expanded="true"]::after {
  content: "−";
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1.2rem;
  color: var(--muted);
}

.accordion-panel.open {
  padding-top: 0.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(8, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem;
  color: var(--white);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--success);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(14, 194, 119, 0.3);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  padding: 2rem 0;
  background: #050b14;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    background: rgba(9, 19, 32, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(10px);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 6rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .trust-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
}
