/* ============================================================
   XIOTCH TECHNOLOGY — GLOBAL BRAND STYLESHEET
   Premium international design system.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Backgrounds */
  --bg:       #04040a;
  --bg2:      #080810;
  --bg3:      #0c0c16;
  --surface:  #12121e;
  --surface2: #191928;

  /* Borders */
  --line:     rgba(255,255,255,0.08);
  --line2:    rgba(255,255,255,0.04);
  --line-acc: rgba(124,92,252,0.28);

  /* Text */
  --text:     #eef1f6;
  --sub:      #7a8898;
  --dim:      #3a4655;

  /* Brand Colors */
  --accent:   #7c5cfc;
  --accent-h: #6a4de0;
  --accent2:  #a78bfa;
  --sky:      #38b2f4;
  --sky-h:    #2a9de0;
  --sky2:     #7dd3fc;
  --gold:     #d4a843;
  --gold2:    #f0c96a;

  /* Radius */
  --r:  12px;
  --r2: 7px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,.5);
  --shadow-md:  0 4px 20px rgba(0,0,0,.6);
  --shadow-lg:  0 16px 56px rgba(0,0,0,.65);
  --shadow-xl:  0 32px 96px rgba(0,0,0,.75);
  --glow-acc:   0 0 80px rgba(124,92,252,.18);
  --glow-sky:   0 0 80px rgba(56,178,244,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Disable text selection globally */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ── */
.t-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 16px;
}
.t-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent2);
  opacity: .6;
}
.t-label.sky { color: var(--sky); }
.t-label.sky::before { background: var(--sky); }
.t-label.gold { color: var(--gold2); }
.t-label.gold::before { background: var(--gold2); }
.t-label.fi::before { display: none; }

.t-h1 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
}
.t-h2 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.8px;
  color: #fff;
}
.t-h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -.3px;
  color: #fff;
}
.t-body { font-size: .975rem; color: var(--sub); line-height: 1.85; }
.t-small { font-size: .82rem; color: var(--dim); }

/* ── GRADIENT TEXT ── */
.grad-text {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r);
  font-family: inherit;
  font-weight: 700;
  font-size: .875rem;
  cursor: pointer;
  transition: all .22s;
  text-decoration: none;
  border: none;
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #9b6dff 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(124,92,252,.35), 0 6px 24px rgba(124,92,252,.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(124,92,252,.5), 0 12px 32px rgba(124,92,252,.4);
}

.btn-sky {
  background: linear-gradient(135deg, var(--sky) 0%, #5bc8ff 100%);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(56,178,244,.35), 0 6px 24px rgba(56,178,244,.25);
}
.btn-sky:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 0 0 1px rgba(56,178,244,.5), 0 12px 32px rgba(56,178,244,.35); }

.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--sub);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.2); color: var(--text); background: rgba(255,255,255,.07); }

.btn-sm { padding: 9px 20px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: .975rem; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(4,4,10,.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid var(--line2);
  transition: border-color .3s, background .3s;
}
.site-header.scrolled {
  background: rgba(4,4,10,.95);
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 8px 32px rgba(0,0,0,.4);
}
.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.hdr-logo img { height: 34px; width: auto; }
.hdr-nav { display: flex; align-items: center; }
.hdr-nav ul { display: flex; list-style: none; gap: 2px; }
.hdr-nav a {
  display: block;
  padding: 7px 15px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--sub);
  border-radius: var(--r2);
  transition: color .15s, background .15s;
  letter-spacing: .01em;
}
.hdr-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.hdr-nav a.active { color: var(--text); }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.mob-btn { display: none; background: none; border: none; color: var(--sub); font-size: 1.2rem; cursor: pointer; padding: 6px; }

/* ── MOBILE NAV ── */
.mob-nav {
  display: none;
  position: fixed;
  top: 0; left: -100%;
  width: 72%;
  height: 100vh;
  background: var(--surface);
  z-index: 999;
  padding: 88px 32px 32px;
  border-right: 1px solid var(--line);
  transition: left .28s cubic-bezier(.4,0,.2,1);
}
.mob-nav.open { left: 0; }
.mob-nav ul { list-style: none; display: flex; flex-direction: column; }
.mob-nav li a {
  display: block;
  padding: 14px 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--sub);
  border-bottom: 1px solid var(--line2);
  transition: color .15s;
}
.mob-nav li a:hover { color: var(--text); }
.mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.mob-overlay.open { display: block; }

