/* ============================================================
   OTTO STRATEGİC AI — ANA STİL (v15)
   Tasarım: Lüks Koyu / Altın / Satış Psikolojisi
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── RENK SİSTEMİ ──────────────────────────────────────────── */
:root {
  --bg0: #070810;
  --bg1: #0B0D1A;
  --bg2: #0F1120;
  --bg3: #141728;
  --bg4: #1A1E30;

  --gold:    #C9A96E;
  --gold2:   #E8C98A;
  --gold3:   #F5E4C0;
  --gold-dim: rgba(201,169,110,0.15);
  --gold-glow: rgba(201,169,110,0.08);

  --text:    #EEE8D5;
  --text2:   #A09880;
  --text3:   #635E52;

  --green:  #4CAF7D;
  --red:    #E05A5A;
  --blue:   #5A9CE0;
  --orange: #E08C5A;

  --border:  rgba(201,169,110,0.18);
  --border2: rgba(255,255,255,0.06);

  --radius:  12px;
  --radius2: 8px;
  --radius3: 20px;

  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 40px rgba(201,169,110,0.12);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg0);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold2); }
img { max-width: 100%; }

/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7,8,16,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--text);
}
.nav-logo .logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: var(--bg0);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--text2);
  letter-spacing: .02em; transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--bg0) !important;
  padding: 10px 22px;
  border-radius: var(--radius2);
  font-weight: 600;
  font-size: .85rem;
}
.nav-mobile-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: .3s;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius2);
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s;
  letter-spacing: .02em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--bg0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,169,110,0.35);
  color: var(--bg0);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost {
  background: var(--bg3);
  color: var(--text2);
}
.btn-ghost:hover { background: var(--bg4); color: var(--text); }
.btn-danger {
  background: rgba(224,90,90,0.15);
  border: 1px solid rgba(224,90,90,0.3);
  color: var(--red);
}
.btn-danger:hover { background: rgba(224,90,90,0.25); }
.btn-sm { padding: 8px 16px; font-size: .8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── CARDS ──────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px;
}
.card-gold {
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
}
.card-hover {
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-gold);
}

