/**
 * Bexgram — WhatsApp Web 2026 Tasarım Dili Karşılama (Landing) Stilleri
 * Referans: whatsapp.com — Sade, ferah, yuvarlak hatlar, akışkan tipografi
 */

/* ============================================================
   1. TEMA DEĞİŞKENLERİ VE TOKENS
   ============================================================ */
:root,
html[data-theme="light"],
html.light {
  --bex-bg: #fcfaf6;
  --bex-bg-warm: #f7f3ec;
  --bex-surface: var(--color-bg-light);
  --bex-surface-muted: #f4efe6;
  --bex-surface-hover: #ece6dc;
  --bex-text: var(--color-bg-dark);
  --bex-text-secondary: #4a5c54;
  --bex-text-muted: #667781;
  --bex-border: rgba(17, 27, 33, 0.08);
  --bex-border-strong: rgba(17, 27, 33, 0.14);

  /* WhatsApp Marka Yeşili */
  --bex-green: #00a884;
  --bex-green-hover: #02906f;
  --bex-green-active: #01785c;
  --bex-green-subtle: rgba(0, 168, 132, 0.1);
  --bex-green-badge: #e7f8f4;

  /* Hero Özel Renkleri */
  --bex-hero-bg: #0f3e35;
  --bex-hero-bg-dark: #0a2923;
  --bex-hero-card: #12473c;
  --bex-hero-text: var(--color-bg-light);
  --bex-hero-muted: #b8ded5;
  --bex-hero-cta-bg: #25d366;
  --bex-hero-cta-hover: #20bd5a;
  --bex-hero-cta-text: #0b2f27;

  /* Sohbet Balonları */
  --bex-bubble-in: var(--color-bg-light);
  --bex-bubble-in-text: var(--color-bg-dark);
  --bex-bubble-out: #d9fdd3;
  --bex-bubble-out-text: var(--color-bg-dark);
  --bex-bubble-time: #667781;
  --bex-tick-color: #53bdeb;

  --bex-radius-sm: 10px;
  --bex-radius-md: 18px;
  --bex-radius-lg: 28px;
  --bex-radius-xl: 36px;
  --bex-radius-full: 9999px;

  --bex-shadow-sm: 0 2px 6px rgba(17, 27, 33, 0.04);
  --bex-shadow-md: 0 10px 30px rgba(17, 27, 33, 0.08);
  --bex-shadow-lg: 0 20px 50px rgba(17, 27, 33, 0.12);
  --bex-shadow-hero: 0 24px 64px -12px rgba(10, 41, 35, 0.35);
}

html[data-theme="dark"],
html.dark {
  --bex-bg: #0c1317;
  --bex-bg-warm: var(--color-bg-dark);
  --bex-surface: var(--color-bg-dark);
  --bex-surface-muted: #1c272e;
  --bex-surface-hover: #233138;
  --bex-text: #e9edef;
  --bex-text-secondary: #aebac1;
  --bex-text-muted: #8696a0;
  --bex-border: rgba(255, 255, 255, 0.08);
  --bex-border-strong: rgba(255, 255, 255, 0.14);

  --bex-green: #00a884;
  --bex-green-hover: #02906f;
  --bex-green-active: #01785c;
  --bex-green-subtle: rgba(0, 168, 132, 0.18);
  --bex-green-badge: rgba(0, 168, 132, 0.2);

  --bex-hero-bg: #102d26;
  --bex-hero-bg-dark: #071915;
  --bex-hero-card: #153b32;
  --bex-hero-text: var(--color-bg-light);
  --bex-hero-muted: #a6d4ca;
  --bex-hero-cta-bg: #25d366;
  --bex-hero-cta-hover: #20bd5a;
  --bex-hero-cta-text: #071915;

  --bex-bubble-in: #202c33;
  --bex-bubble-in-text: #e9edef;
  --bex-bubble-out: #005c4b;
  --bex-bubble-out-text: #e9edef;
  --bex-bubble-time: #8696a0;
  --bex-tick-color: #53bdeb;

  --bex-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --bex-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
  --bex-shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --bex-shadow-hero: 0 24px 64px -12px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   2. GENEL SIFIRLAMA & TABAN
   ============================================================ */
body.bex-landing-body {
  margin: 0;
  padding: 0;
  background-color: var(--bex-bg);
  color: var(--bex-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.bex-land-shell {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .bex-land-shell {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Erişilebilir Atlama Bağlantısı */
.bex-skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--bex-green);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--bex-radius-sm);
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s ease;
}
.bex-skip-link:focus {
  top: 16px;
}

/* ============================================================
   3. ÜST MENÜ (HEADER)
   ============================================================ */
.bex-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(252, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bex-border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
html.dark .bex-header {
  background-color: rgba(12, 19, 23, 0.92);
}

.bex-header-inner {
height: 64px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
}

@media (min-width: 1024px) {
.bex-header-inner {
height: 72px;
}
}

/* Logo */
.bex-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--bex-text);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  transition: opacity 0.15s ease;
}
.bex-brand:hover {
  opacity: 0.92;
}
.bex-brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 9px;
  display: block;
}

