:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-light: #f1f5f9;
  --text-main: #334155;
  --text-head: #0f172a;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

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

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

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

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

.btn-accent:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
  background-color: var(--secondary);
  color: white;
}

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

.btn-full {
  width: 100%;
}

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

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

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

.logo__text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary);
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

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

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

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

.burger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
  left: 0;
  transition: 0.3s;
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 2000;
  transform: translateX(100%);
  transition: 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__head {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.mm-title {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--secondary);
}

.close-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  gap: 25px;
  overflow-y: auto;
}

.mm-link {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
}

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

.mobile-menu__foot {
  padding: 20px;
  border-top: 1px solid var(--border);
}

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

.bg-light {
  background-color: var(--bg-white);
}

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

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head h2 {
  font-size: 2.5rem;
  color: var(--text-head);
  margin-bottom: 20px;
}

.section-head p {
  font-size: 1.1rem;
  color: var(--text-main);
}

/* Hero */
.hero {
  padding: 180px 0 100px;
  overflow: hidden;
}

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

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 700;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--text-head);
}

.accent-text {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.accent-text::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgba(37, 99, 235, 0.2);
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  max-width: 500px;
}

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

.hero__img {
  position: relative;
}

.hero__img img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.img-card {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 280px;
  border: 1px solid var(--border);
}

.ic-big {
  width: 40px;
  height: 40px;
  color: var(--accent);
}

.card-info strong {
  display: block;
  color: var(--secondary);
}

.card-info span {
  font-size: 0.8rem;
  color: var(--text-main);
}

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

.feature-box {
  background: var(--bg-body);
  padding: 40px;
  border-radius: var(--radius);
  transition: 0.3s;
  border: 1px solid transparent;
}

.feature-box:hover {
  background: white;
  box-shadow: var(--shadow);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.fb-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-head);
}

/* Tech Section */
.tech-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.sub-title {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.tech-content h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--text-head);
}

.tech-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

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

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

.tech-visual {
  background: white;
  padding: 40px;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.stat-row {
  margin-bottom: 30px;
}

.stat-row span {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.progress-bar {
  height: 10px;
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: var(--primary);
}

.tech-badge {
  margin-top: 30px;
  padding: 15px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 12px;
  color: var(--accent);
  text-align: center;
  font-weight: 700;
}

/* Income */
.bg-dark h2 {
  color: white;
}
.bg-dark p {
  color: #cbd5e1;
}

.income-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px 0;
}

.col-item h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: "Courier New", monospace;
}

.col-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

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

/* Steps */
.steps-list {
  max-width: 900px;
  margin: 0 auto;
}

.step-row {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding: 30px;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.step-row:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
}

.step-txt h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-head);
}

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

.acc-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.4s ease;
  padding: 0 25px;
}

.acc-content p {
  padding-bottom: 25px;
  color: var(--text-main);
}

.acc-item.active .acc-content {
  max-height: 300px;
}

.acc-item.active .acc-btn i {
  transform: rotate(45deg);
  color: var(--primary);
}

/* Form */
.form-container {
  max-width: 1000px;
}

.form-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

.form-left {
  background: var(--secondary);
  color: white;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-left h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.form-left p {
  color: #94a3b8;
  margin-bottom: 40px;
}

.contact-preview .cp-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: center;
}

.clean-form {
  padding: 50px;
}

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

.inp-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.inp-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--bg-light);
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

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

.check-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.check-group input {
  margin-top: 5px;
  width: 18px;
  height: 18px;
}

.check-group label {
  font-size: 0.85rem;
  line-height: 1.4;
}

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

/* Footer */
.footer {
  background: var(--bg-body);
  padding: 80px 0 30px;
  border-top: 1px solid var(--border);
}

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

.ft-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  margin-bottom: 20px;
}

.ft-col h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: var(--text-head);
}

.ft-col a,
.ft-col p {
  display: block;
  color: var(--text-main);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

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

.ft-copy {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

/* Cookie */
.cookie-modal {
  position: fixed;
  bottom: 30px;
  right: 30px;
  max-width: 350px;
  z-index: 9000;
  display: none;
}

.cm-content {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.cm-content h3 {
  margin-bottom: 10px;
}

.cm-content p {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__img {
    margin-top: 50px;
    order: -1;
  }
  .img-card {
    display: none;
  }
  .tech-layout {
    grid-template-columns: 1fr;
  }
  .form-box {
    grid-template-columns: 1fr;
  }
  .form-left {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .income-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero__buttons {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-modal {
    left: 20px;
    right: 20px;
    width: auto;
    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(--ink);
  margin-bottom: 40px;
  margin-top: 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(--ink);
}

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