/* Bercesoft — tanıtım yüzeyi */
.bs-home {
    --bs-navy: #071e4a;
    --bs-blue: #0a359b;
    --bs-blue-2: #2670c9;
    --bs-ink: #0e1b33;
    --bs-muted: #5c6e8a;
    --bs-line: #e1e8f2;
    --bs-paper: #ffffff;
    --bs-stone: #f4f7fb;
    background: var(--bs-stone);
    color: var(--bs-ink);
    font-family: "Manrope", "DM Sans", system-ui, sans-serif;
    overflow-x: hidden;
}

.bs-home .xy-topbar {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--bs-line);
    box-shadow: none;
}

.bs-home .xy-logo__img { height: 34px; max-width: 220px; }
.bs-home .xy-logo__text strong { display: none; }
.bs-home .xy-logo__text span {
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--bs-muted);
    font-weight: 650;
    font-size: 0.82rem;
}

.bs-home .xy-nav-link { color: #3d5274; font-weight: 650; }
.bs-home .xy-nav-link.is-active,
.bs-home .xy-nav-link:hover { color: var(--bs-blue); background: transparent; }

.bs-home .xy-head-btn--line {
    background: var(--bs-blue);
    color: #fff;
    border-color: var(--bs-blue);
    border-radius: 999px;
}
.bs-home .xy-head-btn--line:hover { background: #08307f; color: #fff; }

.bs-kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bs-blue-2);
    font-weight: 800;
}
.bs-kicker--light { color: #b9d4ff; }

.bs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bs-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.85rem 1.25rem;
    font-weight: 750;
    font-size: 0.92rem;
    border: 1px solid var(--bs-blue);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.bs-btn:hover { color: #fff; background: #08307f; border-color: #08307f; transform: translateY(-1px); }
.bs-btn--light { background: #fff; color: var(--bs-navy); border-color: #fff; }
.bs-btn--light:hover { background: #e8f1fb; color: var(--bs-navy); border-color: #e8f1fb; }
.bs-btn--line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.bs-btn--line:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: #fff; }
.bs-btn--ghost { background: #fff; color: var(--bs-blue); border-color: #c9d7ea; }
.bs-btn--ghost:hover { background: #f3f7fd; color: var(--bs-navy); border-color: #b7c9e2; }

.bs-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Slider */
.bs-slider {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #071e4a 0%, #0a359b 72%);
    color: #fff;
    min-height: 640px;
}

.bs-slider__viewport { position: relative; min-height: 640px; }
.bs-slider:hover .bs-slider__bar { animation-play-state: paused; }

.bs-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 3.2rem 0 5.2rem;
    background:
        radial-gradient(900px 420px at 88% 10%, rgba(38, 112, 201, 0.45), transparent 60%),
        radial-gradient(700px 380px at 0% 100%, rgba(10, 53, 155, 0.55), transparent 55%),
        linear-gradient(155deg, #071e4a 0%, #0a359b 72%);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.9s ease;
}
.bs-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    position: relative;
    min-height: 640px;
}

.bs-slide__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.bs-slide h1,
.bs-slide h2 {
    margin: 0 0 1rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.98;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    color: #fff;
}

.bs-slide__lead {
    margin: 0 0 1.5rem;
    max-width: 36rem;
    color: rgba(232, 240, 252, 0.86);
    font-size: 1.05rem;
    line-height: 1.7;
}

.bs-rise { opacity: 0; transform: translateY(16px); }
.bs-slide.is-active .bs-rise {
    animation: bs-rise 0.7s cubic-bezier(.2, .7, .2, 1) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes bs-rise {
    to { opacity: 1; transform: none; }
}

.bs-mock {
    background: rgba(255, 255, 255, 0.96);
    color: var(--bs-ink);
    border-radius: 22px;
    box-shadow: 0 30px 70px rgba(4, 16, 48, 0.28);
    overflow: hidden;
}
.bs-mock__top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.9rem 1.1rem;
    background: linear-gradient(90deg, #071e4a, #0a359b 70%, #2670c9);
    color: #fff;
}
.bs-mock__top span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
}
.bs-mock__top strong { margin-left: 0.45rem; font-size: 0.92rem; font-weight: 700; }

.bs-mock__list { list-style: none; margin: 0; padding: 0.45rem; }
.bs-mock__list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0.75rem;
    border-radius: 14px;
}
.bs-mock__list li + li { margin-top: 0.15rem; }
.bs-slide.is-active .bs-mock__list li {
    animation: bs-row 0.55s cubic-bezier(.2, .7, .2, 1) both;
}
.bs-slide.is-active .bs-mock__list li:nth-child(2) { animation-delay: 0.08s; }
.bs-slide.is-active .bs-mock__list li:nth-child(3) { animation-delay: 0.16s; }
.bs-slide.is-active .bs-mock__list li:nth-child(4) { animation-delay: 0.24s; }

@keyframes bs-row {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: none; }
}

.bs-mock__list i {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f1fb;
    color: var(--bs-blue);
    flex: none;
}
.bs-mock__list b { display: block; font-size: 0.95rem; }
.bs-mock__list small { color: var(--bs-muted); }
.bs-mock__list li > div { flex: 1; min-width: 0; }

.bs-pill {
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bs-blue);
    background: #e8f1fb;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
}
.bs-pill--live { color: #0b6b45; background: #e5f6ee; }

.bs-mock__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 0.9rem 0.9rem 0.2rem;
}
.bs-mock__stats div {
    background: #f4f7fb;
    border-radius: 12px;
    padding: 0.75rem 0.7rem;
}
.bs-mock__stats small { display: block; color: var(--bs-muted); font-size: 0.72rem; font-weight: 700; }
.bs-mock__stats b { font-size: 1rem; color: var(--bs-navy); }
.bs-slide.is-active .bs-mock__stats div {
    animation: bs-pop 0.5s cubic-bezier(.2, .8, .2, 1) both;
}
.bs-slide.is-active .bs-mock__stats div:nth-child(2) { animation-delay: 0.08s; }
.bs-slide.is-active .bs-mock__stats div:nth-child(3) { animation-delay: 0.16s; }
@keyframes bs-pop {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.bs-mock__rows { list-style: none; margin: 0; padding: 0.4rem 0.9rem 0.9rem; }
.bs-mock__rows li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--bs-line);
    font-size: 0.92rem;
}
.bs-mock__rows em { font-style: normal; color: var(--bs-blue); font-weight: 700; }

.bs-slider__bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    transform-origin: left center;
    background: linear-gradient(90deg, #8ebfff, #fff);
    animation: bs-bar 7s linear;
    z-index: 2;
}
@keyframes bs-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.bs-slider__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}
.bs-slider__dots, .bs-slider__arrows { display: flex; gap: 0.45rem; pointer-events: auto; }
.bs-slider__dots button,
.bs-slider__arrows button {
    border: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.bs-slider__dots button {
    width: 2.1rem;
    height: 0.28rem;
    border-radius: 99px;
    padding: 0;
}
.bs-slider__dots button.is-active { background: #fff; }
.bs-slider__arrows button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.bs-slider__arrows button:hover { background: #fff; color: var(--bs-navy); }

/* Facts */
.bs-facts { background: #fff; border-bottom: 1px solid var(--bs-line); }
.bs-facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bs-facts article {
    padding: 1.35rem 1.2rem 1.35rem 0;
    border-right: 1px solid var(--bs-line);
}
.bs-facts article:last-child { border-right: 0; padding-right: 0; }
.bs-facts strong { display: block; color: var(--bs-navy); letter-spacing: -0.03em; font-size: 1.05rem; }
.bs-facts span { color: var(--bs-muted); font-size: 0.88rem; }

/* About */
.bs-about { padding: 4.5rem 0; }
.bs-about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}
.bs-about h2,
.bs-section-head h2,
.bs-cta h2 {
    margin: 0 0 0.8rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--bs-navy);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.12;
}
.bs-prose { color: #31465f; line-height: 1.7; margin: 0 0 0.9rem; max-width: 38rem; }
.bs-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.bs-points li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 16px;
    padding: 1rem 1.05rem;
}
.bs-points span { font-weight: 800; color: var(--bs-blue-2); }
.bs-points strong { display: block; color: var(--bs-navy); margin-bottom: 0.2rem; }
.bs-points p { margin: 0; color: var(--bs-muted); font-size: 0.92rem; line-height: 1.5; }

.bs-section-head { max-width: 38rem; margin-bottom: 1.6rem; }
.bs-section-head p:last-child { margin: 0; color: #3e5270; }
.bs-section-head--light h2 { color: #fff; }
.bs-section-head--light p:last-child { color: rgba(232, 240, 252, 0.8); }

/* Roles */
.bs-roles { padding: 0 0 4.5rem; }
.bs-role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.bs-role {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 18px;
    padding: 1.25rem 1.15rem 1.15rem;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.bs-role:hover {
    transform: translateY(-4px);
    border-color: #b9d0ee;
    box-shadow: 0 16px 40px rgba(7, 30, 74, 0.08);
    color: inherit;
}
.bs-role i {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f1fb;
    color: var(--bs-blue);
    font-size: 1.1rem;
}
.bs-role strong { font-size: 1.08rem; color: var(--bs-navy); letter-spacing: -0.02em; }
.bs-role p { margin: 0; color: #3e5270; font-size: 0.9rem; line-height: 1.55; flex: 1; }
.bs-role > span { color: var(--bs-blue); font-weight: 750; font-size: 0.84rem; margin-top: 0.4rem; }

/* Modules */
.bs-modules { background: #fff; border-top: 1px solid var(--bs-line); padding: 4.2rem 0; }
.bs-mod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.bs-mod-grid article {
    border: 1px solid var(--bs-line);
    border-radius: 16px;
    padding: 1.1rem 1rem 1.15rem;
    background: linear-gradient(180deg, #fff, #f7faff);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.bs-mod-grid article:hover { border-color: #b7ccea; transform: translateY(-3px); }
.bs-mod-grid i { color: var(--bs-blue); font-size: 1.15rem; }
.bs-mod-grid strong { display: block; margin: 0.55rem 0 0.3rem; color: var(--bs-navy); }
.bs-mod-grid p { margin: 0; color: var(--bs-muted); font-size: 0.88rem; line-height: 1.5; }

/* Flow */
.bs-flow {
    background:
        radial-gradient(700px 280px at 100% 0%, rgba(38, 112, 201, 0.35), transparent 60%),
        linear-gradient(160deg, #071e4a, #0a359b);
    color: #fff;
    padding: 4.2rem 0;
}
.bs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.bs-steps li {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 1.25rem 1.15rem;
}
.bs-steps span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--bs-navy);
    font-weight: 800;
    margin-bottom: 0.8rem;
}
.bs-steps strong { display: block; margin-bottom: 0.35rem; }
.bs-steps p { margin: 0; color: rgba(232, 240, 252, 0.82); font-size: 0.92rem; line-height: 1.55; }

/* CTA */
.bs-cta { padding: 2.2rem 0 3rem; }
.bs-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 22px;
    padding: 1.6rem 1.5rem;
}
.bs-cta h2 { margin-bottom: 0.35rem; }
.bs-cta p { margin: 0; color: #3e5270; }

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.bs-home .xy-footer { background: var(--bs-navy); color: rgba(232, 240, 250, 0.78); }
.bs-home .xy-footer a { color: #fff; }
.bs-home .xy-footer-logo { filter: none; height: 28px; max-width: 190px; opacity: 1; }

/* İletişim sayfası */
.bs-hero { padding: 4.2rem 0 3rem; }
.bs-hero h1 {
    font-weight: 800;
    font-size: clamp(2.4rem, 4vw, 3.3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--bs-navy);
    margin: 0 0 1rem;
}
.bs-lead {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3e5270;
    max-width: 34rem;
    margin: 0 0 1.2rem;
}
.bs-lead a { color: var(--bs-blue); font-weight: 700; }

@media (max-width: 991.98px) {
    .bs-slider, .bs-slider__viewport { min-height: 0; }
    .bs-slide { position: relative; padding: 2.4rem 0 5rem; display: none; }
    .bs-slide.is-active { display: flex; }
    .bs-slide__grid, .bs-about__grid, .bs-role-grid, .bs-facts__grid { grid-template-columns: 1fr; }
    .bs-mod-grid, .bs-steps { grid-template-columns: 1fr 1fr; }
    .bs-facts article { border-right: 0; border-bottom: 1px solid var(--bs-line); padding: 1rem 0; }
    .bs-slide h1, .bs-slide h2 { font-size: 2.4rem; }
}

@media (max-width: 575.98px) {
    .bs-mod-grid, .bs-steps { grid-template-columns: 1fr; }
    .bs-cta__box { flex-direction: column; align-items: flex-start; }
    .bs-actions .bs-btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .bs-slide, .bs-rise, .bs-slider__bar, [data-reveal], .bs-role, .bs-mod-grid article, .bs-btn {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
    .bs-slide { display: none; }
    .bs-slide.is-active { display: flex; position: relative; }
}