/* ── FORMS ──────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label {
  font-size: .8rem; font-weight: 600;
  color: var(--text2); letter-spacing: .06em; text-transform: uppercase;
}
.form-control {
  background: var(--bg1);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: border-color .2s;
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.1);
}
.form-control::placeholder { color: var(--text3); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 20px;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.badge-gold    { background: rgba(201,169,110,0.15); color: var(--gold); border: 1px solid rgba(201,169,110,0.3); }
.badge-green   { background: rgba(76,175,125,0.15);  color: var(--green); border: 1px solid rgba(76,175,125,0.3); }
.badge-red     { background: rgba(224,90,90,0.15);   color: var(--red);   border: 1px solid rgba(224,90,90,0.3); }
.badge-blue    { background: rgba(90,156,224,0.15);  color: var(--blue);  border: 1px solid rgba(90,156,224,0.3); }
.badge-orange  { background: rgba(224,140,90,0.15);  color: var(--orange); border: 1px solid rgba(224,140,90,0.3); }

/* ── ALERTS ─────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px; border-radius: var(--radius2);
  font-size: .9rem; border-left: 3px solid;
  display: flex; align-items: flex-start; gap: 10px;
}
.alert-success { background: rgba(76,175,125,0.1);  border-color: var(--green); color: #8DD9B3; }
.alert-error   { background: rgba(224,90,90,0.1);   border-color: var(--red);   color: #F0A0A0; }
.alert-info    { background: rgba(90,156,224,0.1);  border-color: var(--blue);  color: #9DC4E8; }
.alert-warning { background: rgba(224,140,90,0.1);  border-color: var(--orange); color: #F0C090; }

/* ── TABLES ─────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
thead tr { border-bottom: 1px solid var(--border); }
thead th {
  padding: 14px 16px; text-align: left;
  font-size: .75rem; font-weight: 600;
  color: var(--text2); letter-spacing: .06em; text-transform: uppercase;
}
tbody tr {
  border-bottom: 1px solid var(--border2);
  transition: background .15s;
}
tbody tr:hover { background: var(--bg3); }
tbody td { padding: 14px 16px; font-size: .88rem; }
tbody tr:last-child { border-bottom: none; }

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  transform: translateY(20px); transition: transform .25s;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-wide { max-width: 800px; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 20px;
  border-bottom: 1px solid var(--border2);
}
.modal-title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--text);
}
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--text2); font-size: 1.4rem; line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: var(--text); }

/* ── TABS ───────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border2); margin-bottom: 28px; }
.tab {
  padding: 12px 20px; font-size: .85rem; font-weight: 500;
  color: var(--text2); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all .2s; background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font-body);
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--gold); border-bottom-color: var(--gold); }

/* ── LOADING ────────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,8,16,0.9);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
}
.loading-overlay .spinner { width: 40px; height: 40px; border-width: 3px; }

/* ── PROGRESS BAR ───────────────────────────────────────────── */
.progress { background: var(--bg3); border-radius: 99px; height: 6px; overflow: hidden; }
.progress-bar {
  height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 99px; transition: width .5s ease;
}
.progress-bar.red   { background: linear-gradient(90deg, var(--red), #FF8080); }
.progress-bar.green { background: linear-gradient(90deg, var(--green), #80FFBA); }

/* ── SCORE RING ─────────────────────────────────────────────── */
.score-ring {
  width: 80px; height: 80px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.score-ring svg { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
.score-ring .score-val {
  font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600;
  color: var(--text); position: relative; z-index: 1;
}

/* ── FILE DROP ZONE ─────────────────────────────────────────── */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: var(--bg1);
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.drop-zone .drop-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: .6; }
.drop-zone .drop-title { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.drop-zone .drop-sub   { font-size: .85rem; color: var(--text2); }

/* ── FILE LIST ──────────────────────────────────────────────── */
.file-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius2);
  margin-bottom: 8px;
}
.file-item .file-icon { font-size: 1.4rem; }
.file-item .file-info { flex: 1; }
.file-item .file-name { font-size: .88rem; font-weight: 500; color: var(--text); }
.file-item .file-size { font-size: .75rem; color: var(--text2); }
.file-item .file-remove {
  background: none; border: none; cursor: pointer;
  color: var(--text3); font-size: 1rem; transition: color .2s;
}
.file-item .file-remove:hover { color: var(--red); }

/* ── STAT CARDS ─────────────────────────────────────────────── */
.stat-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 24px;
}
.stat-card .stat-label { font-size: .75rem; color: var(--text2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.stat-card .stat-value { font-family: var(--font-mono); font-size: 2rem; font-weight: 600; color: var(--text); line-height: 1; }
.stat-card .stat-sub   { font-size: .8rem; color: var(--text2); margin-top: 6px; }

/* ── SIDEBAR DASHBOARD ──────────────────────────────────────── */
.app-layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 260px; min-width: 260px;
  background: var(--bg1);
  border-right: 1px solid var(--border2);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 100;
}
.sidebar-logo {
  padding: 24px 24px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--border2);
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600; color: var(--text);
}
.sidebar-logo .logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--bg0);
}
.sidebar-logo span { color: var(--gold); }
.sidebar-user {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border2);
}
.sidebar-user .user-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.sidebar-user .user-pkg  { font-size: .75rem; color: var(--text2); margin-top: 2px; }
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius2);
  color: var(--text2); font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .15s; text-decoration: none;
  margin-bottom: 2px;
}
.nav-item:hover { background: var(--bg3); color: var(--text); }
.nav-item.active { background: var(--gold-dim); color: var(--gold); }
.nav-item .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.nav-section { padding: 16px 14px 6px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); font-weight: 600; }
.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border2);
}
.sidebar-quota { padding: 12px 14px; background: var(--bg2); border-radius: var(--radius2); }
.sidebar-quota .q-label { font-size: .75rem; color: var(--text2); margin-bottom: 8px; display: flex; justify-content: space-between; }
.sidebar-quota .q-label span { color: var(--gold); font-weight: 600; }

