:root {
  --primary: #ff5722; /* Signal Orange */
  --primary-hover: #e64a19;
  --dark: #121212;
  --darker: #0a0a0a;
  --gray: #1e1e1e;
  --text: #e0e0e0;
  --text-muted: #a0a0a0;
  --border: #333333;

  --font-head: "Rajdhani", sans-serif;
  --font-mono: "Roboto Mono", monospace;
  --font-body: "Roboto", sans-serif;

  --container: 1200px;
  --header-h: 80px;
  --transition: 0.3s ease;
}

/* Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background-color: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  font-family: inherit;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.orange-text {
  color: var(--primary);
}
.sec-sub {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
}
.text-center {
  text-align: center;
}

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  padding: 100px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.bg-darker {
  background-color: var(--darker);
}
.bg-orange-dark {
  background: linear-gradient(135deg, #2a1005, var(--dark));
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn--orange {
  background: var(--primary);
  color: #fff;
}
.btn--orange:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.4);
}

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--dark);
}
.btn--white:hover {
  background: #ddd;
}

.btn--full {
  width: 100%;
}
.btn--small {
  padding: 8px 16px;
  font-size: 0.8rem;
}
.btn--glitch {
  position: relative;
  overflow: hidden;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
.header__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-desk {
  display: flex;
  gap: 25px;
}
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  font-size: 1.1rem;
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}
.highlight {
  color: var(--primary);
}

.header__act {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}
.line {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}
.burger:hover .line {
  background: var(--primary);
}

/* Mobile Menu */
.mob-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--darker);
  z-index: 2000;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--primary);
  transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.mob-menu.active {
  right: 0;
}

.mm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.mm-logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
}
.mm-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.mm-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mm-links a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}
.mm-links a:hover {
  color: var(--primary);
  padding-left: 10px;
}
.mm-foot {
  margin-top: auto;
}

/* Hero */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 5px 12px;
  margin-bottom: 25px;
  font-size: 0.9rem;
}
.hero__text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}
.hero__btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.code-window {
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
}
.cw-header {
  background: #2d2d2d;
  padding: 10px 15px;
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.cw-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
}
.code-row {
  color: #a9b7c6;
}
.indent {
  padding-left: 20px;
}
.c-purple {
  color: #cc7832;
}
.c-blue {
  color: #a9b7c6;
}
.c-yellow {
  color: #ffc66d;
}
.c-green {
  color: #6a8759;
}
.c-func {
  color: #ffc66d;
}
.comment {
  color: #808080;
  margin-top: 10px;
}

/* Courses */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.course-card {
  background: var(--gray);
  padding: 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.course-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}
.highlight-card {
  border-top: 4px solid var(--primary);
}
.cc-icon {
  color: var(--primary);
  margin-bottom: 20px;
  width: 40px;
  height: 40px;
}
.course-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.course-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.cc-list {
  padding-left: 20px;
}
.cc-list li {
  list-style: disc;
  color: var(--text);
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Method Split */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.line-sep {
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin-bottom: 30px;
}
.big-para {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #fff;
}
.split-txt p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.img-wrap {
  position: relative;
  border: 2px solid var(--border);
  padding: 10px;
}
.img-wrap img {
  width: 100%;
  filter: grayscale(100%);
  transition: 0.5s;
}
.img-wrap:hover img {
  filter: grayscale(0%);
}
.overlay-stat {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Income */
.income-box {
  background: var(--darker);
  border: 1px solid var(--primary);
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 87, 34, 0.05) 0,
    rgba(255, 87, 34, 0.05) 10px,
    transparent 10px,
    transparent 20px
  );
}
.ib-lead {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}
.ib-content p {
  color: #ccc;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Steps */
.steps-path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 60px;
}
.step-unit {
  text-align: center;
  background: var(--gray);
  padding: 20px;
  border: 1px solid var(--border);
  transition: 0.3s;
}
.step-unit:hover {
  border-color: var(--primary);
}
.su-head {
  font-family: var(--font-mono);
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.step-unit h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.step-unit p {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  color: var(--primary);
}

/* FAQ */
.narrow {
  max-width: 800px;
}
.faq-wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.faq-item {
  background: var(--gray);
  border: 1px solid var(--border);
}
.faq-trigger {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-trigger:hover {
  color: var(--primary);
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.faq-content p {
  padding: 0 20px 20px;
  color: var(--text-muted);
}

/* Form */
.form-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  background: var(--gray);
  padding: 50px;
  border: 1px solid var(--border);
}
.fc-desc {
  margin: 20px 0;
  color: var(--text-muted);
}
.contacts-mini {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}
.cm-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.cm-row i {
  color: var(--primary);
  width: 18px;
}

.bionic-form {
  display: grid;
  gap: 20px;
}
.inp-wrap {
  display: flex;
  flex-direction: column;
}
.inp-wrap label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.inp-wrap input {
  background: var(--dark);
  border: 1px solid #444;
  padding: 12px;
  color: #fff;
  font-family: var(--font-mono);
}
.inp-wrap input:focus {
  outline: none;
  border-color: var(--primary);
}
.err-msg {
  color: var(--primary);
  font-size: 0.8rem;
  display: none;
  margin-top: 5px;
}
.inp-wrap.error input {
  border-color: var(--primary);
}
.inp-wrap.error .err-msg {
  display: block;
}

.captcha-wrap input {
  width: 100px;
}

.check-wrap {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.check-wrap input {
  margin-top: 4px;
  accent-color: var(--primary);
}
.check-wrap label {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.check-wrap a {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #000;
  padding: 60px 0 20px;
  border-top: 2px solid var(--primary);
}
.footer-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.f-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  display: block;
  margin-bottom: 20px;
}
.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.footer-col h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 5px;
}
.footer-copy {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #555;
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--gray);
  border-top: 2px solid var(--primary);
  padding: 20px;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.cookie-content h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 5px;
}
.cookie-content p {
  font-size: 0.9rem;
  margin: 0;
  color: #fff;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__visual {
    display: none;
  }
  .hero__btns {
    justify-content: center;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .split-row {
    grid-template-columns: 1fr;
  }
  .steps-path {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .step-arrow {
    display: none;
  }
  .form-container {
    grid-template-columns: 1fr;
  }
  .footer-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .nav-desk,
  .header__act .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
  .footer-row {
    grid-template-columns: 1fr;
  }
  .cookie-bar {
    flex-direction: column;
    text-align: center;
  }
}

.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;
  }
}
