/* ======================================================
   Asset-Area Ana Sayfa Stilleri - Hero & Smart Filters
   ====================================================== */

/* -------------------------------------------
   1. Root Variables & Base Styles
   Now managed by central theme.css — bridge maps
   old names to --z-* tokens automatically.
   ------------------------------------------- */

/* Base styles */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(160deg, var(--primary), var(--primary-dark));
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* -------------------------------------------
   2. Hero Section - Modern Professional Design
   ------------------------------------------- */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: -5px;
    min-height: 720px;
    display: flex;
    align-items: center;
    background: var(--z-bg-deep);
    z-index: 5;
}

/* ═══ Layer 0: Background Canvases ═══ */
.hero-bg-layer {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.hex-canvas { opacity: 0.6; }
.rain-canvas { opacity: 0.15; mix-blend-mode: screen; }
.hero-gradient-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, var(--z-accent-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, var(--z-accent-glow) 0%, transparent 45%);
}
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.25;
    animation: orbDrift 20s ease-in-out infinite;
}
.orb-1 { width: 350px; height: 350px; background: var(--z-accent); top: -10%; left: 5%; }
.orb-2 { width: 280px; height: 280px; background: var(--z-info); bottom: 10%; right: 10%; animation-delay: 7s; }
.orb-3 { width: 200px; height: 200px; background: var(--z-purple); top: 60%; left: 50%; animation-delay: 14s; }
@keyframes orbDrift {
    0%,100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.1); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* ═══ Layer 1: HUD Frame ═══ */
.hud-frame {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    font-family: var(--z-font-mono); font-size: 0.5rem; color: var(--z-text-muted);
    letter-spacing: 0.12em; text-transform: uppercase;
}
.hud-topbar {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    display: flex; align-items: center; gap: 1rem;
    padding: 10px 2rem;
    background: linear-gradient(180deg, var(--z-bg-deep), transparent);
    white-space: nowrap;
}
.hud-tag { opacity: 0.5; }
.hud-tag b { color: var(--z-accent); opacity: 1; }
.hud-tag i { margin-right: 4px; }
.hud-sep { opacity: 0.15; }
.hud-blink { color: var(--z-success); animation: hudBlink 2s step-end infinite; }
@keyframes hudBlink { 0%,100%{opacity:.7} 50%{opacity:.2} }

.hud-corner {
    position: absolute; display: flex; flex-direction: column; gap: 3px;
}
.hud-corner::before {
    content: ''; position: absolute; width: 28px; height: 28px;
}
.hud-tl { top: 14px; left: 14px; }
.hud-tr { top: 14px; right: 14px; text-align: right; }
.hud-bl { bottom: 14px; left: 14px; }
.hud-br { bottom: 14px; right: 14px; text-align: right; }
.hud-tl::before { top: -4px; left: -4px; border-left: 1px solid var(--z-border-accent); border-top: 1px solid var(--z-border-accent); }
.hud-tr::before { top: -4px; right: -4px; border-right: 1px solid var(--z-border-accent); border-top: 1px solid var(--z-border-accent); }
.hud-bl::before { bottom: -4px; left: -4px; border-left: 1px solid var(--z-border-accent); border-bottom: 1px solid var(--z-border-accent); }
.hud-br::before { bottom: -4px; right: -4px; border-right: 1px solid var(--z-border-accent); border-bottom: 1px solid var(--z-border-accent); }

.hud-coord, .hud-clock { display: block; line-height: 1.5; }
.hud-clock { color: var(--z-accent); }

.hud-scanline {
    position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--z-accent-glow), transparent);
    animation: hudScanline 6s linear infinite; pointer-events: none;
}
@keyframes hudScanline {
    0% { top: 0; opacity: 0; }
    5% { opacity: 0.5; }
    95% { opacity: 0.5; }
    100% { top: 100%; opacity: 0; }
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 90%;
    min-height: 450px;
}

/* Hero Main Content - Sol taraf */
.hero-main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-content-inner {
    max-width: 800px;
}

/* Enhanced Hero Elements */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--z-accent), var(--z-accent-light));
    border: 1px solid var(--z-accent-glow);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--z-accent-glow);
}

.badge-icon {
    color: var(--accent);
    font-size: 0.875rem;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

/* Modern Title Styling */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
}

.title-line-1 {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.title-line-2 {
    display: block;
    background: linear-gradient(135deg, var(--z-info), var(--z-purple-light), var(--z-accent));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    animation: underlineGrow 2s ease-out 0.5s forwards;
}

@keyframes underlineGrow {
    0% { width: 0; }
    100% { width: 120px; }
}

/* Enhanced Description */
.hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Modern Search Container */
.hero-search-container {
    margin-bottom: 2rem;
}

.hero-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-search-wrapper:hover {
    border-color: var(--z-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-search-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--z-accent-glow);
}

.search-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
}

.search-icon {
    color: var(--text-secondary);
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.hero-search-wrapper:focus-within .search-icon {
    color: var(--accent);
}

.hero-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    padding: 0.75rem 0;
}

.hero-search-input::placeholder {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.hero-search-input:focus::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.hero-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--z-accent-glow);
}

