/* ========================================
   KVKK Metni Oluşturucu — Premium Styles
   Senior Frontend Developer Quality
   ======================================== */

/* --- CSS Variables --- */
:root {
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --card-hover: #f8fafc;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: rgba(37,99,235,0.08);
  --accent-mid: rgba(37,99,235,0.15);
  --accent2: #7c3aed;
  --accent2-hover: #6d28d9;
  --accent2-light: rgba(124,58,237,0.08);
  --success: #059669;
  --success-light: rgba(5,150,105,0.08);
  --warning: #d97706;
  --warning-light: rgba(217,119,6,0.08);
  --error: #dc2626;
  --error-light: rgba(220,38,38,0.08);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.06), 0 8px 10px -6px rgba(0,0,0,0.03);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: 0.2s var(--ease);
  --transition-slow: 0.4s var(--ease);
  --container: 1180px;
  --header-h: 68px;
}

[data-theme="dark"] {
  --bg: #0c1222;
  --bg-alt: #131b2e;
  --card: #1a2332;
  --card-hover: #1f2b3d;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --muted: #64748b;
  --border: #1e3048;
  --border-hover: #2d4a6a;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-light: rgba(59,130,246,0.1);
  --accent-mid: rgba(59,130,246,0.18);
  --accent2: #8b5cf6;
  --accent2-hover: #a78bfa;
  --accent2-light: rgba(139,92,246,0.1);
  --success: #10b981;
  --success-light: rgba(16,185,129,0.1);
  --warning: #f59e0b;
  --warning-light: rgba(245,158,11,0.12);
  --error: #ef4444;
  --error-light: rgba(239,68,68,0.1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.5);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit; color: inherit;
  border: none; outline: none; background: none;
}
button { cursor: pointer; }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(248,250,252,0.85);
  border-bottom: 1px solid rgba(226,232,240,0.6);
  transition: box-shadow var(--transition);
}
[data-theme="dark"] .site-header {
  background: rgba(12,18,34,0.85);
  border-bottom-color: rgba(30,48,72,0.6);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
  transition: transform var(--transition);
}
.logo:hover .logo-icon { transform: scale(1.05) rotate(-2deg); }
.logo-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.logo-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  display: block;
  letter-spacing: 0.02em;
}
.main-nav ul {
  display: flex;
  gap: 2px;
}
.main-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
}
.main-nav a:hover { color: var(--accent); background: var(--accent-light); }
.main-nav a.active {
  color: var(--accent);
  background: var(--accent-light);
  font-weight: 600;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  color: var(--muted);
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--bg-alt); color: var(--text); transform: rotate(15deg); }
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--muted);
  transition: all var(--transition);
}
.mobile-menu-btn:hover { background: var(--bg-alt); }

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--card);
  z-index: 99;
  padding: 16px 24px;
  overflow-y: auto;
  animation: slideDown 0.25s var(--ease);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  display: block;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  transition: all var(--transition);
}
.mobile-nav a:hover { background: var(--bg-alt); color: var(--accent); }

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 4px; }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--border-hover); margin-left: 4px; font-weight: 500; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--text-secondary); font-weight: 500; }

/* --- Hero --- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 180%;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 30%, rgba(124,58,237,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 80%, rgba(5,150,105,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="dark"] .hero::before {
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(59,130,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 80% 30%, rgba(139,92,246,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 50% 80%, rgba(16,185,129,0.05) 0%, transparent 70%);
}
.hero > * { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeInUp 0.6s var(--ease) both;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-ring 2s ease infinite;
}
.hero h1 {
  font-size: clamp(32px, 5.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  animation: fadeInUp 0.6s var(--ease) 0.1s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.65;
  animation: fadeInUp 0.6s var(--ease) 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease) 0.3s both;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,99,235,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-accent2 {
  background: linear-gradient(135deg, var(--accent2), #6366f1);
  color: #fff;
  box-shadow: 0 2px 12px rgba(124,58,237,0.3);
}
.btn-accent2:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: var(--radius-sm); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-light); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: 0.9; color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius); }

/* --- Section --- */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* --- Cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  font-weight: 700;
}
.card-icon.blue { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-mid); }
.card-icon.purple { background: var(--accent2-light); color: var(--accent2); border: 1px solid rgba(124,58,237,0.15); }
.card-icon.green { background: var(--success-light); color: var(--success); border: 1px solid rgba(5,150,105,0.15); }
.card-icon.orange { background: var(--warning-light); color: var(--warning); border: 1px solid rgba(217,119,6,0.15); }
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: all var(--transition);
}
.card .card-link:hover { gap: 10px; }

