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

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

:root {
  --blue: #016BFF;
  --blue-dark: #0051cc;
  --blue-glow: rgba(1, 107, 255, 0.25);
  --bg: #050a14;
  --bg2: #080f1f;
  --bg3: #0d1729;
  --text: #e8edf5;
  --muted: #7a8aa0;
  --border: rgba(255,255,255,0.08);
  --card: rgba(13, 23, 41, 0.8);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(5,10,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--text);
  text-decoration: none; letter-spacing: -0.3px;
}
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: var(--blue);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--blue); color: #fff; padding: 10px 22px;
  border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  min-height: clamp(560px, 75vh, 820px);
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(1,107,255,0.18) 0%, transparent 70%),
              var(--bg);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center;
  width: 100%;
}

.hero-content { max-width: 620px; }

/* No-fee block */
.hero-nofee {
  background: rgba(1,107,255,0.06);
  border: 1px solid rgba(1,107,255,0.25);
  border-radius: var(--radius);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
}
.nofee-icon {
  font-size: 2rem; font-weight: 800; color: var(--blue);
  margin-bottom: 12px; line-height: 1;
}
.hero-nofee h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 10px;
}
.hero-nofee > p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 20px;
}
.nofee-list {
  list-style: none; margin-bottom: 20px;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.nofee-list li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center; gap: 8px;
  font-size: 0.88rem; padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.nofee-list li:last-child { border-bottom: none; }
.nofee-check { font-size: 0.85rem; width: 16px; flex-shrink: 0; }
.nofee-list li:nth-last-child(2) .nofee-check { color: var(--muted); }
.nofee-list li:not(:nth-last-child(2)):not(.nofee-cap) .nofee-check { color: #4ade80; }
.nofee-list strong { color: var(--text); font-weight: 600; text-align: right; white-space: nowrap; }
.nofee-cap {
  margin-top: 4px;
  background: rgba(1,107,255,0.08);
  border-radius: 8px;
  padding: 8px 10px !important;
  font-weight: 600;
  color: var(--text) !important;
  font-size: 0.88rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(1,107,255,0.12); border: 1px solid rgba(1,107,255,0.3);
  border-radius: 100px; padding: 6px 16px; margin-bottom: 28px;
  font-size: 0.82rem; font-weight: 600; color: #5ba4ff; text-transform: uppercase; letter-spacing: 1px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2s infinite; }

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -1px; margin-bottom: 24px;
}
.hero h1 span { color: var(--blue); }

.hero p {
  font-size: 1.15rem; color: var(--muted); max-width: 580px; margin-bottom: 40px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue); color: #fff;
  padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: all .2s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 30px var(--blue-glow); }

.btn-ghost {
  background: transparent; color: var(--text);
  padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: all .2s; border: 1px solid var(--border); cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }

/* ─── STATS ─── */
.stats {
  padding: 0 5% 80px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  background: var(--bg); padding: 36px 24px; text-align: center;
}
.stat-item .num {
  font-size: 2.4rem; font-weight: 700; color: var(--blue); line-height: 1;
  margin-bottom: 6px;
}
.stat-item .label { font-size: 0.88rem; color: var(--muted); font-weight: 500; }

/* ─── SECTION COMMON ─── */
section { padding: 96px 5%; }

.section-label {
  display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--blue); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 16px;
}
.section-sub { font-size: 1.05rem; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* ─── THREAT SECTION ─── */
.threat { background: var(--bg2); }

.threat-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.threat-visual {
  position: relative; height: 420px;
  background: var(--bg3); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}

.terminal {
  width: 100%; height: 100%; padding: 24px;
  font-family: 'Courier New', monospace; font-size: 0.82rem;
  color: #4ade80; overflow: hidden;
}
.terminal .t-header {
  display: flex; gap: 8px; margin-bottom: 20px;
}
.terminal .t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }

