/* ==========================================================================
   NekoRay — multi-protocol proxy landing
   Visual code: Hero H (mesh), Nav D (dark sticky), Cards D (glassmorphism),
   Typo F (display Reem Kufi), Buttons F (gradient pink→cyan),
   Sections F (all dark), Price D (in hero), FAQ A (accordion),
   Footer B (single row minimal), Anim B (fade-in + scale)
   ========================================================================== */

:root {
  --primary: #E91E63;
  --primary-deep: #C2185B;
  --accent: #00BCD4;
  --accent-soft: #4DD0E1;
  --bg: #1A0B14;
  --bg-alt: #261A22;
  --bg-card: rgba(40, 28, 36, 0.7);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --text: #FFE4F1;
  --text-muted: #94A3B8;
  --border: rgba(233, 30, 99, 0.18);
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-glow: 0 18px 60px rgba(233, 30, 99, 0.22);
  --shadow-cyan: 0 12px 40px rgba(0, 188, 212, 0.18);
  --grad-main: linear-gradient(135deg, #E91E63 0%, #00BCD4 100%);
  --grad-soft: linear-gradient(135deg, rgba(233,30,99,.18), rgba(0,188,212,.14));
  --maxw: 1200px;
  --font-display: "Reem Kufi", "Reem Kufi Fun", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(233,30,99,.08), transparent 40%),
    radial-gradient(circle at 88% 90%, rgba(0,188,212,.07), transparent 45%);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Headings — display Reem Kufi */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }

/* ===== HEADER — D dark sticky ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(15, 8, 12, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--text);
  letter-spacing: 0.5px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
}

.brand span em {
  font-style: normal;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color .18s;
  position: relative;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.nav-cta {
  background: var(--grad-main);
  color: #000000;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.92rem;
  box-shadow: var(--shadow-glow);
  transition: transform .2s, box-shadow .2s, color .2s;
}

.nav-links a.nav-cta:hover {
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(233, 30, 99, .35);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
  padding: 6px;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(13, 6, 10, 0.97);
  backdrop-filter: blur(14px);
  z-index: 100;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mobile-menu.show { display: flex; }
.mobile-menu a {
  font-size: 1.45rem;
  font-family: var(--font-display);
  color: var(--text);
}
.mobile-menu a.nav-cta {
  background: var(--grad-main);
  color: #000;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 800;
}

/* ===== BUTTONS — F gradient ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 15px 30px;
  border-radius: 50px;
  transition: transform .22s, box-shadow .22s, opacity .2s;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--grad-main);
  color: #000;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 26px 80px rgba(233, 30, 99, .4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--accent);
}
.btn-ghost:hover {
  background: rgba(0, 188, 212, .12);
  box-shadow: var(--shadow-cyan);
}

.btn-sm { padding: 10px 22px; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* ===== HERO — H mesh gradient ===== */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  isolation: isolate;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.55;
  animation: meshFloat 14s ease-in-out infinite;
}
.mesh-blob.b1 {
  width: 520px; height: 520px;
  background: #E91E63;
  top: -120px; left: -100px;
  animation-delay: 0s;
}
.mesh-blob.b2 {
  width: 460px; height: 460px;
  background: #00BCD4;
  bottom: -140px; right: -80px;
  animation-delay: -4s;
}
.mesh-blob.b3 {
  width: 360px; height: 360px;
  background: #C2185B;
  top: 50%; left: 55%;
  animation-delay: -8s;
  opacity: 0.4;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(.95); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 188, 212, .12);
  border: 1px solid rgba(0, 188, 212, .35);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--accent-soft);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.hero-badge::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 {
  margin-bottom: 22px;
}
.hero h1 .accent-pink {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 30px;
  margin-top: 8px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.trust-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.trust-item .dot.pink { background: var(--primary); box-shadow: 0 0 10px var(--primary); }

/* PRICE D — embedded in hero, right column */
.hero-price {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
}
.hero-price::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(233,30,99,.08), transparent 60%);
  pointer-events: none;
}
.price-tag-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.price-tag-label {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
}
.price-tag-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.price-tag-main {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
  line-height: 1;
}
.price-tag-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.price-tag-list {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  gap: 10px;
}
.price-tag-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.price-tag-list li::before {
  content: "◇";
  color: var(--accent);
  font-size: 0.9rem;
}

