/* ==========================================================================
   LogicCoreIT Analytics – LIGHT THEME (18px base, dark footer)
   File: css/logiccoreit-style.css
   ========================================================================== */

/* ---------- Reset & base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 18px; /* базовый размер текста */
  line-height: 1.6;
  color: #111827;
  background:
    radial-gradient(circle at 0 0, #ffe4e6 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #ffedd5 0, transparent 55%),
    #f4f4fb;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #be123c;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* ---------- Design tokens ---------- */

:root {
  --lc-page-bg: #f4f4fb;
  --lc-surface: #ffffff;
  --lc-surface-soft: #f9fafb;
  --lc-surface-alt: #fff7ed;

  --lc-primary: #c026d3;       /* малиновый / фуксия */
  --lc-primary-soft: #fbe7ff;
  --lc-accent: #f97316;        /* тёплый оранжевый */
  --lc-accent-soft: #ffedd5;

  --lc-text-main: #111827;
  --lc-text-muted: #6b7280;
  --lc-text-soft: #4b5563;

  --lc-border-subtle: #e5e7eb;
  --lc-border-strong: #d4d4dd;

  --lc-radius-lg: 28px;
  --lc-radius-md: 20px;
  --lc-radius-pill: 999px;

  --lc-shadow-soft: 0 22px 40px rgba(15, 23, 42, 0.08);
  --lc-shadow-card: 0 16px 35px rgba(15, 23, 42, 0.1);
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #0f172a;
  margin-bottom: 0.4em;
  font-weight: 600;
}

h1 {
  font-size: 2.45rem;
  line-height: 1.15;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 0.8rem;
  font-size: 1rem; /* 18px */
  color: var(--lc-text-main);
}

.lc-gradient-text {
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Sections ---------- */

.lc-section {
  padding-top: 3.8rem;
  padding-bottom: 3.8rem;
}

.lc-section-alt {
  background: linear-gradient(
      180deg,
      rgba(255, 237, 213, 0.55),
      rgba(255, 247, 237, 0.9)
    );
}

.lc-section-header {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.lc-section-title {
  font-size: 2rem;
  letter-spacing: 0.01em;
}

.lc-section-lead {
  font-size: 1rem;
  color: var(--lc-text-muted);
}

/* ---------- Buttons ---------- */

.btn {
  border-radius: var(--lc-radius-pill);
  font-size: 1rem;
  padding: 0.55rem 1.45rem;
  font-weight: 500;
}

.btn-primary {
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-accent));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(192, 38, 211, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--lc-primary), #fb923c);
  color: #ffffff;
}

.btn-outline-light {
  border-color: #e5e7eb;
  color: var(--lc-text-soft);
  background-color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background-color: #f3f4f6;
}

.btn-outline-secondary {
  border-color: #e5e7eb;
  color: var(--lc-text-soft);
  background-color: #ffffff;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus-visible {
  background-color: #f9fafb;
}

/* ---------- Header & navbar ---------- */

.lc-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.92)
  );
  border-bottom: 1px solid #e5e7eb;
}

.lc-navbar {
  background: transparent;
}

.navbar-brand {
  font-size: 1.02rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #111827 !important;
}

.lc-logo-icon,
.lc-logo-icon-sm {
  width: 38px;
  height: 38px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, #fee2ff, #f97316);
  color: #7c2d12;
  font-size: 1.15rem;
}

.lc-logo-icon-sm {
  width: 32px;
  height: 32px;
  font-size: 1rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: #4b5563;
  font-size: 1rem;
  padding-inline: 0.75rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus-visible {
  color: var(--lc-primary);
}

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--lc-primary);
}

.navbar-dark .navbar-toggler {
  border-color: #e5e7eb;
}

.navbar-dark .navbar-toggler-icon {
  filter: invert(0.3);
}

.lc-nav-cta {
  padding-inline: 1.4rem;
}

/* ---------- Hero ---------- */

.lc-hero-section {
  background:
    radial-gradient(circle at 0 0, #fee2ff 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #ffedd5 0, transparent 55%),
    linear-gradient(135deg, #ffffff, #fff7ed);
  padding-top: 4.2rem;
  padding-bottom: 4.2rem;
}

.lc-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.9rem;
  border-radius: var(--lc-radius-pill);
  background-color: #fef2f2;
  color: #7f1d1d;
  border: 1px solid #fecaca;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lc-hero-title {
  font-size: 2.45rem;
  max-width: 20ch;
  margin-bottom: 0.5rem;
}

.lc-hero-text {
  font-size: 1rem;
  color: var(--lc-text-muted);
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

.lc-hero-meta {
  margin-top: 0.9rem;
  border-radius: 18px;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--lc-border-subtle);
  box-shadow: 0 16px 32px rgba(148, 163, 184, 0.25);
}

.lc-meta-item {
  min-width: 140px;
}

.lc-meta-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.lc-meta-value {
  font-size: 1rem;
  color: #111827;
}

.lc-hero-visual {
  position: relative;
}

.lc-hero-img {
  border-radius: 26px;
  border: 1px solid var(--lc-border-strong);
  box-shadow: var(--lc-shadow-card);
}

.lc-hero-badge {
  position: absolute;
  top: -1.2rem;
  left: 1.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--lc-radius-pill);
  background: #ffffff;
  border: 1px solid #fecaca;
  color: #7f1d1d;
  font-size: 0.9rem;
  box-shadow: 0 14px 30px rgba(248, 113, 113, 0.25);
}

