:root {
  --navy: #0c2340;
  --navy-mid: #143a66;
  --blue: #1e5a9e;
  --accent: #2d8cff;
  --accent-soft: #e8f2ff;
  --text: #1a2332;
  --muted: #5c6b7a;
  --border: #e2e8f0;
  --bg: #f7f9fc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0c2340 0%, #1e5a9e 55%, #2d8cff 100%);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(12, 35, 64, 0.08);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(45, 140, 255, 0.35);
}
.btn-primary:hover { color: var(--white); }

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: var(--white); }

/* Hero */
.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 4.5rem 0 5rem;
}

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

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 38rem;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}
.hero-card li { margin-bottom: 0.5rem; }

/* Sections */
section { padding: 4rem 0; }
section:nth-child(even) { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* Problem list */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.problem-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.problem-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Solution */
.solution-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.solution-list li {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

/* Flow */
.flow-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  align-items: center;
}

.flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-width: 120px;
}

.flow-arrow {
  color: var(--muted);
  font-size: 1.25rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); }

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.plan-card.featured {
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(45, 140, 255, 0.15);
}

.plan-card h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.2rem;
}

.plan-card ul {
  flex: 1;
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.plan-card li { margin-bottom: 0.4rem; }

/* Security */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}

.security-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
}

.check-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: #dcfce7;
  color: #15803d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Use cases */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.usecase-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  text-align: center;
}

.usecase-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr 1.2fr; }
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 1rem; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.95rem;
}

.form-row textarea { min-height: 100px; resize: vertical; }

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer a { color: rgba(255, 255, 255, 0.9); }
