/* ==========================================================================
   Kapıdan Teslim — Landing + Başvuru sayfası (main.css'i tamamlar)
   ========================================================================== */

/* ---------- Splash (açılış animasyonu) ---------- */
.splash {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: var(--bg); transition: opacity .4s ease, visibility .4s ease;
}
.splash.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-inner { text-align: center; }
.splash-brand { margin-top: 1.1rem; font-family: var(--font-display); font-weight: 700; letter-spacing: .01em; color: var(--text); }
.splash-scene { width: 92px; height: 92px; margin: 0 auto; position: relative; }
.splash-wheel {
  position: absolute; inset: 0; border-radius: 50%;
  border: 6px solid #2b2b2b; box-shadow: inset 0 0 0 3px var(--bg);
  animation: splash-spin .85s cubic-bezier(.5,.1,.5,.9) infinite;
}
.splash-wheel::before { content: ""; position: absolute; inset: 9px; border: 2px dashed #9a9a9a; border-radius: 50%; }
.splash-box {
  position: absolute; top: 50%; left: 50%; width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  background: linear-gradient(150deg, #e0a56f, #c07d45);
  border: 2px solid #8a5a24; border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,.15);
  animation: splash-box .85s ease-in-out infinite alternate;
}
.splash-box::after { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: rgba(138,90,36,.5); transform: translateY(-1px); }
@keyframes splash-spin { to { transform: rotate(360deg); } }
@keyframes splash-box { from { transform: translate(-50%, -50%) scale(1); } to { transform: translate(-50%, -54%) scale(1.06); } }

/* ---------- Hero ---------- */
.landing-hero { padding: 4rem 0 3rem; position: relative; overflow: hidden; }
.landing-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(760px 360px at 85% -10%, var(--primary-soft), transparent 60%),
    radial-gradient(680px 340px at 5% 5%, var(--accent-soft), transparent 55%);
}
.landing-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.landing-kicker { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-dark); margin-bottom: .9rem; }
.landing-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.1; margin-bottom: 1rem; letter-spacing: -.02em; }
.landing-hero h1 em { color: var(--primary); font-style: normal; }
.landing-lead { color: var(--text-soft); max-width: 34rem; margin-bottom: 1.6rem; font-size: 1.08rem; }
.landing-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.landing-sub-actions { margin-top: 1rem; font-size: .9rem; color: var(--muted); }

/* Hero görsel kart */
.hero-visual-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.3rem; display: grid; gap: .8rem;
}
.hero-track-row { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; }
.hero-track-row .muted { color: var(--muted); }
.hero-map {
  height: 180px; border-radius: var(--radius); position: relative; overflow: hidden;
  border: 1px solid rgba(29,110,115,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.hero-map-svg { width: 100%; height: 100%; display: block; }
.hero-route { animation: route-dash 1.2s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -24; } }
.hero-map-badge {
  position: absolute; top: .55rem; right: .55rem;
  padding: .22rem .55rem; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(29,110,115,.2);
  font-size: .68rem; font-weight: 700; color: var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  display: flex; align-items: center; gap: .3rem;
}
.hero-map-badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success); animation: pulse 1.8s infinite;
}

/* ---------- Sections ---------- */
.landing-section { padding: 3.2rem 0; }
.landing-section-muted { background: var(--bg-2); }
.landing-section-title { font-size: 1.7rem; margin-bottom: .5rem; }
.landing-section-sub { color: var(--muted); margin-bottom: 1.6rem; max-width: 40rem; }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; counter-reset: step; }
.step-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); position: relative; }
.step-box .step-no { width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; margin-bottom: .7rem; }
.step-box h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.step-box p { color: var(--muted); font-size: .9rem; margin: 0; }

.courier-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .9rem; }
.courier-showcase-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow-sm); transition: transform .12s, border-color .15s; }
.courier-showcase-card:hover { transform: translateY(-3px); border-color: var(--primary); }
.courier-showcase-card .courier-picker-icon { margin: 0 auto .7rem; width: 46px; height: 46px; }
.courier-showcase-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.courier-showcase-card p { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.45; }

.landing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.feature-card .f-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: .8rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.feature-card p { color: var(--muted); font-size: .9rem; margin: 0; }

.landing-cta {
  margin: 3rem 0 0; padding: 2.6rem 0;
  background: linear-gradient(135deg, var(--primary), #ef8a5b); color: #fff;
}
.landing-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.landing-cta h2 { color: #fff; margin-bottom: .25rem; }
.landing-cta p { margin: 0; opacity: .92; }

.landing-contact { text-align: center; }
.landing-contact p { color: var(--text-soft); }

/* ---------- Başvuru sayfası ---------- */
.apply-main { padding: 2rem 0 4rem; }
.apply-wrap { max-width: 760px; margin-inline: auto; }
.apply-back { color: var(--muted); font-size: .9rem; }
.apply-header { margin: .6rem 0 1.6rem; }
.apply-header h1 { font-size: 1.8rem; }
.apply-header p { color: var(--muted); }
.apply-block {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; margin-bottom: 1.1rem; box-shadow: var(--shadow-sm);
}
.apply-block h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--primary-dark); margin-bottom: 1rem; }
.apply-hint { font-size: .86rem; color: var(--muted); margin-bottom: .8rem; }
.license-box { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; }

@media (max-width: 860px) {
  .landing-hero-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-header .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: .3rem; padding: 1rem 1.25rem 1.4rem; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .site-header .nav-links.is-open { display: flex; }
  .site-header .nav-links a:not(.btn) { padding: .5rem 0; }
}
