/* CusRelMa marketing theme overrides + custom chrome */
:root {
  --primary-color: #22d3ee !important;
  --secondary-color: #94a3b8 !important;
  --theme-bg: #050d18 !important;
  --tertiary-color: #071526 !important;
  --quaternary-color: #040b14 !important;
  --senary-color: #0c1a2b !important;
  --septenary-color: #0a1624 !important;
  --octonary-color: #122438 !important;
  --crm-cyan: #22d3ee;
  --crm-ink: #e8eef9;
  --crm-muted: #94a3b8;
  --crm-bg: #050d18;
  --crm-card: #0a1624;
}

body.cusrelma-site {
  background: var(--crm-bg);
  color: var(--crm-ink);
  overflow-x: hidden;
}

.cusrelma-site .container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

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

.cusrelma-site .justify-content-center {
  justify-content: center;
}

.cusrelma-site .mt-4 {
  margin-top: 1.5rem;
}

.cusrelma-site .mb-4 {
  margin-bottom: 1.5rem;
}

.cusrelma-site .btn--primary,
.cusrelma-site .btn--secondary {
  background-color: #22d3ee !important;
  border-color: #22d3ee !important;
  color: #062033 !important;
}

.cusrelma-site .btn--primary:hover,
.cusrelma-site .btn--secondary:hover {
  background-color: #67e8f9 !important;
  border-color: #67e8f9 !important;
  color: #062033 !important;
}

.cusrelma-site .sub-title,
.cusrelma-site .banner-three__content .light-title span {
  color: #22d3ee !important;
}

.cusrelma-site a:hover {
  color: #22d3ee;
}

.cusrelma-site .form-control:focus {
  border-color: #22d3ee !important;
  box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.2);
}

.cusrelma-site .crm-privacy-note {
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.06);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  color: #cbd5e1;
}

/* ========== HEADER (şablondan bağımsız) ========== */
.crm-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 72px;
  background: rgba(5, 13, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.crm-header.is-scrolled {
  background: rgba(5, 13, 24, 0.94);
  border-bottom-color: rgba(34, 211, 238, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.crm-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.crm-header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none !important;
}

.crm-header__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(100%, 420px);
}

.crm-header__logo {
  height: 40px !important;
  width: auto !important;
  max-width: 120px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent !important;
  /* arka plan plakası yok — SVG/PNG alpha */
  image-rendering: auto;
}

.crm-header__brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.crm-header__brand-name {
  font-size: clamp(0.82rem, 1.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-header__brand img {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 575.98px) {
  .crm-header__logo {
    height: 36px;
  }
  .crm-header__brand-name {
    font-size: 0.78rem;
    white-space: normal;
    max-width: 9.5rem;
  }
}

.crm-header__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 992px) {
  .crm-header__nav {
    display: flex;
  }
}

.crm-header__link {
  color: #cbd5e1 !important;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: color 0.2s, background 0.2s;
}

.crm-header__link:hover {
  color: #fff !important;
  background: rgba(34, 211, 238, 0.08);
}

.crm-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.crm-header__mail {
  display: none;
  color: #94a3b8 !important;
  font-size: 0.82rem;
  text-decoration: none !important;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .crm-header__mail {
    display: inline;
  }
}

.crm-header__login {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 1.1rem !important;
  border-radius: 10px !important;
  background: #22d3ee !important;
  color: #062033 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}

.crm-header__login:hover {
  background: #67e8f9 !important;
  color: #062033 !important;
}

.crm-header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.crm-header__menu-btn:hover {
  border-color: rgba(34, 211, 238, 0.5);
  color: #fff;
}

@media (min-width: 992px) {
  .crm-header__menu-btn {
    display: none;
  }
}

/* Drawer menu */
.crm-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}

.crm-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.crm-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: pointer;
}

.crm-drawer.is-open .crm-drawer__backdrop {
  opacity: 1;
}

.crm-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 92vw);
  height: 100%;
  background: #071526;
  border-left: 1px solid rgba(34, 211, 238, 0.15);
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.crm-drawer.is-open .crm-drawer__panel {
  transform: translateX(0);
}

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

.crm-drawer__close {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: #e2e8f0;
  border-radius: 10px;
  height: 38px;
  padding: 0 0.9rem;
  cursor: pointer;
  font-weight: 600;
}

