/* ─────────────────────────────────────────
   WayFar AI · style.css
   ───────────────────────────────────────── */

/* ─── TOKENS ─── */
:root {
  --brand:       #0062e3;
  --brand-light: #EBF3FF;
  --brand-mid:   #B8D4F8;
  --dark:        #0D0D0D;
  --mid:         #6B6B6B;
  --light:       #F5F5F3;
  --light-2:     #EBEBEA;
  --white:       #FFFFFF;
  --border:      #E8E8E6;
  --green:       #1DB954;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px;
  display: flex; align-items: center;
  padding: 0 40px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-bottom-color: var(--border); }

.nav-logo {
  font-size: 18px; font-weight: 800;
  color: var(--dark); letter-spacing: -0.03em;
  margin-right: auto;
}
.nav-logo span { color: var(--brand); }

.nav-links {
  display: flex; gap: 32px; list-style: none; margin-right: 32px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--mid);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--dark); }

.nav-btn {
  background: var(--dark); color: var(--white);
  border: none; padding: 10px 20px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  border-radius: 100px; cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.nav-btn:hover { background: var(--brand); transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  background: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 900px; height: 600px;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  background: radial-gradient(ellipse, rgba(0,98,227,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-light); color: var(--brand);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: ''; width: 6px; height: 6px;
  background: var(--brand); border-radius: 50%;
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800; line-height: 1.0;
  letter-spacing: -0.03em; text-align: center;
  color: var(--dark); max-width: 820px;
  margin-bottom: 20px;
}
h1 .accent { color: var(--brand); }

.hero-sub {
  font-size: 18px; font-weight: 400; line-height: 1.6;
  color: var(--mid); text-align: center;
  max-width: 500px; margin-bottom: 48px;
}

/* ── CHAT BOX ── */
.chat-box {
  width: 100%; max-width: 680px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 16px 16px 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative; z-index: 2;
}
.chat-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,98,227,0.08), 0 4px 24px rgba(0,0,0,0.08);
}