.hero-search-btn:active {
    transform: translateY(0);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-icon {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.hero-search-btn:hover .btn-icon {
    transform: translateX(3px);
}

.btn-ripple {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-search-btn:hover .btn-ripple {
    left: 100%;
}

/* Enhanced Category Pills */
.hero-search-categories {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.categories-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.search-category-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-pill:hover {
    background: var(--z-accent-glow);
    border-color: var(--z-accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.category-pill i {
    font-size: 0.75rem;
}

/* Modern Trust Indicators */
.hero-trust-indicators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--z-accent), var(--z-accent-light));
    border-radius: 10px;
    color: var(--accent);
    font-size: 1rem;
}

.trust-content {
    display: flex;
    flex-direction: column;
}

.trust-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.trust-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* ═══════════════════════════════════════════
   HERO — RIGHT: Command Dashboard
   ═══════════════════════════════════════════ */

.hero-visual-content {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    position: relative;
}

/* ── Dashboard container ── */
.cmd-dashboard {
    display: flex; flex-direction: column; gap: 0.75rem;
    width: 100%; max-width: 520px; position: relative;
}

/* ── Command Terminal ── */
.cmd-terminal {
    border-radius: 12px; overflow: hidden;
    background: var(--z-bg-deep);
    border: 1px solid var(--z-border);
    box-shadow: 0 0 0 1px var(--z-border), 0 16px 48px -12px rgba(0,0,0,0.5), 0 0 30px var(--z-accent-glow);
}
.cmd-titlebar {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px; background: var(--z-bg); border-bottom: 1px solid var(--z-border);
}
.cmd-dots { display: flex; gap: 5px; }
.cmd-dots .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.cmd-title {
    flex: 1; font-family: var(--z-font-mono); font-size: 0.625rem;
    color: var(--z-text-muted); text-align: center; letter-spacing: 0.06em;
}
.cmd-title i { margin-right: 4px; opacity: 0.5; }
.cmd-live {
    display: flex; align-items: center; gap: 4px;
    font-family: var(--z-font-mono); font-size: 0.5rem; font-weight: 700;
    color: #28c840; text-transform: uppercase; letter-spacing: 0.1em;
}
.cmd-pulse {
    width: 5px; height: 5px; border-radius: 50%; background: #28c840;
    box-shadow: 0 0 6px #28c840; animation: cmdPulse 2s ease-in-out infinite;
}
@keyframes cmdPulse { 0%,100%{opacity:1} 50%{opacity:.25} }

.cmd-body {
    padding: 1rem 1.25rem; font-family: var(--z-font-mono); font-size: 0.75rem;
    line-height: 1.75; min-height: 210px; transition: opacity 0.3s ease;
    background: var(--z-bg-deep);
}

/* ── Typed lines (shared with hero-command.js) ── */
.cy-line {
    opacity: 0; transform: translateX(-6px);
    animation: cyTypeIn 0.35s ease forwards;
    animation-delay: calc(var(--d,0) * 0.5s + 0.3s);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes cyTypeIn { to { opacity:1; transform:translateX(0); } }

.cy-prompt  { color: var(--z-accent); font-weight: 700; margin-right: 5px; }
.cy-cmd     { color: var(--z-accent-light); font-weight: 600; margin-right: 5px; }
.cy-str     { color: #a5d6ff; margin-right: 5px; }
.cy-flag    { color: var(--z-purple-light); margin-right: 5px; }
.cy-comment { color: var(--z-text-muted); font-style: italic; }
.cy-key     { color: var(--z-text-sec); margin-right: 2px; }
.cy-op      { color: var(--z-text-muted); margin-right: 5px; }
.cy-num     { color: var(--z-accent); font-weight: 700; margin-right: 5px; }
.cy-ok      { color: #58d68d; font-weight: 600; margin-right: 5px; }
.cy-dim     { color: var(--z-text-muted); }
.cy-cursor  {
    display: inline-block; width: 7px; height: 14px; background: var(--z-accent);
    vertical-align: text-bottom; animation: cyBlink 1s step-end infinite;
}
@keyframes cyBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Telemetry Row ── */
.telem-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
.telem-panel {
    background: var(--z-bg-deep); border: 1px solid var(--z-border); border-radius: 10px;
    overflow: hidden; display: flex; flex-direction: column;
}
.telem-header {
    padding: 6px 10px; font-family: var(--z-font-mono); font-size: 0.5rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--z-text-muted); border-bottom: 1px solid var(--z-border);
    display: flex; align-items: center; gap: 5px;
}
.telem-header i { color: var(--z-accent); font-size: 0.5625rem; }
.telem-canvas-wrap { position: relative; flex: 1; min-height: 100px; }
.telem-canvas-wrap canvas { position: absolute; inset: 0; }
.telem-svg-wrap { flex: 1; min-height: 100px; display: flex; align-items: center; justify-content: center; padding: 6px; }
.orbit-svg { width: 100%; height: 100%; }
.telem-footer {
    padding: 5px 10px; font-family: var(--z-font-mono); font-size: 0.4375rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--z-text-muted); border-top: 1px solid var(--z-border); text-align: center;
}
.telem-footer b { color: var(--z-accent); }

/* ── Metrics Panel ── */
.telem-metrics {
    padding: 8px 10px; display: flex; flex-direction: column; gap: 5px; flex: 1;
    font-family: var(--z-font-mono);
}
.tm-row {
    display: grid; grid-template-columns: 52px 1fr 40px; gap: 6px; align-items: center;
}
.tm-label {
    font-size: 0.4375rem; font-weight: 700; color: var(--z-text-muted);
    text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap;
}
.tm-bar {
    height: 4px; background: var(--z-border); border-radius: 2px; overflow: hidden;
}
.tm-fill {
    height: 100%; border-radius: 2px; background: var(--z-accent);
    transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}
.tm-fill-alt { background: var(--z-info); }
.tm-fill-green { background: var(--z-success); }
.tm-val {
    font-size: 0.4375rem; font-weight: 700; color: var(--z-text-sec);
    text-align: right; white-space: nowrap;
}

/* ── Floating HUD Cards ── */
.cmd-float {
    position: absolute; display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; background: var(--z-surface-1); border: 1px solid var(--z-border);
    border-radius: 8px; backdrop-filter: blur(10px); box-shadow: var(--z-shadow-md);
    z-index: 3; font-family: var(--z-font-mono); animation: cmdFloat 5s ease-in-out infinite;
}
.cmd-float i { font-size: 0.875rem; color: var(--z-accent); }
.cf-val { display: block; font-size: 0.6875rem; font-weight: 700; color: var(--z-text); line-height: 1.2; }
.cf-lbl { display: block; font-size: 0.5rem; color: var(--z-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.cf-bar { width: 48px; height: 3px; background: var(--z-border); border-radius: 2px; overflow: hidden; }
.cf-fill { height: 100%; background: var(--z-accent); border-radius: 2px; transition: width 1s ease; }
.cf-bar-green .cf-fill { background: var(--z-success); }

.cmd-float-1 { top: -8px;  right: -32px; animation-delay: 0s; }
.cmd-float-2 { top: 35%;   left: -50px;  animation-delay: 1.3s; }
.cmd-float-3 { bottom: 25%; left: -42px;  animation-delay: 2.6s; }
.cmd-float-4 { bottom: -8px; right: -28px; animation-delay: 3.9s; }

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

/* ── Hero Responsive ── */
@media (max-width: 1200px) {
    .cmd-dashboard { max-width: 440px; }
    .cmd-float-1 { right: -12px; }
    .cmd-float-2 { left: -24px; }
    .cmd-float-3 { left: -20px; }
    .cmd-float-4 { right: -12px; }
}
@media (max-width: 768px) {
    .hero-section { min-height: auto; padding: 6rem 0 3rem; }
    .hero-content-wrapper { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .hero-visual-content { order: -1; }
    .cmd-dashboard { max-width: 100%; }
    .cmd-float { display: none; }
    .telem-row { grid-template-columns: 1fr; }
    .telem-panel { min-height: 80px; }
    .cmd-body { font-size: 0.6875rem; min-height: 160px; padding: 0.75rem; }
    .hud-frame { display: none; }
    .hex-canvas, .rain-canvas { display: none; }
}
@media (max-width: 480px) {
    .hero-section { padding: 5rem 0 2rem; }
    .telem-row { display: none; }
}

/* ── Light theme ── */
[data-theme="light"] .cmd-terminal { background: var(--z-surface-1); box-shadow: var(--z-shadow-lg); }
[data-theme="light"] .cmd-titlebar { background: var(--z-surface-2); }
[data-theme="light"] .cmd-body { background: var(--z-surface-1); }
[data-theme="light"] .telem-panel { background: var(--z-surface-1); }
[data-theme="light"] .cy-str { color: #0369a1; }
[data-theme="light"] .cy-ok { color: #059669; }
[data-theme="light"] .cmd-float { background: var(--z-surface-1); box-shadow: var(--z-shadow-lg); }
[data-theme="light"] .hud-frame { opacity: 0.5; }
[data-theme="light"] .hex-canvas { opacity: 0.3; }
[data-theme="light"] .rain-canvas { opacity: 0.05; }
[data-theme="light"] .hero-orb { opacity: 0.1; }

/* -------------------------------------------
   3. Responsive Design
   ------------------------------------------- */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        gap: 2rem;
    }
    
    .trust-item {
        padding: 0.75rem;
    }
    
    .trust-icon {
        width: 36px;
        height: 36px;
    }
       .filters-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .filters-card {
        height: 220px;
    }
}
@media (max-width: 992px) {
    .filters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .filters-card {
        height: 240px;
    }
}
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 2rem 0;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-main-content {
        order: 1;
    }
    
    .hero-visual-content {
        order: 2;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .hero-search-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .search-icon-wrapper {
        margin-right: 0;
    }
    
    .hero-search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-item {
        padding: 0.75rem;
    }
    
    .smart-filters-section {
        padding: 1rem 0;
    }
    
    .filters-card {
        padding: 1rem;
        height: auto;
        min-height: 200px;
    }
    
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .mobile-filter-toggle {
        display: flex;
    }
    
    .filters-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .filters-content.active {
        max-height: 500px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin-top: 60px;
        min-height: 450px;
    }
    
    .hero-content-inner {
        max-width: 100%;
    }
    
    .hero-search-categories {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .search-category-pills {
        justify-content: center;
        width: 100%;
    }
    
    .hero-trust-indicators {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .trust-item {
        justify-content: center;
        padding: 1rem;
    }
    
    
     .filters-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .filters-card {
        height: auto;
        min-height: 180px;
    }
    
    .filters-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .filters-actions {
        width: 100%;
        justify-content: space-between;
    }
}
/* Animation enhancements */
.filter-group {
    animation: filterSlideIn 0.3s ease forwards;
}

.filter-group:nth-child(1) { animation-delay: 0.1s; }
.filter-group:nth-child(2) { animation-delay: 0.2s; }
.filter-group:nth-child(3) { animation-delay: 0.3s; }
.filter-group:nth-child(4) { animation-delay: 0.4s; }
.filter-group:nth-child(5) { animation-delay: 0.5s; }
/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .hero-particles,
    .hero-orb,
    .badge-glow,
    .title-underline,
    .btn-ripple,
    .cmd-float,
    .cy-line {
        animation: none;
    }
    .cy-line { opacity: 1; transform: none; }
    .hud-scanline { animation: none; }
    
    .hero-title-accent {
        background: var(--accent);
        -webkit-background-clip: unset;
        -webkit-text-fill-color: unset;
        background-clip: unset;
        color: var(--accent);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-search-wrapper {
        border-color: var(--text-primary);
        background: var(--primary-dark);
    }
    
    .trust-item {
        border-color: var(--text-secondary);
        background: var(--primary-dark);
    }
    
    .category-pill {
        border-color: var(--text-secondary);
        background: var(--primary-dark);
    }
}

/* -------------------------------------------
   4. Smart Filters Section - Optimized Layout
   ------------------------------------------- */
.smart-filters-section {
    padding: 1.5rem 0;
    margin: 2rem 0;
    position: relative;
    z-index: 15;
}

.filters-card {
    background: linear-gradient(
        145deg,
        var(--z-overlay) 0%,
        var(--z-overlay-heavy) 100%
    );
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    height: 220px;
    width: 100%;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filters-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--z-accent-glow) 50%,
        transparent 100%
    );
}

.filters-card:hover {
    border-color: var(--z-accent);
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        0 4px 16px var(--z-accent-glow);
}

/* Enhanced Header with Active Filters Counter */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filters-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.filters-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.icon-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0; }
    50% { transform: scale(1.05); opacity: 0.6; }
    100% { transform: scale(0.95); opacity: 0; }
}

.filters-title-content {
    display: flex;
    flex-direction: column;
}

.filters-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.125rem 0;
    line-height: 1.2;
}

.filters-subtitle {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin: 0;
}

.filters-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.active-filters {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--z-accent-glow);
    border-radius: 20px;
    color: var(--accent);
}

.filter-count {
    font-weight: 700;
    font-size: 0.875rem;
    min-width: 1rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 500;
}

.filters-reset-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.filters-reset-btn:hover {
    background: var(--z-accent-glow);
    border-color: var(--z-accent);
    color: var(--text-primary);
}

.filters-reset-btn:hover .btn-hover-effect {
    transform: translateX(100%);
}

/* Optimized Grid Layout with Perfect Balance */
.filters-content {
    height: calc(220px - 75px); /* Header height subtracted */
    overflow: visible;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    height: 100%;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.filter-group:nth-child(1) { animation-delay: 0.05s; }
.filter-group:nth-child(2) { animation-delay: 0.1s; }
.filter-group:nth-child(3) { animation-delay: 0.15s; }
.filter-group:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-label-wrapper {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.25rem;
}

.filter-label-icon {
    color: var(--accent);
    font-size: 0.75rem;
}

.filter-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Enhanced Form Elements */
.modern-checkbox-wrapper {
    flex: 1;
}

.modern-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.modern-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    height: 46px;
    position: relative;
    overflow: hidden;
}

.checkbox-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, var(--z-accent-glow) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease;
}

.modern-checkbox-label:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--z-accent);
}

