:root {
  --bg: #ffffff;
  --bg-elevated: #f4f6fa;
  --bg-card: #ffffff;
  --border: rgba(15, 23, 42, 0.1);
  --text: #1a1d2e;
  --text-muted: #5a6278;
  --accent: #0891b2;
  --accent-hover: #06b6d4;
  --accent-dark: #0e7490;
  --accent-glow: rgba(8, 145, 178, 0.28);
  --accent-subtle: rgba(8, 145, 178, 0.1);
  --accent-border: rgba(8, 145, 178, 0.28);
  --heading: #0f172a;
  --shadow: rgba(15, 23, 42, 0.08);
  --shadow-hover: rgba(15, 23, 42, 0.12);
  --max-width: 1200px;
  --header-h: 80px;
  --radius: 12px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 var(--shadow);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px var(--shadow);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__brand {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  background: transparent;
}

.logo__brand--sm {
  height: 34px;
  max-width: 200px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: flex-end;
  min-width: 0;
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__drawer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__cta {
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
}

.nav__links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--heading);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--outline {
  background: var(--bg);
  color: var(--heading);
  border: 1px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--heading);
  transition: var(--transition);
}

.nav.open .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.open .nav__toggle span:nth-child(2) {
  opacity: 0;
}

.nav.open .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  padding-bottom: 3rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--accent-subtle), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(59, 130, 246, 0.05), transparent),
    linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
}

.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--heading), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.15rem;
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.section--alt {
  background: var(--bg-elevated);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section__header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 2px 12px var(--shadow);
  transition: all var(--transition);
}

.product-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px var(--shadow-hover);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  background: var(--accent-subtle);
  border-radius: 10px;
}

.product-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Example sites showcase */
.showcase-sites {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.showcase-site {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: 0 4px 24px var(--shadow);
}

.showcase-site__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.showcase-site__name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.showcase-site__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.45rem 1rem;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.showcase-site__link:hover {
  background: var(--accent-subtle);
  color: var(--accent-dark);
}

.showcase-site__previews {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 280px);
  gap: 1.5rem;
  align-items: start;
}

.showcase-preview figcaption {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.showcase-preview__frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 8px 28px var(--shadow-hover);
}

