/* ═══════════════════════════════════════════════════════════════
   HERO — 3 senaryo + GPS cihaz bileşeni
   studio (varsayılan) · editorial · command
   ═══════════════════════════════════════════════════════════════ */

/* ─── Paylaşılan hero tipografi ─── */
.hero__brand {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: lowercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero__brand-x {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title {
    font-size: clamp(2.75rem, 6.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.048em;
    color: var(--text-primary);
}

.hero__title em {
    font-style: normal;
    color: var(--text-secondary);
    font-weight: 700;
}

.hero__lead {
    margin-top: 20px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 520px;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

/* ─── Hero CTA ─── */
.btn--hero-primary,
.btn--hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.btn--hero-primary {
    background: var(--text-primary);
    color: var(--bg-base);
    border: 1px solid transparent;
}

.btn--hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--hero-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn--hero-secondary:hover {
    color: var(--text-primary);
    border-color: var(--border-active);
    background: var(--bg-glass);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero__actions--left {
    justify-content: flex-start;
    margin-top: 32px;
}

/* ═══════════════════════════════════════
   GPS DEVICE — paylaşılan mockup
   ═══════════════════════════════════════ */
.gps-device {
    position: relative;
    width: min(100%, 280px);
    margin: 0 auto;
}

.gps-device__halo {
    position: absolute;
    inset: 8% 0 auto 0;
    height: 72%;
    background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 72%);
    filter: blur(8px);
    pointer-events: none;
}

.gps-device__body {
    position: relative;
    z-index: 2;
}

.gps-device__bezel {
    padding: 10px;
    background: linear-gradient(145deg, var(--bg-elevated) 0%, var(--bg-muted) 100%);
    border: 1px solid var(--border-medium);
    border-radius: 42px;
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.gps-device__island {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 22px;
    background: #000;
    border-radius: 20px;
    z-index: 4;
    opacity: 0.92;
}

[data-theme="light"] .gps-device__island {
    background: #111827;
}

.gps-device__screen {
    position: relative;
    aspect-ratio: 9 / 19.2;
    border-radius: 34px;
    overflow: hidden;
    background: #0b1220;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gps-device__status {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}

.gps-device__status-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gps-device__map {
    position: absolute;
    inset: 0;
}

.gps-device__map svg {
    width: 100%;
    height: 100%;
}

.gps-map__base {
    fill: #101827;
}

.gps-map__grid {
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 1;
}

.gps-map__road {
    stroke: rgba(148, 163, 184, 0.35);
    stroke-width: 4;
    fill: none;
    stroke-linecap: round;
}

.gps-map__road--minor {
    stroke-width: 2;
    stroke: rgba(148, 163, 184, 0.18);
}

.gps-map__pin-shape {
    fill: rgba(59, 130, 246, 0.22);
    stroke: #60a5fa;
    stroke-width: 1.5;
}

.gps-map__pin-dot {
    fill: #3b82f6;
}

.gps-map__pulse {
    fill: none;
    stroke: #60a5fa;
    stroke-width: 1.5;
    transform-origin: center;
}

.gps-map__pulse--1 {
    animation: gpsPulse 2.8s ease-out infinite;
}

.gps-map__pulse--2 {
    animation: gpsPulse 2.8s ease-out infinite 0.9s;
}

@keyframes gpsPulse {
    0% { transform: scale(0.45); opacity: 0.65; }
    100% { transform: scale(1.35); opacity: 0; }
}

.gps-device__coord {
    position: absolute;
    top: 52px;
    left: 14px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-size: 0.625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    font-variant-numeric: tabular-nums;
}

.gps-device__coord-label {
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #60a5fa;
}

.gps-device__toast {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 3;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.gps-device__toast-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.gps-device__shadow {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 68%;
    height: 28px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.28) 0%, transparent 72%);
    filter: blur(10px);
    z-index: 1;
}

/* ═══════════════════════════════════════
   SENARYO A — STUDIO (varsayılan)
   Yatay split: sol metin · sağ GPS animasyon
   ═══════════════════════════════════════ */
.hero--studio {
    position: relative;
    display: flex;
    align-items: center;
    padding: calc(var(--site-header-height, 88px) + 52px) 0 56px;
    overflow: hidden;
    background: var(--bg-base);
}

.hero--studio .hero__backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero--studio .hero__backdrop-base {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 12% 18%, var(--hero-orb-1), transparent 58%),
        radial-gradient(ellipse 65% 50% at 88% 28%, var(--hero-orb-2), transparent 55%),
        linear-gradient(180deg, var(--bg-base) 0%, var(--bg-muted) 100%);
}

.hero--studio .hero__backdrop-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hero-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 82%);
    opacity: 0.55;
}

.hero--studio .hero__spotlight--form {
    position: absolute;
    top: 42%;
    right: 8%;
    transform: translateY(-50%);
    width: min(560px, 46vw);
    height: min(560px, 62vh);
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, transparent 68%);
}

.hero--studio .hero__horizon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.hero--studio .hero__split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.hero--studio .hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    max-width: 560px;
}

