/* ═══════════════════════════════════════════════════════════════════════════
   home.css — Anasayfa: Yenilikci, immersive, guclu tasarim
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero — Full-screen Immersive ────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--color-secondary-dark);
}

/* ── Particle Canvas ─────────────────────────── */
#particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(11,190,212,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11,190,212,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow--primary {
    width: 600px;
    height: 600px;
    background: rgba(11,190,212,0.12);
    top: -15%;
    right: -10%;
    animation: glowPulse 6s ease-in-out infinite alternate;
}

.hero-glow--secondary {
    width: 400px;
    height: 400px;
    background: rgba(11,190,212,0.06);
    bottom: -10%;
    left: -5%;
    animation: glowPulse 8s ease-in-out infinite alternate-reverse;
}

@keyframes glowPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.25); opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    will-change: translate, opacity;
    /* Scroll-driven değişimleri yumuşat — frame-by-frame jank önlenir */
    transition: translate 0.15s ease-out, opacity 0.15s ease-out;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.4rem;
    background: rgba(11,190,212,0.08);
    border: 1px solid rgba(11,190,212,0.2);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 0.82rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.8rem;
    backdrop-filter: blur(6px);
}

.hero-eyebrow i {
    font-size: 0.7rem;
    animation: eyebrowPulse 2s ease-in-out infinite;
}

@keyframes eyebrowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.08;
    margin-bottom: 1.6rem;
    letter-spacing: -1px;
}

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

.hero-title .line-break { display: block; }

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.85;
    max-width: 500px;
    margin-bottom: 2.4rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-actions .btn-primary-custom {
    padding: 0.85rem 2.2rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(11,190,212,0.3);
}

.hero-actions .btn-outline-custom {
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
}

.hero-actions .btn-outline-custom:hover {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-white);
}

/* Hero Micro-stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    will-change: translate, opacity;
    transition: translate 0.15s ease-out, opacity 0.15s ease-out;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: var(--font-weight-medium);
}

/* Hero Visual Side */
.hero-visual-col {
    position: relative;
    z-index: 2;
}

/* ── Hero Video Showcase ─────────────────────── */
.hero-video-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.hero-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(11, 190, 212, 0.08),
        inset 0 0 0 1px rgba(11, 190, 212, 0.15);
}

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

/* Gradient overlay — koyu kenarlar, ortasi seffaf */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(35, 44, 48, 0.5) 0%,
            transparent 25%,
            transparent 70%,
            rgba(35, 44, 48, 0.6) 100%),
        linear-gradient(90deg,
            rgba(35, 44, 48, 0.35) 0%,
            transparent 20%,
            transparent 80%,
            rgba(35, 44, 48, 0.35) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Yatay scan-line efekti */
.hero-video-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(11, 190, 212, 0.015) 3px,
        rgba(11, 190, 212, 0.015) 4px
    );
    pointer-events: none;
    z-index: 2;
}

/* Kose dekor cizgileri — glassmorphism cerceve */
.hero-video-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 5;
    pointer-events: none;
}

.hero-video-corner--tl {
    top: 0;
    left: 0;
    border-top: 2px solid var(--color-primary);
    border-left: 2px solid var(--color-primary);
    border-radius: 4px 0 0 0;
}

.hero-video-corner--tr {
    top: 0;
    right: 0;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    border-radius: 0 4px 0 0;
}

.hero-video-corner--bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid var(--color-primary);
    border-left: 2px solid var(--color-primary);
    border-radius: 0 0 0 4px;
}

.hero-video-corner--br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    border-radius: 0 0 4px 0;
}

.hero-float-tag {
    position: absolute;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.2rem;
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    z-index: 5;
    white-space: nowrap;
    animation: tagFloat 4s ease-in-out infinite;
}

.hero-float-tag i {
    color: var(--color-primary);
    margin-right: 0.45rem;
}

.hero-float-tag--tl { top: 8%; left: 0%; animation-delay: 0s; }
.hero-float-tag--br { bottom: 10%; right: -2%; animation-delay: 1.5s; }
.hero-float-tag--bl { bottom: 30%; left: -5%; animation-delay: 0.8s; }

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

