:root {
  --bg: #0b1020;
  --bg-alt: #111a33;
  --surface: #16203f;
  --border: #24304f;
  --text: #e8edf7;
  --text-muted: #9aa7c7;
  --accent: #4f8bff;
  --accent-2: #6ee7b7;
  --green: #34d399;
  --yellow: #fbbf24;
  --gray: #7d8ab0;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

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

html { scroll-behavior: smooth; }

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

.container { width: min(1160px, 92%); margin: 0 auto; }

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

.text-accent { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { font-size: 1.35rem; font-weight: 800; display: flex; align-items: center; gap: 8px; letter-spacing: .5px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #7aa7ff);
  color: #fff; font-weight: 800;
}
.brand-accent { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--text-muted); font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #3d6fe0); color: #fff; box-shadow: 0 6px 20px rgba(79, 139, 255, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(79, 139, 255, .45); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 90px 0 80px; background: radial-gradient(900px 420px at 80% -10%, rgba(79, 139, 255, .18), transparent 60%), radial-gradient(700px 380px at 10% 110%, rgba(110, 231, 183, .1), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

.badge { display: inline-block; background: rgba(79, 139, 255, .14); color: var(--accent); border: 1px solid rgba(79, 139, 255, .35); padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; }

.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.15; margin-bottom: 18px; font-weight: 800; }
.hero p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-trust { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-muted); font-size: .92rem; }
.hero-trust li { color: var(--green); font-weight: 600; }
.hero-trust li::marker { content: none; }

.panel-window {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.panel-titlebar { display: flex; gap: 8px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--border); }
.panel-titlebar span { width: 12px; height: 12px; border-radius: 50%; background: var(--border); }
.panel-titlebar span:nth-child(1) { background: #ff5f57; }
.panel-titlebar span:nth-child(2) { background: #febc2e; }
.panel-titlebar span:nth-child(3) { background: #28c840; }
.panel-body { padding: 22px 24px; font-family: "SFMono-Regular", Consolas, Menlo, monospace; font-size: .92rem; overflow-x: auto; }
.c-green { color: var(--green); }
.c-blue { color: var(--accent); }
.c-yellow { color: var(--yellow); }
.c-gray { color: var(--gray); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 44px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; transition: .25s; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(79, 139, 255, .5); box-shadow: var(--shadow); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .94rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.pricing-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; transition: .25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(79, 139, 255, .12), var(--surface) 45%); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #3d6fe0); color: #fff;
  padding: 4px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap;
}
.plan-name { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; }
.plan-price { font-size: 2.3rem; font-weight: 800; margin-bottom: 20px; }
.plan-price .currency { font-size: 1.1rem; font-weight: 700; vertical-align: 14px; margin-right: 2px; color: var(--text-muted); }
.plan-price .per { font-size: .9rem; font-weight: 600; color: var(--text-muted); vertical-align: 6px; }
.plan-features { list-style: none; margin-bottom: 24px; flex: 1; }
.plan-features li { padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: .94rem; color: var(--text-muted); }
.plan-features li::before { content: "\2713"; color: var(--green); margin-right: 8px; font-weight: 700; }
.pricing-note { text-align: center; color: var(--text-muted); margin-top: 34px; }
.pricing-note a { color: var(--accent); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; font-size: 1.3rem; color: var(--accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 22px 20px; color: var(--text-muted); }

/* Contact */
.contact-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.site-footer { background: #080d1a; border-top: 1px solid var(--border); padding: 46px 0 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; }
.footer-brand { display: flex; gap: 12px; align-items: center; max-width: 300px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin-top: 4px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { color: var(--text-muted); transition: .2s; font-size: .95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact { line-height: 2; }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-bottom p { color: var(--text-muted); font-size: .85rem; text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 0 6%; max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.open { max-height: 300px; padding: 16px 6%; }
  .nav a { padding: 12px 0; }
  .nav-toggle { display: flex; }
}