.hero--studio .hero__head {
    margin-bottom: 24px;
}

.hero--studio .hero__lead {
    max-width: 480px;
}

.hero__kws {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    list-style: none;
}

.hero__kws li {
    padding: 7px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
}

.hero--studio .hero__foot {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero--studio .hero__aside {
    font-size: 0.8125rem;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 460px;
}

.hero--studio .hero__aside a {
    color: var(--text-secondary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--border-medium);
    text-underline-offset: 3px;
}

.hero--studio .hero__aside a:hover {
    color: var(--accent);
}

.hero--studio .hero__eyebrow {
    margin-bottom: 16px;
}

.hero--studio .hero__lookup {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: 0;
}

.hero--studio .hero__lookup .phone-form__card {
    padding: clamp(22px, 3vw, 28px);
    border-radius: 22px;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-medium);
    box-shadow:
        var(--shadow-lg),
        0 24px 48px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.hero--studio .hero__lookup .phone-form__service.is-active {
    background: var(--accent-soft);
    border-color: rgba(59, 130, 246, 0.35);
}

.hero--studio .hero__lookup .phone-form__submit {
    margin-top: 4px;
}

.hero--studio .hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
}

.hero--studio .hero__stage {
    position: relative;
    width: 100%;
    max-width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero--studio .gps-device {
    width: min(100%, 320px);
    animation: deviceLevitate 7s ease-in-out infinite;
}

@keyframes deviceLevitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.hero--studio .hero__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    pointer-events: none;
}

.hero--studio .hero__orbit--outer {
    width: min(440px, 42vw);
    height: min(440px, 42vw);
    opacity: 0.5;
    animation: orbitSpin 28s linear infinite;
}

.hero--studio .hero__orbit--inner {
    width: min(360px, 34vw);
    height: min(360px, 34vw);
    border-color: var(--border-active);
    opacity: 0.35;
    animation: orbitSpin 20s linear infinite reverse;
}

.hero--studio .hero__scan {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(400px, 38vw);
    height: min(400px, 38vw);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--accent-soft) 40deg, transparent 80deg);
    opacity: 0.7;
    animation: radarScan 4s linear infinite;
    pointer-events: none;
}