.modern-checkbox-input:checked + .modern-checkbox-label {
    background: var(--z-accent-glow);
    border-color: var(--z-accent);
}

.modern-checkbox-input:checked + .modern-checkbox-label .checkbox-ripple {
    opacity: 1;
    transform: scale(3);
}

.checkbox-indicator {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.checkbox-check {
    color: var(--primary-dark);
    font-size: 10px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-checkbox-input:checked + .modern-checkbox-label .checkbox-indicator {
    background: var(--accent);
    border-color: var(--accent);
}

.modern-checkbox-input:checked + .modern-checkbox-label .checkbox-check {
    opacity: 1;
    transform: scale(1);
}

.checkbox-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Enhanced Price Range */
.price-filter-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-range-wrapper {
    position: relative;
    padding: 0.875rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 46px;
    display: flex;
    align-items: center;
}

.price-range-wrapper:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--z-accent);
}

.modern-price-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.range-track-fill {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    width: calc(100% - 1.5rem);
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
}

.modern-price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    position: relative;
    z-index: 3;
}

.modern-price-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.price-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.375rem;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background: var(--z-accent-glow);
    border-radius: 12px;
    color: var(--accent);
    font-weight: 600;
}

/* Enhanced Select */
.modern-select-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 46px;
    overflow: hidden;
}

