:root {
    --red: #f14635;
    --red-2: #ff6b5a;
    --bg: #0d0f14;
    --bg-2: #13161d;
    --card: #171a22;
    --line: #262a36;
    --text: #f3f4f7;
    --muted: #9aa1b2;
    --r: 20px;
    --ease: cubic-bezier(.22, 1, .36, 1)
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden
}

.accent {
    color: var(--red)
}

.text-muted-2 {
    color: var(--muted)
}

.grad {
    background: linear-gradient(90deg, var(--red-2), var(--red));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.btn-kaspi {
    background: linear-gradient(135deg, var(--red-2), var(--red));
    border: 0;
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 10px 30px -10px var(--red);
    transition: transform .3s var(--ease), box-shadow .3s
}

.btn-kaspi:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -10px var(--red)
}

.btn-outline-light {
    border-radius: 999px
}

.navbar {
    padding: .9rem 0;
    transition: background .3s, padding .3s
}

.navbar.scrolled {
    background: rgba(13, 15, 20, .8);
    backdrop-filter: blur(14px);
    padding: .5rem 0;
    border-bottom: 1px solid var(--line)
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.3rem
}

.nav-link {
    color: var(--muted);
    font-weight: 500
}

.nav-link:hover {
    color: #fff
}

@media(max-width:991px) {
    .navbar-collapse {
        background: var(--bg-2);
        border-radius: var(--r);
        padding: 1rem;
        margin-top: .75rem
    }
}

.hero {
    padding: 9rem 0 5rem;
    background: radial-gradient(60% 50% at 80% 20%, rgba(241, 70, 53, .22), transparent 70%), radial-gradient(40% 40% at 0 90%, rgba(241, 70, 53, .1), transparent 70%)
}

.hero-img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite
}

@keyframes float {
    50% {
        transform: translateY(-14px)
    }
}

.badge-pill {
    display: inline-flex;
    gap: .4rem;
    align-items: center;
    padding: .4rem .9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--card);
    color: var(--muted);
    font-size: .85rem
}

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

.stats {
    border-block: 1px solid var(--line);
    background: var(--bg-2)
}

.stat b {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--red)
}

.stat span {
    color: var(--muted);
    font-size: .9rem
}

.section {
    padding: 6rem 0
}

.alt {
    background: var(--bg-2)
}

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

.check li {
    display: flex;
    gap: .6rem;
    margin-bottom: .7rem
}

.check i {
    color: var(--red)
}

.quote {
    padding: 2.5rem;
    border-radius: var(--r);
    background: linear-gradient(145deg, var(--card), #1c1f2a);
    border: 1px solid var(--line)
}

.quote>i {
    font-size: 3.5rem;
    color: var(--red);
    opacity: .6;
    line-height: 1
}

.quote p {
    font-size: 1.4rem;
    font-weight: 600
}

.quote small {
    color: var(--muted)
}

.card-k,
.mini {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    transition: transform .4s var(--ease), border-color .3s, box-shadow .4s
}

.card-k {
    padding: 2rem;
    height: 100%
}

.card-k i {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(241, 70, 53, .14);
    color: var(--red);
    font-size: 1.6rem;
    margin-bottom: 1.2rem
}

.card-k h3 {
    font-size: 1.3rem;
    font-weight: 700
}

.card-k p {
    color: var(--muted);
    margin: 0
}

.card-k:hover,
.mini:hover {
    transform: translateY(-6px);
    border-color: var(--red);
    box-shadow: 0 20px 40px -20px rgba(241, 70, 53, .5)
}

.mini {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem 1.3rem;
    font-weight: 600
}

.mini i {
    color: var(--red);
    font-size: 1.4rem
}

.mini.h {
    padding: 1.6rem 1.3rem
}

.timeline {
    position: relative;
    max-width: 760px;
    margin: auto;
    padding-left: 2rem;
    border-left: 2px solid var(--line)
}

.tl-item {
    position: relative;
    margin-bottom: 2.5rem
}

.tl-item::before {
    content: "";
    position: absolute;
    left: -2.55rem;
    top: .35rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 6px rgba(241, 70, 53, .2)
}

.tl-item span {
    color: var(--red);
    font-weight: 700;
    font-size: .9rem
}

.tl-item h4 {
    font-weight: 700;
    margin: .2rem 0
}

.tl-item p {
    color: var(--muted);
    margin: 0
}

.accordion {
    --bs-accordion-bg: var(--card);
    --bs-accordion-border-color: var(--line);
    --bs-accordion-btn-bg: var(--card);
    --bs-accordion-active-bg: var(--card);
    --bs-accordion-active-color: var(--red);
    --bs-accordion-btn-focus-box-shadow: none
}

.accordion-item {
    margin-bottom: .8rem;
    border-radius: var(--r) !important;
    overflow: hidden
}

.accordion-button {
    font-weight: 600
}

.accordion-body {
    color: var(--muted)
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2)
}

.to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: .35s var(--ease);
    z-index: 1030;
    box-shadow: 0 10px 25px -8px var(--red)
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none
}

.to-top:hover {
    background: var(--red-2)
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--d, 0s)
}

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

@media(max-width:767px) {
    .hero {
        padding: 7rem 0 3rem
    }

    .section {
        padding: 4rem 0
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .hero-img {
        animation: none
    }
}