:root {
  --bg: #0f1012;
  --bg-elevated: #17191d;
  --panel: #1d2026;
  --text: #f3f0ec;
  --muted: #b9b4ab;
  --border: #2f343d;
  --ember: #ff7a1f;
  --flame: #ff4d2e;
  --accent-gradient: linear-gradient(135deg, #ff922b 0%, #ff5a36 55%, #d4373a 100%);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top right, rgba(255, 122, 31, 0.08), transparent 40%), var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 12px;
  background: var(--text);
  color: #111;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(15, 16, 18, 0.86);
  backdrop-filter: blur(14px);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 20px rgba(255, 122, 31, 0.6);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.eyebrow {
  color: #ffb17d;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-copy,
.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 60ch;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

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

.btn-primary {
  color: #120f0d;
  background: var(--accent-gradient);
  box-shadow: 0 8px 24px rgba(255, 95, 41, 0.35);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.hero-panel ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(10px);
  animation: pulse 8s ease-in-out infinite;
}

.hero-glow--one {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 94, 41, 0.26), transparent 70%);
  top: -110px;
  right: -80px;
}

.hero-glow--two {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 154, 40, 0.22), transparent 70%);
  bottom: -100px;
  left: -50px;
  animation-delay: 2s;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 3.1vw, 2.4rem);
  margin: 0.2rem 0 1.1rem;
  letter-spacing: -0.02em;
}

.trust {
  padding: 2rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.01);
}

.trust-title {
  text-align: center;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
}

.trust-grid span {
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  padding: 0.9rem 0.6rem;
  color: #ddd4c8;
  font-size: 0.86rem;
}

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

.integrations {
  position: relative;
}

.integrations::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto;
  margin: 0 auto;
  width: min(1120px, 92vw);
  height: 260px;
  background: radial-gradient(circle at center, rgba(255, 98, 44, 0.18), transparent 72%);
  pointer-events: none;
}

.integrations-copy {
  margin-bottom: 1.4rem;
}

.integration-rail {
  display: grid;
  grid-template-columns: repeat(8, minmax(220px, 1fr));
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 0.2rem 0.8rem;
  scroll-snap-type: x mandatory;
}

.integration-card {
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.1rem;
  min-height: 188px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.integration-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
}

.integration-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.integration-category {
  display: inline-flex;
  border: 1px solid rgba(255, 122, 31, 0.55);
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd4b1;
  margin-bottom: 0.8rem;
}

.card,
.solution {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: 16px;
  padding: 1.3rem;
  min-height: 190px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.card:hover,
.solution:hover {
  border-color: rgba(255, 143, 53, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.card h3,
.solution h3 {
  margin: 0 0 0.65rem;
  font-size: 1.03rem;
}

.card p,
.solution p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.point-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.point-list li {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: #ddd4ca;
  background: rgba(255, 255, 255, 0.02);
}

.cta-box {
  text-align: center;
  border: 1px solid rgba(255, 138, 51, 0.35);
  border-radius: 20px;
  padding: clamp(1.6rem, 4vw, 3.1rem);
  background: linear-gradient(150deg, rgba(255, 122, 31, 0.15), rgba(255, 77, 46, 0.06), rgba(255, 255, 255, 0.03));
}

.cta-box p {
  color: #e5d8cb;
  max-width: 62ch;
  margin: 0 auto;
}

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

.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer h3 {
  margin-top: 0;
  font-size: 0.98rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.footer a {
  color: #ddd4c8;
  text-decoration: none;
}

.footer-copy {
  color: var(--muted);
  max-width: 30ch;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 5rem;
  }

  .card-grid,
  .solution-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

.nav-links a[aria-current="page"] {
  color: var(--text);
}

.integrations-page {
  position: relative;
}

.integrations-intro {
  margin-bottom: 1.5rem;
}

.integration-collage {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.integration-tile {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border-radius: 16px;
  padding: 1.2rem;
  min-height: 220px;
  height: 100%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
}

.integration-tile--more {
  border-color: rgba(255, 138, 51, 0.45);
  background: linear-gradient(155deg, rgba(255, 122, 31, 0.2), rgba(255, 77, 46, 0.1), rgba(255, 255, 255, 0.03));
}

.integration-focus {
  color: #ffd9bb;
  margin-bottom: 0.5rem !important;
}

@media (max-width: 980px) {
  .integration-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .integration-collage {
    grid-template-columns: 1fr;
  }
}

.pricing-page {
  position: relative;
}

.pricing-hero {
  max-width: 76ch;
}

.pricing-section {
  padding-top: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.pricing-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.pricing-panel h2 {
  margin-top: 0;
}

.slider-label {
  display: block;
  margin: 1.4rem 0 0.6rem;
  color: #ddd4c8;
  font-weight: 600;
}

.pricing-slider {
  width: 100%;
  accent-color: #ff7a1f;
}

.slider-marks {
  margin-top: 0.6rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  color: var(--muted);
  font-size: 0.86rem;
}

.slider-marks span:nth-child(2),
.slider-marks span:nth-child(3),
.slider-marks span:nth-child(4) {
  text-align: center;
}

.slider-marks span:last-child {
  text-align: right;
}

.price-output {
  margin: 1.2rem 0 0;
  padding: 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 138, 51, 0.35);
  background: rgba(255, 122, 31, 0.08);
}

.price-label {
  display: block;
  color: #ffd4b1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.32rem;
}

.price-output strong {
  font-size: clamp(1.4rem, 4vw, 2.2rem);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.feature-list li {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem;
  color: #e7dfd5;
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.admin-shell { display:grid; grid-template-columns: 240px 1fr; gap:1rem; padding:2rem 0 4rem; }
.admin-sidebar { border:1px solid var(--border); border-radius:16px; padding:1rem; background:var(--bg-elevated); position:sticky; top:92px; height:fit-content; }
.admin-sidebar a { display:block; color:var(--muted); padding:.55rem .4rem; text-decoration:none; border-radius:8px; }
.admin-sidebar a.active,.admin-sidebar a:hover { background:rgba(255,122,31,.14); color:var(--text); }
.admin-content { display:grid; gap:1rem; }
.kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.panel { border:1px solid var(--border); border-radius:16px; padding:1rem; background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02)); }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; }
th,td { text-align:left; padding:.6rem; border-bottom:1px solid var(--border); }
.pill { display:inline-block; border:1px solid var(--border); padding:.15rem .45rem; border-radius:999px; font-size:.75rem; color:#ffd9be; }
.staff-badge { background:rgba(255,122,31,.2); }
.staff-operator { background:rgba(212,55,58,.22); }
.search-input { background:#111; color:var(--text); border:1px solid var(--border); border-radius:10px; padding:.7rem; min-width:280px; margin-right:.5rem; }
@media (max-width: 920px) { .admin-shell{grid-template-columns:1fr;} .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));} .admin-sidebar{position:relative;top:0;} }
