/* === VARIABLES & RESET === */
:root {
  --bg-main: #ffffff;
  --bg-dark: #0a0f1c;
  --bg-light: #f3f4f6;
  --blue: #0057ff;
  --blue-hover: #0046cc;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --container: 1200px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Manrope", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--bg-dark);
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 25px;
  letter-spacing: -1px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.blue-text {
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.blue-text::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(0, 87, 255, 0.2);
  z-index: -1;
}

.center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;
  background: var(--blue);
  color: var(--bg-main);
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 87, 255, 0.2);
}

.btn-outline {
  padding: 10px 24px;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--bg-main);
}

.btn-outline-dark {
  padding: 14px 30px;
  border: 2px solid var(--bg-dark);
  color: var(--bg-dark);
  font-weight: 700;
  border-radius: 8px;
  display: inline-block;
}
.btn-outline-dark:hover {
  background: var(--bg-dark);
  color: var(--bg-main);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--bg-dark);
}
.btn-text:hover {
  gap: 12px;
  color: var(--blue);
}

.link-b {
  font-weight: 600;
  color: var(--bg-dark);
}
.link-w {
  color: var(--blue);
  font-weight: 700;
  margin-top: 15px;
  display: inline-block;
}
.full {
  width: 100%;
}

/* === LAYOUT UTILS === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}
.bg-dark {
  background: var(--bg-dark);
  color: #e5e7eb;
}
.bg-dark h2,
.bg-dark h3 {
  color: #ffffff;
}
.bg-light {
  background: var(--bg-light);
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.h-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.anim-logo {
  transition: 0.3s;
}
.logo:hover .anim-logo {
  transform: scale(1.1);
}
.logo-txt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--bg-dark);
  text-transform: uppercase;
}

.desk-menu {
  display: flex;
  gap: 30px;
}
.nav-item {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}
.nav-item:hover,
.nav-item.active {
  color: var(--blue);
}

.h-act {
  display: flex;
  align-items: center;
  gap: 20px;
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--bg-dark);
}

/* === MOBILE MENU === */
.nav-curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-main);
  z-index: 2000;
  padding: 25px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: 0.4s ease;
}
.nav-curtain.active {
  transform: translateX(0);
}
.nc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.nc-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.nc-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: auto;
}
.nc-list a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-dark);
}
.nc-list a:hover {
  color: var(--blue);
}

/* === HERO SECTION === */
.hero-tech {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}
.tech-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(0, 87, 255, 0.05) 0%,
    transparent 70%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef2ff;
  color: var(--blue);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 25px;
}
.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 40px;
}
.hero-trust {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Hero Visuals (Floating Boxes) */
.hs-visual {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-box-float {
  position: absolute;
  background: var(--bg-main);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px solid var(--border);
  animation: float 6s ease-in-out infinite;
}
.stat-box-float.delay {
  top: 60%;
  left: 10%;
  animation-delay: 3s;
}
.stat-box-float:first-child {
  top: 20%;
  right: 10%;
}
.sb-icon {
  width: 50px;
  height: 50px;
  background: #eef2ff;
  color: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sb-info {
  display: flex;
  flex-direction: column;
}
.sb-info strong {
  font-size: 1.5rem;
  font-family: var(--font-head);
  line-height: 1;
}
.sb-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* === SECTIONS === */
.grid-2-1 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
}
.benefit-list {
  margin-top: 30px;
}
.benefit-list li {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  color: var(--bg-dark);
}
.benefit-list i {
  color: var(--blue);
}

.tech-card {
  background: var(--bg-dark);
  color: var(--bg-main);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 20px 20px 0 var(--blue);
}
.tech-card i {
  width: 60px;
  height: 60px;
  color: var(--blue);
  margin-bottom: 20px;
}
.tech-card p {
  color: #d1d5db;
}

/* Programs */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.prog-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 16px;
  transition: 0.3s;
}
.prog-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}
.prog-item.highlight {
  border-color: var(--blue);
  background: rgba(0, 87, 255, 0.05);
}
.pi-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pi-head i {
  color: var(--blue);
}