.modern-select-wrapper:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--z-accent);
}

.modern-select-wrapper.selected {
    border-color: var(--accent);
    background: var(--z-accent-glow);
}

.modern-select {
    width: 100%;
    height: 100%;
    padding: 0 2.5rem 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    appearance: none;
}

.modern-select option {
    background-color: var(--primary-dark);
    color: var(--text-primary);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.modern-select-wrapper:hover .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Enhanced Search */
.modern-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 46px;
    overflow: hidden;
}

.modern-search-wrapper:hover,
.modern-search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--z-accent);
}

.modern-search-input {
    flex: 1;
    height: 100%;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: transparent;
    border: none;
    outline: none;
}

.modern-search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.modern-search-btn {
    width: 46px;
    height: 100%;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0.8);
}

.modern-search-btn:hover .btn-pulse {
    animation: btnPulse 1s infinite;
}

@keyframes btnPulse {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(0.8); }
}

/* Filter Summary Bar */
.filter-summary-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.625rem 1.5rem;
    background: var(--z-bg-deep);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 50px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.filter-summary-bar:hover {
    transform: translateY(0);
}

.summary-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.active-filter-tags {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
    flex: 1;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--z-accent-glow);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--accent);
}

.tag-remove {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.675rem;
    padding: 0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-filters-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--z-danger-bg);
    border: none;
    border-radius: 6px;
    color: var(--z-danger);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
}


