/* ---------- Variables & base ---------- */
:root {
  /* Nextmove Dark Theme Palette */
  --bg: #050505;
  /* Very deep black/gray */
  --panel: #0A0A0A;
  /* Slightly lighter for sidebar */
  --card: #111111;
  /* Card background */
  --muted: #888888;
  --text: #eef2f8;

  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);

  --radius: 24px;
  /* More rounded corners as per image */

  --accent-pink: #ff007f;
  --accent-glow: rgba(255, 0, 127, 0.4);

  --shadow-1: 0 4px 12px rgba(0, 0, 0, 0.8);
  --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.5);

  --transition: 320ms cubic-bezier(.2, .9, .2, 1);
  --input-bg: rgba(0, 0, 0, 0.2);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Premium Metallic Text Effect */
h1,
h2,
.brand-text .site,
.nav-item.active .label {
  background: linear-gradient(180deg, #FFFFFF 20%, #B0B0B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] .brand-text .site,
:root[data-theme="light"] .nav-item.active .label {
  background: linear-gradient(180deg, #2c3e50 0%, #000000 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* Light theme removed or adjusted to keep dark mode primary as per request */
:root[data-theme="light"] {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --card: #f9fbff;
  --muted: #56606a;
  --text: #0b1115;
  --glass: rgba(0, 0, 0, 0.03);
  --glass-border: 1px solid rgba(0, 0, 0, 0.05);
  --accent-pink: #00b3b3;
  /* Fallback for light mode */
  --accent-glow: rgba(0, 179, 179, 0.4);
  --input-bg: #f8fafc;
  /* Light gray to match textarea */
}

/* base */
* {
  box-sizing: border-box
}

html {
  height: 100%;
  background: var(--bg);
  transition: background var(--transition);
}

body {
  height: 100%;
  background: transparent;
}

/* Floating Shapes Animation */
.floating-shapes-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.03;
  /* Very faint */
  background: var(--text);
  animation: floatUp linear infinite;
}

.shape.circle {
  border-radius: 50%;
}

.shape.triangle {
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: var(--text);
  /* Ensure background is set for clip-path to work */
}

.shape.square {
  border-radius: 4px;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.03;
  }

  90% {
    opacity: 0.03;
  }

  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}

body {
  margin: 0;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* app layout */
.app {
  display: flex;
  height: 100vh;
  align-items: stretch;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px;
  max-width: 100%;
}

/* sidebar */
.sidebar {
  width: 280px;
  min-width: 260px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--panel);
  border: none;
  /* Removed border for cleaner look */
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* Increased gap */
  position: relative;
  overflow: hidden;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text .site {
  font-weight: 700
}

.brand-text .small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px
}

/* nav */
.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  cursor: pointer;
  transition: all .2s ease-out;
  position: relative;
  z-index: 2;
  font-size: 15px;
}

.nav-item .ico {
  width: 24px;
  text-align: center;
  font-size: 18px;
}

.nav-item .label {
  flex: 1;
  text-align: left;
}

.nav-item:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

/* Active Menu Style - Nextmove Replica */
.nav-item.active {
  color: var(--text);
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 0, 127, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset -2px 0 10px rgba(255, 0, 127, 0.1);
  position: relative;
  overflow: hidden;
}

/* Aurora Background Animation REMOVED per user request */

/* The pink glow bar on the right */
.nav-item.active::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: var(--accent-pink);
  border-radius: 4px 0 0 4px;
  box-shadow: -2px 0 12px var(--accent-pink);
}

:root[data-theme="light"] .nav-item.active {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.02), rgba(0, 179, 179, 0.1));
}

:root[data-theme="light"] .nav-item.active::after {
  background: var(--accent-pink);
  /* Actually turquoise in light mode var */
}

/* sidebar footer */
.sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  color: var(--muted);
  border-top: var(--glass-border);
}

/* main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  background: transparent;
  border-radius: 12px
}

.top-left h1 {
  margin: 0;
  font-size: 18px
}

.subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px
}

/* theme btn */
.theme-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-1);
  transition: transform .25s
}

.theme-btn:hover {
  transform: translateY(-2px) scale(1.03)
}

/* content */
.content {
  padding: 10px 26px 26px;
  min-height: 0;
  overflow: auto
}

.section {
  display: none
}

.section.active-section {
  display: block
}

/* panels */
.panel {
  background: var(--panel);
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  border: var(--glass-border);
}

.main-panel {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 18px
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px
}

.field label {
  font-weight: 700
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--input-bg) !important;
  /* Force consistent background */
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: all .2s;
  outline: none;
  font-family: inherit;
  -webkit-appearance: none;
  /* Remove browser defaults */
  -moz-appearance: none;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  background: var(--input-bg) !important;
  /* Ensure textarea matches */
}

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

.help {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 20px;
  /* Kullanıcının istediği boşluk */
}

/* groups */
.groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px
}

.group-row {
  display: flex;
  gap: 8px;
  align-items: flex-end
}

.group-row input {
  padding: 10px;
  border-radius: 8px;
  border: var(--glass-border);
  background: var(--input-bg);
  color: var(--text);
  width: 100%;
}

