@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ─── АДАПТИВКА ─── */
@media (max-width: 768px) {
  /* Карусель */
  .carousel-scene {
    height: 480px;
  }
  .carousel-orbit {
    width: 360px;
    height: 360px;
  }
  .carousel-card {
    width: 120px;
    padding: 12px 10px;
  }
  .carousel-center {
    width: 160px;
    padding: 20px 14px;
  }
  .carousel-center .member-avatar {
    width: 90px;
    height: 90px;
  }
  .member-avatar {
    width: 80px;
    height: 80px;
  }
  .member-role {
    font-size: 11px;
  }

  /* Достижения */
  .ach-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto 48px;
  }

  /* About stats */
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-card {
    padding: 20px 16px;
  }
  .stat-number {
    font-size: 18px !important;
  }

  /* Hero */
  #hero {
    padding: 90px 20px 50px;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-card {
    max-width: 280px;
    margin: 0 auto;
  }
  .hero-title .line1,
  .hero-title .line2 {
    font-size: clamp(44px, 14vw, 72px);
  }
  .hero-desc {
    font-size: 15px;
  }

  /* Секции */
  .container {
    padding: 0 20px;
  }
  #about {
    padding: 60px 0;
  }
  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #team {
    padding: 60px 0;
  }
  #achievements {
    padding: 60px 0;
  }
  #contact {
    padding: 60px 0;
  }

  /* Кнопки */
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 12px 24px;
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .carousel-scene {
    height: 420px;
  }
  .carousel-orbit {
    width: 300px;
    height: 300px;
  }
  .carousel-card {
    width: 100px;
    padding: 10px 8px;
  }
  .member-avatar {
    width: 65px;
    height: 65px;
  }
  .carousel-center {
    width: 140px;
    padding: 16px 12px;
  }
  .carousel-center .member-avatar {
    width: 75px;
    height: 75px;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .stat-card[style*="span 2"] {
    grid-column: span 2;
  }
  .section-title {
    font-size: clamp(26px, 8vw, 40px);
  }
}
/* ===== CSS VARIABLES ===== */
:root {
  --blue-primary: #1A4BFF;
  --blue-deep: #0A1A6E;
  --blue-light: #4D7AFF;
  --blue-glow: rgba(26, 75, 255, 0.25);
  --cyan: #00D4FF;
  --accent-orange: #FF6B2B;

  --bg-dark: #060C1F;
  --bg-card: #0D1635;
  --bg-card-hover: #111C42;
  --border: rgba(255,255,255,0.06);
  --border-blue: rgba(26, 75, 255, 0.3);

  --text-white: #FFFFFF;
  --text-light: rgba(255,255,255,0.75);
  --text-muted: rgba(255,255,255,0.4);

  --font-display: 'Bebas Neue', cursive;
  --font-body: 'Manrope', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  --shadow-glow: 0 0 40px rgba(26, 75, 255, 0.3);

  --nav-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  background: rgba(6, 12, 31, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--text-white);
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--blue-primary);
  transition: width 0.25s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-white);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE WRAPPER ===== */
.page {
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(5rem, 12vw, 9rem) clamp(1.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  min-height: 60vh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(26,75,255,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(0,212,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,75,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,75,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(26,75,255,0.15);
  border: 1px solid var(--border-blue);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.04em;
  line-height: 0.9;
  color: var(--text-white);
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  font-weight: 400;
  max-width: 560px;
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ===== SECTION BASE ===== */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  border-color: var(--border-blue);
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: linear-gradient(135deg, var(--blue-primary) 0%, #0A2FBF 60%, #00A3CC 100%);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 0.4rem;
  letter-spacing: 0.04em;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--blue-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26,75,255,0.4);
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,75,255,0.5);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-white);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ===== CTA BLOCK ===== */
.cta-block {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.cta-desc {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: #030711;
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

footer .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

footer .footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

footer .footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer .footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

footer .footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

footer .footer-links a:hover { color: var(--text-light); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(6,12,31,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0 2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1rem;
  }

  .hero-title {
    font-size: clamp(3rem, 16vw, 5.5rem);
  }

  footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
