@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@300;500;700&family=Sora:wght@300;400;600;700&display=swap');

:root {
  --bg: #0e1116;
  --bg-2: #151b23;
  --bg-3: #0b0e12;
  --text: #f4f6fb;
  --muted: #b7c0cf;
  --accent: #58d2ff;
  --accent-2: #ffb45c;
  --accent-3: #7cffb2;
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
}

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

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(14, 17, 22, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.brand span {
  font-family: "Fraunces", serif;
  font-size: 20px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  color: #0c0f13;
  box-shadow: 0 10px 30px rgba(88, 210, 255, 0.35);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(88, 210, 255, 0.2), transparent 40%),
              radial-gradient(circle at 80% 0%, rgba(255, 180, 92, 0.25), transparent 45%),
              radial-gradient(circle at 70% 70%, rgba(124, 255, 178, 0.15), transparent 50%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 20px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(21, 27, 35, 0.9), rgba(11, 14, 18, 0.85));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-panel h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 12px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.metric {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.metric strong {
  display: block;
  font-size: 22px;
}

.section {
  padding: 90px 0;
}

.section-title {
  font-family: "Fraunces", serif;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 20px;
}

.section-sub {
  color: var(--muted);
  max-width: 700px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(88, 210, 255, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::after {
  opacity: 1;
}

.card h4 {
  margin: 0 0 12px;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: none;
}

.timeline {
  border-left: 1px solid var(--border);
  padding-left: 20px;
  margin-top: 30px;
}

.timeline-item {
  margin-bottom: 24px;
}

.timeline-item strong {
  display: block;
  margin-bottom: 6px;
}

.highlight {
  color: var(--accent-2);
  font-weight: 600;
}

.rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.rail-box {
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.software-hero {
  background: linear-gradient(120deg, rgba(88, 210, 255, 0.15), rgba(21, 27, 35, 0));
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.footer-legal {
  margin-top: 10px;
  line-height: 1.55;
}

.footer-legal a {
  color: var(--text);
  text-decoration: underline;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.badge {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cta-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.hero-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: underline;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.trust-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.trust-list li:last-child {
  border-bottom: none;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.workflow-step {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.workflow-step h4 {
  margin: 0 0 10px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.screen-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.screen-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.screen-caption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--muted);
}

.quick-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
}

.quick-steps li {
  margin: 8px 0;
}

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

.demo-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.form-status {
  margin-top: 12px;
  font-size: 14px;
}

.form-status.ok {
  color: var(--accent-3);
}

.form-status.error {
  color: #ff8d8d;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hp-field {
  display: none !important;
}

.wave {
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 92, 0.3), transparent 65%);
  filter: blur(0.5px);
}

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

  .hero {
    padding-top: 60px;
  }

  .demo-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: all 0.6s ease;
}

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

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}

.cookie-banner__inner {
  max-width: var(--max);
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(21, 27, 35, 0.96), rgba(11, 14, 18, 0.94));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner__text a {
  color: var(--text);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.cookie-btn--ghost {
  background: transparent;
  color: var(--text);
}

.cookie-btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  color: #0c0f13;
  border-color: transparent;
}

@media (max-width: 760px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}