.chat-input {
  width: 100%; border: none; outline: none;
  font-family: inherit; font-size: 16px; font-weight: 400;
  color: var(--dark); background: transparent;
  resize: none; min-height: 52px; line-height: 1.5;
}
.chat-input::placeholder { color: #ADADAB; }

.chat-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.chat-chips {
  display: flex; gap: 6px; flex-wrap: wrap; flex: 1;
}
.chat-chip {
  font-size: 12px; font-weight: 500; color: var(--mid);
  background: var(--light); border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 100px;
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.chat-chip:hover {
  background: var(--brand-light); border-color: var(--brand-mid); color: var(--brand);
}
.chat-send {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--brand); border: none; border-radius: 12px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.chat-send:hover { background: #0051c0; transform: scale(1.05); }
.chat-send svg { width: 18px; height: 18px; fill: white; }

.hero-note {
  margin-top: 16px;
  font-size: 13px; color: #ADADAB; text-align: center;
}
.hero-note strong { color: var(--mid); font-weight: 500; }

.hero-scroll-hint {
  margin-top: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: #ADADAB; cursor: pointer; transition: color 0.2s;
}
.hero-scroll-hint:hover { color: var(--mid); }

.scroll-arrow {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

/* ─── PARTNERS ─── */
.partners {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
  display: flex; align-items: center; gap: 40px;
  justify-content: center; flex-wrap: wrap;
}
.partners-label {
  font-size: 12px; font-weight: 600; color: #ADADAB;
  letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
}
.partner-logos { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.partner-logo {
  font-size: 14px; font-weight: 700; color: #ADADAB;
  transition: color 0.15s; cursor: default;
}
.partner-logo:hover { color: var(--dark); }

/* ─── SECTION COMMONS ─── */
section { padding: 100px 40px; }
.inner { max-width: 1120px; margin: 0 auto; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 16px; display: block;
}
h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--dark); margin-bottom: 20px;
}
h2 .accent { color: var(--brand); }
.lead {
  font-size: 18px; font-weight: 400; line-height: 1.65;
  color: var(--mid); max-width: 480px;
}

/* ─── DATES ─── */
.dates-section { background: var(--light); }
.dates-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 64px;
}
.dates-ui {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
}
.dates-ui-label {
  font-size: 12px; font-weight: 600; color: var(--mid);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px;
}
.dates-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 8px; margin-bottom: 20px;
}
.date-opt {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 16px 12px; text-align: center; cursor: pointer;
  transition: all 0.15s; position: relative;
}
.date-opt:hover { border-color: var(--brand-mid); }
.date-opt.best { border-color: var(--brand); background: var(--brand-light); }

.best-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: white;
  font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
}
.date-opt .d-date  { font-size: 13px; font-weight: 600; color: var(--dark); display: block; margin-bottom: 6px; }
.date-opt .d-price { font-size: 20px; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.date-opt.best .d-price { color: var(--brand); }
.date-opt .d-diff  { font-size: 11px; color: var(--mid); margin-top: 4px; display: block; }
.date-opt.best .d-diff { color: var(--brand); font-weight: 600; }

.dates-saving-box {
  background: var(--brand-light); border: 1px solid var(--brand-mid);
  border-radius: 14px; padding: 16px 20px;
  font-size: 14px; font-weight: 500; color: var(--dark); line-height: 1.5;
}
.save-num { font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }

.dates-points {
  list-style: none; margin-top: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.dates-points li { display: flex; gap: 16px; align-items: flex-start; }
.pt-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--brand-light); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.pt-icon-accent { background: var(--brand); }
.pt-text h4   { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.pt-text p    { font-size: 14px; color: var(--mid); line-height: 1.5; }
.pt-accent    { color: var(--brand) !important; font-size: 16px !important; }
.pt-highlight {
  background: var(--brand-light);
  border: 1.5px solid var(--brand-mid);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 -4px;
}

/* ─── HOW IT WORKS ─── */
.how-section { background: var(--white); }
.how-steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-top: 64px;
  border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
}
.how-step {
  padding: 40px 36px; background: var(--white);
  transition: background 0.2s;
}
.how-step:hover { background: var(--light); }
.how-step + .how-step { border-left: 1px solid var(--border); }
.step-num {
  font-size: 13px; font-weight: 800; color: var(--brand);
  letter-spacing: 0.04em; margin-bottom: 20px; display: block;
}
.step-icon {
  width: 48px; height: 48px; background: var(--brand-light);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; margin-bottom: 20px;
}
.how-step h3 {
  font-size: 20px; font-weight: 700; color: var(--dark);
  letter-spacing: -0.02em; margin-bottom: 10px; line-height: 1.2;
}
.how-step p { font-size: 14px; color: var(--mid); line-height: 1.6; }

/* ─── EXPERIENCES ─── */
.exp-section { background: var(--white); }
.exp-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 40px;
}
.exp-counter { text-align: right; font-size: 13px; color: var(--mid); }
.exp-counter strong {
  display: block; font-size: 48px; font-weight: 800;
  color: var(--dark); letter-spacing: -0.04em; line-height: 1;
}
.exp-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
}
.exp-card {
  background: var(--light); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px;
  transition: all 0.2s; cursor: pointer; position: relative; overflow: hidden;
}
.exp-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--brand); transform: scaleX(0);
  transition: transform 0.2s; transform-origin: left;
}
.exp-card:hover {
  background: var(--white); transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.exp-card:hover::after { transform: scaleX(1); }
.exp-emoji { font-size: 32px; margin-bottom: 16px; display: block; }
.exp-card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.exp-card p  { font-size: 13px; color: var(--mid); line-height: 1.5; margin-bottom: 16px; }
.exp-tag { font-size: 11px; color: var(--mid); font-weight: 500; }

/* ─── STATS ─── */
.stats-section { background: var(--white); padding: 60px 40px; }
.stats-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
}
.stat {
  padding: 36px 32px; text-align: center;
  border-right: 1px solid var(--border); transition: background 0.15s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--light); }
.stat-n {
  font-size: 48px; font-weight: 800; letter-spacing: -0.04em;
  color: var(--dark); line-height: 1; display: block; margin-bottom: 8px;
}
.stat-n .unit { font-size: 28px; }
.stat-l { font-size: 13px; color: var(--mid); font-weight: 500; line-height: 1.4; }

