:root {
  --bg: #f6f7fb;
  --text: #111214;
  --muted: #3a3b3e;
  --blue: #2f6af3;
  --hairline: #eceef3;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; }
.nav-row {
  height: 64px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.brand-name { font-weight: 800; font-size: 22px; }
.brand { color: inherit; text-decoration: none; }
.brand-sep { opacity: .6; margin-left: 8px; font-size: 20px; }
.brand-tagline { color: #666b70; font-weight: 500; font-size: 16px; white-space: nowrap; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: #0b0c0e;
  font-weight: 600;
  font-size: 18px;
}
.nav-links a:hover { opacity: .7; }
.hairline { height: 1px; background: var(--hairline); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #0b0c0e;
  margin: 4px 0;
}

/* Hero */
.hero {
  background: var(--bg);
  min-height: calc(100vh - 65px);
  display: flex;
  align-items: center;
}
.hero-inner { text-align: center; padding: 72px 0; }
.hero-title {
  margin: 16px 0 24px;
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.8px;
  font-size: clamp(40px, 8vw, 120px);
}
.hero-title-black { display: block; color: #0b0c0e; }
.hero-title-accent { display: block; color: var(--blue); }
.hero-sub {
  max-width: 980px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.6;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .brand-tagline { display: none; }
  .brand-sep { display: none; }
}
@media (max-width: 720px) {
  .nav-row { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 65px; right: 12px;
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 14px;
    padding: 14px 18px;
    gap: 18px;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    display: none;
  }
  .nav-links.open { display: flex; }
}
/* ===== Services (Second screen) ===== */
.services {
  background: #f6f7fb; /* как у первого экрана */
  padding: 48px 0 72px;
}

.sec-title {
  text-align: center;
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 28px;
  color: #0b0c0e;
}

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

.card {
  background: #fff;
  border: 1px solid #e9edf4;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 24px rgba(22, 26, 33, 0.06);
}

.icon-badge {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 18px;
}

.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Цветовые варианты бейджей/иконок */
.badge-blue  { background: #e9f0ff; }
.badge-blue  .icon { stroke: #2f6af3; }

.badge-green { background: #e9f9ef; }
.badge-green .icon { stroke: #12a150; }

.badge-purple { background: #f1e9ff; }
.badge-purple .icon { stroke: #7a3df0; }

.card-title {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  margin: 6px 0 10px;
  color: #0b0c0e;
}

.card-text {
  color: #3a3b3e;
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.6;
  font-weight: 500;
  max-width: 34ch;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .card-text { max-width: none; }
}
/* ===== Lead form (Third screen) ===== */
.lead {
  background: #f6f7fb;
  padding: 56px 0 72px;
}

.form-card {
  background: #ffffff;
  border: 1px solid #e9edf4;
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(22, 26, 33, 0.06);
  padding: 36px 28px 28px;
}

.lead-title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 10px;
  color: #0b0c0e;
}

.lead-sub {
  text-align: center;
  color: #5b6168;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  margin: 0 0 28px;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.field label {
  display: block;
  font-weight: 800;
  color: #0b0c0e;
  margin: 2px 0 8px;
  font-size: 14px;
}
.field .req { color: #d33; }

.field input {
  width: 100%;
  height: 56px;
  border-radius: 12px;
  border: 1px solid #e2e6ee;
  padding: 0 14px;
  font-size: 16px;
  color: #111214;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #b1b6bf; }
.field input:focus {
  border-color: #b9c7ff;
  box-shadow: 0 0 0 4px rgba(47,106,243,0.12);
}

/* Actions */
.actions {
  grid-column: 1 / -1; /* full width row */
  margin-top: 8px;
}
/* Hide preloader by default so it doesn't occupy grid space */
.preloader { display: none; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 16px 20px;
  cursor: pointer;
}
.btn-primary { background: #2f6af3; color: #fff; }
.btn-block { width: 100%; height: 60px; font-size: 18px; }
.btn-ic { width: 22px; height: 22px; margin-left: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; }
  .btn-block { height: 56px; }
  .form-card { padding: 28px 18px 22px; }
}
/* ===== Footer ===== */
.site-footer {
  background: #0b0f1a;
  color: #d0d4dc;
  padding-top: 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer-logo {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  margin: 0 0 12px;
}

.footer-text {
  font-size: 15px;
  line-height: 1.6;
  max-width: 34ch;
}

.footer-heading {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 8px 0;
}
.footer-links a {
  color: #d0d4dc;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
}
.copy {
  font-size: 14px;
  color: #a0a5ad;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-text {
    max-width: none;
  }
}
/* ===== Contacts page: hero ===== */
.contacts-hero {
  background: #f6f7fb;
  padding: 48px 0 64px;
}
.contacts-inner { text-align: center; }

.contacts-title {
  margin: 10px 0 16px;
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.8px;
  font-size: clamp(40px, 7vw, 88px);
}
.contacts-sub {
  color: #545a62;
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 600;
  max-width: 980px;
  margin: 0 auto 26px;
  line-height: 1.55;
}
.about-platform {
  padding: 60px 20px;
  background: #f9fafb;
  text-align: center;
}

.about-platform h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-platform p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

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

.feature-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111;
}

.feature-card p {
  font-size: 1rem;
  color: #555;
}
/* ===== Legality / Compliance ===== */
.legal {
  background:#f6f7fb;
  padding:56px 0 72px;
}
.sec-title.center { text-align:center; }
.sec-sub.center {
  max-width: 900px; margin: 8px auto 26px; text-align:center;
  color:#3a3b3e; font-weight:600; font-size:clamp(16px,2vw,18px);
}

.legal-list {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:24px 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.legal-item {
  background:#fff;
  border:1px solid #e9edf4;
  border-radius:18px;
  box-shadow:0 6px 24px rgba(22,26,33,.06);
  padding:22px;
}

.legal-badge {
  margin:0 0 10px;
  font-weight:900;
  font-size: clamp(18px,2.4vw,22px);
  line-height:1.2;
}
.legal-badge > span{
  background: linear-gradient(90deg,#dff2ff 0%, #d9f7df 100%);
  border-radius:10px;
  padding:6px 10px;
  display:inline-block;
}

.legal-item p{
  margin:0;
  color:#3a3b3e;
  font-weight:600;
  line-height:1.65;
  font-size:16px;
}

.legal-note{
  max-width: 980px;
  margin:18px auto 0;
  color:#5b6168;
  font-size:14px;
  font-weight:700;
  text-align:center;
}

@media (max-width: 900px){
  .legal-list{ grid-template-columns: 1fr; }
}
/* ===== Platform Overview ===== */
.platform-overview {
  background:#f6f7fb;
  padding: 56px 0 72px;
}

.platform-grid {
  display:grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Generic card */
.card{
  background:#fff;
  border:1px solid #e9edf4;
  border-radius:18px;
  box-shadow:0 8px 28px rgba(22,26,33,.06);
  padding: 24px;
}

/* Left main */
.ov-title{
  font-weight:900;
  font-size: clamp(22px, 2.8vw, 30px);
  margin: 2px 0 10px;
  color:#0b0c0e;
}
.ov-lead{
  color:#3a3b3e;
  font-weight:600;
  line-height:1.65;
  font-size:16px;
  margin:0 0 16px;
}

/* image placeholder */
.device-shot{
  margin: 8px 0 0;
  background: #f0f3fa;
  border:1px dashed #c9d3e8;
  border-radius:16px;
  overflow:hidden;
  text-align:center;
  padding: 14px;
}
.device-shot img{
  max-width:100%;
  height:auto;
  display:block;
  margin: 0 auto;
  opacity:.85;
}
.device-shot figcaption{
  font-size:12px;
  color:#6b7280;
  margin-top:6px;
}

/* Right side */
.overview-side{
  display:grid;
  gap: 18px;
}
.info-card{ display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:start; }

.info-title{
  font-weight:900;
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 0 0 6px;
  color:#0b0c0e;
}
.info-text{
  color:#3a3b3e;
  font-weight:600;
  line-height:1.65;
  font-size:16px;
  grid-column:2/3;
}

/* badges/icons reused from earlier sections */
.icon-badge { width: 44px; height: 44px; display:grid; place-items:center; border-radius:12px; }
.icon{ width:22px; height:22px; }
.badge-blue{ background:#e9f0ff; color:#2f6af3; }
.badge-green{ background:#e9f9ef; color:#12a150; }
.badge-purple{ background:#f1e9ff; color:#7a3df0; }

/* Responsive */
@media (max-width: 1024px){
  .platform-grid{ grid-template-columns: 1fr; }
}
/* Right side */
.overview-side{
  display:grid;
  gap:12px;                          /* меньше зазор между карточками */
  height:100%;                       
  grid-template-rows:repeat(3, 1fr); /* три равные карточки */
}

.info-card{
  background:#fff;
  border:1px solid #e9edf4;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(22,26,33,.06);
  padding:20px;
  display:flex;
  flex-direction:column;   /* элементы идут сверху вниз */
  gap:10px;                /* расстояние между блоками */
}

.info-title{
  font-weight:900;
  font-size:clamp(18px, 2.2vw, 20px);
  margin:0;                /* убираем лишние отступы */
  color:#0b0c0e;
}

.info-text{
  color:#3a3b3e;
  font-weight:600;
  line-height:1.55;
  font-size:15px;
  margin:0;                /* текст сразу под заголовком */
}

.icon-badge{
  width:44px;
  height:44px;
  border-radius:12px;
  display:grid;
  place-items:center;
  margin-bottom:6px;       /* маленький отступ от иконки к заголовку */
}
/* Reviews */
.reviews{ padding: 40px 0 64px; }
.reviews-card{
  background:#fff;
  border:1px solid #e9edf4;
  border-radius:20px;
  box-shadow:0 8px 28px rgba(22,26,33,.06);
  padding:22px 20px;
}

.reviews-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 6px 10px;
}

.reviews-title{
  margin:0;
  font-weight:900;
  font-size: clamp(20px, 2.6vw, 28px);
  display:flex;
  align-items:center;
  gap:10px;
}
.reviews-title .emoji{ font-size: 1.1em; }

.reviews-nav{ display:flex; gap:8px; }
.nav-btn{
  width:36px; height:36px; border-radius:10px; border:1px solid #e8edf5;
  background:#fff; color:#111; display:grid; place-items:center; cursor:pointer;
}
.nav-btn:hover{ background:#f6f7fb; }

.reviews-list{
  list-style:none; margin:8px 0 0; padding:0;
  display:flex; flex-direction:column; gap:28px;
}

.review-name{
  font-weight:800; color:#222; display:flex; align-items:center; gap:10px;
  font-size: 18px;
}
.stars svg{
  width:16px; height:16px; fill:#fbbf24; /* amber-400 */
  margin-left:2px;
}

.review-text{
  margin:10px 0 0;
  color:#222; font-size: clamp(16px, 2vw, 18px);
  line-height:1.7; font-weight:600;
}

/* адаптив */
@media (max-width: 640px){
  .reviews-card{ padding:18px 16px; }
  .review-text{ font-size:16px; }
}
/* ===== Investing Steps (Fortuixagent) ===== */
.invest-steps{ background:#fff; padding:56px 0 64px; }
.invest-title{
  font-weight:900; 
  font-size:clamp(24px,3.2vw,36px); 
  margin:0 0 10px; 
  color:#0b0c0e;
  text-align:center;   /* центрируем заголовок */
}
.invest-title span{ color:#2f6af3; }
.invest-lead{
  max-width:920px; 
  margin:0 auto 28px; 
  color:#3a3b3e; 
  font-weight:600;
  font-size:clamp(15px,2vw,18px); 
  line-height:1.6;
  text-align:center;   /* выравнивание под заголовок */
}

.steps-grid{
  display:grid; 
  grid-template-columns: repeat(3, 1fr);
  gap:48px 32px; 
  counter-reset: fs;
  margin-top:10px; 
  padding:0; 
  list-style:none;
}
.step{ max-width: 640px; }
.step-num{
  font-weight:900; 
  font-size:clamp(36px,6vw,54px); 
  color:#2f6af3;   /* теперь синий цвет цифр */
  line-height:1;
  margin-bottom:14px;
}
.step-title{
  font-weight:900; 
  font-size:clamp(18px,2.4vw,24px); 
  margin:0 0 10px; 
  color:#0b0c0e;
}
.step-text{
  margin:0; 
  color:#222; 
  font-weight:600; 
  line-height:1.7; 
  font-size:clamp(15px,2vw,18px);
}

/* separators для больших экранов */
.step{ position:relative; padding-right:18px; }
.step:not(:last-child)::after{
  content:""; 
  position:absolute; 
  right:-16px; 
  top:8px; 
  bottom:8px; 
  width:1px;
  background:linear-gradient(to bottom, transparent, #e9edf4 20%, #e9edf4 80%, transparent);
}

/* Responsive */
@media (max-width: 1024px){
  .steps-grid{ grid-template-columns:1fr; gap:28px; }
  .step:not(:last-child)::after{ display:none; }
}
/* ===== Crypto Access Section ===== */
.crypto-access{
  background:#fff;
  padding:60px 0;
  text-align:center;
}

.crypto-title{
  font-weight:900;
  font-size:clamp(24px,3vw,34px);
  color:#0b0c0e;
  margin-bottom:12px;
}
.crypto-lead{
  color:#3a3b3e;
  font-size:18px;
  font-weight:600;
  margin-bottom:40px;
}

.crypto-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:28px;
  max-width:1100px;
  margin:0 auto;
}

.crypto-card{
  display:flex;
  align-items:center;
  gap:14px;
  background:#f8f9fc;
  padding:18px 20px;
  border-radius:14px;
  border:1px solid #e4e8f0;
  text-align:left;
}

.crypto-card h3{
  font-size:16px;
  font-weight:800;
  margin:0 0 4px;
  color:#0b0c0e;
}
.crypto-card p{
  margin:0;
  font-size:14px;
  font-weight:600;
  color:#3a3b3e;
}
.crypto-icon{
  width:42px;
  height:42px;
}

.down{ color:#e63946; font-weight:700; }
.up{ color:#12a150; font-weight:700; }

/* Responsive */
@media (max-width:768px){
  .crypto-card{ flex-direction:row; justify-content:flex-start; }
}
