/* URL Item — tasarım sistemi
   Marka paleti: #151F35 (koyu lacivert, ana), #F5F7FB (açık gri-mavi, zemin), #FFFFFF (yüzey). */

:root {
  --brand: #151F35;
  --brand-dark: #0e1726;
  --ink: #151F35;
  --ink-2: #151F35;
  --muted: #6b7786;
  --border: #e7ebef;
  --surface: #ffffff;
  --surface-alt: #F5F7FB;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(18, 24, 24, .06);
  --shadow-md: 0 8px 24px rgba(18, 24, 24, .08);
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-dark);
}

a:hover {
  color: var(--ink-2);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Header ---------- */
.ui-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.ui-header .navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--brand);
  display: inline-block;
}

.ui-header .nav-link {
  font-weight: 600;
  color: var(--ink) !important;
  padding: .5rem .9rem !important;
  border-radius: var(--radius-sm);
}

.ui-header .nav-link:hover {
  background: var(--surface-alt);
  color: var(--ink-2) !important;
}

/* ---------- Buttons ---------- */
.btn {
  font-weight: 600;
  border-radius: 10px;
}

.btn-brand, .btn-primary {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

.btn-brand:hover, .btn-primary:hover {
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
}

.btn-outline-brand, .btn-outline-primary {
  border-color: var(--brand) !important;
  color: var(--brand-dark) !important;
}

.btn-outline-brand:hover, .btn-outline-primary:hover {
  background: var(--brand) !important;
  color: #fff !important;
}

.text-brand {
  color: var(--brand) !important;
}

.btn-pill {
  border-radius: 999px;
}

/* ---------- Cards / surfaces ---------- */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.card-soft {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.section {
  padding: 4.5rem 0;
}

/* Anasayfada ardışık bölümleri görsel olarak ayrı "blok"lar gibi göstermek için. */
.section-alt {
  background: var(--surface-alt);
}

.section-divider {
  border-top: 1px solid var(--border);
}

/* Kısa içerikli uygulama sayfalarında footer'ın içeriğe yapışmasını önler. */
.app-main {
  min-height: 55vh;
  padding-top: 20px;
}

/* ---------- İstatistik kutucukları (Dashboard, Admin) ---------- */
.stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  height: 100%;
}

.stat-tile .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.stat-tile .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

.stat-tile .stat-label {
  font-size: .78rem;
  color: #6b7a80;
}

.stat-icon.bg-brand { background: rgba(21, 31, 53, .12); color: var(--brand-dark); }
.stat-icon.bg-blue { background: rgba(37, 99, 235, .12); color: #2563eb; }
.stat-icon.bg-amber { background: rgba(217, 119, 6, .12); color: #d97706; }
.stat-icon.bg-violet { background: rgba(124, 58, 237, .12); color: #7c3aed; }
.stat-icon.bg-gray { background: rgba(107, 122, 128, .12); color: #6b7a80; }

/* ---------- Boş durum (empty state) ---------- */
.app-empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
}

.app-empty-state .empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
  color: var(--brand-dark);
}

.badge-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink-2);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}

/* Bootstrap .container içinden tam genişlikte taşmak için (Layout'un sardığı
   .container'ı bozmadan hero/araç bölümlerini uçtan uca göstermeye yarar). */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- Hero (jobtex referansındaki koyu teal/yeşil banner) ---------- */
.hero {
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(59, 111, 224, .35), transparent 60%),
    radial-gradient(900px 420px at 8% 110%, rgba(21, 31, 53, .40), transparent 60%),
    linear-gradient(120deg, #151F35 0%, var(--ink-2) 42%, #1c2947 78%, #0e1726 100%);
  color: #fff;
}

.hero .eyebrow {
  color: #8fe3c4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}

.hero .lead {
  color: rgba(255, 255, 255, .78) !important;
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(21, 31, 53, .12);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ---------- Pricing ---------- */
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: box-shadow .15s ease, transform .15s ease;
}

.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.price-card.is-current {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(21, 31, 53, .12);
}

.price-card.popular {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.price-card .popular-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card .price {
  font-size: 2.1rem;
  font-weight: 800;
}

.price-card .feature-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0;
  font-size: 0.875rem;
}

.price-card .feature-row i {
  font-size: 1rem;
  flex-shrink: 0;
}

.price-card .feature-row.is-off {
  color: var(--text-muted, #6b7280);
  opacity: .65;
}

/* ---------- Blog ---------- */
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: box-shadow .15s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ---------- QR generator tool ---------- */
.qr-tool-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.qr-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.qr-type-tab {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: .5rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.qr-type-tab i {
  color: var(--muted);
}

.qr-type-tab.active {
  border-color: var(--brand);
  background: rgba(21, 31, 53, .1);
  color: var(--brand-dark);
}

.qr-type-tab.active i {
  color: var(--brand-dark);
}

.qr-type-tab.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}

.qr-subtabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.qr-subtab {
  border: none;
  background: none;
  padding: .6rem 0;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}

.qr-subtab.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand-dark);
}

.qr-swatch {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: .4rem;
  cursor: pointer;
  background: var(--surface);
}

.qr-swatch.active {
  border-color: var(--brand);
}

.qr-swatch-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  min-width: 84px;
  color: var(--muted);
  font-size: .72rem;
}

