/* ============================================================
   home2.css - Modern alternatif ana sayfa (izole)
   Tüm seçiciler .h2-page altında; başka sayfalara sızmaz.
   ============================================================ */

.h2-page {
    --red: #E84545;
    --red-d: #cf3636;
    --navy: #0a192f;
    --navy-2: #112240;
    --navy-3: #1b3a5b;
    --teal: #26a69a;
    --ink: #0f1b2d;
    --slate: #5b6684;
    --line: #e7ebf3;
    --bg-soft: #f5f7fb;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--ink);
    line-height: 1.65;
    overflow-x: hidden;
}

.h2-page * {
    box-sizing: border-box;
}

.h2-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.h2-page h1, .h2-page h2, .h2-page h3 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.h2-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}

.h2-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 54px;
}

    .h2-head h2 {
        font-size: clamp(1.9rem, 3.4vw, 2.7rem);
        font-weight: 700;
    }

    .h2-head p {
        color: var(--slate);
        font-size: 1.08rem;
        margin: 16px 0 0;
    }

    .h2-head.light h2 { color: #fff; }
    .h2-head.light p { color: #b9c4da; }

.h2-section {
    padding: 92px 0;
}

.h2-soft { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.h2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.h2-btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 24px rgba(232,69,69,.32);
}

    .h2-btn-primary:hover {
        background: var(--red-d);
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(232,69,69,.4);
    }

.h2-btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.35);
}

    .h2-btn-ghost:hover {
        background: rgba(255,255,255,.1);
        border-color: #fff;
        color: #fff;
        transform: translateY(-2px);
    }

.h2-btn.lg { padding: 17px 38px; font-size: 1.08rem; }

/* ============================================================
   HERO
   ============================================================ */