/* Masaüstü Nav */
.bex-nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}
@media (min-width: 960px) {
  .bex-nav-desktop {
    display: flex;
  }
}

.bex-nav-item {
  color: var(--bex-text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--bex-radius-full);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.bex-nav-item:hover {
  color: var(--bex-text);
  background-color: var(--bex-surface-muted);
}
.bex-nav-item.active {
  color: var(--bex-green);
  background-color: var(--bex-green-subtle);
}

/* Header Aksiyon Butonları */
.bex-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--bex-radius-full);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-sizing: border-box;
}
.bex-btn:focus-visible {
  outline: 3px solid var(--bex-green);
  outline-offset: 2px;
}
.bex-btn:active {
  transform: scale(0.97);
}

/* Birincil Buton (Yeşil) */
.bex-btn-primary {
  background-color: var(--bex-green);
  color: var(--color-bg-light) !important;
  box-shadow: 0 3px 12px rgba(0, 168, 132, 0.28);
}
.bex-btn-primary:hover {
  background-color: var(--bex-green-hover);
  box-shadow: 0 6px 18px rgba(0, 168, 132, 0.36);
  transform: translateY(-1px);
}

/* İkincil / Çerçeveli Buton */
.bex-btn-outline {
  background-color: transparent;
  color: var(--bex-text) !important;
  border-color: var(--bex-border-strong);
}
.bex-btn-outline:hover {
  background-color: var(--bex-surface-muted);
  border-color: var(--bex-text);
}

/* Hero İkincil Buton (Hero içinde açık ton) */
.bex-btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-bg-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.bex-btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: var(--color-bg-light);
  transform: translateY(-1px);
}

/* Hero Birincil Buton (Canlı Yeşil) */
.bex-btn-hero-primary {
  background-color: var(--bex-hero-cta-bg);
  color: var(--bex-hero-cta-text) !important;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}
.bex-btn-hero-primary:hover {
  background-color: var(--bex-hero-cta-hover);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
}

/* Küçük İkon Butonları (Tema & Mobil Menü) */
.bex-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--bex-radius-full);
  border: 1px solid var(--bex-border);
  background-color: var(--bex-surface);
  color: var(--bex-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bex-icon-btn:hover {
  background-color: var(--bex-surface-hover);
  border-color: var(--bex-border-strong);
}
.bex-icon-btn:focus-visible {
  outline: 2px solid var(--bex-green);
  outline-offset: 2px;
}

/* ============================================================
   4. DİL SEÇİCİ (DROPDOWN)
   ============================================================ */
.bex-lang-dropdown {
  position: relative;
}
.bex-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--bex-radius-full);
  border: 1px solid var(--bex-border);
  background: var(--bex-surface);
  color: var(--bex-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.bex-lang-trigger:hover {
  background-color: var(--bex-surface-hover);
}
.bex-lang-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bex-surface);
  border: 1px solid var(--bex-border-strong);
  border-radius: var(--bex-radius-md);
  box-shadow: var(--bex-shadow-md);
  padding: 6px;
  display: none;
  z-index: 200;
}
.bex-lang-popover.is-open {
  display: block;
  animation: bexPopIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.bex-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--bex-radius-sm);
  color: var(--bex-text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: background-color 0.12s ease;
}
.bex-lang-item:hover {
  background-color: var(--bex-surface-muted);
}
.bex-lang-item.selected {
  font-weight: 700;
  color: var(--bex-green);
  background-color: var(--bex-green-subtle);
}