/* ── Marquee Band ────────────────────────────── */
.marquee-band {
    background: var(--color-primary);
    padding: 0.85rem 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    padding: 0 2.5rem;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.marquee-item i {
    font-size: 0.7rem;
    opacity: 0.7;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── Neden Biz — Bento Grid ─────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.bento-card:hover::before { transform: scaleX(1); }

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.bento-card--wide { grid-column: span 8; }
.bento-card--narrow { grid-column: span 4; }
.bento-card--half { grid-column: span 6; }
.bento-card--third { grid-column: span 4; }

.bento-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(11,190,212,0.08);
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 1.4rem;
}

.bento-card h3 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    margin-bottom: 0.6rem;
}

.bento-card p {
    font-size: 0.93rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.bento-card--featured {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    color: var(--color-white);
}

.bento-card--featured h3 { color: var(--color-white); }
.bento-card--featured p { color: rgba(255,255,255,0.65); }
.bento-card--featured .bento-icon { background: rgba(11,190,212,0.15); }

/* ── Surec Adimlari ──────────────────────────── */
.process-section {
    background: var(--color-secondary-dark);
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(11,190,212,0.05) 0%, transparent 70%);
    top: -30%;
    left: -10%;
    pointer-events: none;
}

.process-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(11,190,212,0.2), transparent);
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-number {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(11,190,212,0.1);
    border: 2px solid rgba(11,190,212,0.25);
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.4rem;
    transition: var(--transition-base);
}

.process-step:hover .process-number {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(11,190,212,0.3);
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

/* ── Rakamlarla Biz (Counter) ────────────────── */
.counter-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.counter-item {
    text-align: center;
    position: relative;
    z-index: 1;
}

.counter-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.counter-value .counter-suffix {
    font-size: 1.8rem;
}

.counter-label {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-weight-medium);
}

/* ── Hakkimizda Kesit ────────────────────────── */
.about-preview {
    position: relative;
}

.about-preview-visual {
    position: relative;
}

.about-preview-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-preview-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.about-preview-img:hover img {
    transform: scale(1.03);
}

.about-preview-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 3;
}

.about-preview-badge .badge-number {
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    line-height: 1;
}

.about-preview-badge .badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 0.98rem;
}

.about-list li i {
    color: var(--color-primary);
    font-size: 0.7rem;
    margin-top: 0.45rem;
    flex-shrink: 0;
}

/* ── CTA Bandi ───────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(11,190,212,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(11,190,212,0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

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

.cta-text {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    margin-bottom: 2.2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* ── CTA Subtitle ────────────────────────────── */
.cta-subtitle-text {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
}

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

/* ═══════════════════════════════════════════════════════════════════════════
   TYPING ANIMATION
   ═══════════════════════════════════════════════════════════════════════════ */
.typing-word-wrapper {
    display: inline;
    position: relative;
}

.typing-word {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
    position: relative;
}

.typing-cursor {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 300;
    animation: typingBlink 0.7s step-end infinite;
    margin-left: 1px;
}

