/* ==========================================================================
   D.İ.B ProDer Platform – Ana Stil Dosyası
   ========================================================================== */

:root {
  --primary: #06325c;
  --primary-dark: #00264a;
  --primary-light: #0a416f;
  --secondary: #57973f;
  --secondary-light: #6ba84e;
  --secondary-soft: #eff7eb;
  --blue-soft: #eef5fa;
  --background: #f6f8fa;
  --surface: #ffffff;
  --text-primary: #172433;
  --text-secondary: #667085;
  --border: #e4e9ef;
  --success: #279b55;
  --warning: #f59e0b;
  --danger: #dc3545;
  --shadow: 0 10px 30px rgba(0, 38, 74, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 38, 74, 0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --sidebar-width: 260px;
  --topbar-height: 64px;
  --font: 'Quicksand', system-ui, sans-serif;
  --transition: 0.2s ease;
  --gradient-premium: linear-gradient(135deg, #06325c 0%, #0a416f 50%, #57973f 100%);
  --logo-header-h: clamp(34px, 5.2vw, 52px);
  --logo-footer-h: clamp(40px, 4.8vw, 58px);
  --logo-sidebar-h: clamp(28px, 3.8vw, 38px);
  --logo-login-h: clamp(44px, 7vw, 68px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.dark-theme {
  --background: #0d1b2a;
  --surface: #1b2838;
  --text-primary: #e8edf2;
  --text-secondary: #94a3b8;
  --border: #2d3f52;
  --blue-soft: #152535;
  --secondary-soft: #1a2e1a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 0.9375rem; }
ul, ol { list-style: none; }

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 10000;
  background: var(--primary); color: #fff; padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ---- Sayfa Görünürlüğü (HTML Demo) ---- */
.page-view { display: none; }
.page-view.active { display: block; }
.panel-page { display: none; }
.panel-page.active { display: block; }

/* ---- Tipografi ---- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--text-primary); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
p { color: var(--text-secondary); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--text-secondary); }
.text-primary-color { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

/* ---- Butonlar ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.9375rem; transition: all var(--transition);
  border: 2px solid transparent; white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--blue-soft); }
.btn-success { background: var(--secondary); color: #fff; }
.btn-success:hover { background: var(--secondary-light); color: #fff; }
.btn-premium { background: var(--gradient-premium); color: #fff; }
.btn-premium:hover { opacity: 0.92; color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-warning:hover { opacity: 0.9; color: #fff; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--primary); }
.btn-sm { padding: 0.375rem 0.875rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- Form Elemanları ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.375rem; color: var(--text-primary); }
.form-label .required { color: var(--danger); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(10, 65, 111, 0.12);
}
.form-input.is-valid { border-color: var(--success); }
.form-input.is-invalid { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 0.8125rem; margin-top: 0.25rem; display: none; }
.form-error.show { display: block; }
.form-hint { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 0.25rem; }
.form-textarea { min-height: 100px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 0.5rem; }
.form-check input { margin-top: 0.25rem; accent-color: var(--primary); }
.char-counter { text-align: right; font-size: 0.75rem; color: var(--text-secondary); }

/* ---- Kartlar ---- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow); }
.card-body { padding: 1.25rem; }
.card-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); }

/* ---- Rozetler ---- */
.badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.2rem 0.625rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: var(--blue-soft); color: var(--primary); }
.badge-draft { background: #f3f4f6; color: #4b5563; }
.badge-premium { background: var(--gradient-premium); color: #fff; }
.badge-verified { background: var(--secondary-soft); color: var(--secondary); }

/* ---- Logo (Header / Footer / Panel) ---- */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}
.logo-wrap:hover { opacity: 0.92; }

.logo-img {
  display: block;
  object-fit: contain;
  width: auto;
  height: auto;
  max-width: 100%;
}

/* Header – açık zemin */
.header-logo {
  background: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(0, 38, 74, 0.08);
  max-width: min(300px, 56vw);
}
.header-logo .logo-img { max-height: var(--logo-header-h); }

/* Footer – koyu zemin üzerinde beyaz kapsayıcı */
.footer-logo {
  background: #fff;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  max-width: 100%;
  width: fit-content;
}
.footer-logo .logo-img { max-height: var(--logo-footer-h); max-width: min(320px, 100%); }

/* Panel sidebar – kompakt */
.sidebar-logo {
  background: #fff;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  max-width: calc(var(--sidebar-width) - 2.5rem);
  width: fit-content;
}
.sidebar-logo .logo-img { max-height: var(--logo-sidebar-h); }

/* Giriş marka alanı */
.login-logo {
  background: #fff;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  max-width: min(340px, 90vw);
}
.login-logo .logo-img { max-height: var(--logo-login-h); }

/* Geriye dönük uyumluluk */
.logo-wrap.white-bg:not(.footer-logo):not(.login-logo) {
  background: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
}
.logo-wrap.compact .logo-img,
.logo-wrap.compact img { max-height: var(--logo-sidebar-h); }

/* ---- Public Header ---- */
.public-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.public-header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.625rem clamp(0.75rem, 3vw, 1.5rem);
  gap: clamp(0.5rem, 2vw, 1rem);
  flex-wrap: nowrap;
  min-height: var(--topbar-height);
}
.public-header .header-logo { order: -1; }
.public-nav { display: flex; align-items: center; gap: 0.25rem; }
.public-nav a {
  padding: 0.5rem 0.75rem; font-weight: 500; font-size: 0.875rem;
  color: var(--text-secondary); border-radius: var(--radius-sm);
}
.public-nav a:hover, .public-nav a.active { color: var(--primary); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; justify-content: flex-end; }
.mobile-menu-btn { display: none; flex-shrink: 0; }

/* ---- Hero ---- */
.hero {
  padding: 4rem 1.5rem; max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-tagline { font-size: 1.125rem; margin: 1rem 0 1.5rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-mockup {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  overflow: hidden;
}
.mockup-header {
  background: var(--primary); color: #fff; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem;
}
.mockup-dots { display: flex; gap: 4px; }
.mockup-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.mockup-body { padding: 1rem; display: grid; gap: 0.75rem; }
.mockup-stat {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.625rem 0.875rem; background: var(--background);
  border-radius: var(--radius-sm); font-size: 0.875rem;
}
.mockup-stat strong { color: var(--primary); }
.mockup-notif {
  padding: 0.625rem; background: var(--secondary-soft);
  border-radius: var(--radius-sm); font-size: 0.8125rem;
  border-left: 3px solid var(--secondary);
}

/* ---- Bölümler ---- */
.section { padding: 4rem 1.5rem; }
.section-alt { background: var(--surface); }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header p { max-width: 600px; margin: 0.75rem auto 0; }

/* ---- İstatistik ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stat-card .stat-number { font-size: 2.25rem; font-weight: 700; color: var(--primary); }
.stat-card .stat-label { font-size: 0.9375rem; color: var(--text-secondary); margin-top: 0.25rem; }
.demo-note { text-align: center; font-size: 0.75rem; color: var(--text-secondary); margin-top: 1rem; font-style: italic; }

/* ---- Adımlar ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step-card {
  text-align: center; padding: 1.5rem;
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); position: relative;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin: 0 auto 1rem;
}

/* ---- Proje Kartları ---- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card .card-body { display: flex; flex-direction: column; gap: 0.75rem; }
.project-card .program-tag {
  display: inline-block; padding: 0.2rem 0.625rem;
  background: var(--blue-soft); color: var(--primary);
  border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600;
}
.project-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; color: var(--text-secondary); }
.project-meta span { display: flex; align-items: center; gap: 0.25rem; }
.project-card-actions { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; }

/* ---- Dernek Kartları ---- */
.orgs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.org-card { text-align: center; }
.org-card .card-body { display: flex; flex-direction: column; align-items: center; }
.org-card .flex-between,
.org-card .project-card-actions,
.org-card .org-contact-preview { width: 100%; }
.org-logo {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: var(--blue-soft); margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); overflow: hidden;
  flex-shrink: 0;
}
.org-logo img { width: 100%; height: 100%; object-fit: contain; margin: 0; max-width: none; }
.org-tags { display: flex; flex-wrap: wrap; gap: 0.25rem; justify-content: center; margin: 0.5rem 0; }

/* ---- AI Paketleri ---- */
.ai-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ai-package {
  padding: 2rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border); background: var(--surface);
}
.ai-package.featured { border-color: var(--secondary); box-shadow: var(--shadow); }
.ai-package h3 { margin-bottom: 0.5rem; }
.ai-package ul { margin: 1rem 0; }
.ai-package li {
  padding: 0.375rem 0; font-size: 0.9375rem; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 0.5rem;
}
.ai-package li i { color: var(--secondary); margin-top: 0.25rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--primary-dark); color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 2rem; margin-bottom: 2rem; }
.footer-grid h4 { color: #fff; margin-bottom: 1rem; font-size: 0.9375rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.footer-brand .footer-logo { margin-bottom: 0.25rem; }
.footer-brand p { color: rgba(255,255,255,0.78); font-size: 0.875rem; line-height: 1.55; max-width: 320px; }
.footer-grid a { color: rgba(255,255,255,0.7); font-size: 0.875rem; display: block; padding: 0.25rem 0; }
.footer-grid a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); display: flex;
  align-items: center; justify-content: center; color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem; text-align: center; font-size: 0.8125rem;
}

/* ---- Panel Layout ---- */
.panel-layout { display: flex; min-height: 100vh; }
.panel-sidebar {
  width: var(--sidebar-width); background: var(--primary-dark);
  color: #fff; position: fixed; top: 0; left: 0; bottom: 0;
  z-index: 200; overflow-y: auto; transition: transform var(--transition);
  display: flex; flex-direction: column;
}
.sidebar-nav { flex: 1; padding: 0.75rem 0; overflow-y: auto; }
.sidebar-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 1.25rem; color: rgba(255,255,255,0.75);
  font-size: 0.875rem; font-weight: 500; transition: all var(--transition);
}
.sidebar-link:hover, .sidebar-link.active {
  background: rgba(255,255,255,0.1); color: #fff;
}
.sidebar-link i { width: 20px; text-align: center; }
.sidebar-link .badge-premium { font-size: 0.625rem; padding: 0.1rem 0.4rem; margin-left: auto; }
.sidebar-section { padding: 0.5rem 1.25rem; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.4); margin-top: 0.5rem; }