/* Promo Box */
.center-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.promo-box {
  background: linear-gradient(135deg, var(--bg-dark), #1e293b);
  color: var(--bg-main);
  padding: 60px;
  border-radius: 24px;
  text-align: center;
  max-width: 900px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.promo-box h2 {
  color: var(--bg-main);
}
.promo-box p {
  color: #d1d5db;
}
.pb-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.info-s {
  font-size: 0.8rem;
  opacity: 0.6;
}
.stats-stripe {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  text-align: center;
}
.st-item strong {
  display: block;
  font-size: 2.5rem;
  color: var(--blue);
  font-family: var(--font-head);
  line-height: 1;
  margin-bottom: 10px;
}
.st-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 150px;
  margin: 0 auto;
  display: block;
}

/* Split Rev */
.split-rev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sr-img img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.btn-group {
  margin-top: 30px;
}

/* FAQ */
.narrow {
  max-width: 800px;
  margin: 0 auto;
}
.sec-title {
  text-align: center;
  margin-bottom: 50px;
}
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.acc-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-main);
  overflow: hidden;
}
.acc-head {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--bg-dark);
}
.acc-head i {
  transition: 0.3s;
  color: var(--blue);
}
.acc-item.active .acc-head i {
  transform: rotate(180deg);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
}
.acc-body p {
  padding: 0 25px 25px;
  margin: 0;
  color: var(--text-muted);
}
.acc-item.active .acc-body {
  max-height: 200px;
}

/* Form */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cw-info p {
  opacity: 0.8;
}
.contacts-list {
  margin-top: 40px;
}
.ci-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.1rem;
}
.ci-row i {
  color: var(--blue);
}

.tech-form {
  background: var(--bg-main);
  padding: 40px;
  border-radius: 20px;
  color: var(--bg-dark);
}
.inp-grp {
  margin-bottom: 20px;
}
.inp-grp label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}
.inp-grp input {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}
.inp-grp input:focus {
  border-color: var(--blue);
  outline: none;
}
.chk-grp {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.chk-grp a {
  text-decoration: underline;
  color: var(--bg-dark);
}

/* Footer */
.footer {
  background: var(--bg-light);
  padding: 80px 0 20px;
  margin-top: 80px;
  border-top: 1px solid var(--border);
}
.f-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.f-logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bg-dark);
  margin-bottom: 15px;
}
.f-btn {
  color: var(--blue);
  font-weight: 700;
  margin-top: 15px;
  display: inline-block;
}
.f-col h5 {
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.f-col a {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--bg-dark);
  font-size: 0.95rem;
}
.f-col a:hover {
  color: var(--blue);
}
.f-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* Cookie */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--bg-dark);
  color: var(--bg-main);
  padding: 20px;
  border-radius: 12px;
  width: 300px;
  z-index: 5000;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.btn-sm {
  padding: 6px 16px;
  background: var(--blue);
  color: var(--bg-main);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .desk-menu,
  .h-act .btn-outline,
  .h-act .link-b {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-btns,
  .hero-trust {
    justify-content: center;
  }
  .hs-visual {
    display: none;
  }
  .grid-2-1,
  .programs-grid,
  .split-rev,
  .contact-wrap,
  .f-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-stripe {
    flex-wrap: wrap;
    justify-content: center;
  }
  .tech-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }
  h1 {
    font-size: 2.5rem;
  }
  .tech-form {
    padding: 25px;
  }
}
.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-page-main {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cp-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  letter-spacing: -2px;
  color: var(--accent);
  margin-bottom: 30px;
  line-height: 1;
}

.cp-divider {
  width: 60px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 40px auto;
}

.cp-status {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-muted);
  border: 1px solid var(--line);
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 60px;
  background: #fcfcfc;
}

.cp-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-label {
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.cp-phone-link {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--accent);
  line-height: 1.2;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  margin-bottom: 40px;
}

.cp-phone-link:hover {
  border-bottom-color: var(--accent);
  opacity: 0.8;
}

.cp-address-box {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  width: 100%;
  max-width: 400px;
}

.cp-addr {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.cp-email {
  font-family: var(--font-sans);
  color: var(--text-muted);
  font-size: 1rem;
}

.cp-email a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cp-email a:hover {
  color: var(--accent);
}

@media (max-width: 600px) {
  .contact-page-main {
    padding-top: 140px;
    text-align: center;
  }

  .cp-phone-link {
    font-size: 2rem;
  }
}
