/* Variables */
:root {
  --primary: #0a4da2;
  --primary-light: #1e88e5;
  --secondary: #00bfa5;
  --dark: #121212;
  --light: #f4f7f6;
  --white: #ffffff;
  --gray: #757575;
  --border: #e0e0e0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.section {
  padding: 100px 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title.centered {
  text-align: center;
}

.section-title span {
  color: var(--primary);
}

/* Buttons */
.primary-btn,
.nav-btn,
.submit-btn {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.primary-btn:hover,
.nav-btn:hover,
.submit-btn:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(10, 77, 162, 0.3);
}

.secondary-btn {
  display: inline-block;
  padding: 15px 35px;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--primary);
  transition: var(--transition);
}

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

.white-btn {
  display: inline-block;
  padding: 15px 40px;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 800;
  transition: var(--transition);
}

.white-btn:hover {
  transform: scale(1.05);
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--dark);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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

.desktop-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-a {
  color: var(--dark);
}

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

.burger-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.mobile-menu.active {
  transform: translateY(0);
}

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

.mobile-nav-list a {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--dark);
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  font-size: 2rem;
}

/* Hero */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  background: radial-gradient(circle at top right, #e3f2fd, var(--white));
}

.hero-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  margin-bottom: 25px;
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--gray);
}

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

.hero-visual {
  flex: 1;
  position: relative;
}

.visual-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.visual-card img {
  width: 100%;
  display: block;
}

.floating-badge {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: var(--secondary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 800;
  box-shadow: 0 5px 15px rgba(0, 191, 165, 0.4);
}

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

.grid-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  margin-top: 30px;
}

/* Features */
.centered-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

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

.feature-item {
  padding: 50px 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-item i {
  width: 60px;
  height: 60px;
  color: var(--primary);
  margin-bottom: 25px;
}

.feature-item h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* Income Section */
.income-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 30px;
  padding: 80px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.income-banner .income-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.income-banner .section-title {
  color: var(--white);
}

.income-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

/* Simple Section */
.simple-flex {
  display: flex;
  gap: 80px;
  align-items: center;
}

.simple-text {
  flex: 1;
}
.simple-visual {
  flex: 1;
}
.simple-visual img {
  width: 100%;
  border-radius: 20px;
}

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

.stat-box strong {
  display: block;
  font-size: 2.5rem;
  color: var(--primary);
}

.stat-box span {
  color: var(--gray);
  font-weight: 600;
}

/* CTA Mid */
.cta-mid {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.cta-inner h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-inner p {
  margin-bottom: 40px;
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.faq-question {
  padding: 25px 0;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  padding-bottom: 25px;
  color: var(--gray);
  display: none;
  font-size: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Contact Section */
.contact-card {
  background: var(--white);
  border-radius: 30px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: 0 auto;
}

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

.contact-form .form-group {
  margin-bottom: 25px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
}

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

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

.submit-btn {
  width: 100%;
  margin-top: 20px;
}

/* Footer */
.footer {
  padding: 100px 0 40px;
  background: #07090d;
  border-top: 1px solid var(--border);
}
.logo-footer {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr;
  gap: 60px;
  margin-bottom: 80px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 60px;
}
.footer-brand {
  max-width: 400px;
}
.footer-brand p {
  margin: 20px 0 30px;
  color: var(--gray);
  line-height: 1.6;
}
.footer-contacts h4 {
  color: #fff;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.footer-contacts p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--white);
}
.footer-contacts i {
  color: var(--border);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  font-size: 0.85rem;
  color: var(--white);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--primary);
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--white);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 5000;
  max-width: 400px;
  display: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-content i {
  color: var(--primary);
}

.cookie-btn {
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Responsive */
@media (min-width: 1024px) {
  .no-wrap-desktop {
    white-space: nowrap;
  }
}

@media (max-width: 1023px) {
  .hero-wrapper,
  .grid-layout,
  .features-grid,
  .simple-flex,
  .footer-top {
    grid-template-columns: 1fr;
    flex-direction: column;
    text-align: center;
  }

  .desktop-nav {
    display: none;
  }

  .burger-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .income-banner {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }
  .cta-inner h2 {
    font-size: 2.2rem;
  }
  .stats {
    flex-direction: column;
  }
}

.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: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    margin: 80px 0 30px;
    font-size: 28px;
  }
}
