/* === VARIABLES & RESET === */
:root {
  --dark: #0f172a; /* Oxford Blue */
  --lime: #d4f842; /* Vibrant Lime */
  --lime-hover: #bde028;
  --grey: #f8fafc;
  --white: #ffffff;
  --text: #334155;
  --border: #e2e8f0;
  --radius: 12px;
  --font-main: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;
  --container: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}

/* === UTILITIES === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 80px 0;
} /* Уменьшили отступы для аккуратности */
.bg-grey {
  background-color: var(--grey);
}
.bg-dark {
  background-color: var(--dark);
  color: #94a3b8;
}
.bg-dark h2,
.bg-dark h3 {
  color: var(--white);
}
.bg-lime-light {
  background-color: #f7fee7;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
} /* Fluid Typography */
h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
p {
  margin-bottom: 15px;
  font-size: 1rem;
}

.center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}
.highlight {
  color: #6366f1;
  position: relative;
  z-index: 1;
}
.highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--lime);
  z-index: -1;
  opacity: 0.5;
}

/* === BUTTONS === */
.btn-lime {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 30px;
  background: var(--lime);
  color: var(--dark);
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--lime);
  cursor: pointer;
  transition: 0.3s;
}
.btn-lime:hover {
  background: var(--lime-hover);
  border-color: var(--lime-hover);
  transform: translateY(-2px);
}

.btn-dark {
  padding: 10px 24px;
  background: var(--dark);
  color: var(--white);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}
.btn-dark:hover {
  opacity: 0.9;
}

.btn-outline {
  padding: 14px 30px;
  background: transparent;
  color: var(--dark);
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
}
.btn-outline:hover {
  border-color: var(--dark);
}

.full {
  width: 100%;
  text-align: center;
}
.full-width {
  width: 100%;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 15px 0;
}
.h-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.d-nav {
  display: flex;
  gap: 30px;
}
.d-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}
.d-nav a:hover,
.d-nav a.active {
  color: var(--dark);
  font-weight: 600;
}

.h-act {
  display: flex;
  align-items: center;
  gap: 20px;
}
.link-b {
  font-weight: 600;
  color: var(--dark);
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* === MOBILE MENU === */
.mob-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: 0.3s ease;
}
.mob-menu.active {
  transform: translateX(0);
}
.mob-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mob-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}
.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
}
.mob-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: auto;
}
.mob-nav a {
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

/* === HERO SECTION === */
.hero {
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grey);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text);
}
.hero-sub {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 0.85rem;
  color: #94a3b8;
}

.app-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}
.am-header {
  background: var(--grey);
  padding: 15px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  position: relative;
  font-weight: 600;
  font-size: 0.9rem;
}
.dots {
  position: absolute;
  left: 15px;
  display: flex;
  gap: 5px;
}
.dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}
.am-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fafafa;
  position: relative;
}
.msg {
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.9rem;
  max-width: 85%;
}
.msg.bot {
  background: var(--white);
  border: 1px solid var(--border);
  align-self: flex-start;
}
.msg.user {
  background: var(--dark);
  color: var(--white);
  align-self: flex-end;
}
.floating-badge {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* === BENTO GRID === */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bento-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: 0.3s;
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.bento-card.large {
  grid-column: 1 / 3;
}
.bento-card.full-w {
  grid-column: 1 / -1;
  background: var(--dark);
  color: var(--white);
  border: none;
}
.bento-card.full-w h3 {
  color: var(--white);
}
.bento-card.full-w p {
  opacity: 0.8;
}

.bc-icon {
  width: 48px;
  height: 48px;
  background: var(--grey);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--dark);
}
.bc-icon.color-1 {
  background: #e0f2fe;
  color: #0284c7;
}
.bc-icon.color-2 {
  background: #fee2e2;
  color: #dc2626;
}

.bc-content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.bc-txt {
  flex: 1;
}
.bc-vis {
  font-size: 4rem;
  color: var(--lime);
  background: rgba(255, 255, 255, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.link-arr {
  color: var(--lime);
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
}

/* === SPLIT LAYOUTS (TOOLS & FEATURES) === */
.split-layout {
  display: flex;
  gap: 60px;
  align-items: center;
}
.split-layout.reverse {
  flex-direction: row-reverse;
}
.sl-img,
.sl-txt {
  flex: 1;
}
.sl-img img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.feature-list li {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 500;
}
.feature-list i {
  color: #6366f1;
  width: 20px;
}
.mt-30 {
  margin-top: 30px;
  display: inline-block;
}
.link-u {
  text-decoration: underline;
  font-weight: 600;
  color: var(--dark);
}

/* === STATS / COMMUNITY === */
.stats-simple {
  display: flex;
  justify-content: space-around;
  text-align: center;
  margin-bottom: 40px;
}
.stat-box .val {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.stat-box .lbl {
  font-size: 0.9rem;
  opacity: 0.8;
}
.cta-mini p {
  opacity: 0.6;
  font-size: 0.9rem;
}

/* === STEPS === */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--white);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
}
.step-num {
  width: 40px;
  height: 40px;
  background: var(--dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* === FAQ === */
.narrow-container {
  max-width: 800px;
  margin: 0 auto;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.acc-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.acc-btn {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
}
.acc-btn i {
  transition: 0.3s;
}
.acc-item.active .acc-btn i {
  transform: rotate(180deg);
}
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease;
  padding: 0 20px;
  color: var(--text);
}
.acc-item.active .acc-content {
  padding-bottom: 20px;
  max-height: 300px;
}

/* === CONTACT FORM === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.c-list {
  margin-top: 30px;
}
.c-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.c-item i {
  color: var(--dark);
}

.c-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
}
.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-row input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
}
.form-row input:focus {
  border-color: var(--dark);
  outline: none;
}
.form-check {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 0.85rem;
  color: #64748b;
}
.form-check a {
  text-decoration: underline;
  color: var(--dark);
}

/* === FOOTER === */
.footer {
  background: var(--grey);
  padding: 60px 0 20px;
  border-top: 1px solid var(--border);
  margin-top: 60px;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.f-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 15px;
}
.f-address {
  margin-top: 20px;
  font-size: 0.9rem;
}
.f-address a {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
}
.f-col h5 {
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #94a3b8;
}
.f-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.f-col a:hover {
  color: var(--dark);
  font-weight: 500;
}
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* === COOKIE === */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 300px;
  background: var(--dark);
  color: var(--white);
  padding: 20px;
  border-radius: 12px;
  z-index: 5000;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cb-content p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.btn-xs {
  background: var(--lime);
  color: var(--dark);
  padding: 6px 15px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* === ADAPTIVE FIXES (MOBILE FIRST MENTALITY ADJUSTMENT) === */
@media (max-width: 1024px) {
  .d-nav,
  .h-act .link-b,
  .h-act .btn-dark {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-img {
    order: -1;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.large,
  .bento-card.full-w {
    grid-column: auto;
  }
  .bc-content-row {
    flex-direction: column;
    text-align: center;
  }
  .split-layout,
  .contact-grid,
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-layout.reverse {
    flex-direction: column;
  }
  .stats-simple {
    flex-direction: column;
    gap: 30px;
  }
  .steps-row {
    grid-template-columns: 1fr;
  }
  .split-layout {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .section {
    padding: 50px 0;
  }
  .mob-menu {
    width: 100%;
  }
  .floating-badge {
    display: 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;
  }
}