@keyframes bexPopIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   5. MOBİL MENÜ ÇEKMECESİ (DRAWER)
   ============================================================ */
.bex-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}
.bex-mobile-drawer.is-open {
  display: flex;
}
.bex-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 25, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.bex-mobile-drawer.is-open .bex-mobile-backdrop {
  opacity: 1;
}
.bex-mobile-panel {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  height: 100%;
  background: var(--bex-surface);
  box-shadow: var(--bex-shadow-lg);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-sizing: border-box;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.bex-mobile-drawer.is-open .bex-mobile-panel {
  transform: translateX(0);
}
.bex-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bex-border);
}
.bex-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
}
.bex-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: var(--bex-radius-sm);
  color: var(--bex-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.15s ease;
}
.bex-mobile-link:hover, .bex-mobile-link:active {
  background-color: var(--bex-surface-muted);
}
.bex-mobile-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--bex-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   6. HERO ALANI (ANA KARŞILAMA KARTI)
   ============================================================ */
.bex-hero-wrapper {
  padding-top: 16px;
  padding-bottom: 32px;
}

@media (min-width: 768px) {
  .bex-hero-wrapper {
    padding-top: 24px;
    padding-bottom: 48px;
  }
}

.bex-hero-card {
  position: relative;
  background: radial-gradient(circle at 85% 20%, #154c41 0%, var(--bex-hero-bg) 55%, var(--bex-hero-bg-dark) 100%);
  border-radius: var(--bex-radius-lg);
  overflow: hidden;
  box-shadow: var(--bex-shadow-hero);
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .bex-hero-card {
    border-radius: var(--bex-radius-xl);
    min-height: 640px;
    max-height: 720px;
    display: grid;
    grid-template-columns: 1.05fr 1.15fr;
  }
}

/* Sol İçerik Bölgesi */
.bex-hero-content {
  position: relative;
  z-index: 5;
  padding: 36px 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-bg-light);
}

@media (min-width: 640px) {
  .bex-hero-content {
    padding: 48px 36px 36px;
  }
}

@media (min-width: 1024px) {
  .bex-hero-content {
    padding: 60px 48px 60px 56px;
  }
}

.bex-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bex-hero-cta-bg);
  background: rgba(37, 211, 102, 0.14);
  padding: 6px 14px;
  border-radius: var(--bex-radius-full);
  margin-bottom: 20px;
  width: fit-content;
}

.bex-hero-title {
margin: 0 0 20px 0;
font-size: clamp(30px, 5vw, 56px);
font-weight: 800;
line-height: 1.08;
letter-spacing: -0.035em;
color: var(--color-bg-light);
text-wrap: balance;
}

.bex-hero-desc {
margin: 0 0 32px 0;
font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--bex-hero-muted);
  max-width: 480px;
  font-weight: 400;
}

.bex-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.bex-hero-actions .bex-btn {
  padding: 14px 28px;
  font-size: 16px;
}

.bex-hero-trust {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--bex-hero-muted);
  font-size: 13px;
}

/* Sağ Görsel & Balonlar Bölgesi */
.bex-hero-visual {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .bex-hero-visual {
    min-height: 100%;
  }
}

.bex-hero-img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.92;
  filter: saturate(1.05) brightness(0.96);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Yumuşak Karartma ve Okuma Gradyanı */
.bex-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 41, 35, 0.85) 0%, rgba(10, 41, 35, 0.25) 50%, rgba(10, 41, 35, 0.4) 100%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .bex-hero-scrim {
    background: linear-gradient(to right, rgba(10, 41, 35, 0.85) 0%, rgba(10, 41, 35, 0.2) 40%, rgba(10, 41, 35, 0.45) 100%);
  }
}

/* ============================================================
   7. GÖRSEL ÜZERİNDEKİ SOHBET BALONLARI KOMPOZİSYONU
   ============================================================ */
.bex-chat-stage {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px auto;
}

@media (min-width: 1024px) {
  .bex-chat-stage {
    margin: 0;
    max-width: 420px;
    transform: translateY(10px);
  }
}

/* Sohbet Başlık Barı (Kartı) */
.bex-bubble-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--bex-radius-full);
  background: rgba(17, 27, 33, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--color-bg-light);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: bexBubbleFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.bex-bubble-group-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bex-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.bex-bubble-group-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.bex-bubble-group-title {
  font-size: 14px;
  font-weight: 700;
}