.lc-hero-card {
  position: absolute;
  bottom: -1.1rem;
  right: 1.4rem;
  max-width: 260px;
  background: #ffffff;
  border-radius: 18px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--lc-border-subtle);
  box-shadow: var(--lc-shadow-card);
  font-size: 1rem;
  color: var(--lc-text-soft);
}

.lc-hero-card-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lc-primary);
  margin-bottom: 0.25rem;
}

/* ---------- Generic cards ---------- */

.lc-card {
  border-radius: var(--lc-radius-md);
  padding: 1.4rem 1.5rem;
  background-color: #ffffff;
  border: 1px solid var(--lc-border-subtle);
  box-shadow: var(--lc-shadow-soft);
}

.lc-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: radial-gradient(circle at 0 0, #fee2ff, #f97316);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7c2d12;
  margin-bottom: 0.8rem;
}

.lc-card-title {
  font-size: 1.12rem;
}

.lc-card-text {
  font-size: 1rem;
  color: var(--lc-text-soft);
}

.lc-card-feature {
  position: relative;
  padding-top: 1.5rem;
  border-top: 4px solid #f97316;
}

.lc-card-badge {
  position: absolute;
  top: 0.5rem;
  right: 1.1rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--lc-radius-pill);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.lc-card-title-sm {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.lc-card-compact {
  background-color: #fffdf8;
  border: 1px solid #fed7aa;
}

/* ---------- Lists ---------- */

.lc-check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.4rem;
}

.lc-check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  color: var(--lc-text-soft);
}

.lc-check-list li::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.6rem;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, var(--lc-primary), var(--lc-accent));
}

/* ---------- Image panel ---------- */

.lc-image-panel img {
  border-radius: 22px;
  border: 1px solid var(--lc-border-subtle);
  box-shadow: var(--lc-shadow-soft);
}

/* ---------- Timeline / steps ---------- */

.lc-timeline-card {
  border-radius: var(--lc-radius-md);
  padding: 1.5rem 1.5rem 1.4rem;
  background-color: #ffffff;
  border: 1px dashed #fecaca;
  box-shadow: 0 14px 30px rgba(248, 113, 113, 0.12);
}

.lc-timeline-step {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-accent));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.lc-steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.lc-step {
  display: flex;
  gap: 0.9rem;
}

.lc-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background-color: #fef2ff;
  border: 1px solid #e9d5ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lc-primary);
  flex-shrink: 0;
}

.lc-step-title {
  font-size: 1rem;
}

.lc-step-text {
  font-size: 1rem;
  color: var(--lc-text-soft);
}

/* ---------- Insight cards ---------- */

.lc-insight-card {
  border-radius: var(--lc-radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--lc-border-subtle);
  box-shadow: var(--lc-shadow-soft);
  display: flex;
  flex-direction: column;
}

.lc-insight-img {
  max-height: 180px;
  width: 100%;
  object-fit: cover;
}

.lc-insight-body {
  padding: 1.2rem 1.4rem 1.35rem;
}

.lc-insight-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  border-radius: var(--lc-radius-pill);
  border: 1px solid #e9d5ff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--lc-primary);
  margin-bottom: 0.5rem;
}

.lc-insight-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.lc-insight-text {
  font-size: 1rem;
  color: var(--lc-text-soft);
}

/* ---------- Testimonials ---------- */

.lc-section-testimonials {
  background: linear-gradient(
    180deg,
    rgba(251, 244, 255, 0.9),
    rgba(255, 247, 237, 0.9)
  );
}

.lc-testimonial-card {
  border-radius: 22px;
  padding: 1.6rem 1.55rem 1.5rem;
  background-color: #ffffff;
  border: 1px solid #f5d0fe;
  box-shadow: var(--lc-shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lc-testimonial-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.7rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--lc-radius-pill);
  background-color: #fef2ff;
  color: var(--lc-primary);
  border: 1px solid #e9d5ff;
}

.lc-testimonial-quote {
  font-size: 1rem;
  color: var(--lc-text-soft);
}

.lc-testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lc-testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-accent));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.lc-testimonial-name {
  font-size: 1rem;
  font-weight: 500;
}

.lc-testimonial-role {
  font-size: 0.95rem;
  color: var(--lc-text-muted);
}

/* ---------- Newsletter ---------- */

.lc-section-newsletter {
  background: #f5f3ff;
}

.lc-newsletter-card {
  border-radius: 26px;
  padding: 1.9rem 2rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: var(--lc-shadow-soft);
}

.lc-newsletter-form .form-control {
  min-width: 0;
}

.lc-newsletter-note {
  font-size: 0.95rem;
  color: var(--lc-text-muted);
}

/* ---------- Contacts & forms ---------- */

