:root {
    --ink: #eef4ff;
    --muted: #aab8cf;
    --navy: #07101f;
    --navy-soft: #0c1930;
    --panel: #111f36;
    --panel-light: #172943;
    --blue: #587fda;
    --blue-dark: #365ba8;
    --orange: #ff7a1a;
    --orange-soft: #ffb273;
    --line: rgba(255, 255, 255, 0.1);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 15% 0%, rgba(88, 127, 218, 0.2), transparent 32rem),
        var(--navy);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0;
}

header {
    position: sticky;
    z-index: 50;
    top: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 16, 31, 0.92);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

.header-content {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo::before {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--orange), #ffaf68);
    box-shadow: 0 8px 22px rgba(255, 122, 26, 0.25);
    color: #111827;
    content: "A";
    display: grid;
    font-size: 18px;
    place-items: center;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 9px 10px;
    border-radius: 9px;
    color: #c8d4e7;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(88, 127, 218, 0.14);
    color: #fff;
}

nav ul li a.external {
    color: var(--orange-soft);
}

.hero {
    position: relative;
    min-height: 610px;
    height: auto;
    margin: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(7, 16, 31, 0.96), rgba(7, 16, 31, 0.65)),
        url("img/ab1.png") center/cover no-repeat;
    text-align: left;
}

.hero::after {
    position: absolute;
    right: -10%;
    bottom: -60%;
    width: 700px;
    height: 700px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.018);
    content: "";
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 130px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--orange-soft);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 25px;
    height: 2px;
    background: var(--orange);
    content: "";
}

.hero h1 {
    max-width: 780px;
    margin: 0 0 22px;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.hero p {
    max-width: 680px;
    margin: 0 0 34px;
    color: #c2cee1;
    font-size: 19px;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--orange), #ff994d);
    box-shadow: 0 12px 28px rgba(255, 122, 26, 0.23);
    color: #101827;
    font-weight: 800;
    text-decoration: none;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ff8b36, #ffb06e);
}

.btn-secondary {
    margin-left: 9px;
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

body > .container {
    padding: 88px 0;
}

.features,
.testimonial-grid,
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.features {
    margin-bottom: 72px;
}

.feature-card,
.testimonial-card,
.info-card {
    overflow: hidden;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(23, 41, 67, 0.95), rgba(12, 25, 48, 0.95));
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.testimonial-card:hover,
.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 122, 26, 0.45);
}

.feature-card img {
    width: 100%;
    height: 210px;
    margin-bottom: 19px;
    border-radius: 12px;
    object-fit: cover;
}

.feature-card h3,
.info-card h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 21px;
}

.feature-card p,
.info-card p {
    margin: 0;
    color: var(--muted);
}

.about-section,
.url-list,
.content-panel {
    margin-bottom: 72px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(17, 31, 54, 0.96), rgba(12, 25, 48, 0.96));
    box-shadow: var(--shadow);
}

.about-section h2,
.url-list h2,
.testimonials h2,
.content-panel h2 {
    margin-top: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 40px);
    letter-spacing: -0.025em;
}

.about-section p,
.url-list p,
.content-panel p,
.content-panel li {
    color: var(--muted);
}

.about-section img {
    display: block;
    width: min(100%, 620px);
    margin-top: 28px;
    border-radius: 16px;
}

.url-list ul {
    padding: 0;
    list-style: none;
}

.url-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
    padding: 17px 19px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.18);
}

.url-list a,
.url-list .abacus-link {
    overflow-wrap: anywhere;
    color: var(--orange-soft);
    font-weight: 700;
    text-decoration: none;
}

