/* ═══════════════════════════════════════════════════════════
   Radar — style.css
═══════════════════════════════════════════════════════════ */

:root {
  --gg-blue-deep:  #1C21A8;
  --gg-blue-mid:   #4160E6;
  --gg-blue-light: #6A84FF;
  --gg-dark:       #0D0D0D;
  --gg-dark-card:  #131318;
  --gg-dark-2:     #1a1a24;
  --gg-border:     rgba(65, 96, 230, 0.18);
  --ff-display:    'Syne', sans-serif;
  --ff-body:       'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--gg-dark);
  color: #FAFAFA;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .navbar-brand, .btn {
  font-family: var(--ff-display);
}
.text-primary-gg { color: var(--gg-blue-light) !important; }

.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

.gg-section-dark { background: var(--gg-dark-2); }

.invalid-feedback { color: var(--gg-blue-mid); }
.text-success { color: var(--gg-blue-mid) !important; }

/* ═══════════ NAVBAR ═══════════ */
.gg-navbar {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gg-border);
}

.gg-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: #FAFAFA !important;
  display: flex;
  align-items: center;
  gap: .45rem;
}

.gg-brand-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--gg-blue-deep), var(--gg-blue-mid));
  border-radius: .45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Buttons ── */
.gg-btn-primary {
  background: linear-gradient(135deg, var(--gg-blue-deep), var(--gg-blue-mid));
  color: #fff !important;
  border: none;
  border-radius: .6rem;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(65, 96, 230, .35);
  transition: transform .15s, box-shadow .15s;
}
.gg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(65, 96, 230, .55);
  color: #fff !important;
}

.gg-btn-ghost {
  background: transparent;
  color: #FAFAFA !important;
  border: 1.5px solid rgba(250, 250, 250, .25);
  border-radius: .6rem;
  font-weight: 600;
  transition: border-color .2s, background .2s;
}
.gg-btn-ghost:hover {
  border-color: var(--gg-blue-mid);
  background: rgba(65, 96, 230, .1);
}

.gg-btn-outline {
  background: transparent;
  color: #FAFAFA !important;
  border: 1.5px solid rgba(250, 250, 250, .35);
  border-radius: .5rem;
  font-weight: 600;
  font-size: .85rem;
  transition: background .2s, border-color .2s;
}
.gg-btn-outline:hover {
  background: var(--gg-blue-mid);
  border-color: var(--gg-blue-mid);
}

/* ── Badge / Label (нестандартный стиль Bootstrap не покрывает) ── */
.gg-badge,
.gg-section-label {
  background: rgba(65, 96, 230, .12);
  border: 1px solid rgba(65, 96, 230, .3);
  color: var(--gg-blue-light);
  border-radius: 2rem;
  padding: .3rem .9rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ═══════════ HERO ═══════════ */
.gg-hero {
  min-height: 100svh;
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.gg-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(65, 96, 230, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 96, 230, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
  pointer-events: none;
}

.gg-hero-glow {
  position: absolute;
  top: -10%; right: -5%;
  width: 55%; height: 70%;
  background: radial-gradient(ellipse, rgba(28, 33, 168, .35) 0%, transparent 70%);
  pointer-events: none;
}

.gg-highlight {
  background: linear-gradient(135deg, var(--gg-blue-mid), var(--gg-blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════ HERO MOCKUP ═══════════ */
.gg-hero-mockup { position: relative; width: 340px; }

.gg-mockup-screen {
  background: var(--gg-dark-card);
  border: 1px solid var(--gg-border);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(65,96,230,.1);
}

.gg-mockup-bar {
  background: rgba(255,255,255,.04);
  padding: .65rem 1rem;
  display: flex;
  gap: .4rem;
  align-items: center;
  border-bottom: 1px solid var(--gg-border);
}
.gg-mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.gg-mockup-line {
  height: 10px;
  border-radius: 5px;
  background: rgba(255,255,255,.08);
}
.gg-mockup-block {
  height: 80px;
  background: linear-gradient(135deg, rgba(28,33,168,.4), rgba(65,96,230,.3));
  border: 1px solid var(--gg-border);
}
.gg-mockup-btn {
  height: 36px;
  width: 55%;
  background: linear-gradient(135deg, var(--gg-blue-deep), var(--gg-blue-mid));
}

.gg-mockup-badge {
  position: absolute;
  background: var(--gg-dark-card);
  border: 1px solid var(--gg-border);
  border-radius: 2rem;
  padding: .5rem 1rem;
  font-size: .78rem;
  font-weight: 600;
  color: #FAFAFA;
  display: flex;
  align-items: center;
  gap: .4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  white-space: nowrap;
}
.gg-mockup-badge i { color: var(--gg-blue-mid); }
.gg-mockup-badge-1 { bottom: -1rem; left: -2.5rem; animation: floatA 3s ease-in-out infinite; }
.gg-mockup-badge-2 { top: 2rem; right: -2.5rem; animation: floatB 3.5s ease-in-out infinite; }

@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

/* ═══════════ TICKER ═══════════ */
.gg-ticker {
  background: linear-gradient(135deg, var(--gg-blue-deep), var(--gg-blue-mid));
  padding: .7rem 0;
  white-space: nowrap;
}
.gg-ticker-track {
  display: inline-block;
  animation: ticker 28s linear infinite;
  color: rgba(255,255,255,.9);
  letter-spacing: .03em;
}
.gg-ticker-track span { margin: 0 1.5rem; }
.gg-ticker-dot { color: rgba(255,255,255,.4); margin: 0 .5rem !important; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════ CARDS ═══════════ */
.gg-card {
  background: var(--gg-dark-card);
  border: 1px solid var(--gg-border);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.gg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(65, 96, 230, .18);
  border-color: rgba(65, 96, 230, .45);
}
.gg-card-accent {
  background: linear-gradient(160deg, rgba(28,33,168,.25) 0%, rgba(65,96,230,.1) 100%);
  border-color: rgba(65, 96, 230, .3);
}

.gg-card-icon {
  width: 3rem; height: 3rem;
  background: linear-gradient(135deg, var(--gg-blue-deep), var(--gg-blue-mid));
  border-radius: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}

/* card list с чекмарками */
.gg-card-list li {
  font-size: .85rem;
  color: rgba(250,250,250,.65);
  padding: .3rem 0;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.gg-card-list li::before {
  content: '✓';
  color: var(--gg-blue-mid);
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}

/* ═══════════ STEPS ═══════════ */
.gg-step {
  border: 1px solid var(--gg-border);
  border-radius: 1.5rem;
  background: rgba(255,255,255,.02);
  position: relative;
}
.gg-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gg-blue-deep), var(--gg-blue-mid));
  border-radius: 2px;
}
.gg-step-num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(65, 96, 230, .18);
  line-height: 1;
  margin-bottom: .75rem;
}

/* ═══════════ SWIPER PAGINATION ═══════════ */
.gg-swiper-pagination .swiper-pagination-bullet {
  background: rgba(250,250,250,.25);
  opacity: 1;
}
.gg-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--gg-blue-mid);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════ LOGOS GRID ═══════════ */
.gg-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 576px) { .gg-logos-grid { grid-template-columns: repeat(4, 1fr); } }

.gg-logo-item {
  background: var(--gg-dark-card);
  border: 1px solid var(--gg-border);
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  transition: border-color .2s, transform .2s;
}
.gg-logo-item:hover { border-color: rgba(65,96,230,.5); transform: translateY(-3px); }
.gg-logo-item i { font-size: 1.6rem; color: var(--gg-blue-mid); }
.gg-logo-item span { font-size: .78rem; font-weight: 600; color: rgba(250,250,250,.6); text-align: center; }

/* ═══════════ CTA / FORM ═══════════ */
.gg-section-cta { background: var(--gg-dark); }

.gg-cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(28,33,168,.25), transparent 70%);
  pointer-events: none;
}

