:root {
  --navy: #1a2b4a;
  --accent: #1e9e5c;
  --accent-dark: #167a47;
  --border: #e7ebf1;
  --border-light: #e4e8ee;
  --muted: #5b6b82;
  --faint: #8b96a6;
  --dash: #c3cad4;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }

@keyframes blobFloat { 0% { transform: translate(0,0); } 50% { transform: translate(14px,-10px); } 100% { transform: translate(0,0); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modalIn { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes cardIn { from { opacity: 0; transform: scale(.96) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--navy);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

a { color: inherit; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 16px; }
.logo-link { display: block; }
.logo-img { height: 58px; width: auto; display: block; margin: -4px 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-greeting { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.btn-ghost { color: var(--navy); font-weight: 600; font-size: 15px; text-decoration: none; padding: 10px 16px; border-radius: 10px; }
.btn-ghost:hover { background: #eef1f6; }
.btn-accent {
  background: var(--accent-dark); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  padding: 10px 22px; border-radius: 10px; box-shadow: 0 2px 8px rgba(30,158,92,0.28);
  display: inline-block; transition: transform 180ms ease, background 180ms ease;
}
.btn-accent:hover { filter: brightness(0.92); transform: scale(1.02); }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--faint); flex-wrap: wrap; padding: 20px 24px 0; }
.breadcrumb a { text-decoration: none; color: var(--faint); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .current { color: var(--navy); font-weight: 600; }

/* Template page */
.template-main { max-width: 1240px; margin: 0 auto; padding: 24px 24px 80px; }
.template-heading { margin-bottom: 28px; }
.template-heading h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 8px; }
.template-heading p { font-size: 15px; color: var(--muted); margin: 0; }

.template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 28px; align-items: start; }

.template-info, .template-faq { max-width: 760px; margin: 56px auto 0; }
.template-info h2, .template-faq h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight: 800; color: var(--navy); margin: 0 0 16px; }
.template-info p { font-size: 15px; line-height: 1.7; color: #3a4658; margin: 0 0 14px; }
.template-info p:last-child { margin-bottom: 0; }

.guide-article { max-width: 760px; margin: 0 auto; }
.guide-updated { font-size: 12.5px; color: var(--faint); margin: 4px 0 0; }
.guide-body h2 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 800; color: var(--navy); margin: 32px 0 12px; }
.guide-body p { font-size: 15px; line-height: 1.75; color: #3a4658; margin: 0 0 14px; }
.guide-body ul { margin: 0 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.guide-body li { font-size: 15px; line-height: 1.6; color: #3a4658; }
.guide-related { margin: 36px 0 0; background: #f4faf7; border: 1.5px solid rgba(30,158,92,0.25); border-radius: 14px; padding: 20px 22px; }
.guide-related h3 { margin: 0 0 12px; font-size: 14.5px; font-weight: 800; color: var(--navy); }
.guide-related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-related-link { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--border-light); color: var(--navy); font-weight: 700; font-size: 13.5px; text-decoration: none; padding: 9px 16px; border-radius: 10px; transition: border-color 180ms ease, transform 180ms ease; }
.guide-related-link:hover { border-color: var(--accent); transform: translateY(-1px); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1.5px solid var(--border-light); border-radius: 12px; padding: 4px 18px; background: #fff; }
.faq-question { font-size: 15px; font-weight: 700; color: var(--navy); padding: 14px 0; cursor: pointer; list-style: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: '+'; float: right; color: var(--accent); font-weight: 800; }
.faq-item[open] .faq-question::after { content: '−'; }
.faq-answer { font-size: 14.5px; line-height: 1.65; color: #3a4658; margin: 0 0 16px; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 30px; }

.info-box {
  display: flex; gap: 10px; align-items: flex-start; background: #eef1f6; border: 1px solid var(--border-light);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 26px;
}
.info-box .dot {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif;
}
.info-box p { margin: 0; font-size: 13.5px; color: #46536b; line-height: 1.55; }

.form-card h2 { font-size: 16px; font-weight: 700; margin: 0 0 20px; }

.field-list { display: flex; flex-direction: column; gap: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input[type="text"], .field input[type="date"], .field textarea, .field select {
  width: 100%; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--border-light); border-radius: 10px;
  font-family: inherit; color: var(--navy); outline: none; transition: border-color 180ms ease; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); }
.field textarea { resize: vertical; }

/* Wizard */
.wizard-stepper { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; margin-bottom: 26px; }
.wizard-step-dot { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; cursor: pointer; }
.wizard-step-dot:not(:last-child)::after {
  content: ''; position: absolute; top: 14px; left: calc(50% + 20px); right: calc(-50% + 20px);
  height: 2px; background: var(--border-light); z-index: 0;
}
.wizard-step-dot.done:not(:last-child)::after { background: var(--accent); }
.wizard-step-num {
  width: 28px; height: 28px; border-radius: 50%; background: #eef1f6; color: var(--faint); font-weight: 700;
  font-size: 13px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  transition: background 180ms ease, color 180ms ease;
}
.wizard-step-dot.active .wizard-step-num, .wizard-step-dot.done .wizard-step-num { background: var(--accent); color: #fff; }
.wizard-step-label { font-size: 11.5px; font-weight: 600; color: var(--faint); text-align: center; }
.wizard-step-dot.active .wizard-step-label { color: var(--navy); }

.wizard-panel { display: none; }
.wizard-panel.active { display: block; }

.wizard-nav { display: flex; gap: 12px; margin-top: 24px; }
#wizard-back-btn, #download-btn { display: none; }
.wizard-btn-back {
  flex: none; background: #eef1f6; color: var(--navy); border: none; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 12px; cursor: pointer; font-family: inherit;
}
.wizard-btn-back:hover { background: var(--border-light); }
.wizard-btn-next {
  flex: 1; background: var(--accent); color: #fff; border: none; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 12px; cursor: pointer; font-family: inherit; transition: background 180ms ease;
}
.wizard-btn-next:hover:not(:disabled) { background: var(--accent-dark); }
.wizard-btn-next:disabled { opacity: .5; cursor: not-allowed; }

.custom-clauses-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.custom-clause-item { border: 1.5px solid var(--border-light); border-radius: 10px; padding: 14px; }
.custom-clause-item label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.custom-clause-textarea {
  width: 100%; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--border-light); border-radius: 8px;
  font-family: inherit; color: var(--navy); resize: vertical; outline: none; transition: border-color 180ms ease;
}
.custom-clause-textarea:focus { border-color: var(--accent); }
.custom-clause-remove { margin-top: 8px; background: none; border: none; color: #dc2626; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; font-family: inherit; }
.add-clause-btn {
  width: 100%; background: #eef1f6; border: 1.5px dashed var(--border); color: var(--navy); font-weight: 700;
  font-size: 14px; padding: 12px; border-radius: 10px; cursor: pointer; font-family: inherit; transition: background 180ms ease;
}
.add-clause-btn:hover { background: var(--border-light); }

.clause-editor-intro { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.clause-editor-list { display: flex; flex-direction: column; gap: 12px; }
.clause-editor-item { border: 1.5px solid var(--border-light); border-radius: 10px; padding: 12px 14px; }
.clause-editor-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.clause-editor-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.clause-editor-toggle { background: none; border: none; color: var(--accent); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; font-family: inherit; }
.clause-editor-textarea {
  width: 100%; margin-top: 10px; border: 1.5px solid var(--border-light); border-radius: 8px;
  padding: 10px; font-family: inherit; font-size: 13.5px; resize: vertical;
}
.clause-editor-textarea:focus { border-color: var(--accent); }
.clause-editor-textarea[hidden] { display: none; }

/* Premium / Paketler */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; max-width: 780px; margin: 0 auto; }
.plan-card { background: #fff; border: 1.5px solid var(--border-light); border-radius: 18px; padding: 32px; text-align: center; }
.plan-card-title { font-size: 19px; font-weight: 800; color: var(--navy); margin: 0 0 18px; }
.premium-benefits { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.premium-benefits li { font-size: 14.5px; color: #3a4658; padding-left: 26px; position: relative; }
.premium-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.premium-price { margin-bottom: 20px; }
.premium-price-amount { font-size: 34px; font-weight: 800; color: var(--navy); }
.premium-price-period { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-cta { display: block; width: 100%; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; padding: 13px; border: none; border-radius: 10px; cursor: pointer; text-decoration: none; box-sizing: border-box; }
.plan-cta:hover { background: #0f1c33; }
.plan-cta:disabled { cursor: not-allowed; opacity: .6; }
.premium-note { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.premium-active-badge { display: inline-block; background: #eaf6ef; color: #17794a; font-weight: 700; padding: 8px 18px; border-radius: 20px; margin-bottom: 12px; }
.premium-active-text { color: var(--muted); font-size: 14.5px; }

/* Paket hero (emlak.php ve gelecekteki paket dashboard'ları ortak kullanır) */
.package-hero {
  display: flex; align-items: center; gap: 20px; border-radius: 18px; padding: 28px 32px; margin-bottom: 28px;
  background: linear-gradient(135deg, var(--navy), #24365c); color: #fff;
}
.package-hero-icon { font-size: 40px; line-height: 1; flex: none; }
.package-hero-body h1 { color: #fff; margin: 2px 0 6px; font-size: 24px; }
.package-hero-body p { color: rgba(255,255,255,0.82); margin: 0; font-size: 14.5px; }
.package-hero-label {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; color: var(--accent);
  background: rgba(255,255,255,0.12); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px;
}

/* Preview panel */
.preview-wrap { position: sticky; top: 96px; align-self: start; }
.preview-outer { background: #eef1f6; border-radius: 20px; padding: 22px; display: flex; justify-content: center; }
.preview-sheet {
  background: #fff; width: 100%; max-width: 460px; border-radius: 4px;
  box-shadow: 0 20px 40px rgba(26,43,74,0.14); padding: 40px 36px; min-height: 520px;
}
.preview-title { text-align: center; margin-bottom: 22px; }
.preview-title h3 { font-size: 17px; font-weight: 800; letter-spacing: .03em; margin: 0 0 4px; }
.preview-title p { font-size: 11.5px; color: var(--dash); margin: 0; }
.preview-title .rule { height: 1px; background: var(--border-light); margin-top: 16px; }

.madde-block { margin-bottom: 16px; }
.madde-title { font-size: 12px; font-weight: 800; color: var(--accent); margin: 0 0 8px; letter-spacing: .03em; }
.madde-line {
  font-size: 13px; color: #3a4658; margin: 0 -6px 5px -6px; line-height: 1.6; padding: 2px 6px; border-radius: 6px;
}
.madde-line:last-child { margin-bottom: 0; }
.fv { transition: background-color 500ms ease; border-radius: 4px; }
.fv-filled { font-weight: 700; color: var(--navy); }
.fv-empty { color: var(--dash); }
.hl-flash { background-color: rgba(30,158,92,0.12); }

.sig-row { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; }
.sig-row div { flex: 1; text-align: center; border-top: 1px solid #c9cfd9; padding-top: 8px; font-size: 11.5px; color: var(--dash); }

/* Download */
.download-area { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 36px; }
.download-btn {
  display: flex; align-items: center; gap: 10px; background: var(--accent); color: #fff; border: none;
  font-weight: 700; font-size: 17px; padding: 17px 46px; border-radius: 14px; cursor: pointer; font-family: inherit;
  box-shadow: 0 10px 24px rgba(30,158,92,0.28); transition: transform 180ms ease, background 180ms ease;
}
.download-btn:hover:not(:disabled) { background: var(--accent-dark); transform: scale(1.02); }
.download-btn:disabled { opacity: .55; cursor: not-allowed; }
.required-hint { font-size: 13px; color: var(--faint); margin: 0; }
.premium-hint { font-size: 13px; color: var(--muted); text-decoration: none; text-align: center; }
.accent-link { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }

.form-errors { background: #fdecec; border: 1px solid #f3b9b9; color: #a13333; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: 13.5px; }
.form-errors ul { margin: 4px 0 0; padding-left: 18px; }

/* Calculators */
.calc-btn { margin-top: 6px; width: 100%; justify-content: center; }
.calc-result { position: sticky; top: 96px; }
.calc-result-panel { background: #fff; border: 1.5px solid var(--border-light); border-radius: 18px; padding: 28px; }

.calc-result-placeholder { text-align: center; padding: 22px 8px; }
.calc-result-placeholder-icon {
  width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; background: #f4faf7;
  display: flex; align-items: center; justify-content: center; color: var(--accent-dark);
}
.calc-result-placeholder p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }

.calc-result-title { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 14px; }
.calc-result-table { width: 100%; border-collapse: collapse; }
.calc-result-table tr { border-bottom: 1px solid var(--border-light); }
.calc-result-table tr:last-child { border-bottom: none; }
.calc-result-table td { padding: 11px 2px; font-size: 14px; color: #3a4658; vertical-align: top; }
.calc-result-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; padding-left: 12px; }
.calc-result-table tr.calc-result-highlight td { padding-top: 16px; }
.calc-result-table tr.calc-result-highlight td:first-child { color: var(--navy); font-size: 14px; font-weight: 700; }
.calc-result-table tr.calc-result-highlight td:last-child { font-size: 21px; font-weight: 800; color: var(--accent-dark); }

.calc-result-notes { margin: 16px 0 0; padding: 14px 16px; background: #fdf8ec; border: 1px solid #f0e2b8; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.calc-result-note { font-size: 12.5px; color: #6b5a2a; line-height: 1.55; margin: 0; }
.calc-result-cta { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; background: var(--accent-dark); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; padding: 13px 22px; border-radius: 10px; transition: filter 180ms ease; }
.calc-result-cta:hover { filter: brightness(0.92); }
.calc-result-error { background: #fdecec; border: 1px solid #f3b9b9; color: #a13333; border-radius: 12px; padding: 14px 18px; font-size: 14px; }

/* Resume (kind: "resume" — CV wizard cards + right-side preview) */
.resume-group-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.resume-group-card { border: 1.5px solid var(--border-light); border-radius: 10px; padding: 14px; transition: opacity .15s, border-color .15s; }
.resume-group-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; cursor: grab; }
.resume-group-card-head:active { cursor: grabbing; }
.resume-group-card-title { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.resume-group-card-title::before { content: "\22ee\22ee"; letter-spacing: -2px; color: var(--border-light); font-size: 12px; margin-right: 8px; }
.resume-group-card.dragging { opacity: .4; border-color: var(--accent); border-style: dashed; }
.resume-group-remove { background: none; border: none; color: #dc2626; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; font-family: inherit; }
.resume-add-btn { margin-bottom: 4px; }

.photo-upload-input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.photo-upload-dropzone {
  display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--border-light); border-radius: 12px;
  padding: 12px 16px; cursor: pointer; transition: border-color .15s, background .15s;
}
.photo-upload-dropzone:hover { border-color: var(--accent); background: #f7fbf9; }
.photo-upload-input:focus-visible + .photo-upload-dropzone { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-upload-thumb { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.photo-upload-icon { width: 46px; height: 46px; border-radius: 50%; background: #eef2f8; color: var(--muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.photo-upload-text { display: flex; flex-direction: column; gap: 2px; }
.photo-upload-text strong { font-size: 13.5px; color: var(--navy); }
.photo-upload-text small { font-size: 11.5px; color: var(--muted); }

.resume-preview-header { text-align: center; margin-bottom: 20px; }
.resume-preview-name { font-size: 19px; font-weight: 800; margin: 0 0 3px; }
.resume-preview-title { font-size: 13px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.resume-preview-contact { font-size: 11px; color: var(--muted); margin: 0 0 14px; }
.resume-preview-header::after { content: ''; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--accent); margin: 0 auto; }

.resume-preview-section { margin-bottom: 16px; }
.resume-preview-section-title {
  font-size: 11px; font-weight: 800; color: var(--navy); letter-spacing: .05em;
  border-left: 3px solid var(--accent); padding-left: 8px; margin: 0 0 10px;
}
.resume-preview-text { font-size: 12.5px; line-height: 1.6; color: #3a4658; margin: 0; }
.resume-preview-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag-pill { display: inline-block; background: #eaf6ef; color: #17794a; font-size: 11px; padding: 3px 10px; border-radius: 10px; }

.resume-preview-entry { margin-bottom: 12px; }
.resume-preview-entry:last-child { margin-bottom: 0; }
.resume-preview-entry-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.resume-preview-entry-main { font-size: 13px; }
.resume-preview-entry-primary { font-weight: 700; color: var(--navy); }
.resume-preview-entry-secondary { color: #3a4658; }
.resume-preview-entry-dates { font-size: 10.5px; color: #6b7688; white-space: nowrap; background: #f2f4f7; padding: 2px 8px; border-radius: 8px; }
.resume-preview-entry-desc { font-size: 12px; line-height: 1.55; color: #3a4658; margin: 4px 0 0; }
.resume-preview-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 12px; border: 3px solid #eaf6ef; }

/* CV theme variations — live preview approximates each PDF theme's palette/type */
#resume-preview[data-theme="modern"] .resume-preview-name { color: var(--navy); }
#resume-preview[data-theme="modern"] .resume-preview-section-title { color: var(--navy); border-left-color: #1e9e5c; }
#resume-preview[data-theme="modern"] .resume-preview-header { background: var(--navy); color: #fff; border-radius: 12px; padding: 20px 16px; margin: -4px -4px 20px; }
#resume-preview[data-theme="modern"] .resume-preview-header::after { background: #3fc37e; }
#resume-preview[data-theme="modern"] .resume-preview-name { color: #fff; }
#resume-preview[data-theme="modern"] .resume-preview-title { color: #3fc37e; }
#resume-preview[data-theme="modern"] .resume-preview-contact { color: rgba(255,255,255,.75); margin-bottom: 0; }
#resume-preview[data-theme="modern"] .resume-preview-photo { border-color: rgba(255,255,255,.35); }

#resume-preview[data-theme="minimalist"] .resume-preview-name { font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
#resume-preview[data-theme="minimalist"] .resume-preview-title { color: var(--muted); font-weight: 500; }
#resume-preview[data-theme="minimalist"] .resume-preview-header::after { background: #3d424b; }
#resume-preview[data-theme="minimalist"] .resume-preview-section-title { color: var(--muted); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; border-left: none; border-bottom: 1px solid var(--border-light); padding-left: 0; padding-bottom: 6px; }
#resume-preview[data-theme="minimalist"] .resume-preview-entry-primary { color: #2b2f36; }
#resume-preview[data-theme="minimalist"] .tag-pill { background: none; border: 1px solid #d8dade; color: #3d424b; }
#resume-preview[data-theme="minimalist"] .resume-preview-photo { border-color: #ececec; }

/* CV Oluşturucu (cv-olustur.php) */
.cv-picker-main { max-width: 1080px; margin: 0 auto; padding: 24px 24px 90px; }
.cv-picker-heading { text-align: center; margin-bottom: 34px; }
.cv-picker-heading h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 8px; }
.cv-picker-heading p { color: var(--muted); font-size: 15px; }

.cv-theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.cv-theme-card { border: 1.5px solid var(--border-light); border-radius: 16px; padding: 20px; text-align: center; background: #fff; }
.cv-theme-card h3 { font-size: 16px; font-weight: 800; margin: 14px 0 6px; }
.cv-theme-card p { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }

.cv-theme-preview { border: 1px solid var(--border-light); border-radius: 10px; background: #fafbfc; padding: 18px 16px; height: 180px; overflow: hidden; }
.cv-theme-preview-photo { width: 32px; height: 32px; border-radius: 50%; background: var(--border-light); margin: 0 auto 8px; }
.cv-theme-preview-line { height: 6px; border-radius: 3px; background: var(--border-light); margin: 0 auto 6px; width: 70%; }
.cv-theme-preview-name { width: 55%; height: 8px; background: var(--navy); opacity: .8; }
.cv-theme-preview-title { width: 40%; background: var(--accent); }
.cv-theme-preview-rule { height: 1px; background: var(--border-light); margin: 10px 0; }
.cv-theme-preview-line.short { width: 45%; }

.cv-theme-preview[data-theme-preview="modern"] { background: var(--navy); }
.cv-theme-preview[data-theme-preview="modern"] .cv-theme-preview-photo { background: rgba(255,255,255,.3); }
.cv-theme-preview[data-theme-preview="modern"] .cv-theme-preview-line { background: rgba(255,255,255,.35); }
.cv-theme-preview[data-theme-preview="modern"] .cv-theme-preview-name { background: #fff; opacity: 1; }
.cv-theme-preview[data-theme-preview="modern"] .cv-theme-preview-title { background: #3fc37e; }
.cv-theme-preview[data-theme-preview="modern"] .cv-theme-preview-rule { background: rgba(255,255,255,.2); }

.cv-theme-preview[data-theme-preview="minimalist"] .cv-theme-preview-line { background: #ececec; }
.cv-theme-preview[data-theme-preview="minimalist"] .cv-theme-preview-photo { background: #ececec; }
.cv-theme-preview[data-theme-preview="minimalist"] .cv-theme-preview-name,
.cv-theme-preview[data-theme-preview="minimalist"] .cv-theme-preview-title { background: #b6b9c0; opacity: 1; }

.cv-theme-btn {
  display: block; text-align: center; background: var(--accent); color: #fff; font-weight: 700;
  font-size: 14px; padding: 10px 18px; border-radius: 10px; text-decoration: none;
}
.cv-theme-btn:hover { filter: brightness(0.94); }

.cv-theme-badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent);
  background: rgba(30,158,92,.1); border-radius: 999px; padding: 3px 10px; margin-left: 8px; vertical-align: middle;
}

/* Category listing (kategori.php) */
.category-main { max-width: 1240px; margin: 0 auto; padding: 24px 24px 90px; }
.category-heading { margin-bottom: 30px; }
.category-heading h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; margin: 0 0 8px; }
.category-heading p { font-size: 15px; color: var(--muted); margin: 0; }
.category-intro { max-width: 760px; margin-top: 12px !important; line-height: 1.65; color: #3a4658 !important; }

/* Belgelerim (user document history) */
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-row {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border: 1.5px solid var(--border-light); border-radius: 14px; padding: 16px 20px; background: #fff;
  box-shadow: 0 1px 2px rgba(26, 43, 74, 0.03); transition: box-shadow .15s, border-color .15s;
}
.doc-row:hover { box-shadow: 0 6px 18px rgba(26, 43, 74, 0.08); border-color: #d5dbe4; }
.doc-row-expired { opacity: .65; }
.doc-icon {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 800; letter-spacing: .3px; color: #fff;
}
.doc-icon-sozlesmeler { background: linear-gradient(145deg, #1e9e5c, #167a47); }
.doc-icon-dilekceler { background: linear-gradient(145deg, #3a7bd5, #2c5fa8); }
.doc-icon-is-belgeleri { background: linear-gradient(145deg, #f0964d, #d97a2e); }
.doc-icon-kisisel-belgeler { background: linear-gradient(145deg, #9b6bd6, #7c4fb8); }
.doc-icon-resume { background: linear-gradient(145deg, #1a2b4a, #33507f); }
.doc-icon-default { background: linear-gradient(145deg, #8b96a6, #6b7688); }
.doc-row-main { display: flex; flex-direction: column; gap: 4px; flex: 1 1 220px; min-width: 0; }
.doc-no { font-size: 11.5px; color: var(--faint); font-weight: 600; }
.doc-type { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.doc-row-meta { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.doc-badge { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 10px; }
.doc-badge-success { background: #eaf6ef; color: #17794a; }
.doc-badge-neutral { background: #f2f4f7; color: #6b7688; }
.doc-date { font-size: 13px; color: var(--muted); }
.doc-row-action { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.doc-preview-btn {
  color: var(--navy); font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid var(--border-light); transition: border-color .15s, background .15s;
}
.doc-preview-btn:hover { background: #f7f8fa; border-color: #d5dbe4; }
.doc-download-btn { background: var(--navy); color: #fff; font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 8px; text-decoration: none; }
.doc-download-btn:hover { background: #24365a; }
.doc-expired-hint { font-size: 13px; color: var(--faint); }
.doc-pagination { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.doc-pagination-links { display: flex; gap: 14px; }
.doc-pagination-links a { color: var(--navy); font-weight: 600; text-decoration: none; }
.doc-pagination-links .disabled { color: var(--faint); }

.category-search {
  position: relative; max-width: 480px; margin-bottom: 36px; display: flex; align-items: center;
  background: #fff; border: 2px solid var(--border-light); border-radius: 14px; padding: 4px 4px 4px 16px;
  box-shadow: 0 6px 18px rgba(26,43,74,0.06);
}
.category-search svg { flex: none; }
.category-search input {
  flex: 1; border: none; outline: none; font-size: 15px; padding: 12px 10px; color: var(--navy);
  font-family: inherit; background: transparent; min-width: 0;
}

.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.category-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease; display: flex; flex-direction: column;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(26,43,74,0.1); }
.category-card-icon {
  width: 50px; height: 50px; border-radius: 13px; background: rgba(26,43,74,0.07);
  display: flex; align-items: center; justify-content: center; color: var(--navy); flex: none;
}
.category-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 16px 0 8px; }
.category-card p { font-size: 14px; color: var(--muted); margin: 0 0 20px; line-height: 1.55; flex: 1; }
.category-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.category-card-meta { font-size: 12.5px; color: var(--faint); font-weight: 600; }
.category-card-btn {
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 10px; font-family: inherit; display: inline-block; transition: background 180ms ease;
}
.category-card-btn:hover { background: var(--accent-dark); }

.category-empty { text-align: center; padding: 60px 20px; color: var(--faint); }
.category-empty-title { font-size: 16px; font-weight: 600; color: var(--navy); margin: 0 0 6px; }
.category-empty-sub { font-size: 14px; margin: 0; }

/* Kayıtlı Kişiler */
.persons-toolbar { display: flex; justify-content: flex-end; margin-bottom: 20px; }
.person-add-btn { width: auto; padding: 12px 24px; font-size: 14.5px; }
.persons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.person-card { background: #fff; border: 1.5px solid var(--border-light); border-radius: 14px; padding: 18px 20px; }
.person-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.person-card-line { font-size: 13.5px; color: var(--muted); margin: 0 0 3px; }
.person-card-address { line-height: 1.45; }
.person-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.person-card-actions form { flex: 1; display: flex; }
.person-edit-btn, .person-delete-btn {
  flex: 1; font-size: 13px; font-weight: 700; padding: 8px 10px; border-radius: 8px;
  border: 1.5px solid var(--border-light); background: #fff; color: var(--navy); cursor: pointer; font-family: inherit;
}
.person-edit-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.person-delete-btn:hover { border-color: #e39b9b; color: #a13333; }
.person-modal-box { max-width: 460px; text-align: left; }
.person-modal-box .field-list { display: flex; flex-direction: column; gap: 16px; }

.person-picker-row { margin-bottom: 12px; }
.person-picker-select, .property-picker-select {
  width: 100%; font-size: 14px; padding: 10px 12px; border: 1.5px solid var(--accent); border-radius: 10px;
  font-family: inherit; color: var(--navy); background: #f4faf7;
}
.person-picker-locked {
  display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted);
  background: #f8f6ee; border: 1px dashed #e0d4a8; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px;
}
.person-picker-locked a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; }

.person-type-badge {
  display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent-dark); background: #f4faf7;
  border: 1px solid var(--accent); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: middle;
}
.person-card-notes { font-style: italic; }
.field-hint { font-size: 12px; font-weight: 400; color: var(--faint); }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; min-width: 0; }
.person-multiselect {
  display: flex; flex-direction: column; gap: 6px; max-height: 160px; overflow-y: auto;
  border: 1.5px solid var(--border-light); border-radius: 10px; padding: 10px 12px;
}
.person-multiselect-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--navy); }
.person-address-row {
  display: flex; gap: 8px; align-items: flex-start; border: 1px dashed var(--border-light); border-radius: 10px;
  padding: 10px; margin-bottom: 8px;
}
.person-address-row input { flex: 0 0 40%; }
.person-address-row textarea { flex: 1; }
.person-address-remove {
  border: none; background: none; color: var(--muted); cursor: pointer; font-size: 15px; padding: 4px;
}
.person-address-remove:hover { color: #a13333; }

/* Emlak Çalışma Alanı */
.emlak-kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.emlak-kpi-card { background: #fff; border: 1.5px solid var(--border-light); border-radius: 14px; padding: 18px 20px; }
.emlak-kpi-label { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.emlak-kpi-value { font-size: 28px; font-weight: 800; color: var(--navy); }
.emlak-section-title { font-size: 17px; font-weight: 700; color: var(--navy); margin: 0 0 14px; }
.emlak-quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 32px; }
.emlak-quick-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px;
  border-radius: 14px; padding: 20px 16px; transition: background 180ms ease;
}
.emlak-quick-action-btn:hover { background: var(--accent-dark); }
.emlak-quick-action-btn.disabled { background: #eef1f6; color: var(--faint); cursor: default; }
.emlak-soon-badge {
  font-size: 10.5px; font-weight: 700; background: #fff; color: var(--muted); border-radius: 999px; padding: 2px 8px;
}
.emlak-content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.emlak-panel { background: #fff; border: 1.5px solid var(--border-light); border-radius: 14px; padding: 18px 20px; }
.emlak-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.emlak-panel-head h2 { font-size: 15px; font-weight: 700; color: var(--navy); margin: 0; }
.emlak-mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.emlak-mini-list li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--navy); }
.emlak-mini-list-meta { color: var(--faint); font-size: 12.5px; flex: none; }
.emlak-panel-links { display: flex; gap: 12px; }

@media (max-width: 720px) {
  .emlak-kpi-grid, .emlak-content-grid { grid-template-columns: 1fr; }
  .field-row { flex-direction: column; gap: 18px; }
}

/* Footer */
.site-footer { background: var(--navy); color: #fff; padding: 52px 24px 26px; }
.footer-inner { max-width: 1200px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-bottom: 34px; }
.footer-brand { flex: 1; min-width: 220px; max-width: 280px; }
.footer-logo { text-decoration: none; font-size: 21px; font-weight: 800; display: inline-block; }
.c-white { color: #fff; }
.c-accent { color: #3fc37e; }
.footer-brand p { font-size: 13.5px; color: rgba(255,255,255,.6); margin: 10px 0 0; line-height: 1.6; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin: 0 0 14px; color: rgba(255,255,255,.85); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 13.5px; color: rgba(255,255,255,.6); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 12.5px; color: rgba(255,255,255,.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-bottom a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .template-grid { grid-template-columns: 1fr; }
  .preview-wrap { position: static; }
}

/* Homepage: Hero */
.hero { position: relative; padding: 76px 24px 60px; text-align: center; }
.hero-blob-1 {
  position: absolute; top: -120px; right: -100px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,158,92,0.16), transparent 70%); filter: blur(6px);
  animation: blobFloat 9s ease-in-out infinite; pointer-events: none;
}
.hero-blob-2 {
  position: absolute; bottom: -140px; left: -100px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,43,74,0.08), transparent 70%); filter: blur(6px);
  animation: blobFloat 11s ease-in-out infinite reverse; pointer-events: none;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; color: var(--navy); line-height: 1.14;
  margin: 0 0 18px; letter-spacing: -0.01em; animation: heroIn 550ms cubic-bezier(.22,.61,.36,1) both;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: var(--muted); margin: 0 0 36px; line-height: 1.65;
  animation: heroIn 550ms cubic-bezier(.22,.61,.36,1) 80ms both;
}

.search-form { position: relative; animation: heroIn 550ms cubic-bezier(.22,.61,.36,1) 160ms both; }
.search-box {
  display: flex; align-items: center; background: #fff; border: 2px solid var(--border-light);
  border-radius: 16px; padding: 6px 6px 6px 20px; box-shadow: 0 10px 28px rgba(26,43,74,0.08);
}
.search-box svg { flex: none; }
.search-input {
  flex: 1; border: none; outline: none; font-size: 16px; padding: 14px 12px; color: var(--navy);
  font-family: inherit; background: transparent; min-width: 0;
}
.search-submit {
  background: var(--accent-dark); color: #fff; border: none; font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: 12px; cursor: pointer; flex: none; font-family: inherit;
  transition: transform 180ms ease, background 180ms ease;
}
.search-submit:hover { filter: brightness(0.92); transform: scale(1.02); }

.search-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff;
  border: 1px solid var(--border-light); border-radius: 14px; box-shadow: 0 16px 40px rgba(26,43,74,0.14);
  z-index: 20; overflow: hidden; text-align: left; animation: fadeInUp .15s ease; display: none;
}
.search-dropdown.open { display: block; }
.search-result {
  display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; cursor: pointer;
  border-bottom: 1px solid #f0f2f6; text-decoration: none;
}
.search-result:last-child { border-bottom: none; }
.search-result:hover { background: #f5f7fa; }
.search-result-name { font-weight: 600; font-size: 14.5px; color: var(--navy); }
.search-result-cat { font-size: 12px; color: var(--accent-dark); background: rgba(30,158,92,0.1); padding: 3px 10px; border-radius: 999px; font-weight: 700; }

.chips-area { display: block; }
.chips-area.hidden { display: none; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; animation: heroIn 550ms cubic-bezier(.22,.61,.36,1) 240ms both; }
.chip-btn {
  background: #fff; border: 1px solid var(--border-light); color: var(--navy); font-size: 13.5px; font-weight: 600;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.chip-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(30,158,92,0.06); }
.trust-line { font-size: 13px; color: var(--muted); margin-top: 30px; letter-spacing: .01em; animation: heroIn 550ms cubic-bezier(.22,.61,.36,1) 320ms both; }

/* Homepage: shared section heading */
.section-block { padding: 64px 24px; }
.section-block.alt { background: #f5f7fa; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-heading { text-align: center; margin: 0 0 40px; }
.section-heading h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.section-heading p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* Homepage: category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.cat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px; text-decoration: none;
  display: block; color: inherit; transition: transform 220ms ease, box-shadow 220ms ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(26,43,74,0.1); }
.cat-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(26,43,74,0.07); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.cat-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 16px 0 6px; }
.cat-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Homepage: popular templates */
.popular-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.popular-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease; display: flex; flex-direction: column;
}
.popular-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(26,43,74,0.1); }
.popular-tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--accent-dark); background: rgba(30,158,92,0.1); padding: 4px 11px; border-radius: 999px; }
.popular-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 14px 0 8px; }
.popular-card p { font-size: 14px; color: var(--muted); margin: 0 0 20px; line-height: 1.55; flex: 1; }
.popular-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.popular-meta { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.popular-btn {
  background: var(--accent-dark); color: #fff; text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 10px; cursor: pointer; font-family: inherit; display: inline-block;
  border: none;
}
.popular-btn:hover { filter: brightness(0.92); }

/* Homepage: premium banner */
.premium-banner {
  position: relative; overflow: hidden; border-radius: 24px; padding: 52px 32px; text-align: center;
  background: linear-gradient(135deg, #167a47, #1e9e5c 55%, #2bc177); box-shadow: 0 20px 48px rgba(30,158,92,0.28);
}
.premium-banner-glow {
  position: absolute; top: -140px; right: -80px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 70%); filter: blur(4px);
  animation: blobFloat 8s ease-in-out infinite; pointer-events: none;
}
.premium-banner-badge {
  display: inline-block; background: rgba(255,255,255,0.18); color: #fff; font-weight: 800; font-size: 12.5px;
  letter-spacing: .04em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px;
  position: relative; z-index: 1; animation: premiumPulse 2.2s ease-in-out infinite;
}
.premium-banner h2 {
  color: #fff; font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; margin: 0 0 12px; position: relative; z-index: 1;
}
.premium-banner p {
  color: rgba(255,255,255,0.92); font-size: 16px; max-width: 560px; margin: 0 auto 28px; line-height: 1.6; position: relative; z-index: 1;
}
.premium-banner p strong { font-size: 19px; }
.premium-banner-cta {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #167a47; font-weight: 800; font-size: 16px;
  text-decoration: none; padding: 15px 34px; border-radius: 12px; position: relative; z-index: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18); transition: transform 180ms ease, box-shadow 180ms ease;
}
.premium-banner-cta:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 30px rgba(0,0,0,0.22); }
.premium-banner-cta span { transition: transform 180ms ease; }
.premium-banner-cta:hover span { transform: translateX(3px); }
@keyframes premiumPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.35); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } }

/* Homepage: how it works */
.how-grid { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; }
.how-step { flex: 1; min-width: 220px; max-width: 280px; }
.how-icon-wrap { width: 64px; height: 64px; margin: 0 auto 20px; position: relative; }
.how-icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(30,158,92,0.1); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.how-badge { position: absolute; top: -6px; right: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.how-step h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.how-step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.55; }

/* Homepage: "yakında" modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.modal-overlay.hidden { display: none; }
.modal-box { background: #fff; border-radius: 20px; padding: 36px 32px; max-width: 420px; width: 100%; box-shadow: 0 24px 60px rgba(0,0,0,0.25); position: relative; animation: modalIn .18s ease; }
.modal-close { position: absolute; top: 16px; right: 16px; background: #f5f7fa; border: none; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.modal-close:hover { background: var(--border-light); }
.modal-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(30,158,92,0.1); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.modal-box h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 18px 0 10px; }
.modal-box p { font-size: 14.5px; color: var(--muted); margin: 0 0 24px; line-height: 1.65; }
.modal-ok-btn { width: 100%; background: var(--accent); color: #fff; border: none; font-weight: 700; font-size: 15px; padding: 14px; border-radius: 12px; cursor: pointer; font-family: inherit; }
.modal-ok-btn:hover { background: var(--accent-dark); }

/* Legal pages */
.legal-main { max-width: 1240px; margin: 0 auto; padding: 32px 24px 90px; display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.legal-nav { flex: 0 0 240px; min-width: 220px; position: sticky; top: 96px; }
.legal-nav-label { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--faint); margin-bottom: 14px; }
.legal-nav-links { display: flex; flex-direction: column; gap: 4px; }
.legal-nav-link { font-size: 14.5px; font-weight: 600; color: var(--navy); text-decoration: none; padding: 9px 12px; border-radius: 9px; }
.legal-nav-link:hover { color: var(--accent); background: #f5f7fa; }
.legal-nav-link.active { font-weight: 700; color: var(--accent); background: rgba(30,158,92,0.08); }

.legal-content { flex: 1 1 480px; min-width: 300px; max-width: 700px; }
.legal-updated { font-size: 13px; color: var(--faint); margin: 0 0 10px; }
.legal-content h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); margin: 0 0 32px; }
.legal-intro { font-size: 15.5px; color: #3a4658; margin: 0 0 32px; line-height: 1.75; }
.legal-section { margin-bottom: 28px; }
.legal-section h2 { font-size: 19px; font-weight: 800; color: var(--navy); margin: 0 0 10px; }
.legal-section p { font-size: 15.5px; color: #3a4658; margin: 0; line-height: 1.75; }

.legal-table-wrap { border: 1px solid var(--border-light); border-radius: 12px; overflow: hidden; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-table th { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--navy); background: #f5f7fa; border-bottom: 1px solid var(--border-light); }
.legal-table td { padding: 12px 16px; border-bottom: 1px solid #eef1f6; }
.legal-table td:first-child { color: var(--navy); font-weight: 600; }
.legal-table td:last-child { color: var(--muted); }

.legal-rights { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.legal-rights li { font-size: 15.5px; color: #3a4658; line-height: 1.65; }

@media (max-width: 720px) {
  .legal-nav { position: static; flex: 1 1 100%; }
}

/* Auth: giriş / kayıt */
.auth-section { background: #f5f7fa; padding: 64px 24px 80px; min-height: calc(100vh - 300px); }
.auth-card {
  max-width: 420px; margin: 0 auto; background: #fff; border-radius: 20px;
  box-shadow: 0 20px 48px rgba(26,43,74,0.1); padding: 40px 36px; animation: cardIn 380ms cubic-bezier(.22,.61,.36,1) both;
}
.auth-logo { height: 64px; width: auto; display: block; margin: 0 auto 28px; }

.auth-tabs { display: flex; border-bottom: 1px solid var(--border-light); margin-bottom: 28px; }
.auth-tab {
  flex: 1; padding: 12px 0; text-align: center; font-weight: 700; font-size: 15px; cursor: pointer;
  background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--faint);
  font-family: inherit; transition: color 180ms ease, border-color 180ms ease;
}
.auth-tab.active { color: var(--navy); border-bottom-color: var(--accent); }

.auth-panel { display: none; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-form .field label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.auth-form .field input {
  width: 100%; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--border-light); border-radius: 10px;
  font-family: inherit; color: var(--navy); outline: none; transition: border-color 180ms ease;
}
.auth-form .field input:focus { border-color: var(--accent); }

.auth-row-between { display: flex; align-items: center; justify-content: space-between; }
.auth-check-label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: #46536b; cursor: pointer; }
.auth-check-label input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.auth-forgot { font-size: 13.5px; color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-forgot:hover { text-decoration: underline; }

.auth-agree-label { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #46536b; cursor: pointer; line-height: 1.5; }
.auth-agree-label input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; margin-top: 1px; flex: none; }
.auth-agree-label a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-agree-label a:hover { text-decoration: underline; }

.auth-mismatch { font-size: 12.5px; color: #dc2626; margin: 6px 0 0; }

.auth-submit {
  width: 100%; background: var(--accent); color: #fff; border: none; font-weight: 700; font-size: 16px;
  padding: 14px; border-radius: 12px; cursor: pointer; font-family: inherit; box-shadow: 0 8px 20px rgba(30,158,92,0.26);
  transition: transform 180ms ease, background 180ms ease; margin-top: 4px;
}
.auth-submit:hover:not(:disabled) { background: var(--accent-dark); transform: scale(1.02); }
.auth-submit:active:not(:disabled) { transform: scale(0.98); }
.auth-submit:disabled { opacity: .6; cursor: not-allowed; }

.auth-switch { text-align: center; font-size: 13.5px; color: var(--faint); margin: 8px 0 0; }
.auth-switch a { color: var(--accent); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Flash notice / e-posta doğrulama uyarısı */
.flash-notice { background: rgba(30,158,92,0.08); border-bottom: 1px solid rgba(30,158,92,0.2); color: var(--accent-dark); font-size: 13.5px; padding: 10px 24px; text-align: center; }
.verify-banner { background: #fff8e6; border-bottom: 1px solid #f2dfa3; color: #8a6d1a; font-size: 13.5px; }
.verify-banner-inner { padding: 10px 24px; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; text-align: center; }
.verify-banner a { color: #8a6d1a; font-weight: 700; text-decoration: underline; }
.verify-banner-hint { color: #a4894a; }

/* E-posta doğrulama sonuç sayfası */
.verify-result { background: #f5f7fa; padding: 80px 24px; min-height: calc(100vh - 300px); display: flex; align-items: center; justify-content: center; }
.verify-result-card { max-width: 440px; width: 100%; background: #fff; border-radius: 20px; box-shadow: 0 20px 48px rgba(26,43,74,0.1); padding: 40px 36px; text-align: center; }
.verify-result-card h1 { font-size: 22px; font-weight: 800; color: var(--navy); margin: 0 0 12px; }
.verify-result-card p { font-size: 15px; color: var(--muted); margin: 0 0 26px; line-height: 1.6; }
.verify-result-btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 12px 28px; border-radius: 12px; transition: background 180ms ease;
}
.verify-result-btn:hover { background: var(--accent-dark); }
