:root {
  --bg: #05060a;
  --bg-elevated: #0e1017;
  --bg-soft: #151826;
  --text-main: #f7f7ff;
  --text-muted: #aab0c5;
  --accent1: #00c6ff;
  --accent2: #9b2cff;
  --accent-gradient: linear-gradient(135deg, #00c6ff, #9b2cff);
  --border-soft: rgba(255, 255, 255, 0.07);
  --radius-lg: 24px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 8px 24px rgba(0, 0, 0, 0.4);
  --max-width: 1120px;
}

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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #141822 0, #05060a 45%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 10, 0.96),
    rgba(5, 6, 10, 0.86),
    transparent
  );
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.nav-brand-text span:first-child {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.nav-brand-text span:last-child {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.2s ease-out;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text-main);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid transparent;
  padding: 0.6rem 1.3rem;
  cursor: pointer;
  transition: all 0.18s ease-out;
  background: transparent;
  color: var(--text-main);
  gap: 0.4rem;
  white-space: nowrap;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 17, 27, 0.8);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(21, 24, 40, 0.95);
  box-shadow: var(--shadow-subtle);
}

.btn-primary {
  background-image: var(--accent-gradient);
  box-shadow: 0 12px 30px rgba(0, 198, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 198, 255, 0.4);
  filter: saturate(1.1);
}

.btn span.icon {
  font-size: 1.2em;
  line-height: 1;
}

.nav-mobile-toggle {
  display: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  background: rgba(5, 6, 10, 0.8);
  cursor: pointer;
  color: var(--text-muted);
}

/* HERO */

main {
  flex: 1;
}

.hero {
  padding: 3.25rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--accent1);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-gradient);
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero h1 span.highlight {
  background-image: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-footnote .pill {
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(10, 12, 20, 0.9);
}

.hero-footnote strong {
  color: var(--accent1);
}

/* HERO CARD */

.hero-card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.11), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(155, 44, 255, 0.3), transparent 55%),
    var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.6rem 1.8rem;
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 120% -10%, rgba(0, 198, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero-card-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-card-pill {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 198, 255, 0.6);
  background: rgba(2, 20, 32, 0.9);
  color: var(--accent1);
}

.hero-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.metric {
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(8, 10, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.metric-value {
  font-size: 1rem;
  font-weight: 600;
}

.metric-value span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--accent1);
  margin-left: 0.2rem;
}

.metric-pill {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.hero-badge {
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  font-size: 0.68rem;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 12, 20, 0.9);
  color: var(--text-muted);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 1;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #36ff9b, #0b8f4c);
  box-shadow: 0 0 10px rgba(54, 255, 155, 0.7);
}

/* GENERIC SECTIONS */

section {
  padding: 3.2rem 0;
}

section.alt {
  background: radial-gradient(circle at top, #0c0f18 0, #05060a 65%);
}

.section-header {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent1);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CARDS / GRIDS */

.product-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.45rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  position: relative;
  overflow: hidden;
}

.card-accent {
  background: radial-gradient(circle at 0 0, rgba(0, 198, 255, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(155, 44, 255, 0.28), transparent 60%),
    var(--bg-elevated);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.chip {
  font-size: 0.7rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  background: rgba(8, 10, 18, 0.75);
}

.card ul {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.card ul li::before {
  content: "•";
  margin-right: 0.4rem;
  color: var(--accent1);
}

.card-footer-link {
  font-size: 0.78rem;
  color: var(--accent1);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-footer-link span.icon {
  font-size: 1rem;
}

/* PRICING */

.pricing-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  padding: 1.5rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}

.pricing-card.featured {
  background: radial-gradient(circle at 0 0, rgba(0, 198, 255, 0.2), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(155, 44, 255, 0.4), transparent 60%),
    #101326;
  border-color: rgba(0, 198, 255, 0.6);
  transform: translateY(-3px);
}

.badge-pill {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--accent1);
  background: rgba(6, 12, 18, 0.9);
  align-self: flex-start;
}

.pricing-name {
  font-weight: 600;
  font-size: 1rem;
}

.pricing-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.pricing-price {
  font-size: 1.35rem;
  font-weight: 600;
}

.pricing-price span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.pricing-list {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.75rem 0 1rem;
  display: grid;
  gap: 0.3rem;
}

.pricing-list li::before {
  content: "✓";
  color: #36ff9b;
  margin-right: 0.4rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* DEMO */

.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: flex-start;
}

.demo-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-subtle);
  font-size: 0.8rem;
}

.demo-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.demo-tab {
  font-size: 0.74rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 25, 0.9);
  color: var(--text-muted);
  cursor: pointer;
}

.demo-tab.active {
  border-color: rgba(0, 198, 255, 0.7);
  color: var(--accent1);
  background: rgba(2, 22, 36, 0.95);
}

.demo-window {
  border-radius: 16px;
  background: #05060a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.demo-window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.7rem;
  background: linear-gradient(to right, #151827, #0a0c13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.demo-window-dots {
  display: flex;
  gap: 0.25rem;
}

.demo-window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4b5063;
}

.demo-window-dots span:nth-child(1) {
  background: #ff5f57;
}

.demo-window-dots span:nth-child(2) {
  background: #febc2e;
}

.demo-window-dots span:nth-child(3) {
  background: #28c840;
}

.demo-window-title {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.demo-chat {
  padding: 0.8rem 0.8rem 0.9rem;
  display: grid;
  gap: 0.55rem;
  max-height: 260px;
  overflow-y: auto;
}

.bubble {
  max-width: 80%;
  padding: 0.5rem 0.7rem;
  border-radius: 14px;
  font-size: 0.8rem;
}

.bubble.user {
  margin-left: auto;
  background: rgba(24, 125, 255, 0.2);
  border-bottom-right-radius: 3px;
}

.bubble.bot {
  margin-right: auto;
  background: rgba(255, 255, 255, 0.06);
  border-bottom-left-radius: 3px;
}

.bubble small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.7rem;
}

.demo-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
}

/* CONTACT / FAQ */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.contact-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-subtle);
}

form {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.3rem;
}

label {
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
  display: block;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
  background: rgba(4, 6, 12, 0.95);
  color: var(--text-main);
  outline: none;
  resize: vertical;
  min-height: 2.4rem;
}

input::placeholder,
textarea::placeholder {
  color: #565c70;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(0, 198, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(0, 198, 255, 0.15);
}

.contact-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.faq-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.faq-item {
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 18, 0.85);
}

.faq-q {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.faq-a {
  color: var(--text-muted);
}

/* FOOTER */

footer {
  padding: 1.8rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #05060a;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent1);
}

/* RESPONSIVE */

@media (max-width: 880px) {
  .hero-grid,
  .demo-layout,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero-grid {
    gap: 2.2rem;
  }
}

@media (max-width: 780px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
  }

  .nav-mobile-open .nav-links,
  .nav-mobile-open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.6rem;
  }

  .nav-mobile-open .nav {
    flex-wrap: wrap;
  }
}