.showcase-preview__frame img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.showcase-preview__frame--phone {
  max-width: 280px;
  margin-inline: auto;
  border-radius: 24px;
  padding: 0.5rem;
  background: linear-gradient(145deg, #1e293b, #0f172a);
}

.showcase-preview__frame--phone img {
  border-radius: 18px;
}

@media (max-width: 900px) {
  .showcase-site__previews {
    grid-template-columns: 1fr;
  }

  .showcase-preview__frame--phone {
    max-width: 240px;
  }
}

/* Admin panel previews */
.panel-previews {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.section__header--left {
  text-align: left;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.panel-previews__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.panel-preview-card {
  margin: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.panel-preview-card__caption {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.panel-preview-card__caption strong {
  font-size: 0.95rem;
  color: var(--heading);
}

.panel-preview-card__caption span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.panel-preview-card__frame {
  overflow: hidden;
  background: #f1f5f9;
}

.panel-preview-card__frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .panel-previews__grid {
    grid-template-columns: 1fr;
  }

  .panel-previews {
    margin-top: 3rem;
    padding-top: 2rem;
  }
}

/* Platform features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px var(--shadow);
}

.feature-item__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow);
}

.pricing-card--featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-subtle), var(--bg-card));
  position: relative;
}

.pricing-card--featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #ffffff;
  border-radius: 999px;
}

.pricing-card h3 {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.pricing-card .price {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.pricing-commission-link {
  margin-top: 2rem;
  text-align: center;
}

.pricing-commission-link a {
  font-weight: 600;
  color: var(--accent);
}

.pricing-commission-link a:hover {
  color: var(--accent-dark);
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

@media (max-width: 900px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .process {
    grid-template-columns: 1fr;
  }
}

.process-step {
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}

.process-step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  border: 2px solid var(--accent-border);
  border-radius: 50%;
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CTA */
.cta {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
}

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-inline: auto;
}

.cta .btn--primary {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cta .btn--primary:hover {
  background: #f0fdfa;
  color: var(--accent-dark);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-grid > * {
  min-width: 0;
}


.contact-info h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-detail strong {
  color: var(--heading);
  min-width: 80px;
}

.commission-min-note {
  margin: 0.5rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--accent-border);
  border-radius: 8px;
  background: var(--accent-subtle);
  color: var(--heading);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.demo-type-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  font-size: 0.9rem;
  color: var(--text);
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 4px var(--shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.required {
  color: var(--accent);
}

.form-alert {
  padding: 1rem 1.15rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.form-alert--success {
  background: rgba(8, 145, 178, 0.1);
  border: 1px solid var(--accent-border);
  color: var(--accent-dark);
}

.form-alert--error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}

.form-alert--info {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.contact-grid--form {
  grid-template-columns: 1fr 1.4fr;
}

.contract-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 2px 12px var(--shadow);
}

.contract-box h3 {
  margin-bottom: 0.5rem;
  color: var(--heading);
  font-size: 1.1rem;
}

.contract-box p {
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .contact-grid,
  .contact-grid--form {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .demo-type-grid {
    grid-template-columns: 1fr;
  }
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Ülke seçici (bayraklı) */
.country-picker {
  position: relative;
}

.country-picker__native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.country-picker__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  text-align: left;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 4px var(--shadow);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.country-picker__trigger:hover,
.country-picker.open .country-picker__trigger {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.country-picker__trigger.is-invalid {
  border-color: #dc2626;
}

.country-picker__flag {
  width: 1.35rem;
  height: 1rem;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border);
}

.country-picker__flag[hidden] {
  display: none !important;
}

.country-picker__label {
  flex: 1;
  color: var(--text-muted);
}

.country-picker__label.is-selected {
  color: var(--text);
}

.country-picker__chevron {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.country-picker.open .country-picker__chevron {
  transform: rotate(-135deg) translateY(2px);
}

.country-picker__panel {
  position: absolute;
  z-index: 200;
  left: 0;
  right: 0;
  margin-top: 0.35rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 40px var(--shadow-hover);
  overflow: hidden;
}

.country-picker__search {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  border: none;
  border-bottom: 1px solid var(--border);
  outline: none;
}

.country-picker__search:focus {
  background: var(--bg-elevated);
}

.country-picker__list {
  max-height: 240px;
  overflow-y: auto;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
}

.country-picker__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition);
}

.country-picker__option:hover,
.country-picker__option.is-focused {
  background: var(--accent-subtle);
}

.country-picker__option.is-selected {
  background: rgba(8, 145, 178, 0.14);
  font-weight: 600;
}

.country-picker__option .fi {
  width: 1.35rem;
  height: 1rem;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--border);
}

.country-picker__empty {
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.whatsapp-fab {
  background: #25d366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
}

.whatsapp-fab:hover {
  transform: translateY(-2px);
  background: #20bd5a;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.telegram-fab {
  background: #0088cc;
  box-shadow: 0 6px 24px rgba(0, 136, 204, 0.38);
}

.telegram-fab:hover {
  transform: translateY(-2px);
  background: #0077b5;
  box-shadow: 0 8px 28px rgba(0, 136, 204, 0.48);
  color: #fff;
}

.contact-fabs {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}

.messenger-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.05rem;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.messenger-fab__icon {
  display: flex;
  flex-shrink: 0;
}

.messenger-fab__icon svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}

.contact-detail a.contact-link {
  color: var(--accent-dark);
  font-weight: 500;
}

.contact-detail a.contact-link:hover {
  text-decoration: underline;
}

.contact-detail a.contact-link--whatsapp {
  color: #128c7e;
}

.contact-detail a.contact-link--telegram {
  color: #0088cc;
}

/* Dil seçici */
.lang-switcher-host {
  position: relative;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switcher__btn:hover {
  border-color: var(--accent);
  color: var(--heading);
}

.lang-switcher__btn .fi {
  width: 1.1rem;
  height: 0.8rem;
  border-radius: 2px;
}

.lang-switcher__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 1100;
  width: min(280px, 85vw);
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 40px var(--shadow-hover);
}

.lang-switcher__list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lang-switcher__item:hover,
.lang-switcher__item.is-active {
  background: var(--accent-subtle);
}

.lang-switcher__item .fi {
  width: 1.2rem;
  height: 0.9rem;
  border-radius: 2px;
  flex-shrink: 0;
}

html[dir="rtl"] .header__inner,
html[dir="rtl"] .nav,
html[dir="rtl"] .contact-detail,
html[dir="rtl"] .feature-item,
html[dir="rtl"] .country-picker__trigger,
html[dir="rtl"] .country-picker__option,
html[dir="rtl"] .form-row {
  direction: rtl;
}

html[dir="rtl"] .lang-switcher__panel {
  right: auto;
  left: 0;
}

html[dir="rtl"] .pricing-card li,
html[dir="rtl"] .pricing-card li::before {
  text-align: right;
  padding-left: 0;
  padding-right: 1.5rem;
}

html[dir="rtl"] .pricing-card li::before {
  left: auto;
  right: 0;
}

/* ——— Responsive / mobile ——— */
body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .header__inner {
    gap: 0.75rem;
  }

  .logo {
    min-width: 0;
    flex: 1 1 auto;
  }

  .logo__brand {
    height: 34px;
    max-width: min(200px, 48vw);
  }

  .nav {
    flex: 0 0 auto;
    position: static;
  }

  .nav__bar {
    gap: 0.5rem;
  }

  .nav__toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav__drawer {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 1001;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 40px var(--shadow-hover);
    gap: 0;
  }

  .nav.open .nav__drawer {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav__links li {
    border-bottom: 1px solid var(--border);
  }

  .nav__links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    color: var(--heading);
  }

  .nav__cta {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
  }

  .lang-switcher__panel {
    left: auto;
    right: 0;
    width: min(280px, calc(100vw - 1.5rem));
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    gap: 1.25rem 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .section__header {
    margin-bottom: 2.5rem;
  }

  .section__header h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .showcase-site {
    padding: 1.25rem;
  }

  .showcase-site__head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .platform-providers-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .platform-providers-cta .btn {
    width: 100%;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .cta {
    padding: 3rem 1.25rem;
  }

  .contact-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .contact-detail strong {
    min-width: 0;
  }

  .contact-form {
    min-width: 0;
    width: 100%;
  }

  .form-group input,
  .form-group textarea,
  .form-group select,
  .country-picker__trigger {
    font-size: 16px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
  }

  .contact-fabs {
    right: 1rem;
    bottom: 1rem;
  }

  .messenger-fab {
    padding: 0.85rem;
    border-radius: 50%;
  }

  .messenger-fab__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .product-card {
    padding: 1.5rem;
  }

  .showcase-site__previews {
    gap: 1rem;
  }
}

