:root {
  --bg: #050816;
  --bg-alt: #070b1c;
  --card-bg: #0b1024;
  --border-subtle: #1a2238;
  --accent: #4f46e5;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --accent-strong: #6366f1;
  --accent-danger: #f97373;
  --accent-good: #22c55e;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.55);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.25s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #020617 100%);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header / Navbar */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo-link {
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* OLD circular CK mark (still here if you use it anywhere else) */
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 30%;
  background: radial-gradient(circle at 30% 0, #a5b4fc, #4f46e5);
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.6);
}

/* NEW: image logo */
.logo-mark-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  flex-direction: column;
}

.logo-sub {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* Nav */

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #4f46e5, #22c55e);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: #f9fafb;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.6);
  background: radial-gradient(circle at top, rgba(79, 70, 229, 0.32), rgba(2, 6, 23, 0.9));
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.8), 0 14px 40px rgba(79, 70, 229, 0.45);
  color: #e5e7eb;
}

/* Mobile Nav Toggle */

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
}

/* Hero */

.hero {
  padding: 3.5rem 0 3.75rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0 1.3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-badges span {
  font-size: 0.78rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-soft);
}

/* Hero Panel */

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), rgba(15, 23, 42, 0.96));
  border-radius: 1.25rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-card);
}

.hero-card h3 {
  font-size: 0.95rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.metric-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: 0.1rem;
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.metric-value--danger {
  color: var(--accent-danger);
}

.metric-value--good {
  color: var(--accent-good);
}

.hero-ai {
  padding: 0.8rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(129, 140, 248, 0.7);
}

.hero-ai-label {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.hero-ai-msg {
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-med), color var(--transition-med),
    transform 0.1s ease-out, box-shadow var(--transition-med), border-color var(--transition-med);
}

.btn-primary {
  background: linear-gradient(to right, #4f46e5, #6366f1);
  color: #f9fafb;
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.65);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(79, 70, 229, 0.8);
}

.btn-secondary {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.9);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.btn-full {
  width: 100%;
}

/* Trust Strip */

.trust-strip {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}

.trust-logos {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-logos span {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
}

.section-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 36rem;
}

/* Grid */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards */

.card {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
}

.card-outline {
  background: rgba(15, 23, 42, 0.94);
  border-style: dashed;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.25rem;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
}

/* Feature modules (used on product page, safe to keep here) */

.feature-module {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
  gap: 1.8rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.feature-module--alt {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
}

.feature-image img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-card);
  display: block;
}

.feature-body h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
}

.feature-tagline {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.feature-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CTA row */

.cta-row {
  margin-top: 1.6rem;
}

/* About & Contact */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.97);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: var(--text-soft);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(15, 23, 42, 0.97);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.5rem 0.6rem;
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.5);
}

/* Footer */

.footer {
  padding: 1.75rem 0 1.3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: #020617;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo .logo-mark {
  box-shadow: none;
}

.footer-text {
  max-width: 18rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #e5e7eb;
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-meta a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-meta a:hover {
  color: #e5e7eb;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-content: flex-start;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-module,
  .feature-module--alt {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav {
    position: absolute;
    inset: 56px 0 auto 0;
    padding: 0.75rem 1.25rem 0.85rem;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease-out, opacity 0.16s ease-out;
  }

  .nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 2.2rem 0;
  }
}
