/* Farazi Bilişim - Page-Specific Styling */

/* ==========================================================================
   1. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 50% -20%, rgba(37, 99, 235, 0.12), transparent 70%),
                radial-gradient(circle at 90% 40%, rgba(6, 182, 212, 0.08), transparent 50%),
                #ffffff;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 2.25rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hero-trust-item svg {
    color: var(--success);
}

/* Hero Dashboard Visual Mockup */
.hero-visual {
    position: relative;
}

.dashboard-mockup {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 50px rgba(37, 99, 235, 0.2);
    padding: 1.5rem;
    color: #f8fafc;
    position: relative;
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(6, 182, 212, 0.15);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.mockup-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mockup-stat-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.mockup-stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.mockup-stat-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
}

.mockup-stat-grow {
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.mockup-chart-box {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.mockup-chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.mockup-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}

.mockup-bar {
    flex-grow: 1;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 4px 4px 0 0;
    opacity: 0.85;
    transition: height 0.3s;
}

/* Floating interactive card on mockup */
.mockup-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #ffffff;
    color: var(--text-main);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-color);
}

.mockup-floating-icon {
    width: 36px;
    height: 36px;
    background: var(--success-light);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* ==========================================================================
   2. "Neden Farazi Bilişim?" Value Matrix
   ========================================================================== */
.why-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: all var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.why-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.why-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.why-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   3. "Kendi Paketini Oluştur" (Configurator Wizard)
   ========================================================================== */
.configurator-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.configurator-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .configurator-grid {
        grid-template-columns: 1.4fr 0.6fr;
    }
}

.configurator-steps {
    padding: 2.5rem;
    border-right: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .configurator-steps {
        padding: 1.5rem;
    }
}

.config-step {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.config-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.config-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.config-step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.config-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.config-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-surface);
}

.config-option-item:hover {
    border-color: #94a3b8;
    background: var(--bg-alt);
}

.config-option-item.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary);
}

.config-option-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.config-radio {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.config-option-item.selected .config-radio {
    border-color: var(--primary);
}

.config-option-item.selected .config-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.config-option-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.config-option-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
}

/* Configurator Sticky Summary Sidebar */
.configurator-summary {
    padding: 2.5rem 2rem;
    background: var(--bg-alt);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.summary-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-items-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed #cbd5e1;
    font-size: 0.875rem;
}

.summary-item-name {
    color: var(--text-muted);
    max-width: 65%;
}

.summary-item-price {
    font-weight: 700;
    color: var(--text-main);
}

.summary-calculation-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.summary-total-label {
    font-size: 0.95rem;
    font-weight: 700;
}

.summary-total-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.summary-delivery-time {
    font-size: 0.825rem;
    color: var(--success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   4. Portfolio / Case Study Cards & Real Project Mockups
   ========================================================================== */
.case-study-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.case-study-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.15);
}

.case-study-media-wrap {
    position: relative;
    background: #0f172a;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-media-wrap.large-media {
    height: 280px;
}

.case-study-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-img {
    transform: scale(1.04);
}

.saas-special-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.02em;
}

.case-study-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 1.75rem 2rem;
    color: #ffffff;
    position: relative;
}