.qr-swatch-icon.active {
  color: var(--brand);
  background: var(--surface-alt);
}

.qr-preview-panel {
  background: var(--surface-alt);
}

.qr-preview-holder {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 1.25rem;
}

.qr-preview-holder svg {
  max-width: 100%;
  height: auto;
}

.color-input {
  width: 42px;
  height: 36px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

/* ---------- Form controls (global) ---------- */
.form-control,
.form-select {
  border-color: var(--border);
  border-radius: var(--radius-sm);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(21, 31, 53, .15);
}

.form-check-input:checked {
  background-color: var(--brand);
  border-color: var(--brand);
}

.form-check-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 .2rem rgba(21, 31, 53, .15);
}

/* ---------- Auth pages (Login/Register) ---------- */
.auth-wrap {
  padding: 3rem 0 4rem;
  display: flex;
  justify-content: center;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.25rem 2rem;
}

.auth-card h1 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-card .form-label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}

.auth-card .btn-brand {
  width: 100%;
  margin-top: .5rem;
}

.auth-card .auth-switch {
  text-align: center;
  font-size: .9rem;
  color: var(--muted);
  margin: 1.25rem 0 0;
}

.auth-card .auth-switch a {
  font-weight: 700;
}

/* ---------- Footer ---------- */
.ui-footer {
  background: var(--surface-alt);
  color: var(--ink);
  border-top: 1px solid var(--border);
}

.ui-footer .footer-top {
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.ui-footer .footer-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.ui-footer .ft-title {
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.ui-footer ul li a {
  color: var(--muted);
  position: relative;
}

.ui-footer ul li a:hover {
  color: var(--brand-dark);
}

.ui-footer .footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
}

.ui-footer .footer-bottom a {
  color: var(--muted);
}

.ui-footer .footer-bottom a:hover {
  color: var(--brand-dark);
}

.ui-footer .footer-legal-base {
  background: var(--ink-2);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  padding: .9rem 0;
  margin-top: 1.75rem;
}

.ui-footer .footer-legal-base a {
  color: #fff;
  font-weight: 600;
}

/* ---------- Nasıl Çalışır (How it works) ---------- */
.hiw-head {
  margin-bottom: 2.5rem;
}

.hiw-eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.hiw-title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.hiw-steps {
  margin-top: 1rem;
}

.hiw-step {
  position: relative;
  padding-top: 1.1rem;
}

.hiw-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border);
}

.hiw-step-active::before {
  background: var(--brand);
}

.hiw-num {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: .6rem;
}

.hiw-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}

.hiw-step-desc {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .hiw-steps .col-6 { margin-bottom: 1.5rem; }
}