/* --- Site Type Cards --- */
.type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.type-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.type-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-light), var(--accent2-light));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.type-card:hover::before { opacity: 1; }
.type-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(37,99,235,0.12);
  transform: translateY(-4px);
  color: var(--text);
}
.type-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px var(--accent-mid);
}
.type-card > * { position: relative; z-index: 1; }
.type-card .type-icon {
  font-size: 40px;
  margin-bottom: 14px;
  display: block;
  transition: transform 0.3s var(--ease-spring);
}
.type-card:hover .type-icon { transform: scale(1.15); }
.type-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.type-card p {
  font-size: 13px;
  color: var(--muted);
}

/* --- Stepper --- */
.stepper-container { max-width: 900px; margin: 0 auto; }
.stepper-header {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.stepper-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--card);
  border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease);
}
.stepper-step .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}
.stepper-step.active {
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.stepper-step.active .step-num {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.stepper-step.completed {
  background: var(--success-light);
  color: var(--success);
  border-color: rgba(5,150,105,0.3);
}
.stepper-step.completed .step-num {
  background: var(--success);
  color: #fff;
}
.step-panel { display: none; animation: fadeInUp 0.4s var(--ease); }
.step-panel.active { display: block; }
.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  gap: 12px;
}

/* --- Form Elements --- */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.form-label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text);
  transition: all var(--transition);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
  background: var(--card);
}
.form-input.error,
.form-select.error {
  border-color: var(--error);
  box-shadow: 0 0 0 4px var(--error-light);
}
.form-error {
  font-size: 13px;
  color: var(--error);
  margin-top: 6px;
  display: none;
  font-weight: 500;
}
.form-error.show { display: block; }
.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23718096' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* --- Toggle / Checkbox --- */
.toggle-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.toggle-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s var(--ease);
  user-select: none;
}
.toggle-item:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}
.toggle-item.active {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.toggle-switch {
  width: 46px;
  height: 26px;
  background: var(--border);
  border-radius: 13px;
  position: relative;
  transition: background 0.25s var(--ease);
  flex-shrink: 0;
}
.toggle-switch::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: transform 0.25s var(--ease-spring);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-item.active .toggle-switch { background: var(--accent); }
.toggle-item.active .toggle-switch::after { transform: translateX(20px); }
.toggle-label { font-size: 14px; font-weight: 600; }
.toggle-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
}
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  border-radius: 4px;
}