.panel-main { flex: 1; margin-left: var(--sidebar-width); min-height: 100vh; display: flex; flex-direction: column; }
.panel-topbar {
  height: var(--topbar-height); background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 1.5rem; gap: 1rem;
  position: sticky; top: 0; z-index: 50;
}
.topbar-search {
  flex: 1; max-width: 400px; position: relative;
}
.topbar-search input {
  width: 100%; padding: 0.5rem 0.875rem 0.5rem 2.25rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--background); font-size: 0.875rem;
}
.topbar-search i { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: 0.875rem; }
.topbar-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.topbar-icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); position: relative;
  transition: background var(--transition);
}
.topbar-icon-btn:hover { background: var(--blue-soft); color: var(--primary); }
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--danger); border: 2px solid var(--surface);
}
.panel-content { flex: 1; padding: 1.5rem; }

/* ---- Dashboard ---- */
.page-header { margin-bottom: 1.5rem; }
.page-header h1 { font-size: 1.5rem; }
.dashboard-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.dash-stat {
  padding: 1.25rem; background: var(--surface);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.dash-stat-value { font-size: 1.75rem; font-weight: 700; color: var(--primary); }
.dash-stat-label { font-size: 0.8125rem; color: var(--text-secondary); }
.dash-stat-change { font-size: 0.75rem; font-weight: 600; margin-top: 0.25rem; }
.dash-stat-change.up { color: var(--success); }
.dash-stat-change.down { color: var(--danger); }
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.dashboard-grid-full { grid-column: 1 / -1; }

/* ---- Tablolar ---- */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  text-align: left; padding: 0.75rem 1rem;
  background: var(--background); font-weight: 600;
  border-bottom: 2px solid var(--border); white-space: nowrap;
}
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:hover td { background: var(--blue-soft); }
.table-actions { display: flex; gap: 0.25rem; flex-wrap: wrap; }