.group-row .small-btn {
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  cursor: pointer;
  transition: background .2s
}

.group-row .small-btn:hover {
  background: rgba(255, 82, 82, 0.1);
  color: #ff7b7b;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.input-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  margin-left: 2px;
}

/* buttons */
.btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.btn-primary {
  background: var(--accent-pink);
  color: white;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--glass);
  border: var(--glass-border);
  color: var(--text)
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px dashed rgba(255, 255, 255, 0.06)
}

.planner-page .content {
  padding-top: 4px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 0, 127, 0.12);
  color: var(--accent-pink);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-note {
  color: var(--muted);
  line-height: 1.7;
}

.planner-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 0, 127, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    var(--panel);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy h2,
.wizard-card h2,
.results-toolbar h2,
.panel h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  line-height: 1.1;
}

.hero-aside,
.wizard-sidebar-stack {
  display: grid;
  gap: 14px;
}

.planner-stat-card,
.planner-mini-item,
.metric-card,
.faq-item,
.plan-preview-shell {
  border: var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 18px;
}

.planner-stat-card {
  padding: 18px;
  box-shadow: var(--shadow-1);
}

.planner-stat-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.planner-stat-value {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.planner-mini-list {
  display: grid;
  gap: 12px;
}

.planner-mini-item {
  padding: 16px;
}

.planner-mini-item strong {
  display: block;
  margin-bottom: 6px;
}

.planner-mini-item span,
.small-note {
  color: var(--muted);
  line-height: 1.6;
}

.planner-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.planner-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: var(--glass-border);
  font-size: 14px;
}

.wizard-shell {
  margin-top: 18px;
}

.wizard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 320px;
  gap: 18px;
}

.wizard-card {
  min-width: 0;
}

.planner-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.planner-days {
  border: var(--glass-border);
  border-radius: 14px;
  padding: 16px;
  margin: 8px 0 18px;
}

.planner-days legend {
  padding: 0 8px;
  font-weight: 700;
}

.planner-day-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.day-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.day-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 0, 127, 0.45);
}

.day-pill input {
  accent-color: var(--accent-pink);
}

.planner-feedback {
  min-height: 24px;
  margin-top: 12px;
  font-size: 14px;
}

.planner-feedback-success {
  color: #7ef29a;
}

.planner-feedback-error {
  color: #ff8f8f;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.results-toolbar-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.summary-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  font-size: 1.9rem;
  margin-top: 8px;
}

.metric-label,
.metric-sub,
.preview-sub {
  display: block;
  color: var(--muted);
}

.metric-sub {
  margin-top: 8px;
  line-height: 1.5;
}

.plan-preview-shell {
  padding: 18px;
}

.plan-preview.empty-state {
  padding: 36px 18px;
  text-align: center;
  color: var(--muted);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.preview-header h3 {
  margin: 8px 0 0;
  font-size: 1.35rem;
}

.preview-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  text-align: right;
}

.plan-table-wrapper {
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.plan-table th,
.plan-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
}

.plan-table th {
  position: sticky;
  top: 0;
  background: #0f1117;
  z-index: 2;
  text-align: left;
}

.export-mirror,
.pdf-export-stage {
  position: fixed;
  left: -99999px;
  top: 0;
  width: 1180px;
  background: #ffffff;
}

.feature-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.faq-grid {
  margin-top: 16px;
}

.faq-item {
  padding: 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.7;
}

.action-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .hero-split,
  .wizard-layout {
    grid-template-columns: 1fr;
  }

  .summary-metrics,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .planner-grid-2,
  .planner-day-grid,
  .summary-metrics,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .results-toolbar,
  .preview-header {
    flex-direction: column;
  }

  .preview-meta {
    text-align: left;
  }
}

/* info card & ad */
.info-card {
  padding: 16px;
  border-radius: 10px;
  background: var(--glass);
  border: var(--glass-border)
}

.info-title {
  font-weight: 700;
  margin-bottom: 6px
}

.ad-slot {
  margin-top: 14px
}

.ad-placeholder {
  padding: 18px;
  border-radius: 10px;
  background: var(--glass);
  text-align: center;
  color: var(--muted)
}

/* results */
.results-area {
  margin-top: 16px;
  padding-top: 16px;
  border-top: var(--glass-border);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 12px
}

.per-group {
  padding: 16px;
  border-radius: 10px;
  background: var(--glass);
  border: var(--glass-border)
}

.per-group h4 {
  margin: 0 0 8px 0
}

.per-group .vals {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 600;
}

/* summary */
.summary-card {
  display: flex;
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--glass);
  border: var(--glass-border);
}

.summary-line {
  font-weight: 700;
  font-size: 1.05rem
}

.summary-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px
}

/* footer */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  margin-top: 16px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted)
}

/* ----- YENİ EKLENEN BÖLÜMLERİN STİLLERİ ----- */

.content-iframe {
  width: 100%;
  height: 70vh;
  border: none;
  border-radius: var(--radius);
  margin-top: 16px;
  background-color: #ffffff;
}