@keyframes typingBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* CTA başlığı typewriter — gradient accent renk */
.cta-title .typing-word {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-title .typing-cursor {
    color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED CARD GLOW (Cursor-following)
   ═══════════════════════════════════════════════════════════════════════════ */
[data-glow-card] {
    --glow-x: 50%;
    --glow-y: 50%;
}

[data-glow-card]::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        300px circle at var(--glow-x) var(--glow-y),
        rgba(11, 190, 212, 0.12) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

[data-glow-card]:hover::after {
    opacity: 1;
}

/* Glow kartın içeriği önde kalsın */
[data-glow-card] .bento-icon,
[data-glow-card] h3,
[data-glow-card] p {
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED HERO FLOAT TAGS — Glassmorphism glow
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-float-tag::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(11, 190, 212, 0.2), transparent, rgba(11, 190, 212, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-float-tag:hover::before {
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED PROCESS STEP — Connection pulse
   ═══════════════════════════════════════════════════════════════════════════ */
.process-number::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(11, 190, 212, 0.15);
    animation: processPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes processPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ENHANCED COUNTER — Glow on reveal
   ═══════════════════════════════════════════════════════════════════════════ */
.counter-value {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL-DRIVEN 3D ANİMASYONLAR
   Her section icin --progress (0→1) JS tarafindan atanir.
   CSS calc() ile perspektif, rotasyon, derinlik ve paralaks hesaplanir.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Varsayilan degerler & GPU katmani ──────────── */
[data-scroll-section] {
    --progress: 0;
    --exit: 0;
    --vel: 0;
}

/* ── Inline style yerine kullanilan siniflar ────── */
.section-heading--light { color: var(--color-white); }
.section-subheading--light { color: rgba(255, 255, 255, 0.5); }

.hero-eyebrow--about {
    color: var(--color-primary);
    background: rgba(11, 190, 212, 0.06);
    border-color: rgba(11, 190, 212, 0.15);
}

.about-preview-desc {
    color: var(--color-text-muted);
    line-height: 1.85;
}

.btn-primary-custom--glow {
    box-shadow: 0 4px 20px rgba(11, 190, 212, 0.3);
}

/* ═══════════════════════════════════════════════════
   Scroll efektleri yalnizca JS hazir oldugunda etkin
   (.scroll-ready body'ye JS tarafindan eklenir)
   ═══════════════════════════════════════════════════ */

/* ── HERO — Derinlige giden cikis efekti ────────── */
.scroll-ready [data-scroll-section="hero"] {
    perspective: 1500px;
    transform-style: preserve-3d;
}

.scroll-ready [data-scroll-section="hero"] .hero-content {
    /* --exit-delayed: ilk %30 scroll'da hareket yok, sonra yumuşak çıkış */
    --exit-delayed: clamp(0, (var(--exit, 0) - 0.3) / 0.7, 1);
    translate: 0 calc(var(--exit-delayed) * -40px) calc(var(--exit-delayed) * -120px);
    opacity: calc(1 - var(--exit-delayed) * 0.85);
}

.scroll-ready [data-scroll-section="hero"] .hero-video-frame {
    --exit-delayed: clamp(0, (var(--exit, 0) - 0.2) / 0.8, 1);
    translate: 0 calc(var(--exit-delayed) * -20px) 0;
    rotate: 1 0 0 calc(var(--exit-delayed) * 5deg);
    scale: calc(1 - var(--exit-delayed) * 0.06);
}

.scroll-ready [data-scroll-section="hero"] .hero-glow--primary {
    translate: calc(var(--exit, 0) * -100px) calc(var(--exit, 0) * -140px) 0;
}

.scroll-ready [data-scroll-section="hero"] .hero-glow--secondary {
    translate: calc(var(--exit, 0) * 70px) calc(var(--exit, 0) * 110px) 0;
}

.scroll-ready [data-scroll-section="hero"] .hero-float-tag {
    --exit-delayed: clamp(0, (var(--exit, 0) - 0.15) / 0.85, 1);
    translate: 0 calc(var(--exit-delayed) * -50px) 0;
    opacity: calc(1 - var(--exit-delayed) * 1.5);
}

.scroll-ready [data-scroll-section="hero"] .hero-bg-grid {
    translate: 0 calc(var(--exit, 0) * 50px) 0;
    opacity: calc(1 - var(--exit, 0) * 0.6);
}

.scroll-ready [data-scroll-section="hero"] .hero-stats {
    --exit-delayed: clamp(0, (var(--exit, 0) - 0.25) / 0.75, 1);
    translate: 0 calc(var(--exit-delayed) * -25px) calc(var(--exit-delayed) * -80px);
    opacity: calc(1 - var(--exit-delayed) * 1.1);
}

/* ── MARQUEE — 3D Tilt + hiz degisimi ──────────── */
.scroll-ready [data-scroll-section="marquee"] {
    perspective: 900px;
    transform-style: preserve-3d;
}

.scroll-ready [data-scroll-section="marquee"] .marquee-track {
    --m-reveal: clamp(0, var(--progress, 0) * 4, 1);
    rotate: 1 0 0 calc((1 - var(--m-reveal)) * 12deg);
    translate: 0 calc((1 - var(--m-reveal)) * 30px) calc((1 - var(--m-reveal)) * -60px);
    opacity: var(--m-reveal);
}

/* ── NEDEN BIZ — Bento Grid Derinlik Ucusu ─────── */
.scroll-ready [data-scroll-section="bento"] {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.scroll-ready [data-scroll-section="bento"] .section-heading,
.scroll-ready [data-scroll-section="bento"] .section-divider,
.scroll-ready [data-scroll-section="bento"] .section-subheading {
    --reveal: clamp(0, (var(--progress, 0) - 0.05) * 4, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 40px) 0;
}

.scroll-ready [data-scroll-section="bento"] .bento-card {
    --stagger: calc(var(--card-index, 0) * 0.035);
    --reveal: clamp(0, (var(--progress, 0) - 0.1 - var(--stagger)) * 3, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 60px) calc((1 - var(--reveal)) * -160px);
    rotate: 0 1 0 calc((1 - var(--reveal)) * 18deg);
}

/* Fare ile 3D tilt (hover) */
.scroll-ready [data-scroll-section="bento"] .bento-card:hover {
    transform: perspective(600px)
               rotateY(calc(var(--mx, 0) * 1deg))
               rotateX(calc(var(--my, 0) * 1deg))
               translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12),
                0 0 30px rgba(11, 190, 212, 0.08);
}

/* ── SUREC — Adim Adim 3D Flip ─────────────────── */
.scroll-ready [data-scroll-section="process"] {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.scroll-ready [data-scroll-section="process"] .section-heading,
.scroll-ready [data-scroll-section="process"] .section-divider,
.scroll-ready [data-scroll-section="process"] .section-subheading {
    --reveal: clamp(0, var(--progress, 0) * 4, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 30px) 0;
}

.scroll-ready [data-scroll-section="process"] .process-step {
    --stagger: calc(var(--step-index, 0) * 0.055);
    --reveal: clamp(0, (var(--progress, 0) - 0.06 - var(--stagger)) * 2.8, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 50px) 0;
    rotate: 0 1 0 calc((1 - var(--reveal)) * 80deg);
    scale: calc(0.65 + 0.35 * var(--reveal));
}

.scroll-ready [data-scroll-section="process"] .process-line {
    transform: scaleX(clamp(0, (var(--progress, 0) - 0.04) * 1.6, 1));
    transform-origin: left center;
}

/* ── SAYAC — Flip Up Girisi ────────────────────── */
.scroll-ready [data-scroll-section="counter"] {
    perspective: 800px;
    transform-style: preserve-3d;
}

.scroll-ready [data-scroll-section="counter"] .counter-item {
    --stagger: calc(var(--counter-index, 0) * 0.04);
    --reveal: clamp(0, (var(--progress, 0) - 0.08 - var(--stagger)) * 3, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 60px) 0;
    rotate: 1 0 0 calc((1 - var(--reveal)) * -45deg);
    scale: calc(0.8 + 0.2 * var(--reveal));
}

/* ── HAKKIMIZDA — Parallax Split + 3D ──────────── */
.scroll-ready [data-scroll-section="about"] {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.scroll-ready [data-scroll-section="about"] .about-preview-visual {
    --reveal: clamp(0, (var(--progress, 0) - 0.04) * 3, 1);
    --parallax: calc((var(--progress, 0.5) - 0.5) * -50px);
    opacity: var(--reveal);
    translate: calc((1 - var(--reveal)) * -100px) 0 0;
    rotate: 0 1 0 calc((1 - var(--reveal)) * -12deg);
    transform: translateY(var(--parallax));
}

.scroll-ready [data-scroll-section="about"] .about-text-col {
    --reveal: clamp(0, (var(--progress, 0) - 0.1) * 3, 1);
    --parallax: calc((var(--progress, 0.5) - 0.5) * 35px);
    opacity: var(--reveal);
    translate: calc((1 - var(--reveal)) * 100px) 0 0;
    rotate: 0 1 0 calc((1 - var(--reveal)) * 10deg);
    transform: translateY(var(--parallax));
}

.scroll-ready [data-scroll-section="about"] .about-preview-badge {
    --reveal: clamp(0, (var(--progress, 0) - 0.2) * 4, 1);
    scale: var(--reveal);
}

/* ── CTA — Scale Up + Glow Buyumesi ────────────── */
.scroll-ready [data-scroll-section="cta"] {
    perspective: 800px;
}

.scroll-ready [data-scroll-section="cta"] .cta-inner {
    --reveal: clamp(0, (var(--progress, 0) - 0.06) * 2.8, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 40px) 0;
}

.scroll-ready [data-scroll-section="cta"]::before {
    --reveal: clamp(0, (var(--progress, 0) - 0.06) * 2.8, 1);
    scale: calc(0.5 + 0.5 * var(--reveal));
    opacity: var(--reveal);
}

/* ── Azaltilmis hareket tercihi ────────────────── */
@media (prefers-reduced-motion: reduce) {
    [data-scroll-section],
    [data-scroll-section] * {
        translate: none !important;
        rotate: none !important;
        scale: none !important;
        filter: none !important;
    }
    [data-scroll-section] * {
        opacity: 1 !important;
    }
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 991.98px) {
    /* ── Mobilde video tam arkaplan olur ────────── */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        position: relative;
    }

    .hero > .container {
        position: relative;
        z-index: 3;
    }

    .hero .row {
        flex-direction: column;
    }

    /* Video kolonu → tam arkaplan */
    .hero-visual-col {
        position: absolute !important;
        inset: 0;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin-top: 0;
        z-index: 1;
        padding: 0 !important;
    }

    .hero-video-showcase {
        padding: 0;
        width: 100%;
        height: 100%;
    }

    .hero-video-frame {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Mobilde daha koyulastir — metin okunabilsin */
    .hero-video-overlay {
        background:
            linear-gradient(180deg,
                rgba(35, 44, 48, 0.75) 0%,
                rgba(35, 44, 48, 0.55) 40%,
                rgba(35, 44, 48, 0.55) 60%,
                rgba(35, 44, 48, 0.80) 100%) !important;
    }

    .hero-video-corner,
    .hero-float-tag { display: none; }

    .hero-video-scanline { display: none; }

    /* İcerik — ortalanmis, okunabilir */
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
    }

    .hero-title { font-size: 2.6rem; }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-stat {
        text-align: center;
    }

    /* Dekoratif glow'lar videoya gore gereksiz */
    .hero-bg-grid { z-index: 2; opacity: 0.4; }
    .hero-glow { z-index: 2; opacity: 0.5; }

    /* Diger section responsive */
    .bento-card--wide,
    .bento-card--narrow,
    .bento-card--half,
    .bento-card--third { grid-column: span 6; }
    .process-line { display: none; }
    .about-preview-badge { right: 10px; bottom: -15px; }
    .about-preview-img img { height: 340px; }

    /* ── Mobilde 3D efektleri sadelelestir ────────── */
    .scroll-ready [data-scroll-section] {
        perspective: none;
        transform-style: flat;
    }

    /* Hero: sadece hafif fade + dikey kayma — butonlar kaybolmasin */
    .scroll-ready [data-scroll-section="hero"] .hero-content {
        --exit-delayed: clamp(0, (var(--exit, 0) - 0.4) / 0.6, 1);
        translate: 0 calc(var(--exit-delayed) * -20px) 0;
        opacity: calc(1 - var(--exit-delayed) * 0.7);
    }
    .scroll-ready [data-scroll-section="hero"] .hero-video-frame {
        rotate: none;
        translate: none;
        scale: none;
    }
    .scroll-ready [data-scroll-section="hero"] .hero-stats {
        --exit-delayed: clamp(0, (var(--exit, 0) - 0.4) / 0.6, 1);
        translate: 0 calc(var(--exit-delayed) * -15px) 0;
        opacity: calc(1 - var(--exit-delayed) * 0.8);
    }
    .scroll-ready [data-scroll-section="hero"] .hero-float-tag {
        translate: none;
        opacity: 1;
    }

    /* Bento: sadece dikey giris, rotasyon yok */
    .scroll-ready [data-scroll-section="bento"] .bento-card {
        rotate: none;
        translate: 0 calc((1 - var(--reveal, 1)) * 40px) 0;
    }
    .scroll-ready [data-scroll-section="bento"] .bento-card:hover {
        transform: translateY(-6px);
    }

    /* Process: sadece dikey giris */
    .scroll-ready [data-scroll-section="process"] .process-step {
        rotate: none;
        scale: none;
        translate: 0 calc((1 - var(--reveal, 1)) * 30px) 0;
    }

    /* Counter: sadece dikey giris */
    .scroll-ready [data-scroll-section="counter"] .counter-item {
        rotate: none;
        scale: none;
    }

    /* About: sadece fade, paralaks/3D yok */
    .scroll-ready [data-scroll-section="about"] .about-preview-visual,
    .scroll-ready [data-scroll-section="about"] .about-text-col {
        rotate: none;
        translate: 0 calc((1 - var(--reveal, 1)) * 30px) 0;
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 2.2rem; }
    .hero-stats { gap: 1.5rem; }
    .hero-stat-number { font-size: 1.5rem; }
    .bento-card--wide,
    .bento-card--narrow,
    .bento-card--half,
    .bento-card--third { grid-column: span 12; }
    .counter-item { margin-bottom: 1.5rem; }
    .cta-title { font-size: 2rem; }
    .cta-subtitle-text { font-size: 1.8rem; }
    /* Görsel mobilde tam oranla gösterilsin, sabit yükseklik kırpmasın */
    .about-preview-img img {
        height: auto;
        max-height: 400px;
    }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-primary-custom,
    .hero-actions .btn-outline-custom { width: 100%; text-align: center; }
    .hero-stats { flex-wrap: wrap; gap: 1.2rem; }
    .hero-stat { flex: 0 0 auto; }
    .cta-title { font-size: 1.6rem; }
    .cta-subtitle-text { font-size: 1.4rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANASAYFA — Öne Çıkan Ürünler Kartları
   ═══════════════════════════════════════════════════════════════════════════ */
.home-product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.home-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(11, 190, 212, 0.1);
}

/* Üst kenar accent çizgisi */
.home-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.home-product-card:hover::before {
    transform: scaleX(1);
}

/* Görsel alanı */
.home-product-card__img-link {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}

.home-product-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-product-card:hover .home-product-card__img {
    transform: scale(1.08);
}

/* Hover overlay */
.home-product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(35, 44, 48, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-product-card:hover .home-product-card__overlay {
    opacity: 1;
}

.home-product-card__overlay-text {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    background: rgba(11, 190, 212, 0.85);
    backdrop-filter: blur(6px);
    letter-spacing: 0.3px;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.home-product-card:hover .home-product-card__overlay-text {
    transform: translateY(0);
}

/* Placeholder (görselsiz) */
.home-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-light) 0%, rgba(11, 190, 212, 0.04) 100%);
    color: var(--color-gray);
    font-size: 3rem;
}

/* Kart gövdesi */
.home-product-card__body {
    padding: 1.4rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-product-card__title {
    font-size: 1.12rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.home-product-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-product-card__title a:hover {
    color: var(--color-primary);
}

.home-product-card__summary {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.home-product-card__link {
    display: inline-flex;
    align-items: center;
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-base);
    margin-top: auto;
}

.home-product-card__link:hover {
    color: var(--color-primary-dark);
    gap: 0.1rem;
}

.home-product-card__link i {
    transition: transform 0.3s ease;
}

.home-product-card:hover .home-product-card__link i {
    transform: translateX(4px);
}

/* ── Scroll-driven — Ürünler bölümü reveal ───────── */
.scroll-ready [data-scroll-section="products"] {
    perspective: 1200px;
    transform-style: preserve-3d;
}

.scroll-ready [data-scroll-section="products"] .section-heading,
.scroll-ready [data-scroll-section="products"] .section-divider,
.scroll-ready [data-scroll-section="products"] .section-subheading {
    --reveal: clamp(0, (var(--progress, 0) - 0.05) * 4, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 40px) 0;
}

.scroll-ready [data-scroll-section="products"] .home-product-card {
    --reveal: clamp(0, (var(--progress, 0) - 0.12) * 3, 1);
    opacity: var(--reveal);
    translate: 0 calc((1 - var(--reveal)) * 50px) 0;
}

/* Mobilde basit reveal */
@media (max-width: 991.98px) {
    .scroll-ready [data-scroll-section="products"] {
        perspective: none;
        transform-style: flat;
    }

    .scroll-ready [data-scroll-section="products"] .home-product-card {
        translate: 0 calc((1 - var(--reveal, 1)) * 30px) 0;
    }
}


