:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fd;
  --surface: #ffffff;
  --border: #e2e8f5;
  --text: #0f1a2e;
  --text-muted: #5b6478;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #eaf1ff;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Header */

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 34px;
  height: auto;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a:not(.btn) {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-large {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-block {
  display: block;
  text-align: center;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero */

.hero {
  padding: 88px 0 70px;
}

.hero .container {
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.hero p.lead {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-visual {
  margin: 64px auto 0;
  max-width: 880px;
}

.hero-visual .mockup-shadow {
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(37, 99, 235, 0.25), 0 2px 8px rgba(15, 26, 46, 0.06);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* Platform strip */

.platform-strip {
  padding: 40px 0 90px;
  text-align: center;
}

.platform-strip .strip-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 26px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.platform-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.platform-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Sections */

section {
  padding: 90px 0;
}

section.bg-alt {
  background: var(--bg-alt);
}

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

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

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 18px;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.96rem;
}

/* Security */

.security-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.security-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.security-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.security-list .icon-circle {
  margin-bottom: 0;
  flex-shrink: 0;
}

.security-list strong {
  display: block;
  margin-bottom: 3px;
}

.security-list span {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Pricing */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 20px 40px -24px rgba(37, 99, 235, 0.4);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

.pricing-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.pricing-card .price {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 10px 0 4px;
}

.pricing-card .price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card .price-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 22px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex-grow: 1;
}

.pricing-card li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  gap: 9px;
}

.pricing-card li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  background: var(--accent-light);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}

/* FAQ */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  background: #fff;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

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

/* CTA banner */

.cta-banner {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  margin: 0 24px;
}

.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-banner p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--accent);
}

.cta-banner .btn-primary:hover {
  background: #eef4ff;
}

@media (max-width: 900px) {
  .features-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .security-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .main-nav {
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .main-nav a:not(.btn) {
    display: none;
  }

  section {
    padding: 60px 0;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 56px 0 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 320px;
  margin: 0;
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.site-footer a {
  text-decoration: none;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Legal pages */

.legal-page {
  padding: 56px 0 90px;
  max-width: 760px;
}

.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 40px;
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
}

.legal-page a.back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.legal-page a.back:hover {
  text-decoration: underline;
}