.main-content {
  margin-left: 260px; flex: 1;
  background: var(--bg0);
  min-height: 100vh;
}
.content-header {
  padding: 28px 36px;
  border-bottom: 1px solid var(--border2);
  background: var(--bg1);
  display: flex; align-items: center; justify-content: space-between;
}
.content-header h1 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
}
.content-body { padding: 32px 36px; }

/* ── HERO (ana sayfa) ───────────────────────────────────────── */
.hero {
  text-align: center;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero .container { width: 100%; max-width: 900px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(201,169,110,0.06) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(90,156,224,0.04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 99px;
  font-size: .8rem; color: var(--gold); font-weight: 500;
  margin-bottom: 32px; letter-spacing: .04em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300; line-height: 1.15;
  letter-spacing: -.01em; margin-bottom: 24px; color: var(--text);
}
.hero-title strong { font-weight: 600; color: var(--gold); }
.hero-sub {
  font-size: 1.1rem; color: var(--text2); line-height: 1.7;
  margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; gap: 48px; margin-top: 64px; justify-content: center; flex-wrap: wrap; justify-content: center; flex-wrap: wrap;
  padding-top: 48px; border-top: 1px solid var(--border2);
}
.hero-stat .stat-number {
  font-family: var(--font-mono); font-size: 2rem; font-weight: 600;
  color: var(--gold); display: block;
}
.hero-stat .stat-desc { font-size: .82rem; color: var(--text2); }

/* ── PRICING ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--bg2); border: 1px solid var(--border2);
  border-radius: var(--radius); padding: 32px;
  position: relative; transition: all .3s;
}
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.pricing-card.featured::before {
  content: 'EN POPÜLER';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--bg0); padding: 4px 16px; border-radius: 99px;
  font-size: .65rem; font-weight: 700; letter-spacing: .1em;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-name { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text2); margin-bottom: 12px; font-weight: 600; }
.pricing-price { font-family: var(--font-display); font-size: 2.8rem; font-weight: 300; color: var(--text); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 1.2rem; vertical-align: super; }
.pricing-price span { font-size: 1rem; color: var(--text2); }
.pricing-desc { font-size: .85rem; color: var(--text2); margin-bottom: 24px; }
.pricing-features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { font-size: .85rem; color: var(--text2); display: flex; gap: 10px; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-features li.disabled { opacity: .4; }
.pricing-features li.disabled::before { content: '—'; color: var(--text3); }

/* ── SECTION ────────────────────────────────────────────────── */
.section { padding: 100px 40px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.2; color: var(--text);
}
.section-title strong { font-weight: 600; }
.section-sub { font-size: 1rem; color: var(--text2); margin-top: 16px; line-height: 1.7; }
.container { max-width: 1200px; margin: 0 auto; }

/* ── DIVIDER ────────────────────────────────────────────────── */
hr { border: none; border-top: 1px solid var(--border2); margin: 24px 0; }
.divider-gold { border-color: var(--border); }

/* ── TOAST ──────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 14px 20px; border-radius: var(--radius2);
  font-size: .88rem; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  animation: toastIn .3s ease; min-width: 280px;
  box-shadow: var(--shadow);
}
.toast-success { background: #1A3028; border: 1px solid rgba(76,175,125,0.4); color: #8DD9B3; }
.toast-error   { background: #2A1A1A; border: 1px solid rgba(224,90,90,0.4);  color: #F0A0A0; }
.toast-info    { background: #1A2030; border: 1px solid rgba(90,156,224,0.4); color: #9DC4E8; }
@keyframes toastIn { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ── REPORT POPUP ───────────────────────────────────────────── */
.report-popup {
  background: var(--bg1); padding: 32px;
  border-radius: var(--radius);
}
.report-score-block {
  display: flex; align-items: center; gap: 24px;
  padding: 20px; background: var(--bg2);
  border-radius: var(--radius2); margin-bottom: 24px;
}
.report-findings { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.finding-item {
  padding: 14px 18px;
  background: var(--bg2); border-radius: var(--radius2);
  border-left: 3px solid var(--border);
}
.finding-item.critical { border-left-color: var(--red); }
.finding-item.warning  { border-left-color: var(--orange); }
.finding-item.ok       { border-left-color: var(--green); }
.finding-title { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.finding-desc  { font-size: .82rem; color: var(--text2); }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg1); border-bottom: 1px solid var(--border2);
    padding: 20px 24px; gap: 16px;
  }
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .content-body { padding: 20px; }
  .content-header { padding: 20px; }
  .hero { padding: 100px 20px 60px; }
  .section { padding: 60px 20px; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── EK MOBİL DÜZELTMELER (v17) ─────────────────────────── */
@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem !important; }
  .hero-sub { font-size: .95rem; }
  .hero-stat .stat-number { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-section { padding: 40px 20px; }
  .cta-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 40px 20px 24px; }
  .section { padding: 50px 16px; }
  .nav { padding: 0 16px; }
  .nav-logo { font-size: 1.2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  /* Dashboard mobil */
  .stats-row { grid-template-columns: 1fr 1fr; }
  .table-wrap { overflow-x: auto; }
}

/* Form elementleri */
.form-group { margin-bottom: 0; }
.form-group label { display: block; font-size: .82rem; color: var(--text2); margin-bottom: 8px; font-weight: 500; }
.form-control {
  width: 100%; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius2); padding: 11px 14px; color: var(--text);
  font-size: .9rem; font-family: var(--font-body); outline: none;
  transition: border-color .2s; appearance: none;
}
.form-control:focus { border-color: var(--border); }
.form-control::placeholder { color: var(--text3); }
select.form-control { cursor: pointer; }

/* Alert */
.alert {
  padding: 12px 16px; border-radius: var(--radius2); font-size: .88rem;
  display: flex; align-items: center; gap: 10px;
}
.alert-error   { background: rgba(224,90,90,.12); border: 1px solid rgba(224,90,90,.3); color: #F0A0A0; }
.alert-success { background: rgba(76,175,125,.12); border: 1px solid rgba(76,175,125,.3); color: #8DD9B3; }
.alert-info    { background: rgba(90,156,224,.12); border: 1px solid rgba(90,156,224,.3); color: #9DC4E8; }

/* Spinner */
.spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3);
  border-top-color: white; border-radius: 50%;
  animation: spin .7s linear infinite; display: inline-block; vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── FORM ELEMENTS ──────────────────────────────────────────── */
.form-group { margin-bottom: 0; }
.form-group label { display: block; font-size: .82rem; color: var(--text2); margin-bottom: 8px; font-weight: 500; }
.form-control {
  width: 100%; background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--radius2); padding: 11px 14px; color: var(--text);
  font-size: .9rem; font-family: var(--font-body); outline: none;
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.form-control:focus { border-color: var(--border); }
.form-control::placeholder { color: var(--text3); }

/* ── ALERT ───────────────────────────────────────────────────── */
.alert { padding: 12px 16px; border-radius: var(--radius2); font-size: .88rem; display: flex; align-items: center; gap: 10px; }
.alert-error   { background: rgba(224,90,90,.12); border: 1px solid rgba(224,90,90,.3); color: #F0A0A0; }
.alert-success { background: rgba(76,175,125,.12); border: 1px solid rgba(76,175,125,.3); color: #8DD9B3; }
.alert-info    { background: rgba(90,156,224,.12); border: 1px solid rgba(90,156,224,.3); color: #9DC4E8; }

/* ── SPINNER ─────────────────────────────────────────────────── */
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.3); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MOBİL EK ────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero-title { font-size: 2rem !important; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .cta-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 40px 16px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .section { padding: 50px 16px; }
  .nav { padding: 0 16px; }
}
