:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary: #06b6d4;
  --bg-dark: #0f172a;
  --bg-light: #1e293b;
  --text-white: #f8fafc;
  --text-gray: #94a3b8;
  --accent: #f59e0b;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

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

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

.header-container {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  text-decoration: none;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row;
}

.logo img {
  height: 50px;
  width: 50px;
}

.logo span {
  color: var(--secondary);
}

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

.desktop-nav a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.desktop-nav a:hover {
  color: var(--secondary);
}

.cta-nav {
  background: var(--primary);
  padding: 10px 25px !important;
  border-radius: 50px;
  color: white !important;
}

.cta-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.burger-btn span {
  width: 30px;
  height: 2px;
  background: var(--text-white);
}

/* Mobile Menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

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

.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 40px;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 180px 0 100px;
  background: radial-gradient(
    circle at top right,
    rgba(124, 58, 237, 0.1),
    transparent
  );
}

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

.badge {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
}

h1 {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 25px;
}

h1 span {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

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

.btn {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: white;
}

.btn-outline:hover {
  background: var(--primary);
}

.img-placeholder {
  background: var(--bg-light);
  border-radius: 20px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.grid-2.reverse .income-visual {
  order: 2;
}

.grid-2.reverse .income-content {
  order: 1;
}

.section-title {
  font-size: 42px;
  margin-bottom: 30px;
}

.section-title.center {
  text-align: center;
  margin-bottom: 60px;
}

p {
  margin-bottom: 20px;
}

.link-more {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.income-visual img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 20px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.card:hover {
  transform: translateY(-10px);
  background: #2d3748;
}

.card i {
  color: var(--primary);
  width: 40px;
  height: 40px;
  margin-bottom: 25px;
}

.card h3 {
  margin-bottom: 15px;
}

/* Banner */
.banner-box {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px;
  border-radius: 30px;
  text-align: center;
}

.banner-box h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.btn-white {
  background: white;
  color: var(--primary);
  display: inline-block;
  margin-top: 30px;
}

/* Steps */
.steps-flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.step-item {
  flex: 1;
  text-align: center;
}

.step-num {
  font-size: 80px;
  font-weight: 900;
  color: rgba(6, 182, 212, 0.1);
  margin-bottom: -40px;
}

.step-item h4 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-light);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.faq-trigger {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.faq-content {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease-out;
  color: var(--text-gray);
}

.faq-item.active .faq-content {
  padding: 0 30px 25px;
  max-height: 200px;
}

.faq-item.active i {
  transform: rotate(45deg);
}

/* Form */
.contact-card {
  background: var(--bg-light);
  padding: 60px;
  border-radius: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-gray);
}

input {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  outline: none;
  transition: var(--transition);
}

input:focus {
  border-color: var(--secondary);
}

.form-checkbox {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin: 20px 0;
}

.form-checkbox input {
  width: auto;
}

.form-checkbox label {
  margin-top: 5px;
}

.form-checkbox a {
  color: var(--secondary);
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 20px;
  background: var(--primary);
  border: none;
  color: white;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--primary-dark);
}

/* Footer */
.footer {
  padding: 80px 0 40px;
  background: #080d1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
}

.footer-links h4,
.footer-contacts h4 {
  margin-bottom: 25px;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-contacts p {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.copyright {
  margin-top: 40px;
  font-size: 14px;
}

/* Cookie */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 400px;
  background: var(--bg-light);
  padding: 30px;
  border-radius: 20px;
  z-index: 3000;
  display: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-content i {
  color: var(--accent);
  margin-bottom: 15px;
}

.cookie-content p {
  font-size: 14px;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
  h1 {
    font-size: 38px;
  }
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image {
    order: -1;
  }
  .desktop-nav {
    display: none;
  }
  .burger-btn {
    display: flex;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-2.reverse .income-visual {
    order: 1;
  }
  .grid-2.reverse .income-content {
    order: 2;
  }
}

@media (max-width: 768px) {
  .banner-box {
    padding: 40px 20px;
  }
  .banner-box h2 {
    font-size: 32px;
  }
  .steps-flex {
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
  }
}

html.no-scroll {
  overflow: hidden;
}

.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;
  color: var(--accent);
}

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