/* Mobil tablo kartları */
.table-cards { display: none; }
.table-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem; margin-bottom: 0.75rem;
}
.table-card-row { display: flex; justify-content: space-between; padding: 0.25rem 0; font-size: 0.875rem; }
.table-card-row .label { color: var(--text-secondary); font-weight: 500; }

/* ---- Filtre Sidebar ---- */
.filter-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; }
.filter-sidebar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  height: fit-content; position: sticky; top: calc(var(--topbar-height) + 1rem);
}
.filter-group { margin-bottom: 1.25rem; }
.filter-group-title { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }
.filter-check { display: flex; align-items: center; gap: 0.5rem; padding: 0.25rem 0; font-size: 0.875rem; }
.results-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem;
}
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.view-toggle button {
  padding: 0.375rem 0.75rem; font-size: 0.875rem;
  color: var(--text-secondary); background: var(--surface);
}
.view-toggle button.active { background: var(--primary); color: #fff; }

/* ---- Proje Detay ---- */
.project-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.5rem; }
.detail-sidebar-card {
  position: sticky; top: calc(var(--topbar-height) + 1rem);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.detail-section { margin-bottom: 1.5rem; }
.detail-section h3 { margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.info-box {
  padding: 1rem; border-radius: var(--radius-md);
  font-size: 0.875rem; margin: 1rem 0;
}
.info-box.warning { background: #fef3c7; border-left: 4px solid var(--warning); color: #92400e; }
.info-box.success { background: var(--secondary-soft); border-left: 4px solid var(--secondary); color: #166534; }
.info-box.info { background: var(--blue-soft); border-left: 4px solid var(--primary); color: var(--primary); }

/* ---- Wizard / Multi-step ---- */
.wizard-progress {
  display: flex; gap: 0; margin-bottom: 2rem; overflow-x: auto;
}
.wizard-step {
  flex: 1; text-align: center; position: relative; min-width: 100px;
}
.wizard-step::after {
  content: ''; position: absolute; top: 16px; left: 50%; width: 100%; height: 2px;
  background: var(--border); z-index: 0;
}
.wizard-step:last-child::after { display: none; }
.wizard-step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--border); color: var(--text-secondary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem; margin: 0 auto 0.5rem;
  position: relative; z-index: 1;
}
.wizard-step.active .wizard-step-circle { background: var(--primary); color: #fff; }
.wizard-step.done .wizard-step-circle { background: var(--success); color: #fff; }
.wizard-step-label { font-size: 0.75rem; color: var(--text-secondary); }
.wizard-step.active .wizard-step-label { color: var(--primary); font-weight: 600; }

/* ---- Drag & Drop Upload ---- */
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius-lg);
  padding: 2rem; text-align: center; cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.upload-zone:hover, .upload-zone.dragover { border-color: var(--primary); background: var(--blue-soft); }
.upload-zone i { font-size: 2rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.upload-preview { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.upload-file {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.75rem; background: var(--background);
  border-radius: var(--radius-sm); font-size: 0.8125rem;
}

/* ---- Doğrulama Animasyonu ---- */
.verify-steps { margin: 1.5rem 0; }
.verify-step-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem; border-radius: var(--radius-sm); margin-bottom: 0.5rem;
  background: var(--background); opacity: 0.4; transition: all 0.4s;
}
.verify-step-item.active { opacity: 1; background: var(--blue-soft); }
.verify-step-item.done { opacity: 1; }
.verify-step-item.done i { color: var(--success); }
.verify-spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Mesajlaşma ---- */
.messaging-layout { display: grid; grid-template-columns: 320px 1fr; gap: 0; height: calc(100vh - var(--topbar-height) - 3rem); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.msg-list { border-right: 1px solid var(--border); overflow-y: auto; }
.msg-list-header { padding: 1rem; border-bottom: 1px solid var(--border); }
.msg-item {
  padding: 0.875rem 1rem; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
}
.msg-item:hover, .msg-item.active { background: var(--blue-soft); }
.msg-item-name { font-weight: 600; font-size: 0.875rem; }
.msg-item-preview { font-size: 0.8125rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-area { display: flex; flex-direction: column; }
.msg-header { padding: 1rem; border-bottom: 1px solid var(--border); font-weight: 600; }
.msg-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.msg-bubble {
  max-width: 70%; padding: 0.625rem 1rem; border-radius: var(--radius-md);
  font-size: 0.875rem;
}
.msg-bubble.sent { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-bubble.received { align-self: flex-start; background: var(--background); border-bottom-left-radius: 4px; }
.msg-input-area { padding: 1rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; }
.msg-input-area input { flex: 1; }

/* ---- Takvim ---- */
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.calendar-day-name { background: var(--background); padding: 0.5rem; text-align: center; font-weight: 600; font-size: 0.8125rem; }
.calendar-day {
  background: var(--surface); min-height: 80px; padding: 0.375rem;
  font-size: 0.8125rem;
}
.calendar-day.other-month { opacity: 0.4; }
.calendar-day.today { background: var(--blue-soft); }
.calendar-event {
  font-size: 0.6875rem; padding: 0.125rem 0.375rem;
  border-radius: 3px; margin-top: 2px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; cursor: pointer;
}
.cal-deadline { background: #fee2e2; color: #991b1b; }
.cal-protocol { background: var(--secondary-soft); color: #166534; }
.cal-event { background: var(--blue-soft); color: var(--primary); }
.cal-admin { background: #fef3c7; color: #92400e; }
.cal-ai { background: #ede9fe; color: #5b21b6; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: 0.8125rem; }
.legend-item { display: flex; align-items: center; gap: 0.375rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }

/* ---- Galeri / Aktivite Akışı ---- */
.activity-feed { max-width: 680px; margin: 0 auto; }
.activity-post {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); margin-bottom: 1.25rem; overflow: hidden;
}
.activity-post-header { padding: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.activity-post-type {
  font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--primary);
}
.activity-post-image {
  width: 100%; height: 240px; background: var(--background);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 3rem;
}
.activity-post-body { padding: 0 1rem 1rem; }
.activity-post-actions {
  padding: 0.75rem 1rem; border-top: 1px solid var(--border);
  display: flex; gap: 1rem; font-size: 0.8125rem; color: var(--text-secondary);
}
.activity-post-actions button { display: flex; align-items: center; gap: 0.375rem; color: var(--text-secondary); }
.activity-post-actions button:hover { color: var(--primary); }

/* ---- Profil ---- */
.profile-cover {
  height: 200px; background: var(--gradient-premium);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: relative;
}
.profile-avatar {
  width: 100px; height: 100px; border-radius: var(--radius-lg);
  background: var(--surface); border: 4px solid var(--surface);
  position: absolute; bottom: -40px; left: 2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary); overflow: hidden;
}
.profile-header-info { padding: 3rem 2rem 1.5rem; }
.profile-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1rem 0; }
.profile-stat { text-align: center; }
.profile-stat-value { font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.profile-stat-label { font-size: 0.75rem; color: var(--text-secondary); }
.profile-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); overflow-x: auto; }
.profile-tab {
  padding: 0.75rem 1.25rem; font-weight: 600; font-size: 0.875rem;
  color: var(--text-secondary); border-bottom: 2px solid transparent;
  margin-bottom: -2px; white-space: nowrap;
}
.profile-tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ---- AI Analiz ---- */
.ai-score-circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--gradient-premium); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; margin: 0 auto 1.5rem;
}
.ai-score-circle small { font-size: 0.875rem; font-weight: 400; }
.ai-subscores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.ai-subscore {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5rem 0.75rem; background: var(--background);
  border-radius: var(--radius-sm); font-size: 0.875rem;
}
.ai-subscore-bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; margin: 0 0.75rem; overflow: hidden; }
.ai-subscore-fill { height: 100%; background: var(--secondary); border-radius: 3px; }
.ai-result-section { margin-bottom: 1.25rem; }
.ai-result-section h4 { margin-bottom: 0.5rem; font-size: 0.9375rem; }
.ai-result-section ul { padding-left: 1.25rem; list-style: disc; }
.ai-result-section li { font-size: 0.875rem; color: var(--text-secondary); padding: 0.125rem 0; }
.ai-loading { padding: 1.25rem; background: var(--background); border-radius: var(--radius-md); border: 1px solid var(--border); }
.ai-loading-steps { display: flex; flex-direction: column; gap: 0.65rem; }
.ai-list { padding-left: 1.25rem; list-style: disc; }
.ai-list li { font-size: 0.875rem; color: var(--text-secondary); padding: 0.125rem 0; }
.ann-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ann-filters .btn.active { background: var(--primary); color: #fff; }
.announcement-item-body { flex: 1; min-width: 0; }
.stats-grid-sm { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.stats-grid-sm .stat-card { padding: 0.75rem; }
.stats-grid-sm .stat-number { font-size: 1.25rem; }
.eu-grants-section { padding: 1.25rem; background: var(--background); border: 1px solid var(--border); border-radius: var(--radius-md); }
.grant-card h3 { font-size: 1rem; margin: 0.5rem 0; }

/* ---- Login ---- */
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login-brand {
  background: var(--gradient-premium); color: #fff;
  padding: 3rem; display: flex; flex-direction: column; justify-content: center;
}
.login-brand h1 { color: #fff; margin: 1.5rem 0 0.75rem; }
.login-brand p { color: rgba(255,255,255,0.85); }
.login-benefits { margin-top: 2rem; }
.login-benefits li { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0; color: rgba(255,255,255,0.9); }
.login-form-area { display: flex; align-items: center; justify-content: center; padding: 2rem; background: var(--surface); }
.login-form-wrap { width: 100%; max-width: 420px; }
.demo-accounts {
  margin-top: 1.5rem; padding: 1rem; background: var(--blue-soft);
  border-radius: var(--radius-md); font-size: 0.8125rem;
}
.demo-accounts h4 { font-size: 0.875rem; margin-bottom: 0.5rem; }
.demo-account-btn {
  display: block; width: 100%; text-align: left; padding: 0.5rem;
  border-radius: var(--radius-sm); margin-top: 0.25rem;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8125rem; cursor: pointer;
}
.demo-account-btn:hover { border-color: var(--primary); }

/* ---- Modal ---- */
.modal-root { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal-root.open { display: flex; align-items: center; justify-content: center; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(0, 38, 74, 0.5);
  backdrop-filter: blur(2px);
}
.modal-dialog {
  position: relative; background: var(--surface);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  max-width: 560px; width: 90%; max-height: 90vh;
  overflow-y: auto; animation: modalIn 0.25s ease;
}
.modal-dialog.lg { max-width: 800px; }
.modal-dialog.xl { max-width: 960px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
.modal-header {
  padding: 1.25rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h3 { font-size: 1.125rem; }
.modal-close { width: 32px; height: 32px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); }
.modal-close:hover { background: var(--background); }
.modal-body { padding: 1.25rem; }
.modal-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 0.5rem; }

/* ---- Toast ---- */
.toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 2000; display: flex; flex-direction: column; gap: 0.5rem; }
.toast {
  padding: 0.875rem 1.25rem; border-radius: var(--radius-md);
  background: var(--surface); box-shadow: var(--shadow);
  border-left: 4px solid var(--primary); font-size: 0.875rem;
  animation: toastIn 0.3s ease; max-width: 380px;
  display: flex; align-items: center; gap: 0.75rem;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: none; } }

/* ---- Skeleton ---- */
.skeleton { background: linear-gradient(90deg, var(--border) 25%, var(--background) 50%, var(--border) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-sm); }
.skeleton-logo { width: 120px; height: 40px; margin-bottom: 1rem; }
.skeleton-text { height: 16px; margin-bottom: 0.5rem; }
.skeleton-text.short { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.app-loading { display: flex; align-items: center; justify-content: center; min-height: 100vh; }

/* ---- Empty State ---- */
.empty-state { text-align: center; padding: 3rem 1.5rem; }
.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: 0.5rem; }

/* ---- Progress Bar ---- */
.progress-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--secondary); border-radius: 4px; transition: width 0.4s ease; }

/* ---- Dropdown ---- */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; right: 0; min-width: 200px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow);
  padding: 0.375rem; z-index: 100; display: none;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--text-primary); width: 100%; text-align: left;
}
.dropdown-item:hover { background: var(--blue-soft); }

/* ---- Timeline ---- */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 1.25rem; }
.timeline-dot {
  position: absolute; left: -1.5rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary);
}
.timeline-item.done .timeline-dot { background: var(--success); border-color: var(--success); }

