:root {
    --bg-main: #141414;
    --bg-sec: #1c1c1e;
    --bg-glass: rgba(30, 30, 32, 0.7);
    --border-glass: rgba(255, 255, 255, 0.08);
    --clr-brand: #940E1B;
    --clr-brand-hover: #b41323;
    --txt-main: #ffffff;
    --txt-muted: #a0a0a5;
    --font-fam: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg-main);
    color: var(--txt-main);
    font-family: var(--font-fam);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.main-hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
}

.logo img {
    height: 80px;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-nav a {
    text-decoration: none;
    color: var(--txt-main);
    font-weight: 600;
    transition: 0.2s;
}

.top-nav a:hover {
    color: var(--clr-brand);
}

.btn-outline {
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: 20px;
}

.buy-wrap {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 5% 50px;
    min-height: 100vh;
    box-sizing: border-box;
    gap: 60px;
    align-items: center;
}

.left-col {
    flex: 1.2;
}

.right-col {
    flex: 0.8;
    display: flex;
    justify-content: center;
    position: relative;
}

.right-col::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-glass), transparent);
}

.glass-box {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.txt-red {
    color: var(--clr-brand);
}

.sec-title {
    font-size: 2.5rem;
    font-weight: 800;
}

.tl-nodes {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

.tl-nodes::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: var(--border-glass);
    z-index: 0;
}

.tl-node {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.tl-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--bg-sec);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--txt-main);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.tl-txt h4 {
    font-size: 1.3rem;
    margin-top: 5px;
    margin-bottom: 5px;
}

.tl-txt p {
    color: var(--txt-muted);
    font-size: 1rem;
}

.badge-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(148, 14, 27, 0.15);
    color: var(--clr-brand);
    border-radius: 12px;
}

.inp-group {
    margin-bottom: 15px;
}

.d-inp {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: var(--txt-main);
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    transition: 0.3s;
}

.d-inp:focus {
    border-color: var(--clr-brand);
    background: rgba(0, 0, 0, 0.2);
}

.w-100 {
    width: 100%;
}

.btn-primary {
    background: var(--clr-brand);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    font-family: var(--font-fam);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--clr-brand-hover);
    transform: translateY(-2px);
}

.switch-txt {
    margin-top: 20px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--txt-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.switch-txt a {
    color: var(--txt-main);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.switch-txt a:hover {
    color: var(--clr-brand);
}

#bg-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-box {
    background: var(--bg-sec);
    padding: 30px 40px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--clr-brand);
    border-radius: 50%;
    animation: sp 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes sp {
    100% {
        transform: rotate(360deg);
    }
}

#card-errors {
    font-size: 0.9rem;
    text-align: center;
}

.free-tier-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--txt-muted);
}

.free-tier-link a {
    color: var(--clr-brand);
    text-decoration: none;
    font-weight: 600;
}

.free-tier-link a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .buy-wrap {
        flex-direction: column;
        padding-top: 100px;
        gap: 40px;
    }

    .right-col::before {
        display: none;
    }

    .right-col {
        width: 100%;
    }

    .glass-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-hdr {
        padding: 10px 5%;
    }

    .top-nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .top-nav a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .logo img {
        height: 60px;
    }
}