.gg-form-wrap {
  max-width: 560px;
  background: var(--gg-dark-card);
  border: 1px solid var(--gg-border);
}

.gg-input {
  background: rgba(255,255,255,.05) !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  color: #FAFAFA !important;
  transition: border-color .2s, box-shadow .2s !important;
}
.gg-input::placeholder { color: rgba(250,250,250,.35) !important; }
.gg-input:focus {
  border-color: var(--gg-blue-mid) !important;
  box-shadow: 0 0 0 3px rgba(65,96,230,.2) !important;
  background: rgba(65,96,230,.07) !important;
  outline: none !important;
}
/* Стрелка селекта */
.gg-input.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234160E6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right .75rem center !important;
  background-size: 16px 12px !important;
}

/* ═══════════ FOOTER ═══════════ */
.gg-footer { background: var(--gg-dark-card); }

.gg-social-btn {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--gg-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,250,250,.55);
  font-size: 1rem;
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.gg-social-btn:hover {
  border-color: var(--gg-blue-mid);
  background: rgba(65,96,230,.1);
  color: #FAFAFA;
}

/* ═══════════ FADE-IN АНИМАЦИЯ ═══════════ */
.gg-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.2,.8,.3,1), transform .65s cubic-bezier(.2,.8,.3,1);
}
.gg-fade-up.gg-visible { opacity: 1; transform: translateY(0); }
.gg-delay-1 { transition-delay: .12s; }
.gg-delay-2 { transition-delay: .24s; }
.gg-delay-3 { transition-delay: .36s; }

/* ═══════════ MOBILE ═══════════ */
@media (max-width: 767.98px) {
  .gg-hero { padding: 5rem 0 3rem; }
}

/*modal*/
.gg-modal {
  background: rgba(19, 19, 24, .98);
  border: 1px solid var(--gg-border);
  border-radius: 1.5rem;
  color: #FAFAFA;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .6), 0 0 32px rgba(65, 96, 230, .12);
}

.policy-content h2,h3 {
  color: #FAFAFA;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
/*cookies*/
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1080;
  max-width: 480px;
  width: calc(100% - 48px);
  padding: 16px 20px;
  background: rgba(19, 19, 24, .96);
  border: 1px solid var(--gg-border);
  border-radius: 1rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .45), 0 0 32px rgba(65, 96, 230, .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cookie-banner__inner {
  flex-wrap: nowrap;
}

.cookie-banner__text {
  color: rgba(250, 250, 250, .65);
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--gg-blue-light);
  text-decoration: underline;
}

.cookie-banner a:hover,
.cookie-banner a:focus {
  color: #FAFAFA;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .cookie-banner {
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .cookie-banner__text {
    font-size: 12px;
  }
}