@keyframes orbitSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes radarScan {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero--studio .hero__routes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero--studio .hero__route {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero--studio .hero__route:hover {
    color: var(--text-primary);
    border-color: var(--border-active);
    transform: translateY(-1px);
}

.hero--studio .hero__route--accent {
    border-color: var(--border-active);
    color: var(--accent);
    background: var(--accent-soft);
}

.hero__route-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero__route-icon--apple { background: var(--apple); }
.hero__route-icon--android { background: var(--android); }
.hero__route-icon--gsm { background: var(--accent); }

/* ═══════════════════════════════════════
   SENARYO B — EDITORIAL
   Sol tipografi / sağ cihaz
   ═══════════════════════════════════════ */
.hero--editorial {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero--editorial .hero__backdrop--editorial {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg-base) 0%, var(--bg-base) 42%, transparent 70%),
        radial-gradient(circle at 85% 45%, var(--hero-orb-1) 0%, transparent 42%);
    pointer-events: none;
}

.hero--editorial .hero__editorial-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero--editorial .hero__title--editorial {
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
}

.hero--editorial .hero__lead--editorial {
    max-width: 460px;
}

.hero--editorial .hero__metrics {
    display: flex;
    gap: 28px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.hero--editorial .hero__metrics li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero--editorial .hero__metrics strong {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero--editorial .hero__metrics span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero--editorial .hero__editorial-visual {
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.hero--editorial .gps-device {
    width: min(100%, 320px);
    transform: rotateY(-8deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.hero--editorial .hero__editorial-visual:hover .gps-device {
    transform: rotateY(-4deg) rotateX(2deg) translateY(-6px);
}

/* ═══════════════════════════════════════
   SENARYO C — COMMAND
   Kurumsal panel + alt metrik bar
   ═══════════════════════════════════════ */
.hero--command {
    padding: 96px 0 0;
}

.hero--command .hero__command-panel {
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
}

.hero--command .hero__command-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 48px 0 56px;
}

.hero--command .hero__title--command {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}

.hero--command .hero__lead--command {
    max-width: 420px;
    margin-bottom: 28px;
}

.hero--command .hero__command-device {
    display: flex;
    justify-content: center;
}

.hero--command .gps-device {
    width: min(100%, 260px);
}

.hero--command .hero__command-bar {
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-muted);
}

.hero--command .hero__command-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 18px 0;
}

.hero--command .hero__command-stats div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
}

.hero--command .hero__command-stats span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero--command .hero__command-stats strong {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--android);
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
    .hero--studio {
        padding: calc(var(--site-header-height, 88px) + 40px) 0 48px;
    }

    .hero--studio .hero__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero--studio .hero__copy {
        max-width: none;
        text-align: center;
    }

    .hero--studio .hero__lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero--studio .hero__actions--left {
        justify-content: center;
    }

    .hero--studio .hero__routes {
        justify-content: center;
    }

    .hero--studio .hero__lookup {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .hero--studio .hero__visual {
        min-height: 360px;
        order: -1;
    }

    .hero--studio .hero__spotlight--form {
        top: 18%;
        right: 50%;
        transform: translate(50%, -50%);
        width: min(480px, 90vw);
        height: min(480px, 50vh);
    }

    .hero--editorial .hero__editorial-grid,
    .hero--command .hero__command-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero--editorial .hero__backdrop--editorial {
        background: radial-gradient(circle at 50% 20%, var(--hero-orb-1) 0%, transparent 50%);
    }

    .hero--editorial .hero__lead--editorial,
    .hero--command .hero__lead--command {
        margin-left: auto;
        margin-right: auto;
    }

    .hero--editorial .hero__actions--left {
        justify-content: center;
    }

    .hero--editorial .hero__metrics {
        justify-content: center;
    }

    .hero--editorial .hero__editorial-visual {
        order: -1;
    }

    .hero--editorial .gps-device {
        transform: none;
    }

    .hero--command .hero__command-copy {
        order: 1;
    }

    .hero--command .hero__command-device {
        order: 0;
    }
}

@media (max-width: 640px) {
    .hero--studio .gps-device {
        width: min(100%, 270px);
    }

    .hero--studio .hero__orbit--outer,
    .hero--studio .hero__orbit--inner,
    .hero--studio .hero__scan {
        width: min(340px, 88vw);
        height: min(340px, 88vw);
    }

    .hero--studio .hero__routes {
        flex-direction: column;
        align-items: stretch;
    }

    .hero--studio .hero__route {
        justify-content: center;
    }

    .hero--command .hero__command-stats {
        grid-template-columns: 1fr;
    }

    .hero--editorial .hero__metrics {
        flex-wrap: wrap;
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gps-device,
    .gps-map__pulse,
    .hero--studio .gps-device,
    .hero--studio .hero__orbit,
    .hero--studio .hero__scan {
        animation: none !important;
    }

    .hero--editorial .gps-device {
        transform: none !important;
    }
}