.bex-bubble-group-sub {
  font-size: 11px;
  color: #25d366;
}

/* Tekil Balonlar */
.bex-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: bexBubbleFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.bex-bubble-row.in {
  justify-content: flex-start;
}
.bex-bubble-row.out {
  justify-content: flex-end;
}

.bex-bubble-row:nth-child(2) { animation-delay: 0.12s; }
.bex-bubble-row:nth-child(3) { animation-delay: 0.24s; }
.bex-bubble-row:nth-child(4) { animation-delay: 0.36s; }

.bex-bubble-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.bex-bubble {
  position: relative;
  max-width: 82%;
  padding: 10px 14px 8px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.38;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  word-break: break-word;
}

/* Gelen Mesaj (Beyaz) */
.bex-bubble.in {
  background-color: var(--bex-bubble-in);
  color: var(--bex-bubble-in-text);
  border-bottom-left-radius: 4px;
}

/* Giden Mesaj (WhatsApp Açık Yeşili) */
.bex-bubble.out {
  background-color: var(--bex-bubble-out);
  color: var(--bex-bubble-out-text);
  border-bottom-right-radius: 4px;
}

.bex-bubble-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  float: right;
  margin-left: 10px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--bex-bubble-time);
}

.bex-bubble-tick {
  color: var(--bex-tick-color);
  display: inline-flex;
}

/* Emoji Reaksiyon Rozeti */
.bex-bubble-reaction {
  position: absolute;
  bottom: -9px;
  right: 12px;
  background: var(--color-bg-light);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1px 6px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  color: var(--color-bg-dark);
}
html.dark .bex-bubble-reaction {
  background: #202c33;
  color: #e9edef;
  border-color: rgba(255, 255, 255, 0.1);
}

.bex-bubble-preview-note {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

@keyframes bexBubbleFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bex-bubble-header,
  .bex-bubble-row {
    animation: none !important;
  }
}

/* ============================================================
   8. ALT TANITIM BÖLÜMLERİ (FEATURES)
   ============================================================ */
.bex-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 1024px) {
  .bex-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.bex-section-header {
  max-width: 680px;
  margin-bottom: 48px;
}
.bex-section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bex-section-kicker {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bex-green);
  margin-bottom: 12px;
  display: block;
}

.bex-section-title {
margin: 0 0 16px 0;
font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--bex-text);
}

.bex-section-desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bex-text-muted);
}

/* Dönüşümlü 2 Kolon Grid */
.bex-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .bex-split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .bex-split-grid.reverse > :first-child {
    order: 2;
  }
  .bex-split-grid.reverse > :last-child {
    order: 1;
  }
}

.bex-feature-card {
  background: var(--bex-surface);
  border: 1px solid var(--bex-border);
  border-radius: var(--bex-radius-lg);
  padding: 32px;
  box-shadow: var(--bex-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bex-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bex-shadow-md);
}

.bex-feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--bex-radius-md);
  background: var(--bex-green-subtle);
  color: var(--bex-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bex-feature-card-title {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--bex-text);
}

.bex-feature-card-desc {
  margin: 0;
  font-size: 15px;
  color: var(--bex-text-muted);
  line-height: 1.55;
}

/* 3'lü Özellik Izgarası */
.bex-tri-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .bex-tri-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   9. PLATFORM VE İNDİRME ALANI
   ============================================================ */
.bex-download-section {
  background: var(--bex-bg-warm);
  border-top: 1px solid var(--bex-border);
  border-bottom: 1px solid var(--bex-border);
}

.bex-platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .bex-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bex-platform-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bex-platform-card {
  background: var(--bex-surface);
  border: 1px solid var(--bex-border);
  border-radius: var(--bex-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--bex-text);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--bex-shadow-sm);
}
.bex-platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--bex-green);
  box-shadow: var(--bex-shadow-md);
}

.bex-platform-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bex-platform-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bex-surface-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bex-text);
}

.bex-platform-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--bex-radius-full);
  background: var(--bex-green-badge);
  color: var(--bex-green);
}

.bex-platform-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.bex-platform-note {
  font-size: 13px;
  color: var(--bex-text-muted);
  margin: 0 0 18px 0;
}