@media (max-width: 1400px) {
    .filters-grid {
        grid-template-columns: 
            minmax(180px, 1fr) 
            minmax(160px, 1fr) 
            minmax(140px, 1fr) 
            minmax(220px, 2fr) 
            minmax(120px, 1fr);
        gap: 1.5rem;
    }
    
    .filters-card {
        padding: 1.25rem 1.5rem;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
   .filters-grid {
        grid-template-columns: 
            minmax(160px, 1fr) 
            minmax(140px, 1fr) 
            minmax(120px, 1fr) 
            minmax(200px, 2fr) 
            minmax(100px, 1fr);
        gap: 1.25rem;
    }
    
    .filters-card {
        padding: 1.25rem;
    }
}

@media (max-width: 992px) {
  .smart-filters-section {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
    
    .smart-filters-section .container {
        padding: 0 1.5rem;
    }
    
    .filters-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        grid-row-gap: 1.5rem;
    }
    
    .filter-group:nth-child(4),
    .filter-group:nth-child(5) {
        grid-column: span 1;
    }
    
    .filters-card {
        min-height: 160px;
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .smart-filters-section {
        padding: 0.75rem 0;
        margin: 1rem 0;
    }
    
    .smart-filters-section .container {
        padding: 0 1rem;
    }
    
    .filters-card {
        padding: 1rem;
        min-height: auto;
        border-radius: 16px;
    }
    
    .filters-header {
        margin-bottom: 0.75rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .filters-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.4rem 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: var(--text-secondary);
        font-size: 0.75rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .mobile-filter-toggle:hover {
        background: var(--z-accent-glow);
        color: var(--accent);
    }
    
    .filters-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .filters-content.active {
        max-height: 400px;
    }
    
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        grid-row-gap: 1rem;
    }
    
    .filter-group {
        min-height: 70px;
    }
}

@media (max-width: 480px) {
     .smart-filters-section .container {
        padding: 0 0.75rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .filters-header {
        margin-bottom: 0.75rem;
    }
    
    .filter-group {
        min-height: 60px;
    }
    
    .filters-card {
        padding: 0.875rem;
    }
}

/* Focus and active states */
.modern-select-wrapper:focus-within,
.modern-search-wrapper:focus-within,
.price-range-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--z-accent-glow);
}

.modern-checkbox-input:focus + .modern-checkbox-label {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--z-accent-glow);
}

/* Loading states */
.filters-card.loading {
    pointer-events: none;
    opacity: 0.7;
}

.filters-card.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(1px);
}

/* Animation enhancements */
.filter-group {
    opacity: 0;
    transform: translateY(10px);
    animation: filterSlideIn 0.4s ease forwards;
}

.filter-group:nth-child(1) { animation-delay: 0.1s; }
.filter-group:nth-child(2) { animation-delay: 0.15s; }
.filter-group:nth-child(3) { animation-delay: 0.2s; }
.filter-group:nth-child(4) { animation-delay: 0.25s; }
.filter-group:nth-child(5) { animation-delay: 0.3s; }

