/**
 * Açılış ekranı (giriş sonrası) — geniş, iki sütunlu panel düzeni.
 * Tüm temalardan sonra yüklenir; özgüllük bilerek yüksek tutuldu.
 * Geri alma: index.html'den bu dosyanın <link> satırını kaldırın.
 */

/* Ortadaki dar (≈960px) içerik kabuğu açılış ekranında tam genişliğe çıkar */
html body .shell.app-content-shell:has(> #view_launch:not(.hidden)) {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #view_launch.launch-view {
  min-height: 100dvh;
  display: block;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #eef2f6 0%, #e6ebf1 100%);
}

html body #view_launch.launch-view .launch-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
}

html body #view_launch.launch-view .launch-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* —— Üst bant —— */
html body #view_launch.launch-view .launch-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3.5vw, 2.25rem);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 60% 120% at 100% 0%, rgba(86, 160, 120, 0.22), transparent 60%),
    linear-gradient(135deg, #1d3049 0%, #2c4a6e 100%);
  box-shadow: 0 10px 30px rgba(29, 48, 73, 0.22);
  color: #fff;
}

html body #view_launch.launch-view .launch-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

html body #view_launch.launch-view .launch-logo {
  width: auto;
  height: auto;
  max-width: 11rem;
  max-height: 3.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
}

/* Platform dışı (kare uygulama simgesi) için beyaz karo */
html body #view_launch.launch-view .launch-logo[src*="cerceve-atolyesi-app-logo"] {
  width: 4.25rem;
  height: 4.25rem;
  max-width: none;
  max-height: none;
  padding: 0.35rem;
  border-radius: 14px;
  background: #fff;
}

html body #view_launch.launch-view .launch-brand-text {
  max-width: none;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

html body #view_launch.launch-view .launch-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

html body #view_launch.launch-view .launch-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

html body #view_launch.launch-view .launch-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
}

html body #view_launch.launch-view .launch-actions {
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
  margin: 0;
}

html body #view_launch.launch-view .launch-btn {
  width: auto;
  min-width: 13rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
}

html body #view_launch.launch-view .launch-btn-primary {
  border: 0;
  background: #fff;
  color: #1d3049;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

html body #view_launch.launch-view .launch-btn-primary::after {
  content: " →";
}

html body #view_launch.launch-view .launch-btn-primary:hover {
  background: #f1f5f9;
}

html body #view_launch.launch-view .launch-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  box-shadow: none;
}

/* —— Abonelik uyarısı —— */
html body #view_launch.launch-view .platform-trial-banner {
  margin: 0 0 1.25rem;
}

/* —— İki sütun —— */
html body #view_launch.launch-view .launch-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

html body #view_launch.launch-view .launch-manual {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid #dde4ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(29, 48, 73, 0.05);
  text-align: left;
}

html body #view_launch.launch-view .launch-section-head {
  margin-bottom: 1.1rem;
}

html body #view_launch.launch-view .launch-manual-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #1d3049;
}

html body #view_launch.launch-view .launch-manual-lead {
  margin: 0.3rem 0 0;
  font-size: 0.875rem;
  color: #64748b;
}

html body #view_launch.launch-view .launch-popup-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

html body #view_launch.launch-view .launch-popup-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.8rem;
  row-gap: 0.15rem;
  align-items: center;
  align-content: start;
  min-height: 7.25rem;
  padding: 1rem;
  border: 1px solid #dde4ec;
  border-radius: 12px;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

html body #view_launch.launch-view .launch-popup-card:hover {
  transform: translateY(-2px);
  border-color: #4f7aa8;
  background: #fff;
  box-shadow: 0 8px 20px rgba(29, 48, 73, 0.1);
}

html body #view_launch.launch-view .launch-popup-card:focus-visible {
  outline: 2px solid #4f7aa8;
  outline-offset: 2px;
}

/* Şirket bilgileri: tam genişlik, ilk adım */
html body #view_launch.launch-view .launch-popup-card[data-launch-modal="company"] {
  grid-column: 1 / -1;
  min-height: 5.5rem;
  border-color: #b9cbe0;
  background: linear-gradient(135deg, #f1f6fb 0%, #fff 100%);
}

html body #view_launch.launch-view .launch-popup-card[data-launch-modal="pricing"],
html body #view_launch.launch-view .launch-popup-card[data-launch-modal="templates"] {
  grid-column: auto;
}

html body #view_launch.launch-view .launch-popup-icon {
  grid-row: 1 / span 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #e3ecf6 !important;
  color: #2c4a6e !important;
}

html body #view_launch.launch-view .launch-popup-title {
  grid-column: 2;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1d3049;
}

html body #view_launch.launch-view .launch-popup-meta {
  grid-column: 2;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4f7aa8;
}

html body #view_launch.launch-view .launch-popup-desc {
  grid-column: 2;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #64748b;
}

/* —— Sağ sütun —— */
html body #view_launch.launch-view .launch-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html body #view_launch.launch-view .launch-first-tips {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid #cfdcec;
  border-radius: 16px;
  background: #f1f6fb;
  text-align: left;
}

html body #view_launch.launch-view .launch-first-tips-title,
html body #view_launch.launch-view .launch-help-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1d3049;
}

html body #view_launch.launch-view .launch-first-tips-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

html body #view_launch.launch-view .launch-first-tips-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #334155;
}

html body #view_launch.launch-view .launch-first-tips-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #2c4a6e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
}

html body #view_launch.launch-view .launch-first-tips-foot {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

html body #view_launch.launch-view .launch-help {
  padding: 1.1rem 1.35rem;
  border: 1px solid #dde4ec;
  border-radius: 16px;
  background: #fff;
}

html body #view_launch.launch-view .launch-help-title {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

html body #view_launch.launch-view .launch-help-text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #64748b;
}

html body #view_launch.launch-view .launch-hint {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: left;
}

/* —— Dar ekranlar —— */
@media (max-width: 960px) {
  html body #view_launch.launch-view .launch-grid {
    grid-template-columns: 1fr;
  }

  html body #view_launch.launch-view .launch-popup-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  html body #view_launch.launch-view .launch-hero {
    flex-direction: column;
    align-items: stretch;
  }

  html body #view_launch.launch-view .launch-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  html body #view_launch.launch-view .launch-brand-text {
    padding-left: 0;
    border-left: 0;
  }

  html body #view_launch.launch-view .launch-btn {
    width: 100%;
  }

  html body #view_launch.launch-view .launch-popup-cards {
    grid-template-columns: 1fr;
  }

  html body #view_launch.launch-view .launch-popup-card {
    min-height: 0;
  }
}
