/* ===== NAZ MÜHENDİSLİK YAZILIM — /yazilim mini sitesi =====
   site.css'in üzerine yüklenir: marka tokenları (--primary, --accent, --radius, --font),
   .btn, .container, form ve alert bileşenleri oradan gelir. Burada sadece yazılım
   alt markasının koyu/teknoloji görsel dili tanımlanır. */

body.sw-page {
    --sw-deep:   #0a1628;
    --sw-ink:    #0E1B22;
    --sw-red-lt: #F2605C;   /* koyu zeminde okunur kırmızı (küçük metinler için) */
    --sw-ok:     #1f9d6b;
    background: #fff;
}

/* ---------- Ortak ---------- */
.sw-label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--sw-red-lt);
    margin-bottom: 1rem;
}
.sw-label--dark { color: var(--accent); }
.sw-label-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(209,41,37,.6);
    animation: swPulse 2.2s infinite;
}
@keyframes swPulse {
    0%   { box-shadow: 0 0 0 0 rgba(209,41,37,.55); }
    70%  { box-shadow: 0 0 0 10px rgba(209,41,37,0); }
    100% { box-shadow: 0 0 0 0 rgba(209,41,37,0); }
}

.sw-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
            mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.sw-btn-red { background: var(--accent); color: #fff; border-color: var(--accent); }
.sw-btn-red:hover { background: #9C1E1B; border-color: #9C1E1B; color: #fff; }
.sw-btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.sw-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.sw-check { display: grid; gap: .55rem; }
.sw-check li { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--text); line-height: 1.45; }
.sw-check svg { flex-shrink: 0; margin-top: .15rem; color: var(--accent); }
.sw-check--light li { color: rgba(255,255,255,.88); }
.sw-check--light svg { color: var(--sw-red-lt); }

/* ---------- Header ---------- */
/* En üstte hero'nun üzerinde şeffaf; kaydırınca (veya mobil menü açıkken) ana site iç sayfa header'ı gibi koyu lacivert */
.sw-header {
    position: fixed; left: 0; right: 0; top: 0; z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.sw-header.scrolled,
.sw-header.menu-open { background: #0a1628; border-bottom-color: rgba(209,41,37,.5); box-shadow: 0 2px 20px rgba(0,0,0,.32); }
.sw-header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.sw-brand { display: inline-flex; align-items: center; gap: .75rem; }
.sw-brand img { height: 38px; width: auto; }
.sw-header .sw-brand img { filter: brightness(0) invert(1); }   /* koyu/şeffaf header üzerinde beyaz logo */
.sw-brand-tag {
    display: inline-block;
    padding: .28rem .6rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .04em;
    color: #fff; background: var(--primary);
    border-radius: var(--radius);
    position: relative;
}
.sw-brand-tag::before {               /* logodan etikete kırmızı bağlantı çizgisi */
    content: ''; position: absolute; left: -.75rem; top: 50%;
    width: .5rem; height: 2px; background: var(--accent);
}

.sw-header .sw-brand-tag { background: var(--accent); }
.sw-header .sw-brand-tag::before { background: rgba(255,255,255,.45); }
.sw-nav { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.sw-nav a:not(.btn) {
    font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.88);
    padding: .4rem 0; border-bottom: 2px solid transparent; transition: all .2s;
}
.sw-nav a:not(.btn):hover { color: #fff; border-bottom-color: var(--accent); }
.sw-nav-cta { padding: .55rem 1.3rem; }
.sw-btn-home { padding: .5rem 1rem; color: #fff; border-color: rgba(255,255,255,.3); background: transparent; margin-left: -1rem; }
.sw-btn-home:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.sw-hamburger span { background: #fff; }
.sw-header-right { display: flex; align-items: center; gap: 1rem; margin-left: 1.75rem; }
.sw-lang a { color: rgba(255,255,255,.7); }
.sw-lang a:hover, .sw-lang a.active { color: #fff; border-bottom-color: var(--accent); }

/* ---------- Hero ---------- */
.sw-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse 60% 70% at 85% 30%, rgba(21,73,92,.85), transparent 70%),
        linear-gradient(160deg, var(--sw-deep) 0%, #0d2533 55%, var(--primary) 130%);
    color: #fff;
    padding: 170px 0 128px;   /* 74px sabit header + boşluk */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
}
.sw-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.sw-hero h1, .sw-hero-title {
    color: #fff;
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
    font-weight: 700; letter-spacing: -.02em; line-height: 1.12;
    margin-bottom: 1.25rem;
}
.sw-hero-desc { color: rgba(255,255,255,.74); font-size: 1.08rem; max-width: 560px; margin-bottom: 2rem; }
.sw-hero-btns { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }
.sw-chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.sw-chips li {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .38rem .8rem; font-size: .8rem; color: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.14); border-radius: 100px;
    background: rgba(255,255,255,.04);
}
.sw-chips i { color: var(--sw-red-lt); font-size: .85rem; }

/* Mockup: tarayıcı penceresi */
.sw-hero-visual { position: relative; min-height: 400px; perspective: 1400px; }
.sw-browser {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
}
.sw-hero-visual .sw-browser {
    position: relative; z-index: 1;
    transform: rotateY(-9deg) rotateX(4deg);
    transform-origin: left center;
    transition: transform .6s ease;
}
.sw-hero-visual:hover .sw-browser { transform: rotateY(-4deg) rotateX(2deg); }
.sw-browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF1F0; border-bottom: 1px solid var(--border); }
.sw-browser-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #CBD3D1; }
.sw-browser-bar > span:first-child { background: var(--accent); }
.sw-browser-url {
    margin-left: 12px; flex: 1; max-width: 240px;
    font-size: .7rem; color: var(--text-light);
    background: #fff; border-radius: 4px; padding: 3px 10px;
}

.sw-app { display: grid; grid-template-columns: 54px 1fr; height: 320px; }
.sw-app-side { background: var(--primary); display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 14px; }
.sw-app-logo { width: 26px; height: 26px; border-radius: 6px; background: var(--accent); margin-bottom: 6px; }
.sw-app-side i { width: 22px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); }
.sw-app-side i.on { background: #fff; }
.sw-app-main { background: var(--bg-light); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.sw-app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sw-app-stats div { background: #fff; border-radius: 6px; padding: 10px 12px; border-left: 3px solid var(--primary); }
.sw-app-stats div.red { border-left-color: var(--accent); }
.sw-app-stats small { display: block; font-size: .62rem; color: var(--text-light); }
.sw-app-stats b { font-size: 1.15rem; color: var(--sw-ink); }
.sw-app-chart {
    flex: 1; background: #fff; border-radius: 6px; padding: 14px 14px 10px;
    display: flex; align-items: flex-end; gap: 8%;
}
.sw-app-chart span { flex: 1; background: var(--primary); border-radius: 3px 3px 0 0; opacity: .85; transform-origin: bottom; animation: swBar 1.2s ease-out both; }
.sw-app-chart span.red { background: var(--accent); opacity: 1; }
.sw-app-chart span:nth-child(2) { animation-delay: .08s; } .sw-app-chart span:nth-child(3) { animation-delay: .16s; }
.sw-app-chart span:nth-child(4) { animation-delay: .24s; } .sw-app-chart span:nth-child(5) { animation-delay: .32s; }
.sw-app-chart span:nth-child(6) { animation-delay: .40s; } .sw-app-chart span:nth-child(7) { animation-delay: .48s; }
.sw-app-chart span:nth-child(8) { animation-delay: .56s; }
@keyframes swBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.sw-app-rows { display: grid; gap: 6px; }
.sw-app-rows i { height: 8px; border-radius: 4px; background: #DCE3E2; }
.sw-app-rows i:nth-child(2) { width: 82%; } .sw-app-rows i:nth-child(3) { width: 64%; }

/* Mockup: telefon */
.sw-phone {
    position: absolute; z-index: 2; left: -28px; bottom: -36px;
    width: 148px; height: 290px; padding: 26px 12px 14px;
    background: var(--bg-light); border: 7px solid var(--sw-ink); border-radius: 26px;
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
    display: flex; flex-direction: column; gap: 8px;
    animation: swFloat 6s ease-in-out infinite;
}
.sw-phone-notch { position: absolute; top: 6px; left: 50%; width: 46px; height: 7px; margin-left: -23px; border-radius: 4px; background: var(--sw-ink); }
.sw-phone-head { height: 38px; border-radius: 8px; background: var(--primary); }
.sw-phone-card { background: #fff; border-radius: 7px; padding: 8px; border-left: 3px solid var(--primary); display: grid; gap: 5px; }
.sw-phone-card.red { border-left-color: var(--accent); }
.sw-phone-card i { height: 6px; border-radius: 3px; background: #CBD3D1; }
.sw-phone-card i.s { width: 60%; background: #E4E9E8; }
.sw-phone-btn { margin-top: auto; height: 26px; border-radius: 6px; background: var(--accent); }
@keyframes swFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Mockup: kod parçası */
.sw-code {
    position: absolute; z-index: 3; right: -14px; top: -28px;
    margin: 0; padding: 14px 18px;
    font: 500 .74rem/1.6 ui-monospace, 'Cascadia Code', Consolas, monospace;
    color: #D6E2E6; background: rgba(14,27,34,.92);
    border: 1px solid rgba(255,255,255,.1); border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,.4);
    white-space: pre;
}
.sw-code .k { color: var(--sw-red-lt); }
.sw-code .f { color: #7CC4E0; }
.sw-code .s { color: #9BD7B5; }

/* ---------- Bölümler ---------- */
.sw-section { position: relative; padding: 96px 0; }
.sw-section--light { background: var(--bg-light); }
.sw-section--dark {
    background: linear-gradient(170deg, var(--sw-deep) 0%, #0d2533 60%, #123b4b 100%);
    color: #fff; overflow: hidden;
}
.sw-section > .container { position: relative; }
.sw-head { max-width: 680px; margin-bottom: 52px; }
.sw-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.015em; margin-bottom: .9rem; }
.sw-head p { font-size: 1.04rem; margin: 0; }
.sw-section--dark .sw-head h2 { color: #fff; }
.sw-section--dark .sw-head p { color: rgba(255,255,255,.7); }

/* Hizmet kartları */
.sw-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sw-svc-card {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.sw-svc-card::before {
    content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent) 0 30%, var(--primary) 30%);
    transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.sw-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.sw-svc-card:hover::before { transform: scaleX(1); }
.sw-svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.4rem; }
.sw-svc-ico {
    width: 54px; height: 54px; border-radius: var(--radius);
    display: grid; place-items: center;
    background: var(--primary); color: #fff; font-size: 1.35rem;
}
.sw-svc-card:hover .sw-svc-ico { background: var(--accent); }
.sw-svc-no { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--bg-light); -webkit-text-stroke: 1px var(--border); }
.sw-svc-card h3 { margin-bottom: .7rem; }
.sw-svc-card p { font-size: .95rem; margin-bottom: 1.3rem; }

/* Hazır çözüm satırları */
.sw-product { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.sw-product + .sw-product { margin-top: 96px; }
.sw-product--rev .sw-product-text { order: 2; }
.sw-product-tag {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .35rem .8rem; margin-bottom: 1.1rem;
    font-size: .78rem; font-weight: 600; color: #fff;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 100px;
}
.sw-product-tag i { color: var(--sw-red-lt); }
.sw-product h3 { color: #fff; font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin-bottom: .9rem; }
.sw-product-text > p { color: rgba(255,255,255,.72); margin-bottom: 1.5rem; }
.sw-product .sw-check { margin-bottom: 2rem; }
.sw-product-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: .9rem; }
.sw-demo-note { display: block; font-size: .78rem; color: rgba(255,255,255,.5); }

.sw-browser--flat { box-shadow: 0 30px 70px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08); }

/* Muhasebe tablo mockup'ı */
.sw-table { padding: 14px; font-size: .8rem; color: var(--sw-ink); background: #fff; }
.sw-table > div {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 8px;
    padding: 11px 12px; border-bottom: 1px solid #EEF1F0;
}
.sw-table > div span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.sw-table-head { background: var(--primary); color: #fff; font-weight: 600; font-size: .74rem; border-radius: 4px; border-bottom: 0 !important; }
.sw-table .neg { color: var(--accent); font-weight: 600; }
.sw-table .ok  { color: var(--sw-ok); font-weight: 600; }

/* CRM kanban mockup'ı */
.sw-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; background: var(--bg-light); min-height: 260px; }
.sw-kanban-col { display: flex; flex-direction: column; gap: 9px; }
.sw-kanban-col small { font-size: .72rem; font-weight: 700; color: var(--text-light); margin-bottom: 2px; }
.sw-kanban-col i { height: 52px; border-radius: 6px; background: #fff; border-left: 3px solid var(--primary); box-shadow: 0 2px 6px rgba(10,22,40,.06); }
.sw-kanban-col i.s { height: 38px; }
.sw-kanban-col i.red { border-left-color: var(--accent); }
.sw-kanban-col i.ok { border-left-color: var(--sw-ok); }

/* Süreç adımları */
.sw-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.sw-step { position: relative; padding-top: 28px; border-top: 2px solid var(--border); }
.sw-step::before {
    content: ''; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--accent);
    transition: width .5s ease;
}
.sw-step:hover::before { width: 100%; }
.sw-step-no { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--primary); margin-bottom: 1rem; letter-spacing: -.02em; }
.sw-step h3 { margin-bottom: .5rem; }
.sw-step p { font-size: .93rem; margin: 0; }

/* Teklif formu */
.sw-quote { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.sw-quote-text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.sw-quote-contact { display: grid; gap: .9rem; margin-top: 2rem; }
.sw-quote-contact li { display: flex; align-items: center; gap: .85rem; font-weight: 500; color: var(--text); }
.sw-quote-contact i {
    width: 40px; height: 40px; border-radius: var(--radius); flex-shrink: 0;
    display: grid; place-items: center; background: var(--primary); color: #fff;
}
.sw-quote-contact a:hover { color: var(--accent); }
.sw-quote-box { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); border-top: 3px solid var(--accent); }
.sw-quote-box .contact-submit { width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.sw-footer { background: var(--sw-deep); color: rgba(255,255,255,.65); padding: 72px 0 0; font-size: .9rem; }
.sw-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.sw-brand--light img { filter: brightness(0) invert(1); }
.sw-brand--light .sw-brand-tag { background: var(--accent); }
.sw-footer-brand p { margin-top: 1.2rem; color: rgba(255,255,255,.6); max-width: 320px; font-size: .9rem; }
.sw-footer-col h4 { color: #fff; font-size: .88rem; margin-bottom: 1.1rem; }
.sw-footer-col ul { display: grid; gap: .6rem; }
.sw-footer-col a, .sw-footer-col span { display: inline-flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.65); transition: color .2s; }
.sw-footer-col a:hover { color: #fff; }
.sw-footer-col i { width: 14px; opacity: .6; }
.sw-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .8rem; color: rgba(255,255,255,.45); }

/* ---------- Kaydırınca beliren öğeler (software.js) ---------- */
.sw-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.sw-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .sw-reveal { opacity: 1; transform: none; transition: none; }
    .sw-phone, .sw-label-dot, .sw-app-chart span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .sw-hero-inner { grid-template-columns: 1fr; gap: 72px; }
    .sw-hero-visual { max-width: 560px; margin: 0 auto 0 40px; }
    .sw-product, .sw-quote { grid-template-columns: 1fr; gap: 44px; }
    .sw-product--rev .sw-product-text { order: 0; }
    .sw-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .sw-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .sw-hamburger { display: flex; }
    .sw-header-right { margin-left: auto; }
    .sw-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #0a1628; border-bottom: 1px solid rgba(209,41,37,.5);
        box-shadow: 0 16px 30px rgba(0,0,0,.3);
        padding: .5rem 24px 1.25rem;
        display: none;
    }
    .sw-nav.open { display: flex; }
    .sw-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
    .sw-nav-cta { margin-top: 1rem; justify-content: center; }
    .sw-btn-home { margin: .6rem 0 0; justify-content: center; }
    .sw-svc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sw-hero { padding: 130px 0 104px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); }
    .sw-section { padding: 72px 0; }
    .sw-hero-visual { margin: 0 0 0 20px; min-height: 0; }
    .sw-app { height: 240px; }
    .sw-phone { width: 112px; height: 220px; left: -18px; bottom: -40px; padding: 22px 9px 10px; }
    .sw-code { display: none; }
    .sw-brand img { height: 32px; }
    .sw-table { font-size: .7rem; padding: 8px; }
    .sw-table > div { padding: 9px 6px; }
    .sw-steps { grid-template-columns: 1fr; }
    .sw-quote-box { padding: 28px 20px; }
    .sw-quote-box .form-row { grid-template-columns: 1fr; gap: 0; }
    .sw-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ================================================
   BANNER — otomatik geçişli slider (software.js)
================================================ */
.sw-hero-stage { position: relative; display: grid; }
.sw-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.sw-slide.active { opacity: 1; visibility: visible; }
.sw-slide .sw-hero-text > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.sw-slide.active .sw-hero-text > * { opacity: 1; transform: none; }
.sw-slide.active .sw-hero-text > *:nth-child(2) { transition-delay: .1s; }
.sw-slide.active .sw-hero-text > *:nth-child(3) { transition-delay: .2s; }
.sw-slide.active .sw-hero-text > *:nth-child(4) { transition-delay: .3s; }
.sw-slide.active .sw-hero-text > *:nth-child(5) { transition-delay: .4s; }
.sw-slide .sw-hero-visual { opacity: 0; transform: translateX(40px); transition: opacity .8s ease .15s, transform .8s ease .15s; }
.sw-slide.active .sw-hero-visual { opacity: 1; transform: none; }

.sw-hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 48px; height: 48px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3); background: rgba(0,0,0,.2); color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: background .25s, border-color .25s;
}
.sw-hero-nav:hover { background: var(--accent); border-color: var(--accent); }
.sw-hero-nav--prev { left: 1.5rem; }
.sw-hero-nav--next { right: 1.5rem; }

/* Noktalar: aktif olanın içi slayt süresi boyunca dolar (kendi değiştiğini gösterir) */
.sw-hero-dots { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 6; display: flex; gap: .55rem; }
.sw-hero-dot { position: relative; width: 30px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255,255,255,.25); cursor: pointer; overflow: hidden; }
.sw-hero-dot:hover { background: rgba(255,255,255,.45); }
.sw-hero-dot.active::after { content: ''; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: swDotFill var(--sw-slide-ms, 7000ms) linear forwards; }
.sw-hero.paused .sw-hero-dot.active::after { animation-play-state: paused; }
@keyframes swDotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Yüzen bilgi kartı (muhasebe/CRM slaytları) */
.sw-float {
    position: absolute; z-index: 3; left: -24px; bottom: -26px; min-width: 190px;
    background: #fff; border-radius: 8px; padding: 14px 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.35); color: var(--sw-ink);
    animation: swFloat 6s ease-in-out infinite;
}
.sw-float small { display: block; font-size: .72rem; color: var(--text-light); margin-bottom: 2px; }
.sw-float b { font-size: 1.4rem; letter-spacing: -.01em; }
.sw-float-up { margin-left: .5rem; font-size: .78rem; font-weight: 700; color: var(--sw-ok); }
.sw-float--tr { left: auto; right: -14px; top: -26px; bottom: auto; }

/* Web sitesi mockup'ı (4. slayt) */
.sw-site { background: #fff; height: 320px; display: flex; flex-direction: column; }
.sw-site-nav { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #EEF1F0; }
.sw-site-nav b { width: 64px; height: 12px; margin-right: auto; border-radius: 3px; background: var(--primary); }
.sw-site-nav i { width: 34px; height: 6px; border-radius: 3px; background: #DCE3E2; }
.sw-site-hero { margin: 14px 16px; height: 128px; border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 10px;
    background: linear-gradient(135deg, var(--primary), #0a1628); }
.sw-site-hero i { width: 62%; height: 12px; border-radius: 3px; background: rgba(255,255,255,.85); }
.sw-site-hero i.s { width: 42%; height: 8px; background: rgba(255,255,255,.45); }
.sw-site-hero span { margin-top: auto; width: 84px; height: 22px; border-radius: 4px; background: var(--accent); }
.sw-site-cards { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 16px; }
.sw-site-cards i { border-radius: 6px; background: var(--bg-light); border-top: 3px solid var(--primary); }
.sw-site-cards i:nth-child(2) { border-top-color: var(--accent); }

/* ================================================
   PROJELERİMİZ
================================================ */
.sw-pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sw-pro-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
}
.sw-pro-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sw-pro-img { display: block; overflow: hidden; background: #0a1628; }
.sw-pro-bar { display: flex; gap: 5px; padding: 8px 12px; background: #EEF1F0; }
.sw-pro-bar span { width: 8px; height: 8px; border-radius: 50%; background: #CBD3D1; }
.sw-pro-bar span:first-child { background: var(--accent); }
.sw-pro-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .6s ease; }
.sw-pro-card:hover .sw-pro-img img { transform: scale(1.04); }
.sw-pro-body { flex: 1; display: flex; flex-direction: column; padding: 24px 24px 26px; }
.sw-pro-sektor { display: block; margin-bottom: .4rem; font-size: .75rem; font-weight: 700; letter-spacing: .05em; color: var(--accent); }
.sw-pro-body h3 { margin-bottom: .6rem; }
.sw-pro-body p { font-size: .92rem; margin-bottom: 1rem; }
.sw-pro-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.3rem; }
.sw-pro-tags li { padding: .25rem .65rem; border-radius: 100px; font-size: .74rem; font-weight: 600; color: var(--primary); background: var(--bg-light); }
.sw-pro-link { margin-top: auto; display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 700; color: var(--primary); }
.sw-pro-link:hover { color: var(--accent); }
.sw-pro-card--cta {
    justify-content: center; align-items: flex-start; padding: 36px 30px; border: 0; color: #fff;
    background: radial-gradient(ellipse 70% 60% at 85% 20%, rgba(21,73,92,.9), transparent 70%), linear-gradient(160deg, #0a1628, #123b4b);
}
.sw-pro-card--cta h3 { color: #fff; font-size: 1.35rem; margin-bottom: .6rem; }
.sw-pro-card--cta p { color: rgba(255,255,255,.7); margin-bottom: 1.6rem; }
.sw-pro-cta-ico { width: 58px; height: 58px; margin-bottom: 1.4rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; border: 2px dashed rgba(255,255,255,.4); color: var(--sw-red-lt); }

@media (max-width: 1024px) {
    .sw-pro-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-hero-nav { display: none; }
}
@media (max-width: 640px) {
    .sw-pro-grid { grid-template-columns: 1fr; }
    .sw-hero-dots { bottom: 52px; }
    .sw-float { left: -8px; min-width: 150px; padding: 10px 14px; }
    .sw-float b { font-size: 1.1rem; }
    .sw-site { height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
    .sw-slide, .sw-slide .sw-hero-text > *, .sw-slide .sw-hero-visual { transition: none; }
    .sw-float { animation: none; }
}

/* Hizmet kartları: 5 kart → üstte 3, altta 2 geniş kart */
@media (min-width: 1025px) {
    .sw-svc-grid { grid-template-columns: repeat(6, 1fr); }
    .sw-svc-grid > .sw-svc-card { grid-column: span 2; }
    .sw-svc-grid > .sw-svc-card:nth-child(4):nth-last-child(2),
    .sw-svc-grid > .sw-svc-card:nth-child(5):last-child { grid-column: span 3; }
}

/* Banner 5. slayt: e-ticaret mağaza mockup'ı */
.sw-shop { background: #fff; height: 320px; display: flex; flex-direction: column; }
.sw-shop-cart { position: relative; margin-left: 6px; font-style: normal; color: var(--primary); font-size: .85rem; }
.sw-shop-cart span { position: absolute; top: -7px; right: -9px; min-width: 15px; height: 15px; border-radius: 50%;
    background: var(--accent); color: #fff; font-size: .6rem; font-weight: 700; display: grid; place-items: center; }
.sw-shop-grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 16px 16px; }
.sw-shop-item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1px solid #EEF1F0; border-radius: 6px; }
.sw-shop-img { flex: 1; min-height: 34px; border-radius: 4px; background: linear-gradient(135deg, var(--bg-light), #DCE3E2); }
.sw-shop-item:nth-child(2) .sw-shop-img, .sw-shop-item:nth-child(6) .sw-shop-img { background: linear-gradient(135deg, rgba(209,41,37,.14), rgba(209,41,37,.32)); }
.sw-shop-item > i { width: 70%; height: 6px; border-radius: 3px; background: #DCE3E2; }
.sw-shop-item b { font-size: .72rem; color: var(--primary); }
.sw-shop-add { position: absolute; right: 8px; bottom: 8px; width: 18px; height: 18px; border-radius: 4px; background: var(--accent); }
.sw-float small .fa { margin-right: 3px; }
@media (max-width: 640px) {
    .sw-shop { height: 240px; }
    .sw-shop-grid { gap: 6px; padding: 10px; }
}

/* Hazır çözümler: Muhasebe (koyu) ve CRM (açık) ayrı bölümler + gerçek ekran galerisi */
.sw-btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.sw-btn-outline:hover { background: var(--primary); color: #fff; }
.sw-sol-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.sw-sol-grid--rev .sw-sol-text { order: 2; }
.sw-sol-tag { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 .4rem; font-size: .85rem; font-weight: 600; color: var(--text-light); }
.sw-sol-tag i { color: var(--accent); }
.sw-sol h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.sw-sol-desc { margin-bottom: 1.5rem; }
.sw-sol .sw-check { margin-bottom: 2rem; }
.sw-sol--dark h2 { color: #fff; }
.sw-sol--dark .sw-sol-desc { color: rgba(255,255,255,.72); }
.sw-sol--dark .sw-sol-tag { color: rgba(255,255,255,.6); }
.sw-sol--dark .sw-sol-tag i { color: var(--sw-red-lt); }
.sw-sol--light .sw-demo-note { color: var(--text-light); }

.sw-gallery { min-width: 0; }
.sw-gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; text-align: left;
    border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -20px rgba(4,14,30,.55); }
.sw-gallery-main .sw-browser-bar { display: flex; }
.sw-gallery-main .sw-browser-bar > .sw-browser-url { width: auto; height: auto; border-radius: 4px; background: #fff; }
.sw-sol-grid--rev { grid-template-columns: 1.18fr .82fr; }
.sw-gallery-main img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.sw-gallery-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(10,22,40,.75); color: #fff; opacity: 0; transform: scale(.85); transition: opacity var(--transition), transform var(--transition); }
.sw-gallery-main:hover .sw-gallery-zoom, .sw-gallery-main:focus-visible .sw-gallery-zoom { opacity: 1; transform: none; }
.sw-gallery-main img.fade { animation: swGalFade .35s ease; }
@keyframes swGalFade { from { opacity: .25; } to { opacity: 1; } }

.sw-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 10px; margin-top: 14px; }
.sw-gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; cursor: pointer; background: transparent;
    text-align: left; opacity: .62; transition: opacity var(--transition), border-color var(--transition); }
.sw-gallery-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.sw-gallery-thumb span { display: block; padding: 5px 6px; font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-gallery-thumb:hover, .sw-gallery-thumb.active { opacity: 1; }
.sw-gallery-thumb.active { border-color: var(--accent); }
.sw-sol--dark .sw-gallery-thumb span { color: rgba(255,255,255,.85); background: rgba(255,255,255,.06); }
.sw-sol--light .sw-gallery-thumb span { color: var(--text); background: #fff; }

.sw-lb[hidden] { display: none; }
.sw-lb { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 24px; background: rgba(4,10,22,.92); }
.sw-lb figure { margin: 0; max-width: min(1440px, 100%); }
.sw-lb img { display: block; max-width: 100%; max-height: calc(100vh - 110px); border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.sw-lb figcaption { margin-top: 12px; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; }
.sw-lb-close, .sw-lb-nav { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.sw-lb-close { position: absolute; top: 18px; right: 18px; }
.sw-lb-close:hover, .sw-lb-nav:hover { background: var(--accent); border-color: var(--accent); }

@media (max-width: 1024px) {
    .sw-sol-grid, .sw-sol-grid--rev { grid-template-columns: 1fr; gap: 44px; }
    .sw-sol-grid--rev .sw-sol-text { order: 0; }
}
@media (max-width: 640px) {
    .sw-gallery-thumbs { gap: 8px; }
    .sw-lb { padding: 12px; }
    .sw-lb-nav { position: absolute; bottom: 18px; }
    .sw-lb-prev { left: calc(50% - 56px); }
    .sw-lb-next { right: calc(50% - 56px); }
}

/* Banner slaytlarında gerçek ekran görüntüsü (muhasebe, CRM) */
.sw-browser--shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (max-width: 640px) {
    .sw-float--tr { left: auto; right: -8px; top: -22px; }
}

/* Banner 4. slayt: telefon çerçevesinde gerçek mobil ekran görüntüsü (MMR) */
.sw-phone--shot { padding: 0; gap: 0; overflow: hidden; background: #0a1628; }
.sw-phone--shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 19px; }
.sw-phone--shot .sw-phone-notch { z-index: 2; background: #000; }
.sw-phone--shot { left: auto; right: -24px; }
@media (max-width: 640px) { .sw-phone--shot { left: auto; right: -10px; } }

/* Banner 1. slayt: gerçek ekran kolajı (arkada CRM, önde muhasebe, telefonda muhasebe mobil) */
.sw-hero-visual .sw-browser--arka { position: absolute; z-index: 0; top: -34px; right: -36px; width: 74%; opacity: .5; filter: saturate(.8); }
.sw-hero-visual .sw-browser--on { margin-top: 46px; width: 92%; }
.sw-phone--shot.sw-phone--sol { left: -28px; right: auto; }
@media (max-width: 640px) {
    .sw-hero-visual .sw-browser--arka { top: -20px; right: -14px; }
    .sw-hero-visual .sw-browser--on { margin-top: 28px; width: 94%; }
    .sw-phone--shot.sw-phone--sol { left: -18px; right: auto; }
}

/* Banner metinleri biraz daha küçük */
.sw-hero h1, .sw-hero-title { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
.sw-hero-desc { font-size: .98rem; }

/* Banner her masaüstü ekranda tam bir ekran yüksekliğine sığsın (içerik dikeyde ortalı) */
@media (min-width: 992px) {
    .sw-hero {
        display: flex; align-items: center;
        height: 100vh; height: 100svh;
        min-height: 560px; max-height: 1000px;
        padding: 84px 0 96px;
    }
    .sw-hero > .container { width: 100%; }
    .sw-hero-dots { bottom: 70px; }
}
/* Kısa ekranlar (dizüstü): yazılar küçülür, rozetler gizlenir, görsel küçülür */
@media (min-width: 992px) and (max-height: 860px) {
    .sw-hero h1, .sw-hero-title { font-size: clamp(1.6rem, 2.7vw, 2.2rem); margin-bottom: .8rem; }
    .sw-hero-desc { font-size: .93rem; margin-bottom: 1.4rem; }
    .sw-hero .sw-label { margin-bottom: .8rem; }
    .sw-chips { gap: .4rem; }
    .sw-chips li { padding: .28rem .65rem; font-size: .74rem; }
    .sw-hero-visual { min-height: 0; scale: .96; translate: 0 10px; transform-origin: center center; }
}
@media (min-width: 992px) and (max-height: 700px) {
    .sw-hero { padding: 76px 0 84px; }
    .sw-hero h1, .sw-hero-title { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
    .sw-hero-desc { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .sw-hero-btns .btn { padding-top: .6rem; padding-bottom: .6rem; }
    .sw-hero-visual { scale: .86; translate: 0 18px; }
    .sw-hero-dots { bottom: 58px; }
}

/* Banner ekran görüntüleri daha büyük: görsel sütunu genişler ve sağa taşar */
@media (min-width: 992px) {
    .sw-hero-inner { grid-template-columns: .88fr 1.12fr; gap: 40px; }
    .sw-hero-visual { margin-right: 0; }
}
@media (min-width: 1680px) {
    .sw-hero-visual { margin-right: -70px; }
}
/* Kısa ekranda 2 satıra taşan rozetler tek satıra sığsın diye 3. rozetten sonrası gizlenmez; sadece küçülür */
@media (min-width: 992px) and (max-height: 700px) {
    .sw-chips li { padding: .22rem .55rem; font-size: .7rem; }
    .sw-hero-desc { margin-bottom: 1.1rem; }
    .sw-hero-btns { margin-bottom: 1rem; }
}

/* Projelerimiz: "Sıradaki proje" kartı 3 projenin altında tam genişlik bant */
.sw-pro-card--cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 30px 34px; }
.sw-pro-card--cta .sw-pro-cta-ico { margin-bottom: 0; flex-shrink: 0; }
.sw-pro-card--cta h3 { margin-bottom: .2rem; }
.sw-pro-card--cta p { margin-bottom: 0; flex: 1 1 260px; }
.sw-pro-card--cta > div:not(.sw-pro-cta-ico) { flex: 1; }
.sw-pro-card--cta .btn { margin-left: auto; }

/* Muhasebe / CRM: menüden gidilince bölüm üst menünün altında tek ekrana sığsın (masaüstü) */
@media (min-width: 1025px) {
    .sw-sol { display: flex; align-items: center; min-height: calc(100svh - 75px); padding: 48px 0; }
    .sw-sol > .container { width: 100%; }
    /* galeri yüksekliği = genişlik/1.6 + tarayıcı çubuğu + küçük resimler; ekran yüksekliğine göre sınırla */
    .sw-sol .sw-gallery { width: 100%; max-width: calc((100svh - 246px) * 1.25); justify-self: center; }
    .sw-sol .sw-gallery-thumbs--4 { grid-template-columns: repeat(4, 1fr); }
    .sw-sol .sw-gallery-thumbs--6 { grid-template-columns: repeat(6, 1fr); }
}
@media (min-width: 1025px) and (max-height: 860px) {
    .sw-sol { padding: 32px 0; }
    .sw-sol .sw-gallery { max-width: calc((100svh - 214px) * 1.25); }
    .sw-sol h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: .7rem; }
    .sw-sol-tag { margin: .7rem 0 .3rem; }
    .sw-sol-desc { margin-bottom: 1rem; font-size: .95rem; }
    .sw-sol .sw-check { gap: .4rem; margin-bottom: 1.3rem; }
    .sw-sol .sw-check li { font-size: .88rem; }
    .sw-sol .sw-product-btns { margin-bottom: .8rem; }
}
@media (min-width: 1025px) and (max-height: 700px) {
    .sw-sol { padding: 22px 0; }
    .sw-sol .sw-gallery { max-width: calc((100svh - 194px) * 1.25); }
    .sw-sol-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .sw-sol .sw-check { gap: .3rem; margin-bottom: 1rem; }
    .sw-sol .sw-check li { font-size: .84rem; line-height: 1.35; }
}
@media (min-width: 1025px) and (max-height: 620px) {
    .sw-sol .sw-sol-tag, .sw-sol .sw-demo-note { display: none; }
    .sw-sol h2 { font-size: 1.45rem; margin-top: .6rem; }
    .sw-sol .sw-product-btns { margin-bottom: 0; }
}