/* ===== STATS ===== */
.stats {
  padding: 50px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.015);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.86rem;
  letter-spacing: 0.4px;
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  margin-bottom: 16px;
}
.section-head h2 .accent {
  color: var(--primary);
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== FEATURES — D glassmorphism ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .28s, border-color .28s, box-shadow .28s;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0.5;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(233, 30, 99, .35);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}
.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== PLATFORMS ===== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.platform-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(233,30,99,.18), rgba(0,188,212,.18));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}
.platform-card h3 { font-size: 1.1rem; }
.platform-card p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 4px; }
.platform-link {
  font-size: 0.84rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px dashed transparent;
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.platform-link:hover { border-color: var(--accent); color: var(--accent-soft); }

/* ===== WHY-NEKORAY (text section) ===== */
.why-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.why-text p {
  margin-bottom: 18px;
  color: var(--text-muted);
  font-size: 1.02rem;
}
.why-text p strong {
  color: var(--text);
  font-weight: 600;
}
.why-list {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  list-style: none;
  display: grid;
  gap: 20px;
}
.why-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
}
.why-list li .num {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--grad-main);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.why-list li h4 { font-size: 1rem; margin-bottom: 4px; color: var(--text); }
.why-list li p { font-size: 0.9rem; color: var(--text-muted); }

/* ===== USE CASES ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.case-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  transition: border-color .25s, transform .25s;
}
.case-card:hover {
  border-color: rgba(0, 188, 212, .35);
  transform: translateY(-2px);
}
.case-mark {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.case-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.case-card p { color: var(--text-muted); font-size: 0.93rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  margin: 0 auto;
  background: var(--grad-main);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.15), transparent 50%);
  z-index: -1;
}
.cta-banner h2 {
  color: #1A0B14;
  margin-bottom: 14px;
  font-weight: 700;
}
.cta-banner p {
  color: rgba(26, 11, 20, .82);
  margin-bottom: 28px;
  font-size: 1.05rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn {
  background: #1A0B14;
  color: #FFE4F1;
}
.cta-banner .btn:hover { background: #000; }

/* ===== FAQ — A accordion ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open {
  border-color: rgba(233, 30, 99, .4);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--text);
}
.faq-q .ic {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 700;
  transition: transform .3s, background .3s, color .3s;
  font-size: 1rem;
}
.faq-item.open .faq-q .ic {
  transform: rotate(45deg);
  background: var(--grad-main);
  color: #000;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 26px 22px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ===== FOOTER — B single row minimal ===== */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 28px 0;
  background: rgba(0, 0, 0, .25);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-nav {
  display: flex;
  gap: 22px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* ===== INSTRUKTSIYA — steps ===== */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}
.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--grad-main);
}
.step-num {
  width: 84px; height: 84px;
  border-radius: 22px;
  background: var(--grad-main);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  box-shadow: var(--shadow-glow);
}
.step-card h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.step-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.after-pay {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
}
.after-pay h2 { margin-bottom: 14px; }
.after-pay > p { color: var(--text-muted); max-width: 700px; margin: 0 auto 36px; }

/* ===== Animations — B fade + scale ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.96);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .hero { padding: 80px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .why-block { grid-template-columns: 1fr; gap: 36px; }
  .cases-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: flex; }
  section { padding: 75px 0; }
}

@media (max-width: 580px) {
  .container { padding: 0 18px; }
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.55rem; }
  .features-grid, .platforms-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .step-card { grid-template-columns: 1fr; padding: 30px 22px; }
  .step-num { width: 64px; height: 64px; font-size: 1.7rem; border-radius: 18px; }
  .cta-banner { padding: 48px 24px; }
  .footer-row { flex-direction: column; text-align: center; gap: 14px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .section-head { margin-bottom: 44px; }
  .hero-price { padding: 26px 22px; }
  .price-tag-main { font-size: 2.2rem; }
}
