:root {
  --color-bg: #0b0e14;
  --color-bg-alt: #13161c;
  --color-primary: #5d3fd3; /* Neon Iris */
  --color-secondary: #00f0ff; /* Electric Blue */
  --color-accent: #ff00e5; /* Magenta highlight */
  --color-text: #e0e0e0;
  --color-text-muted: #94a3b8;
  --color-white: #ffffff;
  --color-error: #ff4d4d;

  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1240px;
  --header-height: 80px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --glow: 0 0 20px rgba(93, 63, 211, 0.4);
  --border-radius: 12px;
}

/* Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  background-color: var(--color-bg);
  color: var(--color-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;
  border-radius: var(--border-radius);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utils */
.text-center {
  text-align: center;
}
.text-gradient {
  background: linear-gradient(
    90deg,
    var(--color-secondary),
    var(--color-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head {
  margin-bottom: 60px;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.text-lg {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 30px;
  font-family: var(--font-head);
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  gap: 10px;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--glow);
}
.btn--primary:hover {
  background: var(--color-secondary);
  color: var(--color-bg);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.btn--outline {
  background: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.btn--outline:hover {
  background: var(--color-secondary);
  color: var(--color-bg);
}

.btn--glow {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-white);
  box-shadow: inset 0 0 10px rgba(93, 63, 211, 0.2);
}
.btn--glow:hover {
  box-shadow: inset 0 0 20px rgba(93, 63, 211, 0.5);
  border-color: var(--color-secondary);
}

.btn--text {
  padding: 0;
  background: none;
  color: var(--color-secondary);
  border: none;
  border-bottom: 1px solid var(--color-secondary);
  border-radius: 0;
}
.btn--text:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn--full {
  width: 100%;
}
.btn--large {
  font-size: 1.1rem;
  padding: 18px;
  font-weight: 700;
}
.btn--small {
  padding: 8px 20px;
  font-size: 0.85rem;
}

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

.nav__list {
  display: flex;
  gap: 30px;
}
.nav__link {
  font-family: var(--font-head);
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  letter-spacing: 0.5px;
}
.nav__link:hover,
.nav__link.active {
  color: var(--color-white);
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-secondary);
  transition: var(--transition);
}
.nav__link:hover::after {
  width: 100%;
}
.highlight {
  color: var(--color-secondary);
}

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

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  width: 30px;
  height: 2px;
  background: var(--color-white);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-bg-alt);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: 0.4s ease-in-out;
  border-left: 1px solid var(--color-primary);
}
.mobile-menu.active {
  right: 0;
}

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

.mm-body {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.mm-body a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--color-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
}
.mm-body a:hover {
  color: var(--color-secondary);
  padding-left: 10px;
}
.mm-footer {
  margin-top: auto;
}

/* Hero */
.hero {
  padding-top: 150px;
  padding-bottom: 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(93, 63, 211, 0.2) 0%,
    transparent 60%
  );
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--color-secondary);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 30px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-secondary);
}

.hero__title {
  font-size: 4rem;
  margin-bottom: 30px;
}
.hero__desc {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 550px;
}
.hero__btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cyber-card {
  background: rgba(19, 22, 28, 0.8);
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}
.cc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
}
.cc-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  margin-right: 5px;
}
.cc-dots span:nth-child(1) {
  background: #ff5f56;
}
.cc-dots span:nth-child(2) {
  background: #ffbd2e;
}
.cc-dots span:nth-child(3) {
  background: #27c93f;
}
.cc-tag {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--color-primary);
}