/* ── SECTION SPACING ── */
.sec { padding: 104px 0; }
.sec-sm { padding: 72px 0; }
.sec-divider { border-top: 1px solid var(--line2); }

/* ── SECTION HEADER ── */
.sec-hd { margin-bottom: 60px; }
.sec-hd.center { text-align: center; }
.sec-hd.center .t-body { max-width: 540px; margin: 14px auto 0; }
.sec-hd.center .t-label { justify-content: center; }
.sec-hd.center .t-label::before { display: none; }
.sec-hd .t-body { margin-top: 14px; max-width: 520px; }

/* ── AMBIENT GLOW ── */
.glow-acc {
  position: relative;
}
.glow-acc::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(124,92,252,.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.glow-acc > * { position: relative; z-index: 1; }

/* ── FEATURE GRID ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.feat-cell {
  background: var(--bg2);
  padding: 36px 30px;
  transition: background .2s;
  position: relative;
}
.feat-cell:hover { background: var(--surface); }
.feat-ico {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: rgba(124,92,252,.1);
  border: 1px solid rgba(124,92,252,.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent2);
  font-size: .95rem;
  margin-bottom: 20px;
}
.feat-ico.sky { background: rgba(56,178,244,.1); border-color: rgba(56,178,244,.18); color: var(--sky); }
.feat-ico.gold { background: rgba(212,168,67,.1); border-color: rgba(212,168,67,.18); color: var(--gold2); }
.feat-cell h3 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feat-cell p { font-size: .82rem; color: var(--sub); line-height: 1.7; }

/* ── SHOWCASE ROW ── */
.sc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.sc-row.rev { direction: rtl; }
.sc-row.rev > * { direction: ltr; }
.sc-content .t-label { margin-bottom: 14px; }
.sc-content h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 700; color: #fff; letter-spacing: -.5px; margin-bottom: 16px; line-height: 1.18; }
.sc-content p { font-size: .9rem; color: var(--sub); line-height: 1.85; margin-bottom: 24px; }
.sc-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }
.sc-list li { font-size: .875rem; color: var(--sub); display: flex; align-items: flex-start; gap: 11px; line-height: 1.6; }
.sc-list li::before {
  content: '';
  width: 17px; height: 17px;
  border-radius: 50%;
  background: rgba(124,92,252,.1);
  border: 1px solid rgba(124,92,252,.22);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5 3.5-4' stroke='%23a78bfa' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 9px;
}
.sc-list.sky li::before {
  background-color: rgba(56,178,244,.1);
  border-color: rgba(56,178,244,.22);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 5l2.5 2.5 3.5-4' stroke='%2338b2f4' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sc-img { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-xl); }
.sc-img img { width: 100%; display: block; }
.phone-wrap { display: flex; justify-content: center; }
.phone-shell { width: 230px; border-radius: 36px; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-xl); background: var(--surface); }
.phone-shell img { width: 100%; display: block; }

/* ── STATS ROW ── */
.stats-row { display: flex; gap: 56px; flex-wrap: wrap; }
.stats-row.center { justify-content: center; }
.stat-item .stat-n {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-item .stat-l { font-size: .68rem; color: var(--dim); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: 6px; }

/* ── CARD ── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: rgba(255,255,255,.13); box-shadow: var(--shadow-md); }
.card.accent-border { border-color: var(--line-acc); }

/* ── REGION BADGE ── */
.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--sub);
  letter-spacing: .02em;
}

