:root {
  --bg-color: #0f172a;
  --bg-secondary: #1e293b;
  --primary: #7b61ff;
  --primary-hover: #6347ea;
  --accent: #34d399;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --gradient: linear-gradient(135deg, #7b61ff 0%, #34d399 100%);
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --border-radius: 12px;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-main);
}

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

@keyframes pulse {
  0% {
    r: 5;
    opacity: 1;
  }
  50% {
    r: 7;
    opacity: 0.5;
  }
  100% {
    r: 5;
    opacity: 1;
  }
}

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

.nav__link {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link--highlight {
  color: var(--accent);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  position: absolute;
  transition: 0.3s;
}

.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 9px;
}
.burger span:nth-child(3) {
  top: 18px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

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

.mobile-nav__link {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  border: none;
  text-align: center;
}

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

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

.btn--outline {
  border: 2px solid var(--primary);
  color: var(--text-main);
  background: transparent;
}

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

.btn--glow {
  background: var(--gradient);
  color: white;
  box-shadow: 0 0 20px rgba(123, 97, 255, 0.4);
}

.btn--full {
  width: 100%;
  background: var(--accent);
  color: var(--bg-color);
}

.btn--full:hover {
  opacity: 0.9;
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
  background: var(--accent);
  color: var(--bg-color);
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero__title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
}

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

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero__description {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.1rem;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero__floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-secondary);
  padding: 15px 25px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__floating-card i {
  color: var(--accent);
}

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

.section--dark {
  background: var(--bg-secondary);
}

.section--gray {
  background: #162032;
}

.section--gradient {
  background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
}

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

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

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

.feature-card__icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Info Block */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-block__text h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.info-block__text p {
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.info-block__img img {
  width: 100%;
  border-radius: var(--border-radius);
}

/* Income */
.income-wrapper {
  background: var(--bg-secondary);
  padding: 60px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.income-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 1.2rem;
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.income-item {
  text-align: center;
  padding: 20px;
}

.income-item i {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}

.income-item h4 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.income-item p {
  color: var(--text-muted);
}

.income-footer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.income-footer p {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.step {
  position: relative;
  padding: 30px;
  background: var(--bg-color);
  border-radius: var(--border-radius);
  height: 100%;
}

.step__num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(123, 97, 255, 0.1);
  position: absolute;
  top: 20px;
  right: 20px;
}

.step__content {
  position: relative;
  z-index: 1;
}

.step__content h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.step__content p {
  color: var(--text-muted);
}

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

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

.faq-question {
  padding: 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: 0.3s;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: 0.5s ease;
  color: var(--text-muted);
}

.faq-answer p {
  padding-bottom: 25px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

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

/* Form */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(123, 97, 255, 0.2);
}

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

.form-header h2 {
  margin-bottom: 10px;
}

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

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

.form-group input {
  width: 100%;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--bg-color);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.checkbox-group input {
  width: 20px;
  height: 20px;
  margin-top: 5px;
}

.terms-label {
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: nowrap;
}

.terms-label a {
  color: var(--primary);
  text-decoration: underline;
}

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

.footer__container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__col h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.footer__col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.footer__col a:hover {
  color: var(--primary);
}

.footer__text {
  margin-top: 20px;
  color: var(--text-muted);
  max-width: 300px;
}

.footer__col p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.footer__bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cookie */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-secondary);
  padding: 25px;
  border-radius: var(--border-radius);
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--primary);
  z-index: 5000;
  display: none;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content p {
  margin-bottom: 15px;
  font-size: 0.9rem;
}

/* Adaptive */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 2.8rem;
  }
  .terms-label {
    white-space: normal;
  }
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
  .income-grid {
    grid-template-columns: 1fr;
  }
  .info-block {
    grid-template-columns: 1fr;
  }
  .info-block__img {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero__container {
    grid-template-columns: 1fr;
  }
  .hero__content {
    text-align: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__image {
    margin-top: 40px;
  }
  .section__title {
    font-size: 2rem;
  }
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cookie-popup {
    left: 20px;
    right: 20px;
    bottom: 20px;
    width: auto;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .form-wrapper {
    padding: 30px 20px;
  }
}

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