@keyframes filterSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .filters-card,
    .modern-checkbox-label,
    .modern-select-wrapper,
    .modern-search-wrapper,
    .filters-reset-btn,
    .filter-group {
        transition: none;
        animation: none;
    }
    
    .filter-group {
        opacity: 1;
        transform: none;
    }
}
/* === Social Login (Professional) === */
.social-login-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 0.75rem;
}
.social-btn {
  --_h: 54px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  height: var(--_h);
  padding: 0 1.25rem 0 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--z-text);
  text-decoration: none;
  background:
    linear-gradient(145deg,rgba(255,255,255,0.04),rgba(255,255,255,0)) ,
    linear-gradient(135deg,#182230,#121824);
  overflow: hidden;
  transition: .4s cubic-bezier(.4,0,.2,1);
  isolation: isolate;
}
.social-btn:before,
.social-btn:after{
  content:"";
  position:absolute;
  inset:0;
  opacity:0;
  transition:.6s cubic-bezier(.4,0,.2,1);
  pointer-events:none;
}
.social-btn:before{
  background:radial-gradient(circle at 15% 20%,rgba(255,255,255,.18),rgba(255,255,255,0) 60%);
}
.social-btn:after{
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,0) 70%);
  mix-blend-mode:overlay;
}
.social-btn:hover{
  transform:translateY(-3px);
  border-color:rgba(255,255,255,0.18);
  box-shadow:0 14px 40px -10px rgba(0,0,0,.55),0 0 0 1px rgba(255,255,255,.05) inset;
}
.social-btn:hover:before,
.social-btn:hover:after{opacity:1;}
.social-btn.disabled{opacity:.45;pointer-events:none;filter:grayscale(.5);}
.social-btn.loading{
  cursor:progress;
  color:transparent !important;
}
.social-btn.loading .social-icon{opacity:0;}
.social-btn .social-icon{
  width:38px;
  height:38px;
  border-radius:12px;
  flex-shrink:0;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,0.05);
  box-shadow:0 0 0 1px rgba(255,255,255,0.05) inset;
  transition:.4s;
}
.social-btn .social-icon img{
  width:20px;
  height:20px;
  display:block;
}
.social-btn-google .social-icon{background:#1d2833;}
.social-btn-facebook .social-icon{background:#1d2b46;}
.social-btn-github .social-icon{background:#202733;}
.social-btn-google:hover .social-icon{background:#202f45;}
.social-btn-facebook:hover .social-icon{background:#233556;}
.social-btn-github:hover .social-icon{background:#273141;}
.social-btn-google{
  background:
    linear-gradient(145deg,rgba(255,255,255,0.04),rgba(255,255,255,0)),
    linear-gradient(135deg,#182230,#121824);
}
.social-btn-facebook{
  background:
    linear-gradient(145deg,rgba(255,255,255,0.04),rgba(255,255,255,0)),
    linear-gradient(135deg,#1d2f4a,#132033);
}
.social-btn-github{
  background:
    linear-gradient(145deg,rgba(255,255,255,0.04),rgba(255,255,255,0)),
    linear-gradient(135deg,#1b2430,#11161e);
}
.social-btn-google.loading{background:#182230;}
.social-btn-facebook.loading{background:#1d2f4a;}
.social-btn-github.loading{background:#1b2430;}
.social-text{
  flex:1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.social-loader{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:.3s;
}
.social-btn.loading .social-loader{opacity:1;}
.social-loader:after{
  content:"";
  width:22px;
  height:22px;
  border:3px solid rgba(255,255,255,0.15);
  border-top-color:#fff;
  border-radius:50%;
  animation:spin 1s linear infinite;
}
.social-separator{
  position:relative;
  display:flex;
  align-items:center;
  gap:.75rem;
  font-size:.7rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--z-text-muted);
  margin: .4rem 0 .2rem;
  justify-content:center;
}
.social-separator:before,
.social-separator:after{
  content:"";
  flex:1;
  height:1px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.16),rgba(255,255,255,0));
}
.social-disclaimer{
  font-size:.65rem;
  line-height:1.4;
  color:var(--z-text-muted);
  margin: .2rem 0 0;
  text-align:center;
}
.social-disclaimer a{
  color:#93c5fd;
  text-decoration:none;
}
.social-disclaimer a:hover{color:#bfdbfe;}
@keyframes spin {to{transform:rotate(360deg)}}
@media (max-width:560px){
  .social-btn{height:50px;padding:0 .9rem;border-radius:12px;}
  .social-btn .social-icon{width:34px;height:34px;border-radius:10px;}
  .social-text{font-size:.85rem;}
}

/* ============================================================================
   HERO POLISH — mevcut yapıyı bozmadan tasarım hatalarını düzelt
   ----------------------------------------------------------------------------
   1) Tanımsız var(--accent), var(--text-primary), vs. fallback'leri --z-* token'larına bağlanır
   2) Hero kontrast/spacing iyileştirmeleri
   3) Mobile'da daha tutarlı stack davranışı
   ============================================================================ */

/* --- Token fallback bridges (eksik değişkenleri --z-* ile eşle) --- */
.hero-section,
.hero-section * {
  --accent: var(--z-accent, #f59e0b);
  --accent-light: color-mix(in oklab, var(--z-accent, #f59e0b) 70%, white);
  --primary: var(--z-bg-deep, #0c1322);
  --text-primary: var(--z-text, #f1f5f9);
  --text-secondary: var(--z-text-sec, #cbd5e1);
  --text-muted: var(--z-text-muted, #94a3b8);
}

/* --- Hero badge: daha okunaklı kontrast --- */
.hero-section .hero-badge {
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--z-accent) 18%, transparent),
    color-mix(in oklab, var(--z-accent) 8%, transparent));
  border: 1px solid color-mix(in oklab, var(--z-accent) 35%, transparent);
}

.hero-section .badge-icon { color: var(--z-accent); }

.hero-section .badge-text {
  color: var(--z-text);
  font-weight: 600;
  letter-spacing: .2px;
}

/* --- Title: daha tutarlı tracking ve line-height --- */
.hero-section .hero-title {
  letter-spacing: -.02em;
  line-height: 1.05;
}

.hero-section .title-line-1 {
  color: var(--z-text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

/* --- Description: daha okunaklı --- */
.hero-section .hero-description {
  color: var(--z-text-sec);
  font-size: clamp(15px, 1.15vw, 17.5px);
  line-height: 1.7;
  max-width: 560px;
}

/* --- Search wrapper: daha temiz, glass efekti tutarlı --- */
.hero-section .hero-search-wrapper {
  background: color-mix(in oklab, var(--z-surface-1) 75%, transparent);
  border-color: color-mix(in oklab, var(--z-text) 12%, transparent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18);
}

.hero-section .hero-search-wrapper:focus-within {
  border-color: var(--z-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--z-accent) 28%, transparent),
              0 14px 40px rgba(0, 0, 0, .25);
}

.hero-section .hero-search-input { color: var(--z-text); }
.hero-section .hero-search-input::placeholder { color: var(--z-text-muted); }

.hero-section .hero-search-btn {
  background: linear-gradient(135deg, var(--z-accent), color-mix(in oklab, var(--z-accent) 70%, black));
  color: #fff;
  font-weight: 700;
  letter-spacing: .3px;
}

.hero-section .hero-search-btn:hover {
  box-shadow: 0 12px 28px color-mix(in oklab, var(--z-accent) 45%, transparent);
}

/* --- Category pills: daha okunaklı, tutarlı --- */
.hero-section .category-pill {
  background: color-mix(in oklab, var(--z-surface-1) 70%, transparent);
  border-color: color-mix(in oklab, var(--z-text) 10%, transparent);
  color: var(--z-text-sec);
  padding: .45rem .85rem;
  font-size: 12.5px;
}

.hero-section .category-pill:hover {
  background: color-mix(in oklab, var(--z-accent) 15%, transparent);
  border-color: color-mix(in oklab, var(--z-accent) 45%, transparent);
  color: var(--z-text);
}

/* --- Trust indicators: 4 kart, içeride yatay icon+text düzeni --- */
.hero-section .hero-trust-indicators {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 1.5rem;
}

.hero-section .trust-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 14px !important;
  background: color-mix(in oklab, var(--z-surface-1) 75%, transparent) !important;
  border: 1px solid color-mix(in oklab, var(--z-text) 8%, transparent) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(12px);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
  min-width: 0;
  overflow: hidden;
}

.hero-section .trust-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--z-accent) 45%, transparent) !important;
  background: color-mix(in oklab, var(--z-surface-1) 85%, transparent) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}

.hero-section .trust-item .trust-icon {
  display: grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg,
    color-mix(in oklab, var(--z-accent) 26%, transparent),
    color-mix(in oklab, var(--z-accent) 12%, transparent)) !important;
  border: 1px solid color-mix(in oklab, var(--z-accent) 35%, transparent);
  color: var(--z-accent) !important;
  font-size: 15px !important;
  flex-shrink: 0;
}

.hero-section .trust-item .trust-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  min-width: 0;
}

.hero-section .trust-item .trust-value {
  display: block;
  color: var(--z-text) !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  line-height: 1.1 !important;
  letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-section .trust-item .trust-label {
  display: block;
  color: var(--z-text-muted) !important;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .4px !important;
  text-transform: uppercase !important;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 4'ten 2'ye, sonra 1'e responsive collapse */
@media (max-width: 1100px) {
  .hero-section .hero-trust-indicators {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .hero-section .hero-trust-indicators {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .hero-section .trust-item { padding: 10px 12px !important; gap: 10px !important; }
  .hero-section .trust-item .trust-icon { width: 34px !important; height: 34px !important; font-size: 13px !important; }
  .hero-section .trust-item .trust-value { font-size: 15px !important; }
  .hero-section .trust-item .trust-label { font-size: 10px !important; }
}

/* --- Hero min-height mobile'da kısalsın --- */
@media (max-width: 992px) {
  .hero-section { min-height: auto; padding: clamp(60px, 10vh, 90px) 0 48px; }
  .hero-section .hero-content-wrapper { grid-template-columns: 1fr !important; gap: 2rem; height: auto; min-height: 0; }
}

@media (max-width: 768px) {
  .hero-section .hero-trust-indicators {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .75rem !important;
  }
  .hero-section .hero-search-categories { gap: .5rem; }
  .hero-section .categories-label { width: 100%; }
}

@media (max-width: 480px) {
  .hero-section .hero-title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-section .hero-search-wrapper { flex-wrap: wrap; padding: .5rem; }
  .hero-section .hero-search-btn { width: 100%; justify-content: center; padding: .7rem; }
  .hero-section .search-icon-wrapper { width: 32px; height: 32px; margin-right: .5rem; }
  .hero-section .hero-trust-indicators { grid-template-columns: 1fr 1fr !important; }
}

/* HUD top bar mobilde sığsın */
@media (max-width: 992px) {
  .hud-frame .hud-topbar { font-size: 9px; gap: .5rem; padding: 8px 1rem; }
  .hud-frame .hud-tag b { font-size: 10px; }
}

@media (max-width: 600px) {
  .hud-frame .hud-topbar > .hud-sep:nth-of-type(n+3),
  .hud-frame .hud-topbar > .hud-tag:nth-of-type(n+3) { display: none; }
  .hud-frame .hud-corner { font-size: 9px; }
  .hud-frame .hud-bl, .hud-frame .hud-br { display: none; }
}

/* --- Reduced motion: title underline ve gradientFlow stop --- */
@media (prefers-reduced-motion: reduce) {
  .hero-section .title-line-2,
  .hero-section .title-underline,
  .hero-section .badge-glow {
    animation: none !important;
  }
}

/* ============================================================================
   HERO CTA ROW (sol alanda buton dizisi)
   ============================================================================ */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1rem 0 1.5rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  letter-spacing: -.005em;
  position: relative;
  overflow: hidden;
}

.hero-cta-primary {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff !important;
  box-shadow: 0 10px 30px color-mix(in oklab, #16a34a 35%, transparent);
}

.hero-cta-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: translateX(-100%);
  transition: transform .9s cubic-bezier(.22,1,.36,1);
}

.hero-cta-primary:hover::before { transform: translateX(100%); }

.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px color-mix(in oklab, #16a34a 45%, transparent);
}

.hero-cta-ghost {
  background: color-mix(in oklab, var(--z-surface-1) 70%, transparent);
  color: var(--z-text) !important;
  border: 1px solid color-mix(in oklab, var(--z-text) 12%, transparent);
  backdrop-filter: blur(10px);
}

.hero-cta-ghost:hover {
  border-color: var(--z-accent);
  color: var(--z-accent) !important;
  background: color-mix(in oklab, var(--z-accent) 10%, transparent);
  transform: translateY(-2px);
}

/* ============================================================================
   HERO SHOWCASE — sağ kart (3 adımda nasıl çalışır)
   ============================================================================ */
.hero-visual-content { position: relative; z-index: 2; }

.hero-showcase {
  position: relative;
  background:
    linear-gradient(160deg,
      color-mix(in oklab, var(--z-surface-1) 92%, transparent),
      color-mix(in oklab, var(--z-bg) 78%, var(--z-accent) 8%)
    );
  border: 1px solid color-mix(in oklab, var(--z-text) 10%, transparent);
  border-radius: 24px;
  padding: clamp(20px, 2.5vw, 32px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .35),
    0 8px 22px rgba(0, 0, 0, .15),
    inset 0 1px 0 color-mix(in oklab, var(--z-text) 5%, transparent);
  overflow: hidden;
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--z-accent), transparent);
  opacity: .8;
  z-index: 2;
}

.hero-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 200px at 100% -10%, color-mix(in oklab, var(--z-accent) 22%, transparent), transparent 70%),
    radial-gradient(400px 200px at -10% 110%, color-mix(in oklab, #16a34a 20%, transparent), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-showcase > * { position: relative; z-index: 1; }

/* Showcase header */
.showcase-head { margin-bottom: 1.25rem; }

.showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--z-accent);
  background: color-mix(in oklab, var(--z-accent) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--z-accent) 35%, transparent);
  border-radius: 999px;
  margin-bottom: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.showcase-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--z-accent);
  box-shadow: 0 0 8px var(--z-accent);
  animation: showcasePulse 1.8s ease-in-out infinite;
}

@keyframes showcasePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.2); }
}

.showcase-title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--z-text);
  letter-spacing: -.02em;
  line-height: 1.15;
}

.showcase-sub {
  margin: 0;
  font-size: 14.5px;
  color: var(--z-text-sec);
  line-height: 1.55;
}

/* Steps list */
.showcase-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-reset: showcase;
}

.showcase-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: color-mix(in oklab, var(--z-bg) 85%, transparent);
  border: 1px solid color-mix(in oklab, var(--z-text) 7%, transparent);
  border-radius: 14px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.showcase-step:hover {
  transform: translateX(4px);
  border-color: color-mix(in oklab, var(--z-accent) 40%, transparent);
  background: color-mix(in oklab, var(--z-accent) 6%, var(--z-bg) 94%);
}

.showcase-step-num {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--z-accent), color-mix(in oklab, var(--z-accent) 65%, black));
  color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 16px color-mix(in oklab, var(--z-accent) 35%, transparent);
}