.case-study-sector {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.case-study-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.case-study-body {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-study-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.service-pill {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
}

.works-done-list {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.works-done-item {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.45;
}

.works-done-item svg {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==========================================================================
   5. Checkout & Order Submission View
   ========================================================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.checkout-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-sm);
}

.checkout-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

/* Hizmet kategorisi kart fotoğrafı */
.category-media {
    position: relative;
    margin: -2rem -2rem 1.75rem;
    height: 180px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    background: var(--bg-alt);
}

.category-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-media img {
    transform: scale(1.04);
}

.category-media .category-icon {
    position: absolute;
    left: 1.25rem;
    bottom: -1px;
    margin: 0;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.08);
}

/* "Neden Farazi Bilişim?" fotoğraflı düzen */
.why-layout {
    display: grid;
    gap: 1.5rem;
}

.why-photo {
    position: relative;
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 280px;
    background: var(--dark);
}

.why-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-photo figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem;
    color: #ffffff;
    background: linear-gradient(180deg, transparent, rgba(9, 13, 22, 0.85));
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.why-photo figcaption strong {
    font-size: 1.1rem;
}

.why-photo figcaption span {
    font-size: 0.9rem;
    opacity: 0.85;
}

.why-grid .why-card {
    padding: 1.75rem;
}

@media (min-width: 992px) {
    .why-layout {
        grid-template-columns: 5fr 7fr;
        align-items: stretch;
    }
}

/* Hizmetler sayfası kategori başlık fotoğrafı */
.service-banner {
    margin: -2.5rem -2.5rem 2rem;
    height: 220px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    overflow: hidden;
}

.service-banner img,
.service-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hizmet detay fiyat kartı fotoğrafı */
.service-card-photo {
    margin: -2rem -2rem 1.5rem;
    height: 170px;
}

/* Alt çağrı bölümü: fotoğraf üzerine koyu katman */
.cta-photo-section {
    background:
        linear-gradient(135deg, rgba(9, 13, 22, 0.92) 0%, rgba(30, 41, 59, 0.86) 100%),
        var(--cta-photo) center / cover no-repeat;
}

@media (max-width: 768px) {
    .category-media {
        height: 160px;
    }

    .service-banner {
        height: 160px;
    }
}

/* ==========================================================================
   Hero: kaydırmayla dönen 3B bilgisayar (assets/js/hero-device.js)
   ========================================================================== */
@media (min-width: 992px) and (min-height: 720px) {
    .hero-pin {
        height: calc(100vh - 80px + 1800px);
    }

    .hero-pin .hero-section {
        position: sticky;
        top: 80px;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-pin .hero-section > .container {
        width: 100%;
    }
}

.device-stage {
    --dw: min(520px, 84vw);
    --depth: 16px;
    --bezel: 12px;
    --bar: 26px;
    --chin: 40px;
    --dh: calc(var(--bezel) + var(--bar) + (var(--dw) - 2 * var(--bezel)) * 0.625 + var(--chin));
    position: relative;
    width: var(--dw);
    margin: 0 auto;
    padding-bottom: 150px;
    perspective: 1600px;
    perspective-origin: 50% 40%;
}

.device {
    position: relative;
    width: var(--dw);
    height: var(--dh);
    transform-style: preserve-3d;
    will-change: transform;
}

.device-face {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.device-front {
    transform: translateZ(calc(var(--depth) / 2));
    background: #0b0f19;
    padding: var(--bezel) var(--bezel) 0;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.device-browserbar {
    height: var(--bar);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.6rem;
    background: #1e2533;
    border-radius: 6px 6px 0 0;
}

.device-dots {
    display: flex;
    gap: 5px;
}

.device-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
}

.device-dots i:nth-child(2) { background: #f59e0b; }
.device-dots i:nth-child(3) { background: #10b981; }

.device-url {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 16px;
    max-width: 220px;
    margin: 0 auto;
    font-size: 0.68rem;
    color: #cbd5e1;
    background: #0f1420;
    border-radius: 4px;
}

.device-url .icon {
    color: #10b981;
}

.device-screen {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #ffffff;
}

.device-screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: opacity 0.35s ease;
}

.device-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, 0.16) 50%, rgba(255, 255, 255, 0) 65%);
    background-size: 250% 100%;
    background-position: var(--glare, 100%) 0;
}

.device-chin {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 calc(var(--bezel) * -1);
    background: linear-gradient(180deg, #e5e7eb, #cbd5e1);
    border-radius: 0 0 16px 16px;
}

.device-chin img {
    height: 11px;
    width: auto;
    mix-blend-mode: multiply;
    opacity: 0.85;
}

.device-back {
    transform: rotateY(180deg) translateZ(calc(var(--depth) / 2));
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.35), transparent 55%),
        linear-gradient(160deg, #e2e8f0, #94a3b8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-back-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    color: rgba(15, 23, 42, 0.35);
}

.device-edge {
    position: absolute;
    background: linear-gradient(90deg, #94a3b8, #cbd5e1, #94a3b8);
}

.device-edge-left,
.device-edge-right {
    top: 14px;
    width: var(--depth);
    height: calc(var(--dh) - 28px);
    left: calc(50% - var(--depth) / 2);
}

.device-edge-left { transform: rotateY(-90deg) translateZ(calc(var(--dw) / 2)); }
.device-edge-right { transform: rotateY(90deg) translateZ(calc(var(--dw) / 2)); }

.device-edge-top,
.device-edge-bottom {
    left: 14px;
    width: calc(var(--dw) - 28px);
    height: var(--depth);
    top: calc(50% - var(--depth) / 2);
}

.device-edge-top { transform: rotateX(90deg) translateZ(calc(var(--dh) / 2)); }
.device-edge-bottom { transform: rotateX(-90deg) translateZ(calc(var(--dh) / 2)); }

.device-neck {
    position: absolute;
    left: calc(50% - 46px);
    top: calc(var(--dh) - 4px);
    width: 92px;
    height: 74px;
    background: linear-gradient(180deg, #94a3b8, #cbd5e1 60%, #e2e8f0);
    clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%);
}

.device-neck-front { transform: translateZ(-14px); }
.device-neck-back { transform: translateZ(-22px) rotateY(180deg); }

.device-base {
    position: absolute;
    left: calc(50% - 85px);
    top: calc(var(--dh) + 70px - 30px);
    width: 170px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 40%, #e2e8f0, #94a3b8);
    transform: translateZ(-18px) rotateX(90deg);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.device-shadow {
    position: absolute;
    left: 50%;
    top: calc(var(--dh) + 62px);
    width: 260px;
    height: 26px;
    margin-left: -130px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(15, 23, 42, 0.28), transparent 70%);
    transform: scaleX(var(--shadow-scale, 1));
    filter: blur(2px);
}

.device-caption {
    position: absolute;
    left: -2.5rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 290px;
    padding: 0.85rem 1.1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.device-caption-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    flex-shrink: 0;
}

.device-caption-text {
    flex: 1;
    transition: opacity 0.25s ease;
}

.device-caption-title {
    font-weight: 700;
    font-size: 0.9rem;
}

.device-caption-sector {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.device-dots-progress {
    display: flex;
    gap: 5px;
}

.device-dots-progress span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.25s ease;
}

.device-dots-progress span.active {
    width: 18px;
    border-radius: 4px;
    background: var(--primary);
}

.device-scroll-hint {
    position: absolute;
    right: 0;
    bottom: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: opacity 0.3s ease;
}

@media (max-width: 991px) {
    .device-stage {
        padding-bottom: 170px;
    }

    .device-caption {
        left: 50%;
        transform: translateX(-50%);
        bottom: 2.25rem;
        min-width: 0;
        width: max-content;
        max-width: 92vw;
    }

    .device-scroll-hint {
        left: 0;
        right: 0;
        text-align: center;
        bottom: 0;
    }
}

/* Tanıtım videosu bölümü */
.video-section {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.video-frame {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--dark);
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.25), var(--shadow-glow);
    aspect-ratio: 16 / 9;
}

.video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-toggle {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 13, 22, 0.65);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.video-toggle:hover {
    background: var(--primary);
    transform: scale(1.06);
}

.video-toggle:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.video-toggle-pause { display: none; }
.video-frame.is-playing .video-toggle-play { display: none; }
.video-frame.is-playing .video-toggle-pause { display: flex; }

/* Duraklatılmışken ortada büyük oynat düğmesi */
.video-frame:not(.is-playing) .video-toggle {
    right: 50%;
    bottom: 50%;
    width: 76px;
    height: 76px;
    transform: translate(50%, 50%);
    background: var(--primary);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.45);
}

.video-frame:not(.is-playing) .video-toggle:hover {
    transform: translate(50%, 50%) scale(1.06);
}

.video-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.25rem;
}

@media (max-width: 768px) {
    .video-frame {
        border-radius: var(--radius-lg);
    }
}