.crm-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.crm-drawer__nav a {
  color: #e2e8f0 !important;
  text-decoration: none !important;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
}

.crm-drawer__nav a:hover {
  background: rgba(34, 211, 238, 0.08);
  color: #22d3ee !important;
}

.crm-drawer__cta {
  margin-top: 0.5rem;
  background: #22d3ee !important;
  color: #062033 !important;
  text-align: center;
}

.crm-drawer__cta:hover {
  background: #67e8f9 !important;
  color: #062033 !important;
}

/* ========== FOOTER ========== */
.crm-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 0 2rem;
  margin-top: 0;
  background: #040b14;
}

.crm-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.crm-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.crm-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.crm-footer__links a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-weight: 600;
}

.crm-footer__links a:hover {
  color: #22d3ee !important;
}

.crm-footer__title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #f8fafc;
}

.crm-footer__sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

.crm-footer__note {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* ========== MOTION ========== */
.crm-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.crm-reveal--left {
  transform: translateX(-48px);
}

.crm-reveal--right {
  transform: translateX(48px);
}

.crm-reveal--scale {
  transform: scale(0.94) translateY(20px);
}

.crm-reveal.is-in {
  opacity: 1;
  transform: none;
}

.crm-parallax {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.14);
  background: #0a1624;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  width: 100%;
  aspect-ratio: 4 / 3;
}

.crm-parallax img {
  position: absolute;
  left: 0;
  top: -20%;
  width: 100%;
  height: 140%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .crm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .crm-parallax img {
    top: 0;
    height: 100%;
    transform: none;
  }
}

/* ========== BUTTONS ========== */
.crm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.crm-btn:hover {
  transform: translateY(-1px);
}

.crm-btn--solid {
  background: #22d3ee;
  color: #062033 !important;
  border: 1px solid #22d3ee;
}

.crm-btn--solid:hover {
  background: #67e8f9;
  color: #062033 !important;
}

.crm-btn--ghost {
  background: transparent;
  color: #22d3ee !important;
  border: 1px solid rgba(34, 211, 238, 0.55);
}

.crm-btn--ghost:hover {
  background: rgba(34, 211, 238, 0.1);
  color: #67e8f9 !important;
}

/* ========== HOME / HERO ========== */
.crm-home {
  padding-top: 72px;
}

.crm-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.crm-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: crm-hero-drift 28s ease-in-out infinite alternate;
}

.crm-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(5, 13, 24, 0.94) 0%, rgba(5, 13, 24, 0.78) 48%, rgba(5, 13, 24, 0.55) 100%),
    radial-gradient(ellipse at 70% 40%, rgba(34, 211, 238, 0.12), transparent 55%);
}

@keyframes crm-hero-drift {
  from {
    transform: scale(1.05) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-2%, 1%, 0);
  }
}

.crm-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.crm-hero__brand-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  color: #e2e8f0;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-wrap: wrap;
}

.crm-hero__brand-row img {
  height: 48px;
  width: auto;
  display: block;
}

.crm-hero__copy h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
}

.crm-hero__copy h1 em {
  font-style: normal;
  color: #22d3ee;
}

.crm-hero__copy > p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.crm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.crm-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.crm-hero__pills span {
  font-size: 0.78rem;
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.crm-hero__visual {
  position: relative;
}

.crm-hero__stats {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.crm-hero__stats > div {
  background: rgba(5, 13, 24, 0.88);
  border: 1px solid rgba(34, 211, 238, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  min-width: 120px;
}

.crm-hero__stats strong {
  display: block;
  color: #22d3ee;
  font-size: 1.25rem;
  line-height: 1.1;
}

.crm-hero__stats small {
  color: #94a3b8;
  font-size: 0.75rem;
}

/* ========== STORY (kaydırınca kayan paneller) ========== */
.crm-story__panel {
  position: relative;
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(34, 211, 238, 0.06), transparent 50%),
    #050d18;
}

.crm-story__panel.is-flip {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(34, 211, 238, 0.07), transparent 50%),
    #071526;
}

.crm-story__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.crm-story__panel.is-flip .crm-story__grid {
  direction: rtl;
}

.crm-story__panel.is-flip .crm-story__grid > * {
  direction: ltr;
}

.crm-story__copy h2 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0.75rem 0 1rem;
}