/* ── CTA BOX ── */
.cta-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 35%, var(--sky) 65%, transparent 100%);
}
.cta-box::after {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(124,92,252,.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-box h2 { font-family: 'Manrope', 'Inter', sans-serif; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.6px; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box p { font-size: .975rem; color: var(--sub); margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.8; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }

/* ── CONTACT FORM ── */
.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: .7rem; font-weight: 700; color: var(--sub); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .08em; }
.form-control {
  width: 100%;
  padding: 11px 15px;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  color: var(--text);
  font-size: .875rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus { outline: none; border-color: rgba(124,92,252,.5); box-shadow: 0 0 0 3px rgba(124,92,252,.08); }
.form-control::placeholder { color: var(--dim); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control option { background: var(--bg2); }

/* ── FOOTER ── */
.site-footer { background: var(--bg); border-top: 1px solid var(--line2); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 56px; }
.foot-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.foot-brand p { font-size: .82rem; color: var(--dim); max-width: 220px; line-height: 1.8; }
.foot-col h4 { font-size: .65rem; font-weight: 700; color: var(--sub); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: .82rem; color: var(--dim); transition: color .15s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  border-top: 1px solid var(--line2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .75rem;
  color: var(--dim);
}
.foot-bottom a { color: var(--dim); }
.foot-bottom a:hover { color: var(--sub); }

/* ── DIVIDER LINE ── */
.line-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  border: none;
  margin: 0;
}

/* ── FADE IN ── */
.fi { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fi.vis { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .07s; }
.d2 { transition-delay: .14s; }
.d3 { transition-delay: .21s; }
.d4 { transition-delay: .28s; }
.d5 { transition-delay: .35s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sc-row { gap: 56px; }
}

/* ── TABLET ── */
@media (max-width: 768px) {
  .hdr-nav, .hdr-actions { display: none; }
  .mob-btn { display: block; }
  .mob-nav { display: block; }
  .sc-row { grid-template-columns: 1fr !important; direction: ltr !important; gap: 40px; }
  .sc-row > * { direction: ltr !important; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 48px 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 32px; }
  .sec { padding: 72px 0; }
  .t-h2 { font-size: 1.75rem; }
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  html { font-size: 15px; }
  body { overflow-x: hidden; }
  .container { width: 100%; padding: 0 20px; }
  .sec { padding: 44px 0; }
  .sec-hd { margin-bottom: 24px; }
  .sec-hd.center { text-align: left; }
  .sec-hd.center .t-label { justify-content: flex-start; }
  .sec-hd.center .t-label::before { display: inline-block; }
  .sec-hd.center .t-body { margin-left: 0; margin-right: 0; }

  /* Typography */
  .t-h2 { font-size: 1.45rem; letter-spacing: -.5px; line-height: 1.2; }
  .t-h3 { font-size: 1.15rem; }
  .t-body { font-size: .875rem; line-height: 1.75; }
  .t-label { font-size: .6rem; letter-spacing: .12em; }

  /* Header */
  .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: rgba(4,4,10,.98); }
  .hdr-inner { height: 54px; }
  .hdr-logo img { height: 24px; }
  .mob-btn { display: block; color: var(--sub); }
  body { padding-top: 54px; }

  /* Feature grid */
  .feat-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .feat-cell { padding: 22px 18px; }
  .feat-ico { width: 38px; height: 38px; margin-bottom: 14px; }

  /* Showcase */
  .sc-row { gap: 24px; }
  .sc-content h2 { font-size: 1.25rem; letter-spacing: -.3px; }
  .sc-content p { font-size: .85rem; }
  .sc-img { border-radius: 10px; }
  .phone-shell { width: 160px; }

  /* Stats */
  .stats-row { gap: 16px; }
  .stat-item .stat-n { font-size: 1.5rem; }

  /* CTA */
  .cta-box { padding: 36px 20px; border-radius: 16px; }
  .cta-box h2 { font-size: 1.4rem; letter-spacing: -.3px; }
  .cta-box p { font-size: .85rem; margin-bottom: 24px; }
  .cta-btns { flex-direction: column; gap: 10px; }
  .cta-btns .btn { width: 100%; justify-content: center; }

  /* Buttons */
  .btn { border-radius: 10px; }
  .btn-lg { padding: 14px 20px; font-size: .9rem; }

  /* Footer */
  .site-footer { padding: 40px 0 96px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand img { height: 24px; margin-bottom: 10px; }
  .foot-brand p { font-size: .78rem; max-width: 100%; }
  .foot-col h4 { font-size: .6rem; margin-bottom: 12px; }
  .foot-col a { font-size: .8rem; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 4px; font-size: .7rem; padding-top: 16px; }

  /* Form */
  .form-wrap { padding: 20px 16px; border-radius: 12px; }
  .form-control { padding: 12px 14px; font-size: .95rem; border-radius: 9px; }

  /* Region badge */
  .region-badge { font-size: .68rem; padding: 4px 11px; }

  /* Card */
  .card { border-radius: 12px; }
}