.analytics-mockup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background: var(--glass);
  padding: 20px;
  border-radius: var(--radius);
  border: var(--glass-border);
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-pink);
}

.stat-label {
  margin-top: 8px;
  color: var(--muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  max-width: 600px;
}

.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: var(--glass-border);
  background: var(--glass);
  color: var(--text);
  min-height: 120px;
  font-family: inherit;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
}

.article-content {
  margin-top: 24px;
}

/* Modern FAQ Styles */
.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.faq-item {
  background: var(--glass);
  border: var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.faq-question {
  padding: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-size: 1.05rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.2s;
  color: var(--accent-pink);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 24px 20px;
  color: var(--muted);
  line-height: 1.6;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modern Announcement Card */
.modern-announcement {
  background: linear-gradient(135deg, var(--glass) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  margin-top: 24px;
}

.modern-announcement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-pink);
}

.announcement-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.announcement-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 0, 127, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-pink);
}

.announcement-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.announcement-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.announcement-body p {
  margin-bottom: 12px;
}

.announcement-body p:last-child {
  margin-bottom: 0;
}

/* responsive */
@media (max-width:1000px) {
  .app {
    flex-direction: column;
    height: auto;
    min-height: 100%;
    padding: 12px
  }

  .sidebar {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    overflow: auto
  }

  .brand-text {
    display: none
  }

  .nav {
    flex-direction: row;
    gap: 6px;
    overflow: auto
  }

  .nav-item {
    padding: 8px 12px;
    border-radius: 8px
  }

  .nav-item.active {
    background: var(--glass);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .panel-grid {
    grid-template-columns: 1fr
  }

  .main {
    order: 2
  }

  .sidebar {
    order: 1
  }
}

.summary-box {
  background: var(--glass);
  border: var(--glass-border);
  border-left: 3px solid var(--accent-pink);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  /* Alt boşluk eklendi */
}

.summary-box p:last-child {
  margin-bottom: 0;
}

.summary-box h3 {
  margin-top: 0;
  color: var(--text);
}

.action-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  /* Alt boşluk eklendi */
}

@media (max-width: 600px) {
  .group-row {
    flex-wrap: wrap;
  }

  .field-group {
    min-width: 45%;
  }

  .group-row .small-btn {
    width: 100%;
    margin-top: 4px;
  }
}

/* Source Separator */
.source-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.source-separator::before,
.source-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 15px;
}

/* Author Box */
.author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin: 40px 0 20px 0;
}
.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    border: var(--glass-border);
}
.author-info h3 {
    margin: 0 0 8px 0;
    color: var(--text);
    font-size: 1.1rem;
}
.author-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.5;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
}

.trust-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
}

.trust-card p,
.trust-card li {
  color: var(--muted);
  line-height: 1.7;
}

.trust-card ul {
  margin: 0;
  padding-left: 18px;
}

.link-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.link-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.link-list a:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 0, 127, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-pink);
  font-weight: 700;
}

.page-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  line-height: 1.7;
}

.content-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.content-checklist .panel-snippet {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-checklist .panel-snippet h3 {
  margin-top: 0;
}

.contact-meta {
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-meta p,
.contact-meta li {
  color: var(--muted);
  line-height: 1.7;
}

.contact-meta ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.audience-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
}

.audience-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.audience-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.audience-links {
  display: grid;
  gap: 8px;
}

.audience-links a {
  color: var(--text);
  text-decoration: none;
}

.audience-links a:hover {
  color: var(--accent-pink);
}

.review-meta-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--accent-pink);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}

.review-meta-box p,
.review-meta-box li {
  color: var(--muted);
  line-height: 1.7;
}

.review-meta-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.resource-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-box h3 {
  margin-top: 0;
}

.resource-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.resource-box li {
  margin-bottom: 8px;
  color: var(--muted);
}

.resource-box a {
  color: var(--text);
  text-decoration: none;
}

.resource-box a:hover {
  color: var(--accent-pink);
}

.correction-callout {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 0, 127, 0.08);
  border: 1px solid rgba(255, 0, 127, 0.25);
}

.correction-callout p {
  margin: 0;
  color: var(--text);
}

.correction-callout a {
  color: var(--text);
  font-weight: 700;
}

.governance-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  border-radius: 10px;
  overflow: hidden;
}

.governance-table th,
.governance-table td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.governance-table th {
  background: rgba(255, 255, 255, 0.05);
}

.planner-preflight-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.planner-preflight-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
}

.planner-preflight-item strong {
  display: block;
  margin-bottom: 4px;
}

.planner-preflight-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.planner-preflight-item-warning {
  border-color: rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.08);
}

.planner-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.planner-meta-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}

.planner-meta-card h4 {
  margin-top: 0;
  margin-bottom: 8px;
}

.planner-meta-card p,
.planner-meta-card li {
  color: var(--muted);
  line-height: 1.6;
}

.planner-meta-card ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.template-checklist {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.template-checklist li {
  list-style: none;
  position: relative;
  padding-left: 28px;
  line-height: 1.65;
  color: var(--muted);
}

.template-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-pink);
  font-weight: 700;
}