.h2-hero {
    position: relative;
    background: radial-gradient(1200px 600px at 78% -10%, #163a63 0%, transparent 55%),
                radial-gradient(900px 500px at 8% 110%, #10345a 0%, transparent 50%),
                linear-gradient(160deg, #0a192f 0%, #0c2038 60%, #0a1a30 100%);
    color: #eaf1ff;
    overflow: hidden;
    padding: 84px 0 96px;
}

    .h2-hero::before { /* ince grid */
        content: "";
        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: 46px 46px;
        mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%);
        -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 40%, transparent 100%);
    }

    .h2-hero::after { /* kırmızı glow */
        content: "";
        position: absolute;
        width: 520px;
        height: 520px;
        right: -120px;
        top: 40px;
        background: radial-gradient(circle, rgba(232,69,69,.28) 0%, transparent 65%);
        filter: blur(20px);
        pointer-events: none;
    }

.h2-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.h2-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(38,166,154,.14);
    border: 1px solid rgba(38,166,154,.4);
    color: #6fe0d4;
    font-weight: 600;
    font-size: .86rem;
    padding: 7px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.h2-page .h2-hero-title {
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.h2-grad {
    background: linear-gradient(100deg, #E84545 0%, #ff7a5c 45%, #f5b73c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.h2-hero-sub {
    color: #b9c7de;
    font-size: 1.14rem;
    margin: 22px 0 32px;
    max-width: 540px;
}

.h2-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.h2-trust {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 10px 22px;
    flex-wrap: wrap;
    color: #8ea3c4;
    font-size: .82rem;
    letter-spacing: .04em;
}

    .h2-trust b {
        color: #ccd8ee;
        font-weight: 600;
    }

    .h2-trust span { opacity: .55; }

/* Hero görsel - tarayıcı çerçevesi */
.h2-hero-visual {
    position: relative;
}

.h2-frame {
    border-radius: 14px;
    background: #0e2036;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 70px rgba(0,0,0,.5);
    overflow: hidden;
}

.h2-frame-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 14px;
    background: #0a1a2e;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .h2-frame-bar i {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        display: inline-block;
    }

.h2-dot-r { background: #E84545; }
.h2-dot-y { background: #f5b73c; }
.h2-dot-g { background: #26a69a; }

.h2-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.h2-hero-visual .h2-frame {
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
    transition: transform .5s ease;
}

    .h2-hero-visual .h2-frame:hover {
        transform: perspective(1400px) rotateY(0) rotateX(0);
    }

.h2-float {
    position: absolute;
    background: #fff;
    color: var(--ink);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.28);
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 600;
    font-size: .9rem;
    z-index: 3;
}

    .h2-float i {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: .95rem;
    }

.h2-float-1 { left: -26px; top: 30px; }
.h2-float-1 i { background: var(--teal); }
.h2-float-2 { right: -20px; bottom: 34px; }
.h2-float-2 i { background: var(--red); }

/* ============================================================
   STATS
   ============================================================ */
.h2-stats {
    background: var(--navy-2);
    padding: 0;
}

.h2-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.08);
    border-radius: 0;
}

.h2-stat {
    background: var(--navy-2);
    text-align: center;
    padding: 40px 18px;
}

.h2-stat-num {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

    .h2-stat-num span { color: var(--red); }

.h2-stat-label {
    color: #9fb0cd;
    font-size: .95rem;
    margin-top: 10px;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.h2-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.h2-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px 28px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .h2-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 44px rgba(15,27,45,.1);
        border-color: transparent;
    }

.h2-card-ico {
    width: 58px;
    height: 58px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, var(--red), #ff7a5c);
    margin-bottom: 22px;
    box-shadow: 0 12px 24px rgba(232,69,69,.28);
}

    .h2-card-ico.teal {
        background: linear-gradient(135deg, var(--teal), #4fd1c5);
        box-shadow: 0 12px 24px rgba(38,166,154,.28);
    }

    .h2-card-ico.navy {
        background: linear-gradient(135deg, #1b3a5b, #2c5b8f);
        box-shadow: 0 12px 24px rgba(27,58,91,.28);
    }

.h2-card h3 {
    font-size: 1.24rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.h2-card p {
    color: var(--slate);
    font-size: .98rem;
    margin: 0;
}

/* ============================================================
   SPLIT (Agentic AI)
   ============================================================ */
.h2-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.h2-split-text h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 700;
}

.h2-split-text p {
    color: var(--slate);
    font-size: 1.06rem;
    margin: 18px 0 24px;
}

.h2-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.h2-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: .95rem;
}

    .h2-pill i { color: var(--red); }

.h2-split-visual {
    position: relative;
    text-align: center;
}

    .h2-split-visual img {
        max-width: 100%;
        height: auto;
        border-radius: 18px;
    }

    .h2-split-visual::before {
        content: "";
        position: absolute;
        inset: 8% 6%;
        background: radial-gradient(circle, rgba(38,166,154,.18), transparent 70%);
        filter: blur(30px);
        z-index: 0;
    }

/* ============================================================
   PRODUCT SHOWCASE (dark)
   ============================================================ */
.h2-dark {
    background: radial-gradient(900px 500px at 80% 0%, #16375d 0%, transparent 55%),
                linear-gradient(180deg, #0a192f, #0c2038);
    color: #eaf1ff;
}

.h2-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.h2-shot h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 22px 0 8px;
}

.h2-shot p {
    color: #a9bad6;
    margin: 0;
    font-size: .98rem;
}

.h2-shot .h2-frame {
    transition: transform .3s ease, box-shadow .3s ease;
}

    .h2-shot .h2-frame:hover {
        transform: translateY(-6px);
        box-shadow: 0 36px 70px rgba(0,0,0,.55);
    }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.h2-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
    counter-reset: step;
}

.h2-step {
    position: relative;
    padding: 28px 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
}

.h2-step-n {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    background: var(--navy);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.h2-step:nth-child(odd) .h2-step-n { background: var(--red); }

.h2-step h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.h2-step p {
    color: var(--slate);
    font-size: .9rem;
    margin: 0;
}

/* ============================================================
   SECTORS
   ============================================================ */
.h2-sectors {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.h2-sector {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(15,27,45,.08);
}

    .h2-sector img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s ease;
    }

    .h2-sector::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(10,25,47,.9) 0%, rgba(10,25,47,.15) 55%, transparent 100%);
    }

    .h2-sector span {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 14px;
        z-index: 2;
        text-align: center;
        color: #fff;
        font-weight: 600;
        font-size: 1rem;
    }

    .h2-sector:hover img { transform: scale(1.08); }

/* ============================================================
   CTA
   ============================================================ */
.h2-cta {
    padding: 16px 0 96px;
}

.h2-cta-inner {
    background: radial-gradient(700px 300px at 20% 0%, #ff7a5c 0%, transparent 60%),
                linear-gradient(120deg, var(--red) 0%, #b93030 100%);
    border-radius: 26px;
    text-align: center;
    color: #fff;
    padding: 66px 32px;
    margin: 0 24px;
    box-shadow: 0 30px 60px rgba(232,69,69,.3);
}

    .h2-cta-inner h2 {
        color: #fff;
        font-size: clamp(1.8rem, 3.4vw, 2.6rem);
        font-weight: 800;
    }

    .h2-cta-inner p {
        color: rgba(255,255,255,.9);
        font-size: 1.1rem;
        margin: 16px auto 30px;
        max-width: 640px;
    }

.h2-cta .h2-btn-primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

    .h2-cta .h2-btn-primary:hover {
        background: var(--navy);
        color: #fff;
    }

/* ============================================================
   REVEAL animasyonu
   ============================================================ */
.h2-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease, transform .6s ease;
}

    .h2-reveal.in {
        opacity: 1;
        transform: none;
    }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .h2-hero-inner { grid-template-columns: 1fr; gap: 46px; }
    .h2-hero-sub { max-width: none; }
    .h2-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .h2-grid-3 { grid-template-columns: 1fr 1fr; }
    .h2-split { grid-template-columns: 1fr; gap: 36px; }
    .h2-showcase { grid-template-columns: 1fr; }
    .h2-steps { grid-template-columns: repeat(2, 1fr); }
    .h2-sectors { grid-template-columns: repeat(3, 1fr); }
    .h2-hero-visual .h2-frame { transform: none; }
    .h2-float-1 { left: 6px; }
    .h2-float-2 { right: 6px; }
}

@media (max-width: 560px) {
    .h2-section { padding: 66px 0; }
    .h2-grid-3 { grid-template-columns: 1fr; }
    .h2-steps { grid-template-columns: 1fr; }
    .h2-sectors { grid-template-columns: repeat(2, 1fr); }
    .h2-stats-grid { grid-template-columns: 1fr 1fr; }
    .h2-hero-cta { flex-direction: column; }
    .h2-hero-cta .h2-btn { justify-content: center; }
    .h2-float { display: none; }
    .h2-cta-inner { padding: 48px 22px; margin: 0 16px; }
}