/* ─── MADE FOR RUSSIA ─── */
.russia-section { background: var(--dark); padding: 80px 40px; }
.russia-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.russia-inner .eyebrow { color: var(--brand); }
.russia-inner h2   { color: white; }
.russia-inner .lead { color: rgba(255,255,255,0.5); }
.russia-tags { display: flex; flex-direction: column; gap: 12px; }
.r-tag {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px; padding: 14px 18px;
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7);
  transition: all 0.15s;
}
.r-tag:hover { background: rgba(0,98,227,0.2); border-color: rgba(0,98,227,0.4); color: white; }
.r-tag-icon { font-size: 20px; width: 32px; text-align: center; flex-shrink: 0; }

/* ─── FINAL CTA ─── */
.cta-section {
  padding: 120px 40px; text-align: center;
  background: var(--white); position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,98,227,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2   { max-width: 700px; margin: 0 auto 16px; }
.cta-section .lead { margin: 0 auto 44px; max-width: 400px; text-align: center; }

.cta-chat {
  max-width: 600px; margin: 0 auto;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 20px 20px 14px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.cta-chat:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,98,227,0.08);
}
.cta-chat input {
  width: 100%; border: none; outline: none;
  font-family: inherit; font-size: 16px; color: var(--dark);
  background: transparent; padding: 4px 0;
}
.cta-chat input::placeholder { color: #ADADAB; }
.cta-chat-footer {
  display: flex; justify-content: flex-end;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.cta-send {
  display: flex; align-items: center; gap: 8px;
  background: var(--brand); color: white; border: none;
  border-radius: 100px; padding: 10px 20px;
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.cta-send:hover { background: #0051c0; }
.cta-note { margin-top: 14px; font-size: 13px; color: #ADADAB; }
.cta-note strong { color: var(--mid); font-weight: 500; }

/* ─── FOOTER ─── */
footer {
  background: var(--light); border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-size: 16px; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.footer-logo span { color: var(--brand); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; font-weight: 500; color: var(--mid);
  text-decoration: none; transition: color 0.15s;
}
.footer-links a:hover { color: var(--dark); }
.footer-copy { font-size: 12px; color: #ADADAB; }

/* ─── COMING SOON MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(13,13,13,0.5);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.active {
  opacity: 1; pointer-events: all;
}
.modal {
  background: var(--white);
  border-radius: 28px;
  padding: 48px 44px;
  max-width: 480px; width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}
.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute; top: 18px; right: 20px;
  background: var(--light); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 13px; color: var(--mid);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--light-2); color: var(--dark); }
.modal-icon {
  font-size: 48px; margin-bottom: 20px; display: block;
  animation: rocketBounce 1.2s ease infinite;
}
@keyframes rocketBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.modal h3 {
  font-size: 28px; font-weight: 800;
  letter-spacing: -0.03em; color: var(--dark);
  margin-bottom: 10px;
}
.modal p {
  font-size: 15px; color: var(--mid); line-height: 1.6;
  margin-bottom: 28px; max-width: 360px; margin-left: auto; margin-right: auto;
}
.modal-input-row {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.modal-input-row input {
  flex: 1; border: 1.5px solid var(--border);
  border-radius: 100px; padding: 12px 18px;
  font-family: inherit; font-size: 14px; color: var(--dark);
  outline: none; transition: border-color 0.2s;
  background: var(--white);
}
.modal-input-row input:focus { border-color: var(--brand); }
.modal-input-row input::placeholder { color: #ADADAB; }
.modal-submit {
  background: var(--brand); color: white; border: none;
  border-radius: 100px; padding: 12px 22px;
  font-family: inherit; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.modal-submit:hover { background: #0051c0; transform: translateY(-1px); }
.modal-note {
  font-size: 12px !important; color: #ADADAB !important;
  margin-bottom: 6px !important;
}
.modal-consent {
  font-size: 12px !important; color: #ADADAB !important;
  margin-bottom: 0 !important;
}

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 70px 20px; }
  .dates-layout, .russia-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-steps { grid-template-columns: 1fr; }
  .how-step + .how-step { border-left: none; border-top: 1px solid var(--border); }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--border); }
  .partners { padding: 16px 20px; gap: 20px; }
  footer { padding: 24px 20px; }
  .exp-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 540px) {
  .exp-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-top: 1px solid var(--border); }
  .stat:first-child { border-top: none; }
}
