/* Aurora VPN Android — 2025 monochrome emerald theme */
:root{
  --bg:#050b09; --bg-2:#07110e; --text:#e6f4ee; --muted:#9fb3aa;
  /* Основной акцент сайта (зелёный) */
  --brand-1:#22c55e; --brand-2:#16a34a; --ok:#22c55e; --warn:#f59e0b; --danger:#ef4444;
  /* Фирменные цвета логотипа Aurora (фиолетово‑голубой) */
  --logo-1:#8b5cf6; --logo-2:#60a5fa;
  --card:rgba(255,255,255,.06); --border:rgba(255,255,255,.12); --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:20px; --max:1100px;
}
*{box-sizing:border-box} html,body{height:100%}
body{
  margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  /* Разведённый фон без жёстких стыков: приглушённый тёмный зелёно‑Aurora фон, не отвлекающий от контента */
  background:
              /* мягкое, почти незаметное свечение Aurora в правом верхнем углу */
              radial-gradient(900px 520px at 90% -10%, rgba(139,92,246,.16), transparent 60%),
              /* лёгкий зелёный акцент в левом верхнем углу */
              radial-gradient(1100px 600px at -10% -10%, rgba(34,197,94,.10), transparent 60%),
              /* базовый тёмный фон: чуть теплее сверху, холоднее внизу, но без резких переходов */
              linear-gradient(180deg,
                #020605 0%,
                #040b09 35%,
                #060e10 70%,
                #020507 100%);
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position:relative;overflow-x:hidden;
  min-height: 100vh;
}
body:before{content:"";position:fixed;inset:0;background-image:radial-gradient(#ffffff22 1px, transparent 1px);
  background-size:18px 18px;pointer-events:none}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:24px 18px}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px}

/* Fixed header below the top news ticker */
header.container.nav{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: var(--max);
  z-index: 1100;
  background: rgba(12,20,18,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px; /* more compact header */
  overflow: hidden; /* clip rounded corners */
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  header.container.nav {
    padding: 10px 12px; /* более компактный header на мобильных */
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  header.container.nav {
    padding: 8px 10px; /* еще более компактный на маленьких экранах */
    border-radius: 10px;
  }
}
.brand{display:flex;align-items:center;gap:12px}
.logo{
  width:36px;
  height:36px;
  border-radius:12px;
  /* Логотип всегда в фирменных цветах Aurora */
  background:linear-gradient(135deg,var(--logo-1),var(--logo-2));
  box-shadow:0 6px 18px rgba(96,165,250,.45);
}
.logo.lg{width:42px;height:42px;border-radius:14px}
.brand h1{font-size:18px;margin:0;font-weight:700;letter-spacing:.2px}
.nav .right{display:flex;align-items:center;gap:10px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 18px;border-radius:14px;
  background:var(--card);border:1px solid var(--border);backdrop-filter: blur(8px);-webkit-backdrop-filter: blur(8px);
  transition:.25s ease; box-shadow:var(--shadow); cursor:pointer}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.08)}
.btn.primary{background:linear-gradient(135deg,var(--brand-2),var(--brand-1));border-color:transparent;font-weight:700}
.btn.btn-apk{
  position: relative;
  overflow: hidden;
  /* Более спокойный, приглушённый градиент */
  background: linear-gradient(135deg,
    rgba(34,197,94,.78) 0%,
    rgba(52,211,153,.7) 30%,
    rgba(96,165,250,.65) 65%,
    rgba(139,92,246,.65) 100%);
  background-size: 200% 200%;
  /* Плавное движение туда‑обратно без «скачка» в конце цикла */
  animation: apk-gradient-flow 16s linear infinite alternate;
  border-color: transparent;
  color:#f9fafb;
  box-shadow: 0 6px 20px rgba(15,118,110,.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn.btn-apk:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15,118,110,.32);
  animation-duration: 12s;
}
.btn.bold{font-weight:700}
.btn.block{width:100%}

.hero{padding:56px 0 22px}