.bex-platform-btn {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bex-green);
}

/* ============================================================
   10. SON ÇAĞRI (CALL TO ACTION KUTUSU)
   ============================================================ */
.bex-cta-box {
  background: radial-gradient(circle at 70% 30%, #154c41 0%, var(--bex-hero-bg) 60%, var(--bex-hero-bg-dark) 100%);
  border-radius: var(--bex-radius-lg);
  padding: 48px 24px;
  text-align: center;
  color: var(--color-bg-light);
  box-shadow: var(--bex-shadow-hero);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .bex-cta-box {
    border-radius: var(--bex-radius-xl);
    padding: 64px 48px;
  }
}

.bex-cta-title {
margin: 0 0 16px 0;
font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.bex-cta-desc {
  margin: 0 auto 32px auto;
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--bex-hero-muted);
  max-width: 540px;
}

.bex-cta-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 14px;
}

@media (min-width: 1024px) {
.bex-hero-actions .bex-btn,
.bex-cta-actions .bex-btn {
max-width: 360px;
}
}

/* ============================================================
   11. ALT BİLGİ (FOOTER)
   ============================================================ */
.bex-footer {
  background-color: var(--bex-surface);
  border-top: 1px solid var(--bex-border);
  padding-top: 64px;
  padding-bottom: 40px;
  color: var(--bex-text);
}

.bex-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .bex-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .bex-footer-grid {
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

.bex-footer-col-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bex-text);
  margin-bottom: 18px;
}

.bex-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bex-footer-link {
  color: var(--bex-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.bex-footer-link:hover {
  color: var(--bex-green);
}

.bex-footer-bottom {
  border-top: 1px solid var(--bex-border);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--bex-text-muted);
}

@media (min-width: 768px) {
  .bex-footer-bottom {
    flex-direction: row;
  }
}

/* ============================================================
   12. HIZLI GİRİŞ MODALI / PANELİ
   ============================================================ */
.bex-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.bex-modal.is-open {
  display: flex;
}
.bex-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 25, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.bex-modal-dialog.is-qr-mode {
  max-width: 680px;
}
.bex-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: var(--bex-surface);
  border: 1px solid var(--bex-border-strong);
  border-radius: var(--bex-radius-lg);
  box-shadow: var(--bex-shadow-lg);
  padding: 28px;
  box-sizing: border-box;
  animation: bexModalIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bexModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.bex-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.bex-modal-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--bex-text);
}
.bex-modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--bex-text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.bex-modal-close:hover {
  background: var(--bex-surface-muted);
  color: var(--bex-text);
}

/* ============================================================
   13. EKSTRA DAR MOBİL EKRANLAR (<= 375px)
   ============================================================ */
@media (max-width: 375px) {
  .bex-land-shell {
    padding-left: 14px;
    padding-right: 14px;
  }
  .bex-hero-card {
    border-radius: 22px;
  }
  .bex-hero-content {
    padding: 28px 16px 20px;
  }
  .bex-hero-title {
  font-size: 30px;
  }
  .bex-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .bex-hero-actions .bex-btn {
    width: 100%;
  }
  .bex-chat-stage {
    width: 95%;
  }
  .bex-bubble {
    font-size: 13px;
    padding: 8px 12px 6px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   BEXGRAM — Instagram Script Wordmark Typography
   ══════════════════════════════════════════════════════════════════ */
.bex-brand-name,
body.bex-wa .wa-brand span,
.bex-brand-title,
.bex-logo-script,
.bex-auth-brand-name,
#wa-rail .bex-brand-name {
font-family: 'Grand Hotel', -apple-system, BlinkMacSystemFont, 'Segoe UI', cursive, sans-serif;
font-size: clamp(18px, 5.2vw, 22px);
font-weight: 400;
font-style: normal;
letter-spacing: 0.5px;
line-height: 1;
text-transform: none;
display: inline-block;
transform: rotate(-1deg);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body.bex-wa .wa-brand span::after {
content: none;
}
@media (min-width: 1024px) {
.bex-brand-name,
body.bex-wa .wa-brand span,
.bex-brand-title,
.bex-logo-script,
.bex-auth-brand-name,
#wa-rail .bex-brand-name {
font-size: 23px;
}
}
