:root {
  --bg: #060e1f;
  --bg-soft: #0b1730;
  --bg-card: rgba(11, 24, 50, 0.82);
  --line: rgba(73, 102, 170, 0.35);
  --text: #eef6ff;
  --muted: #9eb0d3;
  --cyan: #34f0df;
  --cyan-strong: #15d4ff;
  --gold: #f6b32c;
  --gold-soft: #ffd46a;
  --blue: #7ea6ff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(21, 212, 255, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(52, 240, 223, 0.08), transparent 20%),
    linear-gradient(180deg, #050b19 0%, #071126 30%, #040914 100%);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }

.page-glow {
  position: fixed; inset: auto; width: 400px; height: 400px; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0; opacity: .35;
}
.glow-1 { top: 90px; left: -120px; background: rgba(21, 212, 255, 0.25); }
.glow-2 { bottom: 80px; right: -130px; background: rgba(246, 179, 44, 0.14); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(4, 10, 23, 0.8);
  border-bottom: 1px solid rgba(101, 129, 195, 0.18);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between; min-height: 86px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img {
  width: 58px; height: 58px; object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(52, 240, 223, 0.2));
}
.brand strong { display: block; font-size: 1.1rem; }
.brand span { display: block; color: var(--cyan); font-size: .85rem; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: var(--muted); font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--text); }
.btn-nav { margin-left: 4px; }
.menu-toggle { display: none; }

.section { position: relative; z-index: 1; padding: 100px 0; }
.section-dark { background: linear-gradient(180deg, rgba(10, 19, 39, 0.96), rgba(6, 12, 24, 0.98)); }
.section-accent { background: linear-gradient(180deg, rgba(5, 15, 32, 0.65), rgba(7, 14, 26, 0.92)); }
.section-circuit::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(4,10,22,.74), rgba(4,10,22,.88)), url('../img/bg-circuit.png');
  background-size: cover; background-position: center;
  opacity: .35;
}
.hero { padding-top: 118px; padding-bottom: 94px; overflow: hidden; }
.hero-bg-circuit::before { opacity: .42; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 10%, rgba(56, 189, 248, 0.16), transparent 24%),
              radial-gradient(circle at 20% 20%, rgba(52, 240, 223, 0.12), transparent 25%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 54px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(11, 24, 50, 0.65); border: 1px solid rgba(63, 88, 141, 0.35);
  color: var(--cyan); font-size: .86rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -0.03em;
}
.hero h1 span { color: var(--cyan); }
.hero p { color: var(--muted); font-size: 1.06rem; line-height: 1.8; max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px;
}
.hero-metrics article {
  background: rgba(9, 19, 40, 0.75); border: 1px solid rgba(61, 90, 149, 0.28);
  border-radius: 18px; padding: 18px 16px; box-shadow: var(--shadow);
}
.hero-metrics strong { display: block; font-size: 1.8rem; color: var(--gold); margin-bottom: 6px; }
.hero-metrics span { color: var(--muted); font-size: .95rem; }