.code-line {
  font-family: monospace;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.code-line.success {
  color: #27c93f;
}
.code-line.highlight {
  color: var(--color-secondary);
}

.visual-graph {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 100px;
  margin-top: 20px;
}
.bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.bar.active {
  background: var(--color-secondary);
  box-shadow: 0 0 15px var(--color-secondary);
}

/* Section Generic */
.section {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.section--darker {
  background: var(--color-bg-alt);
}
.section--gradient {
  background: linear-gradient(180deg, var(--color-bg) 0%, #1a1a2e 100%);
}
.section--form-bg {
  background: url("https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80")
    center/cover no-repeat fixed;
  position: relative;
}
.section--form-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 20, 0.9);
}

/* Tech Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-box {
  background: var(--color-bg-alt);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}
.feature-box:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
}
.fb-icon {
  width: 60px;
  height: 60px;
  background: rgba(93, 63, 211, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}
.feature-box h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}
.feature-box p {
  color: var(--color-text-muted);
}

/* Split */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.divider {
  width: 80px;
  height: 4px;
  background: var(--color-secondary);
  margin-bottom: 30px;
}
.blog-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--color-primary);
}
.blog-card img {
  width: 100%;
  transition: 0.5s;
  opacity: 0.7;
}
.blog-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}
.bc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}
.bc-date {
  font-family: monospace;
  color: var(--color-secondary);
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.bento-item {
  background: var(--color-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: var(--border-radius);
}
.bento-item.large {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(93, 63, 211, 0.2), transparent);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 30px;
  border-color: var(--color-primary);
}
.link-arrow {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-secondary);
  text-decoration: underline;
}
.giant-icon {
  width: 150px;
  height: 150px;
  color: var(--color-primary);
  opacity: 0.5;
}
.bento-item h4 {
  margin: 15px 0 10px;
}

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  align-items: start;
}
.step {
  text-align: center;
}
.step-num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
}
.step h4 {
  color: var(--color-secondary);
  margin-bottom: 10px;
}
.step-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

/* Info Block */
.info-block {
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ib-icon {
  font-size: 3rem;
  color: var(--color-primary);
}
.ib-text p {
  color: var(--color-text-muted);
}
.ib-action {
  margin-left: auto;
  flex-shrink: 0;
}
.mt-2 {
  margin-top: 10px;
}

/* FAQ */
.narrow-container {
  max-width: 800px;
  margin: 0 auto;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}
.acc-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--color-bg-alt);
}
.acc-btn {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  color: var(--color-white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.acc-btn:hover {
  color: var(--color-secondary);
}
.acc-btn i {
  transition: transform 0.3s;
}
.acc-btn.active i {
  transform: rotate(45deg);
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}
.acc-content p {
  padding: 0 20px 20px;
  color: var(--color-text-muted);
}

/* Form */
.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  background: rgba(19, 22, 28, 0.95);
  padding: 50px 40px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header h2 {
  color: var(--color-white);
  margin-bottom: 10px;
}
.form-header p {
  color: var(--color-text-muted);
}

.vertical-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.input-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.input-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  color: var(--color-white);
  font-family: var(--font-body);
  border-radius: 6px;
  transition: var(--transition);
}
.input-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(93, 63, 211, 0.1);
}
.error-text {
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}
.input-group.error input {
  border-color: var(--color-error);
}
.input-group.error .error-text {
  display: block;
}

.captcha-group input {
  max-width: 100px;
}

.checkbox-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.checkbox-group label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.checkbox-group a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #050608;
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}
.footer__logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 20px;
  display: block;
}
.footer__desc {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.footer__contact-link {
  color: var(--color-secondary);
  border-bottom: 1px solid var(--color-secondary);
  padding-bottom: 2px;
}

.footer__col h4 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 25px;
  text-transform: uppercase;
}
.footer__col ul li {
  margin-bottom: 12px;
}
.footer__col a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer__col a:hover {
  color: var(--color-white);
}
.footer__col p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.footer__col i {
  color: var(--color-primary);
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  color: #555;
  font-size: 0.85rem;
}

/* Cookie */
.cookie-box {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 400px;
  background: var(--color-bg-alt);
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
}
.cookie-inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.cookie-text h3 {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: 5px;
}
.cookie-text p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__visual {
    display: none;
  }
  .hero__btns {
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .split-layout {
    grid-template-columns: 1fr;
  }
  .split-visual {
    display: none;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item.large {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .bi-img {
    display: none;
  }
  .steps-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step-line {
    width: 2px;
    height: 30px;
    margin: 10px auto;
  }
  .info-block {
    flex-direction: column;
    text-align: center;
  }
  .ib-action {
    margin: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .header__actions .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
  .hero__title {
    font-size: 2.5rem;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .cookie-box {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 20px;
  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;
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }
  h3 {
    font-size: 18px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    margin: 80px 0 30px;
    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;
  }
}