.crm-story__copy p {
  color: #94a3b8;
  line-height: 1.7;
  margin: 0;
  max-width: 32rem;
}

.crm-story__img {
  width: 100%;
}

.crm-story__index {
  position: absolute;
  right: 4%;
  bottom: 8%;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(34, 211, 238, 0.06);
  pointer-events: none;
  user-select: none;
}

.crm-story__panel.is-flip .crm-story__index {
  right: auto;
  left: 4%;
}

@media (max-width: 991.98px) {
  .crm-story__grid,
  .crm-story__panel.is-flip .crm-story__grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .crm-story__panel {
    padding: 3.5rem 0;
  }
}

/* ========== SECTIONS ========== */
.crm-section {
  padding: 5rem 0;
}

.crm-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 991.98px) {
  .crm-why__grid {
    grid-template-columns: 1fr;
  }
}

.crm-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.crm-section__head h2 {
  margin: 0.4rem 0 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
  font-weight: 800;
}

.crm-section__lead {
  margin: 0.75rem 0 0;
  color: #94a3b8;
  max-width: 28rem;
  line-height: 1.6;
  font-size: 1rem;
}

.crm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  background: rgba(34, 211, 238, 0.06);
}

.crm-eyebrow::after {
  content: "↗";
  font-size: 0.85em;
}

/* ========== MODULES ========== */
.crm-modules {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.crm-module {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.crm-module__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  padding: 1.35rem 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.crm-module__title {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
}

.crm-module__title span {
  color: #22d3ee;
  font-weight: 700;
  font-size: 0.95rem;
}

.crm-module__title h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  color: #fff;
  font-weight: 700;
}

.crm-module__toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.crm-module__head:hover .crm-module__toggle {
  background: rgba(34, 211, 238, 0.12);
  transform: scale(1.05);
}

.crm-module__body {
  padding: 0 0 1.75rem;
  animation: crm-module-open 0.35s ease;
}

@keyframes crm-module-open {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.crm-module__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.crm-module__text p {
  color: #94a3b8;
  max-width: 36rem;
  margin: 0 0 1rem;
  line-height: 1.7;
  font-size: 1.02rem;
}

.crm-module__body ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.crm-module__body li {
  font-size: 0.82rem;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
}

.crm-module__img {
  width: 100%;
  max-width: none;
}

@media (max-width: 991.98px) {
  .crm-module__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== WHY / CTA ========== */
.crm-why h2,
.crm-cta h2 {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0.6rem 0 1rem;
}

.crm-why p,
.crm-cta p {
  color: #94a3b8;
  line-height: 1.7;
  max-width: 36rem;
}

.crm-cta p {
  margin-left: auto;
  margin-right: auto;
}

.crm-why__img {
  width: 100%;
}

.crm-why__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.crm-why__stats > div {
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(34, 211, 238, 0.04);
}

.crm-why__stats strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
}

.crm-why__stats small {
  color: #94a3b8;
  font-size: 0.78rem;
}

.crm-cta {
  background:
    radial-gradient(ellipse at center, rgba(34, 211, 238, 0.08), transparent 60%),
    #040b14;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
  .crm-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .crm-hero {
    min-height: auto;
    padding: 2.25rem 0 3rem;
  }

  .crm-hero__stats {
    position: static;
    margin-top: 1rem;
  }

}

@media (max-width: 575.98px) {
  .crm-header {
    height: 64px;
  }

  .crm-home {
    padding-top: 64px;
  }

  .crm-header__logo,
  .crm-header__brand img {
    height: 34px;
  }

  .crm-header__login {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 0.85rem !important;
    font-size: 0.8rem !important;
  }

  .crm-header__menu-btn {
    height: 34px;
    padding: 0 0.75rem;
    font-size: 0.8rem;
  }

  .crm-section {
    padding: 3.5rem 0;
  }

  .crm-why__stats {
    grid-template-columns: 1fr;
  }

  .crm-hero__cta .crm-btn {
    width: 100%;
  }
}

/* Kill leftover template banner absolute meta that broke mid widths */
.cusrelma-site .banner-three__meta,
.cusrelma-site .navbar,
.cusrelma-site .navbar-two,
.cusrelma-site .offcanvas-nav {
  display: none !important;
}