/* Ensure main content doesn't overlap with fixed header */
main {
  position: relative;
  z-index: 1;
}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:26px;align-items:center}
.hero h2{font-size:44px;line-height:1.1;margin:0 0 16px;font-weight:800;letter-spacing:.2px}
.hero p{color:var(--muted);font-size:18px;margin:0 0 24px}
.cta{display:flex;flex-wrap:wrap;gap:12px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
.section{padding:30px 0}
.section#faq{margin-top:28px}
.section h3{font-size:28px;margin:0 0 18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.feature{display:flex;flex-direction:column;gap:10px}
.chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--border);background:rgba(255,255,255,.05);color:#cbd5e1;font-size:12px}
.chip .icon{width:20px;height:20px;opacity:.9}
.feature .chip{font-size:13px;padding:10px 14px}
.feature .muted{font-size:14px}
.mt-14{margin-top:14px}
.muted{color:var(--muted)}
.small{font-size:13px}

.regions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.region{padding:16px;border-radius:16px;border:1px solid var(--border);background:rgba(255,255,255,.05)}
.region .top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.latency{font-size:12px;color:#a7f3d0}
.region-active{outline:1px solid rgba(16,185,129,.25)}

.ui-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.ui-title{font-weight:700}
.ui-sub{font-size:13px}
.ui-status{margin-top:14px;display:flex;align-items:center;gap:12px}
.badge-de{width:44px;height:44px;border-radius:14px;background:#0c1412;display:grid;place-items:center;border:1px solid var(--border)}

.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.pricing-2{grid-template-columns:repeat(2,1fr)} /* 2 тарифа */
.price{padding:22px;border-radius:18px;border:1px solid var(--border);background:rgba(255,255,255,.06);position:relative}
.price .title{font-weight:700;margin-bottom:6px}
.price .num{font-size:34px;font-weight:800}
.badge{position:absolute;top:14px;right:14px;font-size:12px;background:linear-gradient(135deg,var(--brand-2),var(--brand-1));padding:6px 10px;border-radius:999px}

/* Анимированная градиентная обводка для рекомендуемого тарифа */
.price-featured{
  border: none;
  position: relative;
  overflow: hidden;
}
.price-featured::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  padding:1.5px;
  background:linear-gradient(135deg,
    rgba(34,197,94,.9) 0%,
    rgba(52,211,153,.9) 25%,
    rgba(96,165,250,.9) 60%,
    rgba(139,92,246,.9) 100%);
  background-size:220% 220%;
  animation: apk-gradient-flow 22s linear infinite alternate;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity:.9;
}
.price-featured::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:calc(var(--radius) - 4px);
  background:rgba(255,255,255,.06);
  z-index:-1;
}

/* Бейдж "Рекомендуем" в том же градиентном стиле, что и кнопки */
.price-featured .badge{
  background: linear-gradient(135deg,
    rgba(34,197,94,.9) 0%,
    rgba(52,211,153,.9) 25%,
    rgba(96,165,250,.9) 60%,
    rgba(139,92,246,.9) 100%);
  background-size: 220% 220%;
  animation: apk-gradient-flow 18s linear infinite alternate;
  color:#f9fafb;
  box-shadow: 0 6px 16px rgba(15,118,110,.4);
  border: none;
}

details{border:1px solid var(--border);border-radius:14px;padding:14px 16px;background:rgba(255,255,255,.05)}
details+details{margin-top:10px}
summary{cursor:pointer;font-weight:600}
summary::-webkit-details-marker{display:none}

.browsers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 20px;
  justify-items: center;
  text-align: center;
}
.section#browser-extension {
  text-align: left;
}
.section#browser-extension .card.feature {
  max-width: 560px;
  margin: 10px 0 0;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.section#browser-extension .card.feature .chip {
  margin-bottom: 4px;
}
.section#browser-extension .card.feature .muted {
  max-width: 640px;
  font-size: 14px;
  line-height: 1.6;
}
.section#browser-extension .card.feature .btn {
  margin-top: 6px;
}
@media (max-width: 768px) {
  .section#browser-extension .card.feature {
    max-width: 100%;
    padding: 18px 16px 18px;
  }
  .section#browser-extension .card.feature .muted {
    max-width: 100%;
  }
}
.browser-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;   /* чтобы текст и иконка по центру */
  gap: 10px;
  box-shadow: var(--shadow);
  transition: transform .2s ease;
  width: 140px;   /* фиксированная ширина */
  height: 140px;  /* фиксированная высота */
}
.browser-card:hover {
  transform: translateY(-4px);
}
.browser-card img {
  width: 48px;
  height: 48px;
}
.browser-card svg {
  width: 48px;
  height: 48px;
}
.browser-card span {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  text-align: center;
}
/* Лёгкая анимация иконок в блоке Android */
.browsers-grid .browser-card svg {
  animation: android-icon-float 8s ease-in-out infinite;
  transform-origin: center;
}
.browsers-grid .browser-card:nth-child(2) svg {
  animation-delay: 1.2s;
}
.browsers-grid .browser-card:nth-child(3) svg {
  animation-delay: 2.4s;
}

