/* Hero Dashboard mockup (hd-*) — Desktop 'güzel geçişler' sürümünden portlandı */
.hero-mockup {
    width: 100%; height: 380px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
.hero-mockup:hover {
    box-shadow: 0 35px 70px rgba(0,0,0,0.3);
}

/* Statik panel görseli — animasyonlu mockup yerine gerçek ekran görüntüsü */
.hero-visual .hero-mockup-shot {
    height: auto;
    padding: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.28);
    overflow: hidden;
    /* sabit dursun: fare hareketiyle sağa/sola oynamasın */
    transform: none !important;
    transition: none;
    will-change: auto;
}
.hero-shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .hero-visual .hero-mockup-shot { height: auto; padding: 6px; }
}
.hero-mockup svg { color: rgba(255,255,255,0.4); transition: transform 0.3s ease; }
.hero-mockup:hover svg { transform: scale(1.1); }

/* Floating Feature Cards */
.hero-features-list {
    position: absolute; left: -60px; top: 50%; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 10px; z-index: 10;
}
.hero-feature-item {
    background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25); border-radius: 12px;
    padding: 14px 18px; display: flex; align-items: center; gap: 12px;
    min-width: 220px; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-feature-item .icon {
    width: 40px; height: 40px; background: rgba(251, 191, 36,0.2); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: #fbbf24; flex-shrink: 0;
}
.hero-feature-item .text { font-size: 13px; font-weight: 600; color: var(--white); line-height: 1.3; }
.hero-feature-item .text small { display: block; font-weight: 500; color: rgba(255,255,255,0.6); font-size: 11px; }

/* Badge */
.hero-badge-corner {
    position: absolute; top: 20px; right: 20px;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.25); color: var(--white);
    padding: 16px; border-radius: 12px; text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2); z-index: 10;
}
.hero-badge-corner .number { font-size: 28px; font-weight: 800; color: #fbbf24; line-height: 1; }
.hero-badge-corner .label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; opacity: 0.8; }

