/* ============================================================
   VyroSMM — Premium "Deep Space" design system (Phase 5)
   Glassmorphism · mesh gradients · gradient type · glowing CTAs
   ============================================================ */

:root {
  /* surfaces */
  --bg-0: #05050a;
  --bg-1: #0a0e1a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* brand */
  --accent: #2AABEE;      /* telegram blue */
  --accent-2: #7C3AED;    /* cyber purple */
  --cyan: #22d3ee;
  --accent-soft: rgba(42, 171, 238, 0.14);
  --success: #34d399;

  /* text */
  --text: #f4f7fc;
  --muted: #98a6c0;
  --muted-2: #6b7894;

  /* shape */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --maxw: 1180px;

  --font-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --glow-blue: 0 0 24px rgba(42, 171, 238, 0.45);
  --shadow-card: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.7;
  letter-spacing: 0.1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ===== Deep-space mesh background (fixed glowing orbs) ===== */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(46rem 46rem at 12% -5%, rgba(42, 171, 238, 0.18), transparent 60%),
    radial-gradient(40rem 40rem at 100% 8%, rgba(124, 58, 237, 0.20), transparent 60%),
    radial-gradient(46rem 38rem at 50% 115%, rgba(34, 211, 238, 0.12), transparent 60%),
    linear-gradient(180deg, #05050a 0%, #080b16 45%, #05060d 100%);
}
/* faint grid texture for depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
p { color: var(--muted); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}

/* gradient heading helper applied to major headings */
.section-head h2, .page-hero h1, .p2-hero h1, .cta-band h2, .affiliate-banner h2, .hero h1 {
  background: linear-gradient(180deg, #ffffff 0%, #aebbd4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hl, .grad {
  background: linear-gradient(110deg, var(--cyan), var(--accent) 55%, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1;
  padding: 14px 24px; border-radius: var(--radius-pill); border: 0;
  cursor: pointer; white-space: nowrap; position: relative; isolation: isolate;
  background-repeat: no-repeat; background-size: 100% 100%;
  transition: transform .2s ease, box-shadow .25s ease, filter .2s ease;
}
.btn-lg { padding: 17px 32px; font-size: 16px; }
.btn-primary {
  color: #04121f;
  background-color: #1f9fe0;
  background-image: linear-gradient(120deg, var(--cyan), var(--accent) 50%, var(--accent-2));
  box-shadow: 0 8px 30px -6px rgba(42, 171, 238, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 0 34px rgba(42, 171, 238, 0.6), 0 14px 40px -8px rgba(124, 58, 237, 0.5); }
.btn-ghost {
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--border-strong); background: var(--surface-2); }

/* ===== Floating glass navbar ===== */
.site-header { position: sticky; top: 0; z-index: 60; padding: 16px 0; }
.site-header .container { max-width: 1280px; }
.site-header .nav {
  display: flex; align-items: center; gap: 10px; height: 64px;
  padding: 0 12px 0 18px;
  background: rgba(10, 14, 26, 0.62);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px -16px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand span { background: linear-gradient(110deg, var(--cyan), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-logo-img { height: 38px; width: auto; display: block; filter: drop-shadow(0 0 10px rgba(42,171,238,0.35)); }
.site-footer .brand-logo-img { height: 32px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 3px; margin-left: 4px; flex: 1; flex-wrap: nowrap !important; min-width: 0; }
.nav-links a { display: inline-flex; align-items: center; justify-content: center; line-height: 1; white-space: nowrap; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 9px 10px; border-radius: var(--radius-pill); transition: .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links .nav-earn {
  color: #04121f; background: linear-gradient(120deg, var(--accent), var(--accent-2));
  font-weight: 800; box-shadow: 0 0 16px rgba(124, 58, 237, 0.45); line-height: 1;
}
.nav-links .nav-earn:hover { filter: brightness(1.08); color: #04121f; }
.nav-cta { margin-left: auto; padding: 11px 17px; font-size: 14px; flex: none; }
.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-size: 18px; border-radius: 12px; padding: 7px 11px; cursor: pointer; }

/* custom language dropdown (styled native select) */
.lang-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--text);
  background-color: rgba(255,255,255,0.04);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2398a6c0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  border: 1px solid var(--border); border-radius: var(--radius-pill);
  padding: 9px 30px 9px 13px; font-size: 13px; line-height: 1; cursor: pointer; transition: .18s; flex: none;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lang-select:hover { border-color: var(--accent); box-shadow: 0 0 14px rgba(42,171,238,0.25); }
.lang-select option { background: #0a0e1a; color: var(--text); }

/* ===== Sections ===== */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); }

/* ===== Hero (legacy + page-hero) ===== */
.hero { padding: 96px 0 64px; text-align: center; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); margin-bottom: 22px; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--muted); max-width: 660px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero, .section-head, .page-hero { }
.page-hero { padding: 92px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 18px; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 680px; margin: 0 auto; }
.lead { font-size: 18px; line-height: 1.8; }

.badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; line-height: 1;
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: #cfe9fb; background: var(--accent-soft); border: 1px solid var(--border);
  padding: 10px 16px; border-radius: var(--radius-pill); margin-bottom: 24px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

.trust-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; color: var(--muted); font-size: 14px; }
.trust-row b { color: var(--text); }

/* ===== Grids (bento-ready) ===== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== Glass cards ===== */
.card {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow-card);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) -20%, rgba(42,171,238,0.12), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 30px 60px -28px rgba(0,0,0,0.9), 0 0 30px -8px rgba(42,171,238,0.3); }
.card:hover::after { opacity: 1; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .ico {
  font-size: 26px; width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(42,171,238,0.18), rgba(124,58,237,0.18));
  border: 1px solid var(--border);
}
.card .more { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 700; font-size: 14px; }

/* ===== Feature list ===== */
.feature-list { list-style: none; display: grid; gap: 15px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--muted); }
.feature-list .check { flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #04121f; background: linear-gradient(135deg, var(--cyan), var(--accent)); margin-top: 2px; }
.feature-list b { color: var(--text); }

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 22px; }