.footer{padding:32px 0;color:var(--muted);border-top:1px solid var(--border);margin-top:30px}
.footer-links{display:flex;gap:16px}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* Footer Social Block */
.footer-social {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.social-title {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: all .25s ease;
  font-size: 14px;
  font-weight: 500;
}

.social-link:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.social-link.telegram:hover {
  background: rgba(34,197,94,.12);
  border-color: rgba(34,197,94,.32);
}

.social-link svg {
  flex-shrink: 0;
}

.social-link span {
  white-space: nowrap;
}


/* Reveal animations */
.reveal, .reveal-up{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease}
.reveal.visible, .reveal-up.visible{opacity:1; transform:none}
/* Staggered entrance for features */
.grid-3 .feature.reveal{transition-duration:.5s}
.grid-3 .feature.reveal:nth-child(1){transition-delay:.05s}
.grid-3 .feature.reveal:nth-child(2){transition-delay:.15s}
.grid-3 .feature.reveal:nth-child(3){transition-delay:.25s}
/* Hover animation */
.feature{transition: transform .2s ease, box-shadow .2s ease}
.feature:hover{transform: translateY(-4px)}
.feature:hover .chip{transform: translateY(-1px)}
/* Header must always be visible (no reveal animation) */
header.container.nav.reveal-up{opacity:1; transform:none}

/* Drop shadow effect for hero title */
h2 {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Typing effect */
.typing-text {
  position: relative;
  min-height: 1.5em;
}

.typing-text::after {
  content: '|';
  animation: blink 1s infinite;
  color: var(--brand-1);
  font-weight: bold;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Плавная анимация градиента для кнопки APK */
@keyframes apk-gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* Плавное «подпрыгивание» иконок Android-блока */
@keyframes android-icon-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Mobile optimizations */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .grid-3,.regions{grid-template-columns:1fr}
  .pricing, .pricing-2{grid-template-columns:1fr}
  .hero h2{font-size:32px}
  .hero p{font-size:16px}
  .nav .right{gap:8px}
  .btn{padding:12px 14px}
  .cta .btn{flex:1; min-width:180px}
  .ui-status{flex-wrap:wrap}
  .badge-de{width:40px;height:40px}
  .container{padding:20px 14px}
  #cta-android { display: none !important; }

}
@media (max-width: 420px){
  .btn{padding:12px 12px;border-radius:12px}
  .brand h1{font-size:16px}
  .hero h2{font-size:28px}
  .cta .btn{width:100%}
  #cta-android { display: none !important; }

   /* Footer social mobile */
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  
  .social-link {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
}

/* === Aurora Brand Android – Monochrome emerald outline === */
:root{
  --aurora-brand-outline-1: rgba(34,197,94,.24);
  --aurora-brand-outline-2: rgba(22,163,74,.14);
}

/* мягкий фон и обводка с зелёным оттенком */
.aurora-brand{
  --ab-outline-1: var(--aurora-brand-outline-1);
  --ab-outline-2: var(--aurora-brand-outline-2);
}
.aurora-brand::before{
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(34,197,94,.05), transparent 60%),
    radial-gradient(120% 90% at 100% 10%, rgba(22,163,74,.04), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  box-shadow:
    inset 0 0 0 1px rgba(16,185,129,.1),
    0 8px 22px rgba(0,0,0,.25);
}
.aurora-brand::after{
  background: linear-gradient(135deg, var(--ab-outline-1), var(--ab-outline-2), transparent 75%);
  opacity: .6;
}

/* мягкие лого и текст с лёгким зелёным оттенком */
.aurora-brand__logo{
  box-shadow: 0 2px 10px rgba(96,165,250,.45);
}
.aurora-brand__title{
  background: linear-gradient(180deg, #e6e9f2, #dce5e0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.aurora-brand__name{ color: #d5efe1; text-shadow: 0 0 10px rgba(34,197,94,.16); }

/* спокойный hover */
.aurora-brand:hover::before{
  box-shadow:
    inset 0 0 0 1px rgba(34,197,94,.22),
    0 10px 28px rgba(22,163,74,.18);
}
.aurora-brand:hover .aurora-brand__title{ filter: none; }

/* Новостная строка */
.news-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,.28);
  color: var(--muted);
  padding: 8px 0;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 6px 16px rgba(0,0,0,.22);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.news-ticker-content {
  display: flex;
  animation: scroll-news 60s linear infinite;
  white-space: nowrap;
  gap: 60px;
}

.news-item {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  padding: 0 16px;
  color: inherit;
  flex-shrink: 0;
}

@keyframes scroll-news {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Пауза при наведении */
.news-ticker:hover .news-ticker-content {
  animation-play-state: paused;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .news-ticker {
    padding: 8px 0;
  }
  
  .news-item {
    font-size: 12px;
    padding: 0 12px;
  }
  
  .news-ticker-content {
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .news-item {
    font-size: 12px;
    padding: 0 10px;
  }
  
  .news-ticker-content {
    gap: 30px;
  }
}

/* Reserve space for fixed header height */
body { 
  padding-top: 76px; 
}

/* Mobile-specific padding adjustments */
@media (max-width: 768px) {
  body { 
    padding-top: 90px; /* больше места для header на мобильных */
  }
}

@media (max-width: 480px) {
  body { 
    padding-top: 100px; /* еще больше места для очень маленьких экранов */
  }
}

/* === Aurora Chat Widget — Green Android theme override === */
.aurora-bubble{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)) !important;
  box-shadow: 0 10px 25px rgba(34,197,94,.32) !important;
}

.aurora-btn{
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2)) !important;
}

.aurora-btn:hover{
  background: linear-gradient(135deg, var(--brand-2), var(--brand-1)) !important;
  box-shadow: 0 4px 16px rgba(34,197,94,.26) !important;
}

.aurora-online-label{
  background: rgba(12,20,18,.9) !important;
  color: #b7f7c2 !important;
  border-color: rgba(16,185,129,.3) !important;
}

.aurora-online-label .dot{
  background: var(--brand-1) !important;
  box-shadow: 0 0 0 3px rgba(16,185,129,.2) !important;
}

/* === APK Download Overlay === */
.apk-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.apk-overlay.active {
  opacity: 1;
  visibility: visible;
}

.apk-overlay-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.apk-overlay.active .apk-overlay-content {
  transform: scale(1) translateY(0);
}

.apk-overlay-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.apk-overlay-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.apk-overlay-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.apk-overlay-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.apk-overlay-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.apk-description {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.apk-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.apk-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 14px;
}

.apk-info-item svg {
  flex-shrink: 0;
  color: var(--brand-2);
  opacity: 0.9;
}

.apk-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  color: #fbbf24;
  font-size: 13px;
  line-height: 1.5;
}

.apk-warning svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.apk-download-button {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 24px;
  font-weight: 700;
}

.apk-play-store-link {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 14px 20px;
  text-align: center;
}

/* Mobile optimizations for overlay */
@media (max-width: 768px) {
  .apk-overlay-content {
    padding: 24px 20px;
    max-width: 100%;
    margin: 0;
  }
  
  .apk-overlay-header h3 {
    font-size: 20px;
  }
  
  .apk-overlay-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .apk-description {
    font-size: 14px;
  }
  
  .apk-info-item {
    font-size: 13px;
  }
  
  .apk-warning {
    font-size: 12px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .apk-overlay {
    padding: 12px;
  }
  
  .apk-overlay-content {
    padding: 20px 16px;
  }
  
  .apk-overlay-header h3 {
    font-size: 18px;
  }
  
  .apk-overlay-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 28px;
  }
}