.t-line { margin-bottom: 6px; opacity: 0; animation: typein 0.3s forwards; }
.t-line:nth-child(1)  { animation-delay: 0.2s; }
.t-line:nth-child(2)  { animation-delay: 0.6s; }
.t-line:nth-child(3)  { animation-delay: 1.0s; }
.t-line:nth-child(4)  { animation-delay: 1.4s; }
.t-line:nth-child(5)  { animation-delay: 1.8s; }
.t-line:nth-child(6)  { animation-delay: 2.2s; }
.t-line:nth-child(7)  { animation-delay: 2.6s; }
.t-line:nth-child(8)  { animation-delay: 3.0s; }
.t-line:nth-child(9)  { animation-delay: 3.4s; }
.t-line:nth-child(10) { animation-delay: 3.8s; }
.t-line:nth-child(11) { animation-delay: 4.2s; }
.t-line:nth-child(12) { animation-delay: 4.6s; }
.t-line.red-text { color: #f87171; }
.t-line.blue-text { color: #60a5fa; }
.t-line.yellow-text { color: #fbbf24; }

@keyframes typein {
  to { opacity: 1; }
}

.threat-points { list-style: none; margin-top: 32px; }
.threat-points li {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px;
}
.threat-points .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(1,107,255,0.1); border: 1px solid rgba(1,107,255,0.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 16px;
}
.threat-points .point-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.threat-points .point-text span { font-size: 0.88rem; color: var(--muted); }

/* ─── HOW IT WORKS ─── */
.how { background: var(--bg); }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}

.step-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0; transition: opacity .3s;
}
.step-card:hover { border-color: rgba(1,107,255,0.3); transform: translateY(-4px); }
.step-card:hover::before { opacity: 1; }

.step-num {
  font-size: 3rem; font-weight: 700; color: rgba(1,107,255,0.15); line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ─── TECH ─── */
.tech { background: var(--bg2); }

.tech-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px;
}

.tech-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: border-color .3s, transform .3s;
}
.tech-card:hover { border-color: rgba(1,107,255,0.3); transform: translateY(-3px); }

.tech-icon {
  width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0;
  background: rgba(1,107,255,0.1); border: 1px solid rgba(1,107,255,0.2);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.tech-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.tech-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ─── TESTIMONIALS ─── */
.testimonials { background: var(--bg); }

.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px;
}

.testi-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
}

.stars { color: #fbbf24; margin-bottom: 16px; font-size: 1rem; letter-spacing: 2px; }
.testi-card blockquote {
  font-size: 0.95rem; line-height: 1.7; color: var(--muted); margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0;
}
.author-avatar.a1 { background: linear-gradient(135deg, #016BFF, #7c3aed); }
.author-avatar.a2 { background: linear-gradient(135deg, #059669, #016BFF); }
.author-avatar.a3 { background: linear-gradient(135deg, #dc2626, #7c3aed); }
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ─── CONTRACT ─── */
.contract { background: var(--bg2); }

.contract-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}

.doc-preview {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px; position: relative;
}
.doc-preview::before {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px;
  background: var(--blue); border-radius: 0 0 4px 4px;
}
.doc-preview h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--blue); margin-bottom: 20px; }
.doc-line {
  height: 10px; border-radius: 100px; background: var(--border); margin-bottom: 10px;
}
.doc-line.short { width: 60%; }
.doc-line.med { width: 80%; }
.doc-line.full { width: 100%; }
.doc-divider { height: 1px; background: var(--border); margin: 20px 0; }
.doc-download {
  display: flex; gap: 12px; margin-top: 28px;
}
.doc-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(1,107,255,0.1); border: 1px solid rgba(1,107,255,0.3);
  color: #5ba4ff; border-radius: 8px; padding: 10px 18px;
  font-size: 0.85rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all .2s;
}
.doc-btn:hover { background: rgba(1,107,255,0.2); }

.contract-list { list-style: none; margin-top: 24px; }
.contract-list li {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px;
  font-size: 0.95rem; color: var(--muted);
}
.contract-list .check { color: var(--blue); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* ─── CONTACT ─── */
.contact { background: var(--bg); }

.contact-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start;
}

.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-info .info-icon {
  width: 40px; height: 40px; border-radius: 8px; background: rgba(1,107,255,0.1);
  border: 1px solid rgba(1,107,255,0.2); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-info .info-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.contact-info .info-val { font-size: 0.95rem; font-weight: 500; }

form { display: flex; flex-direction: column; gap: 16px; }

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

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group textarea {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 12px 16px; font-size: 0.95rem;
  font-family: inherit; transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.form-submit { align-self: flex-start; }

.form-feedback {
  padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  display: none;
}
.form-feedback.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.form-feedback.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ─── FOOTER ─── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 60px 5% 32px;
}

.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; color: var(--muted); margin-top: 12px; max-width: 260px; line-height: 1.65; }

.footer-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text); font-size: 0.9rem; text-decoration: none; opacity: 0.7; transition: opacity .2s; }
.footer-col ul a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .threat-inner, .contract-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