/* ---- Drawer ---- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 150; display: none;
}
.drawer-overlay.open { display: block; }

/* ---- Mobil Alt Menü ---- */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: var(--surface); border-top: 1px solid var(--border);
  display: flex; justify-content: space-around; padding: 0.375rem 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
}
.mobile-bottom-nav a {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.125rem; font-size: 0.6875rem; color: var(--text-secondary);
  padding: 0.25rem 0.5rem;
}
.mobile-bottom-nav a.active { color: var(--primary); }
.mobile-bottom-nav a i { font-size: 1.125rem; }

/* ---- Duyuru / Banner ---- */
.announcement-board { display: grid; gap: 0.75rem; }
.announcement-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; background: var(--surface);
  border-radius: var(--radius-md); border: 1px solid var(--border);
}
.ad-banner {
  background: var(--blue-soft); border: 1px dashed var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  color: var(--text-secondary);
}
.grant-banner h3 {
  color: var(--primary);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.grant-banner p { margin: 0.25rem 0; }
.grant-banner .btn { margin: 0.75rem 0.25rem 0; }
.newsletter-form { display: flex; gap: 0.5rem; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; }
.newsletter-form .btn { flex-shrink: 0; }

.footer-tagline { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.82); line-height: 1.55; }
.footer-sub { font-size: 0.8125rem; margin-top: 0.35rem; color: rgba(255,255,255,0.65); line-height: 1.5; }