.lc-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--lc-text-soft);
}

.lc-contact-item i {
  margin-top: 0.18rem;
  color: var(--lc-primary);
}

.lc-contact-item a {
  color: var(--lc-text-soft);
}

.lc-contact-item a:hover {
  color: var(--lc-primary);
}

.lc-contact-note {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--lc-text-muted);
  display: inline-flex;
  align-items: flex-start;
}

.lc-form-card {
  border-radius: var(--lc-radius-md);
  padding: 1.8rem 1.9rem;
  background-color: #ffffff;
  border: 1px solid var(--lc-border-subtle);
  box-shadow: var(--lc-shadow-card);
}

.lc-form-hint {
  font-size: 0.95rem;
  color: var(--lc-text-muted);
}

/* Bootstrap form overrides */

.form-control,
.form-select {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #d4d4dd;
  color: var(--lc-text-main);
  font-size: 1rem;
}

.form-control::placeholder {
  color: #9ca3af;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--lc-primary);
  box-shadow: 0 0 0 1px rgba(192, 38, 211, 0.28);
}

.form-check-input {
  border-radius: 6px;
  border: 1px solid #d4d4dd;
}

.form-check-input:checked {
  background-color: var(--lc-primary);
  border-color: var(--lc-primary);
}

/* ---------- FAQ (accordion) ---------- */

.accordion-item {
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  margin-bottom: 0.6rem;
}

.accordion-button {
  background-color: #ffffff;
  color: var(--lc-text-soft);
  font-size: 1rem;
  padding: 0.9rem 1.15rem;
}

.accordion-button:not(.collapsed) {
  background-color: #fdf2ff;
  color: #7e22ce;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  font-size: 1rem;
  color: var(--lc-text-soft);
}

/* ---------- Footer (тёмный) ---------- */

.lc-footer {
  background-color: #020617;
  border-top: 1px solid #0b1120;
}

.lc-footer-text {
  font-size: 1rem;
  color: #e5e7eb;
}

.lc-footer-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.lc-footer-links a {
  font-size: 1rem;
  color: #e5e7eb;
}

.lc-footer-links a:hover {
  color: var(--lc-primary);
}

.lc-footer-social a {
  width: 32px;
  height: 32px;
  border-radius: var(--lc-radius-pill);
  border: 1px solid #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.9rem;
  background-color: #020617;
}

.lc-footer-social a:hover {
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-accent));
  color: #ffffff;
  border-color: transparent;
}

.lc-footer-divider {
  border-color: #111827;
}

.lc-footer-copy,
.lc-footer-mini {
  font-size: 0.95rem;
  color: #9ca3af;
}

/* ---------- Cookie banner ---------- */

.lc-cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1080;
  padding: 0.85rem;
  display: none; /* включается через JS */
}

.lc-cookie-inner {
  max-width: 980px;
  margin-inline: auto;
  border-radius: 20px;
  padding: 0.9rem 1.1rem;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.lc-cookie-text {
  font-size: 0.95rem;
  color: var(--lc-text-soft);
}

.lc-cookie-text strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #111827;
}

.lc-cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lc-cookie-btn {
  font-size: 0.9rem;
  padding-inline: 0.9rem;
}

#cookieReject {
  background-color: #f9fafb;
  color: #374151;
  border-color: #e5e7eb;
}

#cookieReject:hover {
  background-color: #e5e7eb;
}

#cookieAccept {
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-accent));
  border-color: transparent;
  color: #ffffff;
}

.lc-cookie-link {
  font-size: 0.9rem;
  color: var(--lc-primary);
}

/* ---------- Form success modal ---------- */

.lc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.lc-modal-backdrop.is-visible {
  display: flex;
}

.lc-modal {
  width: min(420px, 92vw);
  background-color: #ffffff;
  border-radius: 24px;
  padding: 1.7rem 1.7rem 1.5rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  position: relative;
}

.lc-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.75rem;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.2rem;
  cursor: pointer;
}

.lc-modal-close:hover {
  color: #4b5563;
}

.lc-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lc-primary), var(--lc-accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

.lc-modal-title {
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.lc-modal-text {
  font-size: 1rem;
  color: var(--lc-text-soft);
}

/* ---------- Misc & responsive ---------- */

.bg-dark-subtle {
  background-color: #fff7ed !important;
}

.py-lg-6 {
  padding-top: 4.6rem !important;
  padding-bottom: 4.6rem !important;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .lc-hero-title {
    font-size: 2.1rem;
  }

  .lc-hero-meta {
    border-radius: 16px;
    padding: 0.65rem 0.8rem;
  }

  .lc-cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lc-newsletter-card {
    padding: 1.6rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .lc-section {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .lc-hero-section {
    padding-top: 3.4rem;
    padding-bottom: 3.4rem;
  }

  .lc-hero-title {
    font-size: 1.9rem;
  }

  .lc-hero-badge {
    position: static;
    margin-bottom: 0.7rem;
  }

  .lc-hero-card {
    position: static;
    margin-top: 0.9rem;
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation-duration: 0s !important;
  }
}