/* ===== Steps ===== */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px 26px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: .25s;
}
.step:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.step .n { counter-increment: step; flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #04121f; background: linear-gradient(135deg, var(--cyan), var(--accent)); box-shadow: var(--glow-blue); }
.step .n::before { content: counter(step); }
.step h4 { font-size: 18px; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 15px; }

/* ===== CTA band ===== */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 64px 36px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(42,171,238,0.14), rgba(124,58,237,0.10));
  border: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: -60%; transform: translateX(-50%); background: radial-gradient(circle, rgba(42,171,238,0.25), transparent 60%); pointer-events: none; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--muted); font-size: 18px; margin-bottom: 30px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ===== Note box ===== */
.note-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; color: var(--muted); font-size: 15px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.note-box b { color: var(--text); }

/* ===== FAQ (bento accordion) ===== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .2s; }
.faq-item:hover { border-color: var(--border-strong); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--text); font-family: var(--font-head); font-size: 16px; font-weight: 700; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.faq-q span { color: var(--accent); font-size: 24px; line-height: 1; transition: transform .25s; flex: none; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); padding: 0 22px; }
.faq-item.open .faq-a { max-height: 420px; padding: 0 22px 20px; }

/* ===== Contact ===== */
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-card); }
.contact-card h3 { font-size: 22px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); margin-bottom: 22px; }

/* ===== Prose (legal) ===== */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; }
.prose ul { padding-left: 22px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 64px 0 30px; background: linear-gradient(180deg, transparent, rgba(124,58,237,0.05)); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; }
.footer-grid h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--muted); font-size: 14px; padding: 6px 0; transition: .15s; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 38px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-2); font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Collapse nav to a clean mobile menu before the links would ever crowd.
   Full desktop nav only shows >=1280px, where the 1280 navbar container
   gives the 8 (translated) links comfortable single-row room. */
@media (max-width: 1279px) {
  .nav-links {
    display: none; position: absolute; top: 84px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; flex-wrap: nowrap !important;
    background: rgba(10, 14, 26, 0.96); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; gap: 4px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  .nav-links a { justify-content: flex-start; padding: 12px 14px; font-size: 15px; }
  .nav-links.show { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 620px) {
  section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