/* --- Output Panel --- */
.output-panel {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 28px;
  box-shadow: var(--shadow-md);
}
.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}
.output-title { font-size: 16px; font-weight: 700; }
.output-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.output-body {
  padding: 28px;
  max-height: 650px;
  overflow-y: auto;
}
.output-body h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--accent);
}
.output-body h2:first-child { margin-top: 0; }
.output-body h3 { font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.output-body p { margin-bottom: 14px; line-height: 1.8; }
.output-body ul, .output-body ol { margin-left: 22px; margin-bottom: 14px; list-style: disc; }
.output-body ol { list-style: decimal; }
.output-body li { margin-bottom: 6px; line-height: 1.7; }
.output-section { padding: 24px 0; border-bottom: 1px solid var(--border); }
.output-section:last-child { border-bottom: none; }

/* --- Disclaimer Box --- */
.disclaimer {
  background: var(--warning-light);
  border: 1.5px solid rgba(217,119,6,0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
}
.disclaimer-icon { font-size: 20px; flex-shrink: 0; line-height: 1; }
.disclaimer-sm { padding: 12px 16px; font-size: 13px; }

/* --- Privacy Note --- */
.privacy-note {
  background: var(--accent-light);
  border: 1.5px solid var(--accent-mid);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text);
  color: var(--bg);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s var(--ease-spring);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* --- Accordion (FAQ) --- */
.accordion { max-width: 820px; }
.accordion-item {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  transition: all var(--transition);
}
.accordion-item:hover { border-color: var(--border-hover); }
.accordion-item.open { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.accordion-header {
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--bg-alt); }
.accordion-icon {
  font-size: 16px;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  color: var(--muted);
}
.accordion-item.open .accordion-icon { transform: rotate(180deg); color: var(--accent); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion-content {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* --- Guide / Article --- */
.article-content { max-width: 760px; }
.article-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 40px 0 14px;
  letter-spacing: -0.02em;
}
.article-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.article-content p {
  margin-bottom: 18px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li {
  margin-bottom: 8px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.article-content strong { color: var(--text); font-weight: 600; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.article-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.article-toc h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.article-toc ul { margin-left: 18px; list-style: disc; }
.article-toc li { margin-bottom: 6px; font-size: 14px; }
.article-toc a { color: var(--text-secondary); }
.article-toc a:hover { color: var(--accent); }

/* --- Related Links --- */
.related-links {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.related-links h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.related-item:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-mid);
  transform: translateX(4px);
}

/* --- Search --- */
.search-box {
  position: relative;
  max-width: 640px;
  margin: 0 auto 36px;
}
.search-input {
  width: 100%;
  padding: 18px 24px 18px 52px;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius-2xl);
  font-size: 16px;
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light), var(--shadow-md);
}
.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 18px;
}
.filter-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.search-results { display: grid; gap: 12px; }
.search-result-item {
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.search-result-item:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.search-result-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.search-result-item h3 a { color: var(--text); }
.search-result-item h3 a:hover { color: var(--accent); }
.search-result-item p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.search-result-item .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 10px;
  letter-spacing: 0.02em;
}
.badge-rehber { background: var(--accent-light); color: var(--accent); }
.badge-sablon { background: var(--accent2-light); color: var(--accent2); }
.badge-ornek { background: var(--success-light); color: var(--success); }
.badge-bilesen { background: var(--warning-light); color: var(--warning); }

/* --- Ad Block --- */
.ad-block {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 28px 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-block-inline {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin: 20px 0;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-block-sidebar {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 12px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.ad-block-multiplex {
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin: 28px 0;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-block-anchor {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 4px 0;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}
.ad-block-anchor .ad-close-btn {
  position: absolute;
  top: -28px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .ad-block-sidebar { display: none; }
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--card);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  min-width: 280px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.cookie-banner-text a { color: var(--accent); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-banner-actions .btn { padding: 10px 22px; font-size: 14px; }
@media (max-width: 768px) {
  .cookie-banner-inner { flex-direction: column; text-align: center; }
  .cookie-banner-actions { width: 100%; justify-content: center; }
}

/* --- Tags --- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--muted);
  letter-spacing: 0.02em;
}
.tag-blue { background: var(--accent-light); color: var(--accent); }
.tag-purple { background: var(--accent2-light); color: var(--accent2); }
.tag-green { background: var(--success-light); color: var(--success); }

/* --- Feature List --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 28px 0;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--accent-mid);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid var(--accent-mid);
}
.feature-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* --- Stats --- */
.stats-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 0;
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

/* --- Footer --- */
.site-footer {
  margin-top: auto;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.footer-col a:hover { color: var(--accent); transform: translateX(2px); display: inline-block; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.disclaimer-footer {
  font-size: 13px;
  color: var(--warning);
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-bottom p:last-child { font-size: 13px; color: var(--muted); }

/* --- Page Header --- */
.page-header { padding: 44px 0 28px; }
.page-header h1 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.page-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}

/* --- Example Page --- */
.example-preview {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.8;
}
.example-preview h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

/* --- Scroll to top button --- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s var(--ease);
  z-index: 90;
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,99,235,0.4); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .stats-row { gap: 32px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 56px 0 36px; }
  .hero h1 { font-size: 30px; }
  .stepper-header { gap: 4px; }
  .stepper-step { padding: 8px 14px; font-size: 12px; }
  .stepper-step .step-label { display: none; }
  .toggle-group { grid-template-columns: 1fr; }
  .type-cards { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 24px; }
  .stat-num { font-size: 28px; }
  .output-actions { width: 100%; }
  .output-actions .btn { flex: 1; justify-content: center; font-size: 12px; padding: 9px 10px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 0 18px; }
}
@media (max-width: 480px) {
  .type-cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .step-actions { flex-direction: column; }
  .step-actions .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 26px; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .breadcrumb,
  .ad-block, .stepper-header, .step-actions,
  .output-actions, .disclaimer, .privacy-note,
  .mobile-nav, .toast, .theme-toggle, .mobile-menu-btn,
  .related-links, .hero-actions, .scroll-top,
  .hero-badge { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; line-height: 1.6; }
  .output-panel { border: none; box-shadow: none; }
  .output-body { max-height: none; padding: 0; }
  .output-body h2 { font-size: 16pt; color: #000; page-break-after: avoid; }
  .output-body h3 { font-size: 13pt; page-break-after: avoid; }
  .output-body p { orphans: 3; widows: 3; }
  .article-content { max-width: 100%; }
  a { color: #000; text-decoration: underline; }
  @page { margin: 2cm; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.hidden { display: none !important; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
