﻿:root {
  --text: #0b1028;
  --muted: #536174;
  --line: rgba(90, 111, 176, .14);
  --blue: #315cf4;
  --purple: #9b3ff0;
  --cyan: #29c7ee;
  --bg: #f8fbff;
  --shadow: 0 24px 62px rgba(47, 68, 126, .1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

.container {
  width: min(1220px, calc(100% - 72px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .86);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(53, 93, 244, .08);
}

h1, h2, h3, p { margin: 0; }

h1 {
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.03em;
}

h1 strong {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .22s ease;
}

.btn.primary {
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 18px 38px rgba(93, 79, 230, .24);
}

.btn.secondary {
  border: 1px solid rgba(49, 92, 244, .2);
  background: #fff;
  color: var(--blue);
}

.btn.light {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 18px 36px rgba(19, 52, 123, .14);
}

.btn:hover { transform: translateY(-2px); }

.integrations-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 4vw, 56px);
  background:
    radial-gradient(circle at 88% 18%, rgba(155, 63, 240, .16), transparent 24%),
    radial-gradient(circle at 12% 0%, rgba(41, 199, 238, .14), transparent 22%),
    linear-gradient(115deg, rgba(255, 255, 255, .98), rgba(244, 248, 255, .96) 54%, rgba(236, 246, 255, .98));
}

.integrations-hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: -10vw;
  width: 34vw;
  height: 34vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 92, 244, .12), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 28px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(244, 248, 255, .88));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .72);
}

.hero-hub {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 264px;
}

.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #4be2ff, #345df4 48%, #692fe0);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 24px 54px rgba(52, 93, 244, .28);
  transform: translate(-50%, -50%);
  animation: hubPulse 4.8s ease-in-out infinite;
}

.hub-orbit {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(52, 93, 244, .16);
  border-radius: 50%;
  animation: spinOrbit 28s linear infinite;
}

.hub-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(47, 68, 126, .12);
  font-size: 11px;
  font-weight: 900;
  color: var(--text);
}

.hub-node:nth-child(2) { left: 50%; top: 0; transform: translateX(-50%); }
.hub-node:nth-child(3) { right: 4%; top: 28%; }
.hub-node:nth-child(4) { right: 8%; bottom: 10%; }
.hub-node:nth-child(5) { left: 8%; bottom: 10%; }
.hub-node:nth-child(6) { left: 4%; top: 28%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.hero-stats article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 34px rgba(47, 68, 126, .06);
}

.hero-stats strong {
  display: block;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.filter-bar {
  position: sticky;
  top: 84px;
  z-index: 20;
  padding: 18px 0;
  background: rgba(248, 251, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-tabs button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: #fff;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.filter-tabs button:hover,
.filter-tabs button.active {
  border-color: rgba(49, 92, 244, .28);
  background: linear-gradient(135deg, rgba(49, 92, 244, .08), rgba(155, 63, 240, .08));
  color: var(--blue);
  transform: translateY(-1px);
}

.integrations-section {
  padding: clamp(48px, 6vw, 72px) 0;
}

.integrations-section.alt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(244, 248, 255, .92));
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.integration-card {
  scroll-margin-top: 120px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 42px rgba(47, 68, 126, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.integration-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 92, 244, .22);
  box-shadow: 0 26px 54px rgba(47, 68, 126, .12);
}

.integration-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.integration-icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: 0 14px 28px rgba(47, 68, 126, .14);
}

.integration-card h3 {
  font-size: 20px;
  font-weight: 900;
}

.integration-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.integration-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(49, 92, 244, .07);
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.integration-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.icon-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.icon-instagram { background: linear-gradient(135deg, #feda75, #d62976 52%, #4f5bd5); }
.icon-mail { background: linear-gradient(135deg, #46daf4, #4365f6); }
.icon-chatbot { background: linear-gradient(135deg, #7c4df0, #a83ff0); }
.icon-ikas { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.icon-hepsiburada { background: linear-gradient(135deg, #ff6000, #ff8a00); }
.icon-n11 { background: linear-gradient(135deg, #7b2cbf, #5a189a); }
.icon-amazon { background: linear-gradient(135deg, #232f3e, #37475a); }
.icon-trendyol { background: linear-gradient(135deg, #f27a1a, #ff671d); }
.icon-ticimax { background: linear-gradient(135deg, #0066cc, #004999); }
.icon-ideasoft { background: linear-gradient(135deg, #00a651, #008c44); }
.icon-tsoft { background: linear-gradient(135deg, #e31937, #b8122f); }
.icon-shopify { background: linear-gradient(135deg, #95bf47, #5e8e3e); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.step-card span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(49, 92, 244, .12), rgba(155, 63, 240, .12));
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 900;
}

.step-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cta {
  padding: clamp(48px, 6vw, 72px) 0 clamp(64px, 7vw, 88px);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 82% 18%, rgba(155, 63, 240, .24), transparent 24%),
    linear-gradient(135deg, #1a2f7a, #243d99 52%, #315cf4);
  color: #fff;
  box-shadow: 0 28px 70px rgba(26, 47, 122, .28);
}

.cta-inner p {
  max-width: 560px;
  margin-top: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 16px;
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@keyframes hubPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -52%) scale(1.04); }
}

@keyframes spinOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 980px) {
  .hero-grid,
  .integration-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(1220px, calc(100% - 32px));
  }
}

@media (max-width: 640px) {
  .container { width: min(1220px, calc(100% - 24px)); }

  .integrations-hero,
  .hero-grid {
    padding-top: 36px;
  }

  .hero-grid,
  .integration-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .filter-bar { top: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