/* Live dashboard mockup (fills the hero glass card) */
.hero-dashboard {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    gap: 12px; padding: 18px; box-sizing: border-box; color: var(--white); text-align: left;
}
.hd-topbar { display: flex; align-items: center; gap: 8px; }
.hd-dots { display: flex; gap: 5px; }
.hd-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); }
.hd-dots span:nth-child(1) { background: #ff5f57; }
.hd-dots span:nth-child(2) { background: #febc2e; }
.hd-dots span:nth-child(3) { background: #28c840; }
.hd-title { font-size: 12px; font-weight: 600; opacity: .85; }
.hd-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #4ade80; }
.hd-pulse { width: 7px; height: 7px; border-radius: 50%; background: #4ade80;
    box-shadow: 0 0 0 0 rgba(74,222,128,.55); animation: hdPulse 1.6s infinite; }
@keyframes hdPulse {
    0% { box-shadow: 0 0 0 0 rgba(74,222,128,.55); }
    70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
    100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hd-scene-name { opacity: .7; }
/* Stage that holds the rotating scenes */
.hd-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.hd-scene {
    position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity .5s ease, transform .5s ease;
}
.hd-scene.active { opacity: 1; transform: none; }
.hd-scene-title { display: flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700;
    letter-spacing: .3px; text-transform: uppercase; color: rgba(255,255,255,.8); }
.hd-scene-title .dot { width: 6px; height: 6px; border-radius: 50%; background: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36,.8); }

/* generic card row */
.hd-row { display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px; padding: 9px 12px; box-shadow: 0 8px 20px rgba(0,0,0,.14); }
.hd-ic { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; }
.hero-mockup .hd-ic svg { width: 16px; height: 16px; color: inherit; transform: none; }
.hd-ic-green  { background: rgba(74,222,128,.18); color: #4ade80; }
.hd-ic-sky    { background: rgba(34, 211, 238,.18); color: #38bdf8; }
.hd-ic-amber  { background: rgba(251, 191, 36,.2);  color: #fbbf24; }
.hd-ic-violet { background: rgba(232,121,249,.2); color: #e879f9; }
.hd-tx { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hd-tx strong { font-size: 12px; font-weight: 700; color: var(--white);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-tx small { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.6);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-time { margin-left: auto; font-size: 9px; font-weight: 700; color: rgba(255,255,255,.5); flex-shrink: 0; }
.hd-gift { margin-left: auto; flex-shrink: 0; font-size: 9px; font-weight: 800; letter-spacing: .3px;
    color: #0f172a; background: #fbbf24; padding: 3px 9px; border-radius: 999px; }

/* success chip */
.hd-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
    background: rgba(74,222,128,.16); border: 1px solid rgba(74,222,128,.35); color: #86efac;
    font-size: 10.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.hero-mockup .hd-chip svg { width: 13px; height: 13px; color: inherit; }

/* staggered / delayed reveals (run when scene becomes active) */
.hd-scene .hd-pop, .hd-scene .hd-late { opacity: 0; }
.hd-scene.active .hd-pop { animation: hdPop .5s both; }
.hd-scene.active .hd-pop:nth-child(2) { animation-delay: .35s; }
.hd-scene.active .hd-pop:nth-child(3) { animation-delay: .70s; }
.hd-scene.active .hd-pop:nth-child(4) { animation-delay: 1.05s; }
.hd-scene.active .hd-pop:nth-child(5) { animation-delay: 1.40s; }
.hd-scene.active .hd-pop:nth-child(6) { animation-delay: 1.75s; }
.hd-scene.active .hd-late { animation: hdPop .5s both; }
.hd-scene.active .hd-late.d1 { animation-delay: 1.5s; }
.hd-scene.active .hd-late.d2 { animation-delay: 2.2s; }
@keyframes hdPop {
    0% { opacity: 0; transform: translateY(12px) scale(.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scene 2 - stock entry fields */
.hd-field { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px; padding: 8px 11px; display: flex; align-items: center; gap: 8px; }
.hd-field .k { font-size: 10px; color: rgba(255,255,255,.55); width: 44px; flex-shrink: 0; }
.hd-field .v { font-size: 12px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; }
.hd-field .v.type { max-width: 0; border-right: 2px solid rgba(255,255,255,.7); }
.hd-scene.active .hd-field .v.type { animation: hdType 1.2s steps(20) forwards, hdCaret 1s steps(1) 5; }
@keyframes hdType { from { max-width: 0; } to { max-width: 180px; } }
@keyframes hdCaret { 50% { border-color: transparent; } }
.hd-scan { margin-left: auto; width: 30px; height: 20px; border-radius: 5px; position: relative;
    background: rgba(255,255,255,.08); overflow: hidden; flex-shrink: 0; }
.hd-scan::after { content: ""; position: absolute; left: 3px; right: 3px; height: 2px; top: 3px;
    background: #4ade80; box-shadow: 0 0 6px #4ade80; }
.hd-scene.active .hd-scan::after { animation: hdScan 1.4s ease-in-out infinite; }
@keyframes hdScan { 0%,100% { top: 3px; } 50% { top: 15px; } }

/* Scene 3 - POS receipt */
.hd-receipt { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.hd-line { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.85); }
.hd-line.total { border-top: 1px dashed rgba(255,255,255,.25); padding-top: 7px; margin-top: 2px;
    font-size: 13.5px; font-weight: 800; color: #fff; }

/* Scene 4 - e-commerce cards */
.hd-shop { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.hd-prod { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
    border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.hd-prod .thumb { display: block; width: 100%; height: 44px; border-radius: 7px;
    object-fit: cover; background: #fff; }
.hd-prod .p { font-size: 10px; font-weight: 700; color: #fff; }
.hd-prod .price { font-size: 10px; font-weight: 700; color: #fbbf24; }

/* Scene 5 - growth chart */
.hd-chart { display: flex; align-items: flex-end; gap: 7px; height: 92px; padding-top: 4px; }
.hd-bar { flex: 1; border-radius: 5px 5px 0 0; height: 8%;
    background: linear-gradient(180deg, #fbbf24, #f59e0b); }
.hd-scene.active .hd-bar { animation: hdGrow 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hd-bar:nth-child(1) { --h: 22%; animation-delay: .10s; }
.hd-bar:nth-child(2) { --h: 34%; animation-delay: .18s; }
.hd-bar:nth-child(3) { --h: 29%; animation-delay: .26s; }
.hd-bar:nth-child(4) { --h: 50%; animation-delay: .34s; }
.hd-bar:nth-child(5) { --h: 67%; animation-delay: .42s; }
.hd-bar:nth-child(6) { --h: 85%; animation-delay: .50s; }
.hd-bar:nth-child(7) { --h: 100%; animation-delay: .58s; background: linear-gradient(180deg,#4ade80,#22c55e); }
@keyframes hdGrow { from { height: 8%; } to { height: var(--h); } }
.hd-growth-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hd-big { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }

/* Scene - barkod satış ekranı */
.hd-scanbar { display: flex; align-items: center; gap: 10px; position: relative; overflow: hidden;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 8px 11px; }
.hd-barcode { display: flex; align-items: center; gap: 2px; height: 20px; flex-shrink: 0; }
.hd-barcode i { width: 2px; height: 100%; background: rgba(255,255,255,.85); }
.hd-barcode i:nth-child(3n) { width: 3px; }
.hd-barcode i:nth-child(4n) { width: 1px; opacity: .6; }
.hd-scanbar .lbl { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.8); }
.hd-scanbar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40px; width: 40px;
    background: linear-gradient(90deg, transparent, rgba(74,222,128,.55), transparent); }
.hd-scene.active .hd-scanbar::after { animation: hdSweep 1.9s ease-in-out infinite; }
@keyframes hdSweep { 0% { left: -40px; } 100% { left: 102%; } }

/* Scene - e-ticaret sitesi blok blok */
.hd-browser { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 8px; }
.hd-browser-bar { display: flex; align-items: center; gap: 5px; }
.hd-bdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); }
.hd-browser-bar .u { margin-left: 6px; flex: 1; height: 17px; border-radius: 6px; background: rgba(255,255,255,.12);
    display: flex; align-items: center; gap: 5px; padding: 0 8px; font-size: 9px; color: rgba(255,255,255,.6); }
.hero-mockup .hd-browser-bar .u svg { width: 10px; height: 10px; color: rgba(255,255,255,.6); transform: none; }
.hd-browser-body { flex: 1; display: flex; flex-direction: column; gap: 5px; justify-content: flex-start; }
.hd-block { border-radius: 6px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.12); }
.hd-block.header { height: 16px; display: flex; align-items: center; gap: 5px; padding: 0 8px; }
.hd-block.header i { height: 4px; width: 16px; border-radius: 2px; background: rgba(255,255,255,.4); }
.hd-block.hero { height: 46px; border: 0; padding: 0 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px;
    background: linear-gradient(120deg, rgba(245, 158, 11,.4), rgba(217, 119, 6,.28)); }
.hd-block.hero .t { height: 6px; width: 58%; border-radius: 3px; background: rgba(255,255,255,.7); }
.hd-block.hero .b { height: 13px; width: 54px; border-radius: 6px; background: #fbbf24; }
.hd-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.hd-grid3 span { height: 30px; border-radius: 6px; background: rgba(255,255,255,.16); }
.hd-block.footer { height: 12px; }

/* Scene - müşteri görünümü mağaza */
.hd-store { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.hd-store-bar { display: flex; align-items: center; }
.hd-store-name { font-size: 12.5px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
.hd-cart { margin-left: auto; position: relative; width: 26px; height: 26px; border-radius: 8px;
    background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; }
.hero-mockup .hd-cart svg { width: 14px; height: 14px; color: #fff; transform: none; }
.hd-cart-badge { position: absolute; top: -5px; right: -5px; min-width: 15px; height: 15px; padding: 0 3px;
    box-sizing: border-box; border-radius: 999px; background: #f59e0b; color: #ffffff;
    font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hd-store-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
.hd-card { position: relative; overflow: hidden; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16); border-radius: 10px; padding: 6px;
    display: flex; flex-direction: column; gap: 4px; }
.hd-card img { width: 100%; height: 52px; object-fit: cover; border-radius: 7px; background: #fff; }
.hd-card .nm { font-size: 9.5px; font-weight: 700; color: #fff; line-height: 1.2; min-height: 23px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd-card .pr { font-size: 12px; font-weight: 800; color: #fbbf24; }
.hd-add { border: 0; border-radius: 7px; background: #f59e0b; color: #ffffff; font-size: 9px;
    font-weight: 800; padding: 6px 4px; cursor: pointer; white-space: nowrap; }
.hd-badge-hot { position: absolute; top: 6px; left: 6px; z-index: 2; background: #ef4444; color: #fff;
    font-size: 7px; font-weight: 800; padding: 2px 5px; border-radius: 5px; letter-spacing: .3px; }
.hd-scene.active .hd-add.pulse { animation: hdBtnPulse 1.7s ease-in-out infinite; }
@keyframes hdBtnPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11,.55); }
    60% { box-shadow: 0 0 0 6px rgba(245, 158, 11,0); }
}
.hd-toast-mini { display: flex; align-items: center; gap: 7px; background: rgba(74,222,128,.16);
    border: 1px solid rgba(74,222,128,.35); color: #bbf7d0; font-size: 10px; font-weight: 700;
    padding: 7px 11px; border-radius: 10px; }
.hero-mockup .hd-toast-mini svg { width: 13px; height: 13px; color: #4ade80; transform: none; }

/* scene indicator */
.hd-tabs { display: flex; gap: 5px; justify-content: center; }
.hd-tabs span { width: 14px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.25);
    transition: background .3s, width .3s; }
.hd-tabs span.on { background: #fbbf24; width: 22px; }

@media (prefers-reduced-motion: reduce) {
    .hd-pulse, .hd-scan::after, .hd-bar, .hd-field .v.type, .hd-scanbar::after, .hd-add.pulse { animation: none !important; }
    .hd-pop, .hd-late { opacity: 1 !important; animation: none !important; }
    .hd-field .v.type { max-width: none; border-right: 0; }
    .hd-bar { height: var(--h); }
}

/* --- badge float + responsive (Desktop landing.css'ten) --- */
.hero-badge-corner { animation: badgeFloat 3s ease-in-out infinite; }
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1024px) { .hero-badge-corner { display: none; } }
@media (max-width: 768px) {
    .hero-mockup { height: 330px; }
    .hd-card img { height: 44px; }
    .hd-card .nm { font-size: 9px; }
    .hd-add { font-size: 8.5px; padding: 5px 3px; }
    .hd-store-grid { gap: 5px; }
}

/* ===== Hero: İade güvencesi pill + bilgi (i) tooltip ===== */
.hero-refund{ display:inline-flex; align-items:center; gap:7px; margin-top:16px;
    padding:6px 13px; border-radius:50px; font-size:12.5px; font-weight:600; color:#fff;
    background:rgba(16,185,129,0.12); border:1px solid rgba(16,185,129,0.30); }
.hero-refund svg{ width:15px; height:15px; color:#10b981; flex-shrink:0; }
.hero-info{ position:relative; display:inline-flex; align-items:center; margin-left:2px; cursor:help; }
.hero-info-icon{ display:inline-flex; align-items:center; justify-content:center; width:17px; height:17px;
    border-radius:50%; background:rgba(255,255,255,0.22); border:1px solid rgba(255,255,255,0.55);
    color:#fff; font-size:11px; font-weight:700; font-style:italic; line-height:1;
    font-family:Georgia,'Times New Roman',serif; transition:background .2s ease,color .2s ease,transform .2s ease; }
.hero-info:hover .hero-info-icon, .hero-info:focus .hero-info-icon, .hero-info:focus-within .hero-info-icon{
    background:#10b981; color:#052e22; transform:scale(1.12); }
.hero-info-tip{ position:absolute; bottom:calc(100% + 12px); left:50%;
    transform:translateX(-50%) translateY(6px); width:290px; max-width:78vw; padding:12px 15px;
    background:#0f172a; color:rgba(255,255,255,0.9); border:1px solid rgba(16,185,129,0.35);
    border-radius:12px; font-size:12.5px; font-weight:500; line-height:1.55; text-align:left; font-style:normal;
    box-shadow:0 14px 34px rgba(0,0,0,0.45); opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity .25s ease, transform .25s ease; z-index:30; }
.hero-info-tip strong{ color:#10b981; font-weight:700; }
.hero-info-tip::after{ content:''; position:absolute; top:100%; left:50%; transform:translateX(-50%);
    border:7px solid transparent; border-top-color:#0f172a; }
.hero-info:hover .hero-info-tip, .hero-info:focus .hero-info-tip, .hero-info:focus-within .hero-info-tip{
    opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0); }