.hero-card {
  background: linear-gradient(180deg, rgba(13, 25, 54, 0.92), rgba(6, 13, 27, 0.92));
  border: 1px solid rgba(75, 103, 172, 0.3);
  border-radius: 28px; box-shadow: var(--shadow);
  padding: 20px;
}
.hero-card-head {
  display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid rgba(71, 97, 159, 0.2);
}
.hero-card-head small { margin-left: auto; color: var(--muted); font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot.gold { background: var(--gold); box-shadow: 0 0 10px rgba(246,179,44,.8); }
.dot.blue { background: #7ca8ff; box-shadow: 0 0 10px rgba(124,168,255,.9); }
.hero-card-body { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: center; padding-top: 18px; }
.hero-lion { width: 100%; filter: drop-shadow(0 0 28px rgba(52, 240, 223, 0.16)); }
.hero-card-text h3 { margin: 0 0 10px; font-size: 1.35rem; }
.hero-card-text p { margin: 0; color: var(--muted); line-height: 1.75; }
.floating-card { animation: floatCard 6s ease-in-out infinite; }
@keyframes floatCard { 0%,100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 { margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 3rem); }
.section-heading p { margin: 0; color: var(--muted); line-height: 1.8; }

.cards-grid { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.feature-card, .module-card, .showcase-card, .info-panel, .contact-form, .about-visual-frame {
  background: linear-gradient(180deg, rgba(11, 22, 46, 0.9), rgba(7, 14, 28, 0.96));
  border: 1px solid rgba(67, 95, 158, 0.28);
  box-shadow: var(--shadow);
}
.feature-card {
  padding: 28px; border-radius: var(--radius); min-height: 100%;
}
.feature-icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  font-size: 1.5rem; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(52,240,223,.14), rgba(246,179,44,.14));
  border: 1px solid rgba(104, 133, 205, 0.22);
}
.feature-card h3, .module-card h3, .showcase-copy h3, .contact-form h3 { margin: 0 0 10px; }
.feature-card p, .module-card p, .showcase-copy p, .about-copy p, .contact-copy p { margin: 0; color: var(--muted); line-height: 1.8; }

.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module-card { border-radius: 20px; padding: 24px; }
.module-card h3 { color: var(--gold-soft); }

.showcase-grid { display: grid; gap: 30px; }
.showcase-card { border-radius: 28px; overflow: hidden; }
.showcase-copy { padding: 26px 26px 12px; }
.showcase-card img { width: 100%; border-top: 1px solid rgba(67,95,158,.22); }
.badge {
  display: inline-flex; padding: 8px 12px; border-radius: 999px; margin-bottom: 12px;
  background: rgba(52,240,223,.08); border: 1px solid rgba(52,240,223,.22);
  color: var(--cyan); font-size: .82rem; font-weight: 700;
}

.two-col, .about-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li {
  position: relative; padding-left: 30px; color: var(--text);
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800;
}
.info-panel {
  padding: 24px; border-radius: 28px; display: grid; gap: 14px;
}
.info-box {
  padding: 16px 18px; border-radius: 18px;
  background: rgba(7, 16, 34, 0.72); border: 1px solid rgba(70,96,160,.22);
}
.info-label { display: block; color: var(--cyan); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.info-box strong { font-size: 1.02rem; }

.about-visual-frame { border-radius: 28px; padding: 28px; display: grid; place-items: center; }
.about-visual-frame img { width: min(340px, 100%); }
.about-copy h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 4vw, 3rem); }
.about-copy p + p { margin-top: 16px; }

.contact-section { overflow: hidden; }
.contact-grid { align-items: start; }
.contact-cards { display: grid; gap: 14px; margin-top: 26px; }
.contact-cards article {
  padding: 18px; border-radius: 18px; background: rgba(8, 16, 34, .75); border: 1px solid rgba(65,93,153,.22);
}
.contact-cards h3 { margin: 0 0 6px; color: var(--gold-soft); }
.contact-cards p { margin: 0; color: var(--muted); }
.contact-form { padding: 28px; border-radius: 28px; }
.contact-form label { display: block; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 8px; border: 1px solid rgba(86, 111, 170, 0.3); border-radius: 14px;
  background: rgba(5, 10, 20, 0.82); color: var(--text); padding: 14px 16px; font: inherit;
  outline: none; transition: .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: rgba(52,240,223,.45); box-shadow: 0 0 0 3px rgba(52,240,223,.08);
}
.contact-form small { display: block; margin-top: 14px; color: var(--muted); }

.site-footer { border-top: 1px solid rgba(84, 109, 168, 0.18); padding: 24px 0 40px; position: relative; z-index: 1; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.footer-wrap p, .footer-meta span { color: var(--muted); }
.footer-meta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  border-radius: 14px; padding: 14px 20px; border: 1px solid transparent; font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #0a1322; background: linear-gradient(135deg, var(--gold), #ffca57);
  box-shadow: 0 18px 34px rgba(246,179,44,.18);
}
.btn-secondary, .btn-outline {
  color: var(--text); background: rgba(9, 18, 37, 0.75); border-color: rgba(88, 115, 182, 0.28);
}
.btn-secondary:hover, .btn-outline:hover { background: rgba(14, 25, 51, 0.92); }
.btn-block { width: 100%; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }

@media (max-width: 1080px) {
  .hero-grid, .two-col, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards-3, .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card-body { grid-template-columns: 1fr; }
  .hero-lion { width: min(260px, 100%); margin: 0 auto; }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex; background: rgba(8, 16, 35, 0.85); color: var(--text); border: 1px solid rgba(88, 115, 182, .25);
    border-radius: 12px; padding: 10px 14px; font-size: 1.2rem;
  }
  .site-nav {
    position: absolute; top: calc(100% + 12px); right: 20px; left: 20px;
    display: none; flex-direction: column; align-items: stretch; padding: 18px;
    background: rgba(5, 11, 22, 0.98); border: 1px solid rgba(88, 115, 182, .25); border-radius: 20px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .btn-nav { width: 100%; margin-top: 8px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .cards-3, .modules-grid { grid-template-columns: 1fr; }
  .section { padding: 78px 0; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero { padding-top: 102px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .brand img { width: 48px; height: 48px; }
  .brand strong { font-size: .98rem; }
  .brand span { font-size: .78rem; }
}