.sidebar-logo-wrap { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); }

/* ---- Admin Charts ---- */
.chart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.chart-card { padding: 1.25rem; }
.chart-card canvas { max-height: 260px; }

/* ---- Grid Utilities ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.gap-1 { gap: 0.5rem; } .gap-2 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mb-2 { margin-bottom: 1rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-mockup { order: -1; }
  .stats-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .orgs-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-packages { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .filter-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .project-detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar-card { position: static; }
  .login-layout { grid-template-columns: 1fr; }
  .login-brand { padding: 2rem; min-height: auto; }
  .chart-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .public-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .public-header-inner { flex-wrap: wrap; align-items: center; }
  .header-logo { max-width: min(220px, 50vw); padding: 0.28rem 0.5rem; }
  .header-actions { margin-left: auto; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form .btn { width: 100%; }
  .login-brand { text-align: center; align-items: center; }
  .login-brand .login-logo { margin: 0 auto; }
  .panel-topbar { flex-wrap: wrap; height: auto; min-height: var(--topbar-height); padding: 0.5rem 1rem; gap: 0.5rem; }
  .topbar-search { max-width: 100%; order: 3; width: 100%; flex: 1 1 100%; }
  .public-nav.mobile-open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: 1rem;
    box-shadow: var(--shadow);
  }
  .stats-grid, .steps-grid { grid-template-columns: 1fr; }
  .projects-grid, .orgs-grid { grid-template-columns: 1fr; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .panel-sidebar { transform: translateX(-100%); }
  .panel-sidebar.open { transform: translateX(0); }
  .panel-main { margin-left: 0; }
  .panel-content { padding: 1rem; padding-bottom: 5rem; }
  .data-table-wrap .data-table { display: none; }
  .table-cards { display: block; }
  .messaging-layout { grid-template-columns: 1fr; height: auto; }
  .msg-list { max-height: 200px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bottom-nav { display: flex !important; }
  .header-actions .btn-text-hide { display: none; }
}

.org-logo-img {
  width: 64px; height: 64px; max-width: 64px;
  border-radius: 14px; object-fit: contain;
  margin: 0 auto 0.75rem; display: block;
  background: #fff; padding: 4px; border: 1px solid var(--border);
  flex-shrink: 0;
}
.org-logo-img.logo-fallback { display: none; }
.org-contact-preview a { color: var(--primary); word-break: break-all; }
.org-profile-header { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; justify-content: center; text-align: center; }
.org-profile-logo {
  border-radius: 18px; box-shadow: var(--shadow-sm); object-fit: contain;
  background: #fff; padding: 6px; border: 1px solid var(--border);
  width: 96px; height: 96px; max-width: 96px;
  margin: 0 auto; display: block; flex-shrink: 0;
}
.badge-xs { font-size: 0.65rem; padding: 0.15rem 0.4rem; vertical-align: middle; }
.org-maps-link { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--secondary); font-weight: 600; }
.org-maps-link-sm { font-size: 0.75rem; margin-top: 0.25rem; }
.org-map-card { overflow: hidden; }
.org-map-embed { width: 100%; height: 280px; border: 0; border-radius: var(--radius-md); }
.pagination-bar { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.ai-subscores { display: grid; gap: 0.65rem; }
.ai-subscore { display: grid; grid-template-columns: 100px 1fr 40px; gap: 0.5rem; align-items: center; font-size: 0.85rem; }
.progress-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.ai-list { margin: 0.5rem 0 0 1rem; }
.ai-score-inline { font-weight: 700; color: var(--secondary); }
.ai-result-header { align-items: center; gap: 1rem; }
.card-link { display: block; text-decoration: none; color: inherit; transition: transform 0.15s, box-shadow 0.15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.75rem 1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0.75rem 0 0; color: var(--text-muted); font-size: 0.95rem; }
.form-stack { display: grid; gap: 0.75rem; }
.form-stack label { display: grid; gap: 0.35rem; font-size: 0.9rem; font-weight: 500; }
.form-stack input, .form-stack textarea { width: 100%; }

@media (max-width: 768px) {
  .org-profile-header { flex-direction: column; text-align: center; }
  .ai-subscore { grid-template-columns: 1fr; }
}

  .hero { padding: 2rem 1rem; }
  .section { padding: 2.5rem 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .public-header-inner { padding: 0.5rem 0.75rem; gap: 0.4rem; }
  .header-logo { max-width: min(170px, 46vw); }
  .header-actions .btn-success { display: none; }
  .footer-logo .logo-img { max-height: 38px; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-brand .footer-logo { margin-left: auto; margin-right: auto; }
  .footer-brand p { max-width: 100%; }
  .login-logo { padding: 0.45rem 0.75rem; }
}
