@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

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

:root {
  --cyan: #32dfff;
  --green: #0aff0a;
  --dark: #0d0d12;
  --dark2: #13131a;
  --dark3: #1a1a24;
  --text: #c8c8d0;
  --text-muted: #8888a0;
  --red: #cc3333;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Ubuntu', sans-serif;
  background: var(--dark);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a { color: var(--cyan); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .8; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── ANIMATED BACKGROUND ── */
#bg-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
#particles-canvas {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.nebula {
  position: fixed; border-radius: 50%; filter: blur(120px); opacity: .18; z-index: 0; pointer-events: none;
}
.nebula-1 { width: 600px; height: 400px; background: var(--red); top: 10%; left: 20%; animation: nebula-float 20s ease-in-out infinite; }
.nebula-2 { width: 500px; height: 350px; background: #882222; top: 30%; right: 10%; animation: nebula-float 25s ease-in-out infinite reverse; }
.nebula-3 { width: 400px; height: 300px; background: #661111; bottom: 20%; left: 40%; animation: nebula-float 30s ease-in-out infinite; }
@keyframes nebula-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -20px); } }

.mountains {
  position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2; pointer-events: none;
}

.page-content { position: relative; z-index: 10; pointer-events: auto; }

/* ── BEACONS ── */
.beacon {
  position: fixed; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); z-index: 5; pointer-events: none;
  animation: beacon-pulse 3s ease-in-out infinite;
}
.beacon-1 { top: 40%; left: 15%; animation-delay: 0s; }
.beacon-2 { top: 60%; right: 20%; animation-delay: 1s; }
.beacon-3 { top: 75%; left: 50%; animation-delay: 2s; }
@keyframes beacon-pulse {
  0%, 100% { opacity: .3; box-shadow: 0 0 4px var(--cyan); }
  50% { opacity: 1; box-shadow: 0 0 20px var(--cyan); }
}

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 15px 0;
  background: linear-gradient(180deg, rgba(13,13,18,.95) 0%, rgba(13,13,18,.7) 100%);
  backdrop-filter: blur(10px);
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.header-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header-logo .logo-text { font-size: 22px; font-weight: 700; line-height: 1.1; color: #fff; }
.header-logo .logo-text span { color: var(--green); }
.header-logo .logo-slogan { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.header-lang {
  border: 1px solid rgba(255,255,255,.3); border-radius: 4px;
  padding: 4px 10px; font-size: 13px; color: #fff; cursor: pointer;
  margin-left: 30px;
}
.header-nav { display: flex; align-items: center; gap: 25px; }
.header-nav a { color: #fff; font-size: 14px; font-weight: 400; text-decoration: none; opacity: .8; }
.header-nav a:hover, .header-nav a.active { opacity: 1; color: var(--cyan); }
.header-right { display: flex; align-items: center; gap: 15px; }
.btn-contact {
  border: 1px solid var(--cyan); color: var(--cyan); padding: 8px 20px;
  border-radius: 20px; font-size: 14px; text-decoration: none; transition: all .3s;
}
.btn-contact:hover { background: var(--cyan); color: var(--dark); opacity: 1; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: all .3s; }

.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  background: rgba(13,13,18,.98); z-index: 99; padding: 30px 20px;
  flex-direction: column; gap: 20px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { color: #fff; font-size: 18px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

/* ── HERO ── */
.hero { padding: 140px 0 60px; text-align: center; }
.hero-title { font-size: 42px; font-weight: 700; text-transform: uppercase; line-height: 1.2; margin-bottom: 30px; }
.hero-title .cyan { color: var(--cyan); }
.hero-features { list-style: none; margin: 0 auto 40px; max-width: 500px; text-align: left; }
.hero-features li {
  padding: 8px 0 8px 25px; position: relative; font-size: 15px; color: var(--text);
}
.hero-features li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: var(--cyan);
}

.btn-telegram {
  display: inline-flex; align-items: center; gap: 12px;
  background: #229ED9; color: #fff; padding: 14px 28px; border-radius: 8px;
  font-size: 16px; font-weight: 500; text-decoration: none;
  box-shadow: 0 4px 20px rgba(34,158,217,.3); transition: all .3s;
}
.btn-telegram:hover { background: #1c8cc5; transform: translateY(-2px); opacity: 1; }
.btn-telegram svg { width: 22px; height: 22px; fill: #fff; }

.hero-bullets { margin-top: 25px; display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.hero-bullets li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.hero-bullets li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex-shrink: 0; }

/* ── SIMPLE EXCHANGE ── */
.simple-exchange { text-align: center; padding: 40px 0; }
.simple-exchange h2 { font-size: 24px; font-weight: 700; margin-bottom: 25px; }

/* ── COUNTRIES ── */
.countries { padding: 60px 0; }
.countries-title { text-align: center; font-size: 16px; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 30px; }
.countries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 60px; max-width: 700px; margin: 0 auto; }
.country-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.country-item .flag { font-size: 20px; width: 28px; text-align: center; }

/* ── SERVICES ── */
.services { padding: 40px 0 60px; }
.services-list { max-width: 700px; margin: 0 auto; }
.services-list li {
  list-style: none; padding: 10px 0; font-size: 15px; color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.services-list li::before { content: '— '; color: var(--cyan); }

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  display: flex; justify-content: center; padding: 30px 0;
}
.scroll-mouse {
  width: 26px; height: 40px; border: 2px solid var(--cyan); border-radius: 13px;
  position: relative;
}
.scroll-mouse::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 8px; background: var(--cyan); border-radius: 2px;
  animation: scroll-dot 1.5s ease-in-out infinite;
}
@keyframes scroll-dot { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* ── CALCULATOR ── */
.calculator { padding: 60px 0; }
.calc-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.calc-tab {
  padding: 8px 18px; border: 1px solid rgba(255,255,255,.3); border-radius: 4px;
  background: transparent; color: #fff; font-size: 14px; cursor: pointer; transition: all .2s;
  font-family: 'Ubuntu', sans-serif;
}
.calc-tab.active, .calc-tab:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.calc-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.calc-column h3 { text-align: center; font-size: 22px; margin-bottom: 25px; }
.calc-field { margin-bottom: 15px; }
.calc-field label { font-size: 12px; color: var(--text-muted); display: block; margin-bottom: 5px; }
.calc-input-wrap {
  display: flex; align-items: center; gap: 10px;
  background: var(--dark3); border: 1px solid rgba(255,255,255,.15);
  padding: 12px 15px; border-radius: 6px;
}
.calc-currency {
  background: rgba(50,223,255,.15); color: var(--cyan); padding: 4px 10px;
  border-radius: 4px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.calc-input-wrap input {
  background: transparent; border: none; color: #fff; font-size: 18px;
  font-family: 'Ubuntu', sans-serif; width: 100%; outline: none;
}
.calc-input-wrap input::placeholder { color: var(--text-muted); }
.btn-calc {
  display: inline-block; background: var(--cyan); color: var(--dark); padding: 10px 24px;
  border-radius: 20px; font-size: 14px; font-weight: 500; border: none; cursor: pointer;
  font-family: 'Ubuntu', sans-serif; margin-top: 15px; transition: all .2s;
}
.btn-calc:hover { background: #28c8e8; transform: translateY(-1px); }

/* ── TELEGRAM CTA ── */
.telegram-cta { text-align: center; padding: 50px 0; }
.telegram-cta h3 { font-size: 20px; margin-bottom: 20px; }
.btn-telegram-alt {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #fff; padding: 14px 30px; border-radius: 8px; font-size: 16px;
  text-decoration: none; transition: all .3s;
}
.btn-telegram-alt:hover { background: rgba(255,255,255,.15); opacity: 1; }
.btn-telegram-alt svg { width: 22px; height: 22px; fill: #229ED9; }

/* ── RATES TABLE ── */
.rates-section { padding: 40px 0; }
.rates-section h2 { text-align: center; font-size: 28px; margin-bottom: 10px; }
.rates-pair-selector {
  display: flex; gap: 15px; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-bottom: 30px; padding: 30px;
  background: rgba(255,255,255,.03); border-radius: 12px;
}
.rates-pair-selector select {
  background: var(--dark3); border: 1px solid rgba(255,255,255,.2);
  color: #fff; padding: 10px 15px; border-radius: 6px; font-size: 15px;
  font-family: 'Ubuntu', sans-serif; min-width: 200px; cursor: pointer;
}
.rates-pair-selector select option { background: var(--dark3); }
.btn-pair {
  background: var(--cyan); color: var(--dark); padding: 10px 20px;
  border: none; border-radius: 20px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: 'Ubuntu', sans-serif; transition: all .2s;
}
.btn-pair:hover { background: #28c8e8; }
.reverse-icon {
  font-size: 20px; color: var(--text-muted); cursor: pointer; user-select: none;
}

.rates-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.rates-table { width: 100%; }
.rates-table table { width: 100%; border-collapse: collapse; }
.rates-table th {
  text-align: left; padding: 10px 12px; font-size: 12px; color: var(--text-muted);
  font-weight: 400; border-bottom: 1px solid rgba(255,255,255,.1);
}
.rates-table td { padding: 12px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.rates-table tr:first-child td { background: rgba(255,255,0,.08); }
.rates-table .up { color: #22cc66; }
.rates-table .down { color: #cc3344; }
.rates-table .arrow-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--cyan);
  background: transparent; color: var(--cyan); cursor: pointer; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center; transition: all .2s;
}
.rates-table .arrow-btn:hover { background: var(--cyan); color: var(--dark); }
.rates-chart { background: rgba(255,255,255,.03); border-radius: 12px; padding: 20px; min-height: 300px; }

.btn-details {
  display: inline-block; background: var(--cyan); color: var(--dark); padding: 10px 30px;
  border-radius: 20px; font-size: 14px; font-weight: 500; text-decoration: none;
  margin-top: 15px; transition: all .2s;
}
.btn-details:hover { background: #28c8e8; opacity: 1; }

/* ── INVESTMENT SECTION ── */
.invest-help { padding: 60px 0; }
.invest-help h2 { font-size: 28px; text-align: center; margin-bottom: 15px; }
.invest-help .subtitle { color: var(--cyan); font-size: 20px; text-align: center; margin-bottom: 30px; }
.invest-help p { color: var(--text); font-size: 15px; line-height: 1.7; max-width: 800px; margin: 0 auto 30px; text-align: center; }

/* ── BLOCKCHAIN SECTION ── */
.blockchain { padding: 60px 0; }
.blockchain h2 { font-size: 28px; text-align: center; margin-bottom: 40px; text-transform: uppercase; }
.blockchain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blockchain-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 25px;
}
.blockchain-card h4 { font-size: 16px; margin-bottom: 10px; color: var(--cyan); }
.blockchain-card p { font-size: 14px; color: var(--text); line-height: 1.6; }
.blockchain-stats { background: rgba(255,255,255,.03); border-radius: 12px; padding: 30px; }
.blockchain-stats h4 { font-size: 18px; text-align: center; margin-bottom: 20px; text-transform: uppercase; color: var(--text-muted); }
.stat-item { margin-bottom: 20px; }
.stat-num { font-size: 36px; font-weight: 700; color: var(--cyan); }
.stat-text { font-size: 14px; color: var(--text); line-height: 1.6; }
.stat-text span { color: var(--cyan); font-weight: 500; }

/* ── FAQ ── */
.faq { padding: 60px 0; }
.faq h2 { text-align: center; font-size: 28px; margin-bottom: 30px; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq-toggle {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; cursor: pointer; font-size: 16px; font-weight: 500; user-select: none;
}
.faq-toggle .arrow { transition: transform .3s; font-size: 12px; color: var(--text-muted); }
.faq-item.active .faq-toggle .arrow { transform: rotate(180deg); }
.faq-hidden {
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
}
.faq-item.active .faq-hidden { max-height: 500px; }
.faq-hidden-inner { padding: 0 0 20px; font-size: 14px; color: var(--text); line-height: 1.7; }
.btn-more {
  display: block; width: fit-content; margin: 25px auto 0;
  border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff;
  padding: 8px 30px; border-radius: 4px; font-size: 14px; cursor: pointer;
  font-family: 'Ubuntu', sans-serif; transition: all .2s;
}
.btn-more:hover { border-color: #fff; background: rgba(255,255,255,.05); }

/* ── BREADCRUMBS ── */
.breadcrumbs { padding: 100px 0 10px; font-size: 13px; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs span { margin: 0 5px; }

/* ── PAGE TITLE ── */
.page-title { font-size: 32px; font-weight: 700; margin-bottom: 30px; }

/* ── ABOUT ── */
.about-text { max-width: 800px; font-size: 15px; color: var(--text); line-height: 1.8; margin-bottom: 40px; }

/* ── REVIEWS ── */
.reviews { padding: 40px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 25px;
}
.review-name { font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text); line-height: 1.6; }

/* ── EXPERTS SLIDER ── */
.experts { padding: 40px 0; }
.experts h3 { text-align: center; font-size: 22px; margin-bottom: 30px; }
.expert-slide {
  background: rgba(255,255,255,.03); border-radius: 12px; padding: 30px;
  display: none;
}
.expert-slide.active { display: grid; grid-template-columns: 1fr; gap: 20px; }
.expert-name { font-size: 16px; font-weight: 500; margin-bottom: 8px; color: var(--cyan); }
.expert-text { font-size: 14px; color: var(--text); line-height: 1.6; }
.slider-nav-btns { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.slider-nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3); background: transparent;
  color: #fff; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.slider-nav-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── FOOTER ── */
.footer {
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 60px;
}
.footer-content { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-logo .logo-text { font-size: 20px; font-weight: 700; color: #fff; line-height: 1.1; }
.footer-logo .logo-text span { color: var(--green); }
.footer-bestchange { display: block; margin-top: 15px; }
.footer-bestchange img { height: 30px; filter: brightness(.8); }
.footer-text { flex: 1; min-width: 300px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-bottom { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--cyan); font-size: 13px; }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed; bottom: 30px; left: 30px; z-index: 100;
  width: 44px; height: 44px; background: var(--cyan); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; transition: opacity .3s; color: var(--dark); font-size: 20px;
}
.scroll-top.visible { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-lang { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 28px; }
  .calc-columns { grid-template-columns: 1fr; gap: 30px; }
  .rates-content { grid-template-columns: 1fr; }
  .blockchain-grid { grid-template-columns: 1fr; }
  .countries-grid { gap: 8px 30px; }
  .rates-table { overflow-x: auto; }
  .invest-help + .blockchain .container > div { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 22px; }
  .hero-features { padding-left: 10px; }
  .calc-tabs { gap: 6px; }
  .calc-tab { padding: 6px 12px; font-size: 12px; }
  .footer-content { flex-direction: column; }
}
