/* Mesai.pro × Xora — tasarım katmanı (ÖNİZLEME).
 *
 * Kaynak: Xora HTML kiti (MIT, src/sass: helpers/variables, button, features, header, faq, footer).
 * Renk, yüzey, kenarlık, derinlik ve düğme bileşenleri Xora'nın gerçek Sass kodundan çevrildi;
 * marka rengi Cyan → Mavi → İndigo korunur. Bu dosya landing.html'in satır içi CSS'inden SONRA yüklenir
 * ve yalnızca görünümü geçersiz kılar; içerik/SEO/JS değişmez.
 */

:root {
  /* Xora paleti (variables.sass) */
  --x-p1: #2ef2ff;
  --x-p2: #3c52d9;
  --x-p4: #eaedff;
  --x-p5: #c4cbf5;
  --x-s1: #080d27;
  --x-s2: #0c1838;
  --x-s3: #334679;
  --x-s4: #1959ad;
  --x-s5: #263466;
  --x-g4: linear-gradient(#253575, #162561);
  --x-g5: linear-gradient(#334679, #162561);
  --x-g7: linear-gradient(#1b275a, #0e1434);
  --x-g8: linear-gradient(to right, transparent, #2ef2ff, transparent);
  --x-g9: linear-gradient(#080d27, transparent);
  /* Mesai markası */
  --brand: linear-gradient(100deg, #67e8f9, #60a5fa 52%, #818cf8);
  --x-font: "Poppins", "Plus Jakarta Sans", system-ui, sans-serif;

  --bg: #080d27;
  --bg-2: #0c1838;
  --line: rgba(196, 203, 245, 0.14);
  --line-strong: rgba(196, 203, 245, 0.28);
  --text: #eaedff;
  --muted: #b3bbe6;
  --dim: #7f8ab8;
}

html { background: var(--x-s1); }

body,
body.mode-112 {
  background:
    radial-gradient(60rem 38rem at 78% -6%, rgba(60, 82, 217, 0.22), transparent 70%),
    radial-gradient(48rem 30rem at 4% 38%, rgba(25, 89, 173, 0.16), transparent 70%),
    var(--x-s1);
  font-family: var(--x-font);
  letter-spacing: -0.01em;
}

body::before { opacity: 0.12; }

/* ---------- Üst menü (header.sass) ---------- */
.nav {
  top: 12px;
  margin-top: 12px;
  border: 2px solid var(--x-s5);
  border-radius: 24px;
  background: rgba(8, 13, 39, 0.82);
  box-shadow: 0 16px 40px rgba(2, 4, 20, 0.45);
  backdrop-filter: blur(10px);
}

.nav { gap: 14px; }
.nav-links { gap: 2px; }

.nav-links a {
  padding: 8px 8px;
  white-space: nowrap;
  font-family: var(--x-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--x-p4);
}

.nav-links a:hover { color: var(--x-p1); }

.nav-links a.active {
  color: #67e8f9;
  position: relative;
}

.nav-links a.active::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--brand);
}

.mobile-menu {
  border: 2px solid var(--x-s5);
  background: rgba(8, 13, 39, 0.97);
}

/* ---------- Düğmeler (button.sass) ---------- */
.xbtn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  padding: 2px;
  border-radius: 16px;
  background: var(--x-g5);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.25), 0 -14px 48px rgba(40, 51, 111, 0.7);
  color: var(--x-p4);
  transition: transform 0.25s ease;
}

.xbtn:hover { transform: translateY(-2px); }

.xbtn:focus-visible { outline: 3px solid #67e8f9; outline-offset: 3px; }

.xbtn::before,
.xbtn__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.xbtn::before { background: var(--x-g4); }
.xbtn__inner::before { background: linear-gradient(#1b275a, #0e1434); }
.xbtn:hover::before,
.xbtn:hover .xbtn__inner::before { opacity: 1; }

.xbtn::after {
  content: "";
  position: absolute;
  top: calc(50% - 11px);
  left: 0;
  width: 8px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='22'%3E%3Cpath fill='%232ef2ff' d='M2 0H0v4 14 4h2v-5.75l5.14-4.498a1 1 0 0 0 0-1.505L2 5.75V0z'/%3E%3C/svg%3E") no-repeat;
}

.xbtn__inner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 56px;
  justify-content: center;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--x-g4);
}

.xbtn__title {
  position: relative;
  z-index: 2;
  font-family: var(--x-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--x-p4);
  white-space: nowrap;
}

.xbtn__glows::before,
.xbtn__glows::after {
  content: "";
  position: absolute;
  z-index: 4;
  height: 2px;
  background: var(--x-g8);
  opacity: 0;
  transition: left 0.4s, opacity 0.4s;
}

.xbtn__glows::before { top: 0; left: calc(40% - 16px); width: 60%; }
.xbtn__glows::after { bottom: 0; left: 16px; width: 34%; }
.xbtn:hover .xbtn__glows::before,
.xbtn:hover .xbtn__glows::after { opacity: 0.4; }
.xbtn:hover .xbtn__glows::before { left: 16px; }
.xbtn:hover .xbtn__glows::after { left: calc(66% - 16px); }

/* Mevcut ikincil düğmeler aynı dilde (ince kenar, gradyan yüzey) */
.btn {
  border: 2px solid var(--x-s5);
  border-radius: 16px;
  background: linear-gradient(#1b275a, #0e1434);
  color: var(--x-p4);
  font-family: var(--x-font);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn:hover { border-color: var(--x-s3); background: linear-gradient(#253575, #162561); }

.btn-soft { border-radius: 16px; border-color: var(--x-s5); background: linear-gradient(#1b275a, #0e1434); color: var(--x-p4); }

.btn-primary {
  border: 0;
  background: var(--brand);
  color: #06102a;
  box-shadow: 0 12px 30px rgba(60, 82, 217, 0.35);
}

.btn-primary:hover { background: var(--brand); filter: brightness(1.08); }

.nav-actions { gap: 8px; }
.nav-actions .btn { white-space: nowrap; padding: 0 16px; }

/* Menü sığmıyorsa taşma yerine mobil menü: 1280 px altında bağlantılar gizlenir, hamburger açılır */
@media (max-width: 1279px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ---------- Başlıklar ve kicker (caption/typography) ---------- */
.kicker,
.xcap {
  font-family: var(--x-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #67e8f9;
}

.section-title h2,
h2 {
  font-family: var(--x-font);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--x-p4);
}

.section-copy { color: var(--x-p5); font-size: 18px; line-height: 1.7; }

/* ---------- Yüzeyler: panel, kart, ince kenar, derinlik (features.sass) ---------- */
.simple-card,
.showcase-card,
.pilot-card,
.founder-card,
.verification-card,
.faq-item,
.guide-card,
.security-item,
.founder-fact,
.verification-link {
  border: 2px solid var(--x-s3);
  border-radius: 28px;
  background: var(--x-g7);
  box-shadow: 0 18px 40px rgba(2, 4, 20, 0.35);
}

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

.simple-card.featured {
  border-color: #4d6bd8;
  background: linear-gradient(#233478, #101a47);
  box-shadow: 0 24px 60px rgba(60, 82, 217, 0.28);
}

.featured-badge {
  font-family: var(--x-font);
  letter-spacing: 0.08em;
  background: var(--brand);
  color: #06102a;
}

.price-tag { font-family: var(--x-font); color: var(--x-p4); }

.badge,
.tag {
  font-family: var(--x-font);
  border: 1px solid #67e8f9;
  border-radius: 999px;
  background: rgba(46, 242, 255, 0.07);
  color: #67e8f9;
  letter-spacing: 0.1em;
}

.badge.planned { border-color: var(--x-s3); color: var(--x-p5); background: rgba(196, 203, 245, 0.06); }
.badge-dot { background: #67e8f9; }

/* İkon yüzeyi: Xora "features__icon" madalyonu */
.icon-box,
.benefit-icon,
.verification-icon,
.guide-play-icon {
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid var(--x-s2);
  border-radius: 50%;
  background: var(--x-g4);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 0 16px 24px rgba(0, 0, 0, 0.25), inset 0 3px 6px var(--x-s4);
  color: #67e8f9;
}

.benefit-icon { width: 48px; height: 48px; flex: none; }
.benefit-icon svg { stroke: #67e8f9; }

/* ---------- Rehber Merkezi ---------- */
.guide-hub { position: relative; }
.guide-card { overflow: hidden; border-radius: 32px; }
.guide-step { font-family: var(--x-font); color: #67e8f9; letter-spacing: 0.16em; }
.guide-card h3 { font-family: var(--x-font); color: var(--x-p4); }
.guide-desc { color: var(--x-p5); }
.guide-play { box-shadow: 0 12px 30px rgba(60, 82, 217, 0.4); }
.guide-cta.primary { background: var(--brand); color: #06102a; border: 0; border-radius: 16px; font-family: var(--x-font); }

/* ---------- Hero (üçüncü bölüm) ---------- */
.hero h1 {
  font-family: var(--x-font);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--x-p4);
}

.hero .lead { color: var(--x-p5); }
.trust-item { color: var(--x-p5); }
.trust-dot { background: #67e8f9; }

.mockup {
  border: 2px solid var(--x-s3);
  border-radius: 28px;
  background: var(--x-s2);
}

/* ---------- SSS (faq.sass) ---------- */
.faq-item { border-radius: 24px; }
.faq-trigger { font-family: var(--x-font); color: var(--x-p4); font-weight: 600; }
.faq-content { color: var(--x-p5); }
.faq-icon { border-color: var(--x-s3); background: var(--x-g4); color: #67e8f9; }

/* ---------- Bölüm ayırıcı: ince dikey çizgi + logo madalyonu (Xora faq/features) ---------- */
main > section + section { position: relative; }

main > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 56px;
  transform: translateX(-0.5px);
  background: linear-gradient(rgba(196, 203, 245, 0.28), transparent);
  pointer-events: none;
}

/* ---------- Altbilgi (footer.sass) ---------- */
footer {
  border-top: 2px solid var(--x-s5);
  background: var(--x-g7);
}

.footer-nav a { font-family: var(--x-font); font-size: 13px; color: var(--x-p5); }
.footer-nav a:hover { color: #67e8f9; }

/* ========================================================================
 * İlk bölüm: mobil uygulama vitrini (Xora hero düzeni — başlık solda, ürün sağda)
 * ====================================================================== */
#mobile {
  position: relative;
  overflow-x: clip;
  padding: 36px 0 72px;
}

#mobile::before { display: none; }

#mobile .xh-bg {
  position: absolute;
  inset: -40px 0 0 0;
  z-index: 0;
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
  pointer-events: none;
  background:
    radial-gradient(44% 52% at 76% 48%, rgba(60, 82, 217, 0.34), transparent 72%),
    radial-gradient(30% 40% at 92% 80%, rgba(129, 140, 248, 0.2), transparent 72%),
    radial-gradient(28% 34% at 62% 18%, rgba(103, 232, 249, 0.12), transparent 72%);
}

#mobile .xh-outline {
  position: absolute;
  top: 8%;
  right: -14%;
  width: 74%;
  max-width: 980px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.xh-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

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

#mobile .xh-title {
  max-width: 14ch;
  margin: 16px 0 0;
  font-family: var(--x-font);
  font-size: clamp(34px, 9vw, 44px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--x-p4);
}

.xh-lead {
  max-width: 44ch;
  margin: 20px 0 0;
  color: var(--x-p5);
  font-size: 17px;
  line-height: 1.7;
}

.xh-badges { margin-top: 30px; }

.xh-points {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.xh-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  color: var(--x-p4);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

.xh-points li::before { content: none; }

/* Sahne: telefonlar + yatay nöbet listesi (tek bütünlüklü kompozisyon) */
.xh-stage {
  position: relative;
  min-width: 0;
  container-type: inline-size;
}

.xh-phones {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

/* Telefon çerçevesi: tek ince kenar */
.xh-phones .phone {
  position: relative;
  flex: none;
  margin: 0;
  padding: 5px;
  border: 2px solid rgba(196, 203, 245, 0.28);
  border-radius: 34px;
  background: #090e22;
  box-shadow: 0 26px 60px rgba(2, 4, 20, 0.65), 0 0 50px rgba(60, 82, 217, 0.22);
}

.xh-phones .phone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 2400;
  border-radius: 28px;
  background: #070c14;
}

.xh-phones .phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Phones: küçük ekranlarda ana telefon + yan telefonlar yatay kaydırılır */
.xh-phones { flex-direction: column; align-items: center; }
.xh-phones .phone-main { width: min(264px, 72vw); margin-top: 8px; }
.xh-phones .phone-rail {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.xh-phones .phone-rail::-webkit-scrollbar { display: none; }
.xh-phones .phone-rail .phone { width: min(224px, 62vw); scroll-snap-align: center; }
.xh-phones .rail-hint { margin: 12px 0 0; color: var(--x-p5); font-size: 14px; text-align: center; }

@media (min-width: 720px) {
  #mobile { padding: 52px 0 88px; }

  .xh-stage { max-width: 640px; margin-inline: auto; width: 100%; padding: 8px 0 12px; }

  .xh-phones { flex-direction: row; align-items: flex-end; }
  .xh-phones .phone-rail { display: contents; }
  .xh-phones { justify-content: center; align-items: center; }
  .xh-phones .phone { width: 30%; width: 30cqw; }
  .xh-phones .phone-main { order: 2; z-index: 3; width: 38%; width: 38cqw; margin: 0 -3.5cqw; }
  .xh-phones .phone-rail .phone { z-index: 2; width: 30%; width: 30cqw; }
  .xh-phones .phone-rail .phone:first-child { order: 1; transform: translateY(14px) rotate(-3deg); }
  .xh-phones .phone-rail .phone:last-child { order: 3; transform: translateY(14px) rotate(3deg); }
  .xh-phones .rail-hint { display: none; }
}

@media (min-width: 1140px) {
  #mobile { padding: 60px 0 104px; }

  .xh-grid { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: 36px; }
  #mobile .xh-title { font-size: clamp(44px, 4.4vw, 62px); }
  .xh-stage { max-width: none; }
}

/* Hareket azaltma: animasyon yok, içerik hep görünür */
@media (prefers-reduced-motion: reduce) {
  .xbtn,
  .xbtn::before,
  .xbtn__inner::before,
  .xbtn__glows::before,
  .xbtn__glows::after { transition: none; }
}

@media (max-width: 380px) {
  .xh-badges .store-badge img { height: 46px; }
}

/* Fiyat kartları dar ekranda tek sütun (mevcut `.pricing-grid.two-up` kuralı mobilde de iki sütun bırakıyordu) */
@media (max-width: 760px) {
  .pricing-grid.two-up { grid-template-columns: 1fr; }
  .xbtn { max-width: 100%; }
}


/* ========================================================================
 * İkonlu kartlar: "Problem ve pazar" ve "Operasyonel şeffaflık" (numara/çerçeve yok)
 * ====================================================================== */
.xi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.xi-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border: 2px solid var(--x-s3);
  border-radius: 24px;
  background: var(--x-g7);
  box-shadow: 0 14px 34px rgba(2, 4, 20, 0.32);
}

.xi-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--x-s2);
  border-radius: 50%;
  background: var(--x-g4);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25), 0 12px 20px rgba(0, 0, 0, 0.22), inset 0 3px 6px var(--x-s4);
  color: #67e8f9;
}

.xi-icon svg { width: 22px; height: 22px; }

.xi-body { min-width: 0; }

.xi-body h3 {
  margin: 2px 0 6px;
  font-family: var(--x-font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--x-p4);
}

.xi-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--x-p5);
}

#problem .split-panel { margin-top: 20px; }

@media (max-width: 760px) {
  .xi-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .xi-card { padding: 18px; gap: 14px; }
}

/* ========================================================================
 * Gerçek ürün ekranları: büyük ana görsel + iki destekleyici
 * ====================================================================== */
.xs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.xs-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--x-s3);
  border-radius: 28px;
  background: var(--x-g7);
  box-shadow: 0 18px 40px rgba(2, 4, 20, 0.35);
}

.xs-main { grid-column: 1 / -1; }

.xs-shot {
  margin: 0;
  padding: 14px 14px 0;
}

.xs-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(196, 203, 245, 0.2);
  border-radius: 18px;
}

.xs-text { padding: 18px 24px 24px; }

.xs-main .xs-text {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: center;
  padding-top: 20px;
}

.xs-main .xs-text .badge { grid-row: 1 / span 2; align-self: start; margin-top: 4px; }
.xs-main .xs-text h3 { margin: 0; }
.xs-main .xs-text p { margin: 4px 0 0; grid-column: 2; }

.xs-text h3 {
  margin: 0 0 6px;
  font-family: var(--x-font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--x-p4);
}

.xs-text p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--x-p5); }

@media (max-width: 760px) {
  .xs-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .xs-shot { padding: 10px 10px 0; }
  .xs-text, .xs-main .xs-text { display: block; padding: 16px 18px 20px; }
  .xs-main .xs-text .badge { margin: 0 0 10px; }
}
