:root {
  --primary: #00f0ff;
  --secondary: #7000ff;
  --dark: #050505;
  --darker: #020202;
  --gray: #1a1a1a;
  --text: #e0e0e0;
  --text-muted: #a0a0a0;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%);
  --font-main: "Space Grotesk", sans-serif;
  --font-body: "Outfit", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow-container {
  max-width: 800px;
}

/* Typography & Utils */
h1,
h2,
h3,
h4 {
  font-family: var(--font-main);
  color: var(--white);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}
.mb-50 {
  margin-bottom: 50px;
}
.mt-30 {
  margin-top: 30px;
}

/* Buttons */
.btn-primary,
.btn-hero,
.btn-submit,
.btn-contact {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: var(--dark);
  font-weight: 700;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}

.btn-primary:hover,
.btn-hero:hover,
.btn-submit:hover {
  background: var(--white);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  border-radius: 5px;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
}

.btn-contact {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray);
}

.btn-contact:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 2px;
}

.nav-desktop {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-btn span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--darker);
  z-index: 2000;
  padding: 20px;
  transition: 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray);
}

.mm-title {
  font-family: var(--font-main);
  font-size: 1.2rem;
  color: var(--primary);
}

.mm-close {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mm-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mm-links a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.mm-links a:hover {
  color: var(--primary);
  padding-left: 10px;
}

.mm-footer {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(
    circle,
    rgba(112, 0, 255, 0.2) 0%,
    transparent 70%
  );
  filter: blur(100px);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

.hero-btns {
  display: flex;
  gap: 20px;
}

.hero-visual {
  position: relative;
}

.code-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.cb-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.cb-content code {
  font-family: "Courier New", Courier, monospace;
  font-size: 1rem;
  line-height: 1.5;
}

.k {
  color: #ff79c6;
}
.c {
  color: #8be9fd;
}
.s {
  color: #f1fa8c;
}
.b {
  color: #bd93f9;
}
.t {
  color: #50fa7b;
}

.floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gray);
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary);
  animation: float 6s ease-in-out infinite;
}

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

/* Sections General */
.section {
  padding: 100px 0;
}

.bg-darker {
  background: var(--darker);
}
.bg-gradient {
  background: linear-gradient(180deg, var(--dark) 0%, #100520 100%);
}

.section-head {
  margin-bottom: 60px;
}

.section-head p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Features */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--gray);
  padding: 40px 30px;
  border-radius: 10px;
  transition: 0.3s;
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.02);
}

.fc-icon {
  color: var(--primary);
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 1fr 1fr; /* Logic handled by HTML order for mobile simplicity */
}

.split-img img {
  width: 100%;
  border-radius: 10px;
  filter: grayscale(100%);
  transition: 0.5s;
}

.split-layout:hover .split-img img {
  filter: grayscale(0%);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-weight: 500;
}

.check-list i {
  color: var(--secondary);
  width: 20px;
}

.info-block {
  margin-top: 30px;
  padding: 15px;
  background: rgba(0, 240, 255, 0.1);
  border-left: 3px solid var(--primary);
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
}

/* Methodology Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-item {
  position: relative;
  padding-top: 40px;
  border-top: 1px solid var(--gray);
}

.step-item::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 0;
  height: 5px;
  background: var(--secondary);
  transition: 0.5s;
}

.step-item:hover::before {
  width: 50%;
}

.step-num {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 20px;
  right: 0;
}

/* Stats */
.stats-wrap {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-box {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-main);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.review-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rc-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--white);
}

.rc-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.rc-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: var(--dark);
  font-size: 1.2rem;
}

/* CTA */
.cta-section {
  padding: 0;
}

.cta-box {
  background: var(--secondary);
  border-radius: 20px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZyBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDQwaDQwVjBIMHY0MHptMjAgMjBWMjBoMjB2MjBIMjB6TTIwIDIwVjBoMjB2MjBIMjB6IiBmaWxsPSIjMDAwIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz48L2c+PC9zdmc+");
  opacity: 0.3;
}

.cta-box h2,
.cta-box p {
  position: relative;
  z-index: 2;
}

.cta-box .small-note {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 30px;
}

.pulse {
  animation: pulse-anim 2s infinite;
}

@keyframes pulse-anim {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* FAQ */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.acc-item {
  background: var(--gray);
  border-radius: 5px;
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-btn::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: 0.3s;
}

.acc-btn.active::after {
  content: "-";
  transform: rotate(180deg);
}

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(0, 0, 0, 0.2);
}

.acc-content p {
  padding: 20px;
  color: var(--text-muted);
}

/* Form */
.form-wrapper {
  background: var(--gray);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-header {
  margin-bottom: 30px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--primary);
  width: 18px;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 15px 12px 45px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--white);
  outline: none;
  transition: 0.3s;
}

.input-wrapper input:focus {
  border-color: var(--primary);
}

.error-msg {
  color: #ff5f56;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

.input-group.error input {
  border-color: #ff5f56;
}
.input-group.error .error-msg {
  display: block;
}

.captcha-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.captcha-group input {
  width: 100%;
  padding: 10px;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 5px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkbox-group a {
  color: var(--primary);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
}

/* Footer */
.footer {
  background: #000;
  padding: 80px 0 20px;
  border-top: 1px solid var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-family: var(--font-main);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 20px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.socials a {
  color: var(--white);
}
.socials a:hover {
  color: var(--primary);
  transform: translateY(-3px);
}

.highlight-link {
  color: var(--secondary) !important;
  font-weight: 700;
}

.footer-col p {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Cookie Pop-up */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 9999;
  max-width: 350px;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
  transform: translateY(20px);
}

.cookie-popup.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.cookie-content {
  background: var(--white);
  color: var(--dark);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-content h3 {
  color: var(--dark);
  font-size: 1.2rem;
}
.cookie-content p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: #555;
}
.btn-primary.small {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    display: none;
  }
  h1 {
    font-size: 2.5rem;
  }
  .hero-btns {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .btn-primary {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .header .btn-primary {
    display: none;
  } /* Hide login btn on mobile */
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .split-layout {
    grid-template-columns: 1fr;
  }
  .reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .captcha-group {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 100px;
  }
}

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