.status {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-online {
    background: #236c46;
}

.status-warning {
    background: #8a581d;
}

pre {
    overflow-x: auto;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #070f1d;
    color: #c9d5e9;
}

.testimonials {
    margin-bottom: 72px;
}

.testimonial-card img {
    width: 58px;
    height: 58px;
    border: 2px solid rgba(255, 122, 26, 0.55);
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card p {
    color: #cad5e6;
    font-style: normal;
}

.testimonial-card .author {
    color: var(--orange-soft);
    font-weight: 800;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 78px;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at 80% 40%, rgba(255, 122, 26, 0.14), transparent 23rem),
        linear-gradient(135deg, #0b1930, #07101f);
}

.page-hero::after {
    position: absolute;
    top: -180px;
    right: 4%;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
}

.breadcrumb {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--orange-soft);
    text-decoration: none;
}

.page-hero h1 {
    max-width: 780px;
    margin: 0 0 16px;
    font-size: clamp(40px, 6vw, 66px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.page-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 19px;
}

.page-main {
    padding: 72px 0 92px;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 32px;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(29px, 4vw, 42px);
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 13px;
    background: rgba(255, 122, 26, 0.13);
    color: var(--orange-soft);
    font-size: 20px;
    font-weight: 900;
    place-items: center;
}

.split {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 30px;
    align-items: start;
}

.side-nav {
    position: sticky;
    top: 100px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--navy-soft);
}

.side-nav strong {
    display: block;
    margin-bottom: 12px;
}

.side-nav a {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    text-decoration: none;
}

.side-nav a:last-child {
    border-bottom: 0;
}

.side-nav a:hover {
    color: var(--orange-soft);
}

.article {
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--navy-soft);
}

.article section + section {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.article h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 28px;
}

.article h3 {
    margin: 22px 0 8px;
    color: #fff;
}

.article p,
.article li {
    color: var(--muted);
}

.article a {
    color: var(--orange-soft);
}

.notice {
    margin: 28px 0;
    padding: 18px 20px;
    border-left: 3px solid var(--orange);
    border-radius: 0 10px 10px 0;
    background: rgba(255, 122, 26, 0.08);
    color: #dbe4f2;
}

.steps {
    counter-reset: steps;
    display: grid;
    gap: 16px;
    padding: 0;
    list-style: none;
}

.steps li {
    position: relative;
    min-height: 54px;
    padding: 13px 16px 13px 66px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.steps li::before {
    position: absolute;
    top: 10px;
    left: 12px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--blue-dark);
    color: #fff;
    content: counter(steps);
    counter-increment: steps;
    display: grid;
    font-weight: 800;
    place-items: center;
}

.faq-list {
    display: grid;
    gap: 14px;
}

details {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--navy-soft);
}

summary {
    position: relative;
    padding: 19px 55px 19px 21px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    position: absolute;
    top: 18px;
    right: 21px;
    color: var(--orange-soft);
    content: "+";
    font-size: 24px;
    line-height: 1;
}

details[open] summary::after {
    content: "-";
}

details p {
    margin: 0;
    padding: 0 21px 20px;
    color: var(--muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--navy-soft);
}

.contact-card h3 {
    margin: 0 0 8px;
}

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

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 64px;
    padding: 35px;
    border: 1px solid rgba(255, 122, 26, 0.3);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.11), rgba(88, 127, 218, 0.1));
}

.cta h2 {
    margin: 0 0 5px;
}

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

footer {
    padding: 48px 0 30px;
    border-top: 1px solid var(--line);
    background: #050c17;
    color: white;
}

.footer-content {
    display: block;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 360px;
}

.footer-brand p {
    color: var(--muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 8px 28px;
    margin: 0;
}

.footer-links a {
    margin: 0;
    color: #c5d0e2;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--orange-soft);
    text-decoration: none;
}

.copyright {
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: #8290a7;
    font-size: 13px;
}

@media (max-width: 1050px) {
    .header-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 15px 0;
    }

    nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    nav ul {
        width: max-content;
    }
}

@media (max-width: 800px) {
    .features,
    .testimonial-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .side-nav {
        position: static;
    }

    .hero {
        min-height: 540px;
    }

    .hero-content {
        padding: 95px 0;
    }

    .footer-top,
    .cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .hero h1 {
        font-size: 43px;
    }

    .btn {
        width: 100%;
    }

    .btn-secondary {
        margin: 10px 0 0;
    }

    .url-list li,
    .contact-grid {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .url-list li {
        flex-direction: column;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