.showcase-step-body { min-width: 0; }

.showcase-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--z-text);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
  letter-spacing: -.005em;
}

.showcase-step-title i {
  color: var(--z-accent);
  font-size: 13px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.showcase-step-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--z-text-muted);
}

/* Highlight strip */
.showcase-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px;
  background: color-mix(in oklab, var(--z-bg) 80%, transparent);
  border: 1px solid color-mix(in oklab, var(--z-text) 6%, transparent);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.showcase-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--z-text-sec);
  text-align: center;
  border-radius: 8px;
  transition: background .2s ease;
}

.showcase-strip-item i {
  font-size: 16px;
  color: var(--z-accent);
}

.showcase-strip-item:hover {
  background: color-mix(in oklab, var(--z-accent) 8%, transparent);
}

/* Final CTA */
.showcase-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--z-accent), color-mix(in oklab, var(--z-accent) 65%, black));
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  box-shadow: 0 10px 28px color-mix(in oklab, var(--z-accent) 38%, transparent);
  transition: transform .2s ease, box-shadow .25s ease;
  letter-spacing: -.005em;
}

.showcase-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px color-mix(in oklab, var(--z-accent) 55%, transparent);
}

.showcase-cta:hover i { transform: translateX(3px); }

.showcase-cta i { transition: transform .2s ease; }

/* Responsive */
@media (max-width: 992px) {
  .hero-visual-content { display: block !important; max-width: 560px; margin: 0 auto; }
  .hero-showcase { padding: 20px; border-radius: 20px; }
}

@media (max-width: 540px) {
  .showcase-step { padding: 12px; gap: 10px; }
  .showcase-step-num { width: 32px; height: 32px; font-size: 14px; }
  .showcase-step-title { font-size: 13.5px; }
  .showcase-step-desc { font-size: 12px; }
  .showcase-strip { grid-template-columns: repeat(3, 1fr); padding: 8px; }
  .showcase-strip-item { font-size: 10.5px; padding: 6px 2px; }
  .showcase-strip-item i { font-size: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .showcase-dot,
  .hero-cta-primary::before,
  .showcase-step,
  .showcase-cta { animation: none !important; transition: none !important; }
}