/* =========================================================
   ABRPLUS V4
   Enterprise Infrastructure Design System
========================================================= */


/* =========================================================
   FONTS
========================================================= */

@font-face {
    font-family: "IRANSans";
    src: url("../fonts/iransans/IRANSans.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "IRANSans";
    src: url("../fonts/iransans/IRANSansBold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================================================
   DESIGN SYSTEM
========================================================= */

:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-soft: #f0f4f8;

    --navy: #0b1220;
    --navy-2: #111c2f;
    --navy-3: #17243a;

    --text: #172033;
    --text-soft: #344054;
    --muted: #667085;
    --muted-light: #98a2b3;

    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-deep: #173ea5;
    --blue-soft: #eff6ff;

    --cyan: #0891b2;

    --green: #16a34a;

    --border: #e2e8f0;
    --border-dark: #d0d7e2;

    --white: #ffffff;

    --shadow-sm:
        0 8px 24px rgba(15, 23, 42, 0.05);

    --shadow:
        0 20px 55px rgba(15, 23, 42, 0.08);

    --shadow-lg:
        0 32px 90px rgba(15, 23, 42, 0.14);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--text);

    background: var(--bg);

    font-family:
        "IRANSans",
        Tahoma,
        Arial,
        sans-serif;

    line-height: 1.9;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;

    top: 0;

    z-index: 1000;

    border-bottom: 1px solid rgba(226, 232, 240, 0.92);

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;

    display: flex;

    align-items: center;

    gap: 38px;
}


/* Brand */

.brand {
    direction: ltr;

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    gap: 11px;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: var(--white);

    background: var(--navy);

    font-family: Arial, sans-serif;

    font-size: 21px;

    font-weight: 700;

    box-shadow:
        0 8px 22px rgba(11, 18, 32, 0.16);
}

.brand-copy {
    display: flex;

    flex-direction: column;

    line-height: 1.1;
}

.brand-name {
    color: var(--navy);

    font-family:
        Arial,
        sans-serif;

    font-size: 23px;

    letter-spacing: -0.7px;
}

.brand-name span {
    color: var(--blue);
}

.brand-copy small {
    margin-top: 5px;

    color: var(--muted);

    font-family:
        Arial,
        sans-serif;

    font-size: 8px;

    letter-spacing: 0.3px;

    text-transform: uppercase;
}


/* Navigation */

.main-nav {
    margin-right: auto;

    display: flex;

    align-items: center;

    gap: 27px;

    color: #475467;

    font-size: 13px;
}

.main-nav a {
    position: relative;

    padding: 27px 0 24px;

    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 18px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--blue);

    transition: width 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.header-cta {
    min-height: 42px;

    padding: 0 17px;

    display: inline-flex;

    align-items: center;

    gap: 11px;

    border-radius: 9px;

    color: var(--white);

    background: var(--navy);

    font-size: 11px;

    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.header-cta:hover {
    transform: translateY(-2px);

    background: var(--blue);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    padding: 90px 0 34px;

    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f8fafc 100%
        );
}

.hero-decoration {
    position: absolute;

    width: 600px;
    height: 600px;

    left: -360px;
    top: -300px;

    border-radius: 50%;

    background:
        rgba(37, 99, 235, 0.045);

    pointer-events: none;
}

.hero-layout {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.92fr)
        minmax(0, 1.08fr);

    align-items: center;

    gap: 88px;
}


/* Hero content */

.eyebrow {
    width: fit-content;

    margin-bottom: 20px;

    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--blue);

    font-size: 11px;
}

.eyebrow span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 0 5px var(--blue-soft);
}

.eyebrow b {
    font-weight: 700;
}

.hero h1 {
    max-width: 650px;

    margin: 0;

    color: var(--navy);

    font-size: clamp(43px, 5vw, 64px);

    font-weight: 700;

    line-height: 1.45;

    letter-spacing: -1.6px;
}

.hero h1 span {
    display: block;

    color: var(--blue);
}

.hero-description {
    max-width: 620px;

    margin: 23px 0 30px;

    color: var(--muted);

    font-size: 15px;

    line-height: 2.15;
}

.hero-description strong {
    color: var(--text);

    font-weight: 700;
}

.hero-actions {
    display: flex;

    align-items: center;

    gap: 11px;
}

.button {
    min-height: 49px;

    padding: 0 21px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 13px;

    border: 1px solid transparent;

    border-radius: 10px;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);

    background: var(--blue);

    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.18);
}

.button-primary:hover {
    background: var(--blue-dark);

    box-shadow:
        0 16px 36px rgba(37, 99, 235, 0.23);
}

.button-secondary {
    color: var(--text);

    border-color: var(--border-dark);

    background: var(--white);
}

.button-secondary:hover {
    color: var(--blue);

    border-color: #b8c8e8;

    background: var(--blue-soft);
}


/* Trust */

.hero-trust {
    margin-top: 38px;

    padding-top: 25px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 0;

    border-top: 1px solid var(--border);
}

.hero-trust div {
    padding-left: 18px;

    display: flex;

    flex-direction: column;
}

.hero-trust div:not(:first-child) {
    padding-right: 18px;

    border-right: 1px solid var(--border);
}

.hero-trust strong {
    color: var(--navy);

    font-size: 12px;
}

.hero-trust span {
    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   HERO INFRASTRUCTURE VISUAL
========================================================= */

.hero-visual {
    position: relative;

    direction: ltr;
}

.infra-panel {
    position: relative;

    overflow: hidden;

    border: 1px solid var(--border-dark);

    border-radius: var(--radius-lg);

    background: var(--white);

    box-shadow: var(--shadow-lg);
}

.infra-panel-header {
    min-height: 59px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid var(--border);

    background: #fbfcfe;
}

.infra-panel-title {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--navy);

    font-family: Arial, sans-serif;

    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 4px rgba(22, 163, 74, 0.09);
}

.infra-state {
    padding: 5px 9px;

    border: 1px solid #cddaf5;

    border-radius: 6px;

    color: var(--blue-dark);

    background: var(--blue-soft);

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.8px;
}


/* Stage */

.infra-stage {
    position: relative;

    height: 400px;

    overflow: hidden;

    background: #fbfcfe;
}

.infra-stage-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(148, 163, 184, 0.12) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(148, 163, 184, 0.12) 1px,
            transparent 1px
        );

    background-size: 32px 32px;

    mask-image:
        radial-gradient(
            circle at center,
            #000 20%,
            rgba(0, 0, 0, 0.65) 62%,
            transparent 95%
        );
}

.infra-lines {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;
}

.infra-lines path {
    fill: none;

    stroke: #94a3b8;

    stroke-width: 1.25;

    stroke-dasharray: 6 7;
}


/* Core */

.infra-core {
    position: absolute;

    z-index: 4;

    left: 50%;
    top: 50%;

    width: 145px;
    height: 145px;

    transform: translate(-50%, -50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border: 10px solid #e9efff;

    border-radius: 50%;

    color: var(--white);

    background: var(--blue);

    box-shadow:
        0 18px 45px rgba(37, 99, 235, 0.23);
}

.core-icon {
    margin-bottom: 3px;

    font-size: 28px;
}

.infra-core strong {
    font-family: Arial, sans-serif;

    font-size: 14px;
}

.infra-core span {
    margin-top: 1px;

    color: rgba(255, 255, 255, 0.78);

    font-family: Arial, sans-serif;

    font-size: 9px;
}


/* Nodes */

.infra-item {
    position: absolute;

    z-index: 5;

    width: 145px;

    min-height: 64px;

    padding: 10px;

    display: flex;

    align-items: center;

    gap: 9px;

    border: 1px solid var(--border-dark);

    border-radius: 11px;

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.infra-item:hover {
    transform: translateY(-3px);

    border-color: #b9c9e7;

    box-shadow: var(--shadow);
}

.item-compute {
    left: 5%;
    top: 10%;
}

.item-network {
    right: 5%;
    top: 10%;
}

.item-storage {
    left: 5%;
    bottom: 10%;
}

.item-security {
    right: 5%;
    bottom: 10%;
}

.infra-item-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    color: var(--blue);

    background: var(--blue-soft);

    font-size: 15px;
}

.infra-item div {
    display: flex;

    flex-direction: column;
}

.infra-item strong {
    color: var(--navy);

    font-family: Arial, sans-serif;

    font-size: 11px;
}

.infra-item small {
    margin-top: 2px;

    color: var(--muted);

    font-family: Arial, sans-serif;

    font-size: 8px;
}


/* Panel footer */

.infra-panel-footer {
    min-height: 72px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);
}

.infra-panel-footer div {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}

.infra-panel-footer div:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;

    width: 1px;
    height: 28px;

    background: var(--border);
}

.infra-panel-footer span {
    color: var(--muted-light);

    font-family: Arial, sans-serif;

    font-size: 7px;

    letter-spacing: 0.6px;
}

.infra-panel-footer strong {
    margin-top: 2px;

    color: var(--green);

    font-family: Arial, sans-serif;

    font-size: 9px;
}


/* Floating badges */

.visual-badge {
    position: absolute;

    z-index: 10;

    padding: 8px 11px;

    border: 1px solid var(--border);

    border-radius: 8px;

    color: var(--text-soft);

    background: rgba(255, 255, 255, 0.96);

    box-shadow: var(--shadow-sm);

    font-family: Arial, sans-serif;

    font-size: 9px;

    font-weight: 700;
}

.visual-badge-top {
    top: 83px;
    right: -27px;
}

.visual-badge-top span {
    margin-right: 4px;

    color: var(--green);

    font-size: 8px;
}

.visual-badge-bottom {
    left: -25px;
    bottom: 95px;

    color: var(--blue);
}


/* Hero stack */

.hero-stack {
    position: relative;

    z-index: 2;

    margin-top: 67px;

    padding-top: 24px;

    display: flex;

    align-items: center;

    gap: 20px;

    border-top: 1px solid var(--border);
}

.hero-stack > span {
    flex: 0 0 auto;

    color: var(--muted);

    font-size: 10px;
}

.stack-divider {
    height: 1px;

    flex: 1;

    background: var(--border);
}

.hero-stack > div:last-child {
    direction: ltr;

    display: flex;

    align-items: center;

    gap: 30px;
}

.hero-stack strong {
    color: #475467;

    font-family: Arial, sans-serif;

    font-size: 12px;
}


/* =========================================================
   SHARED SECTION HEADING
========================================================= */

.section-heading {
    margin-bottom: 45px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 0.45fr);

    align-items: end;

    gap: 70px;
}

.section-kicker {
    display: inline-block;

    margin-bottom: 9px;

    color: var(--blue);

    font-size: 11px;

    font-weight: 700;
}

.section-heading h2 {
    margin: 0;

    color: var(--navy);

    font-size: 34px;

    line-height: 1.6;
}

.section-heading-side p {
    margin: 0 0 9px;

    color: var(--muted);

    font-size: 11px;

    line-height: 2;
}

.section-heading-side a {
    color: var(--blue);

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    padding: 105px 0;

    background: var(--white);
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}

.service-card {
    position: relative;

    min-height: 300px;

    padding: 24px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--surface);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    border-color: #bac9e4;

    box-shadow: var(--shadow);
}

.service-featured {
    border-color: #c8d7f7;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f5f8ff
        );
}

.service-top {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.service-index {
    color: var(--muted-light);

    font-family: Arial, sans-serif;

    font-size: 9px;
}

.service-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    color: var(--blue);

    background: var(--blue-soft);

    font-size: 17px;
}

.service-type {
    display: block;

    margin-bottom: 5px;

    color: var(--blue);

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.8px;
}

.service-card h3 {
    margin: 0 0 8px;

    color: var(--navy);

    font-size: 17px;
}

.service-card p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;

    line-height: 2;
}

.service-link {
    color: var(--blue);

    font-size: 10px;

    font-weight: 700;
}

.service-compact {
    min-height: 230px;

    background: #fbfcfe;
}


/* =========================================================
   MIGRATION
========================================================= */

.migration-section {
    position: relative;

    overflow: hidden;

    padding: 105px 0;

    color: var(--white);

    background: var(--navy);
}

.migration-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -330px;
    top: -330px;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.07);

    box-shadow:
        0 0 0 80px rgba(255, 255, 255, 0.018),
        0 0 0 160px rgba(255, 255, 255, 0.012);
}

.migration-layout {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 100px;
}

.dark-kicker {
    display: block;

    margin-bottom: 11px;

    color: #93b4ff;

    font-size: 10px;

    font-weight: 700;
}

.migration-brandline {
    direction: ltr;

    margin-bottom: 15px;

    display: flex;

    align-items: center;

    gap: 12px;

    color: #94a3b8;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: 700;
}

.migration-brandline b {
    color: #5f8cff;

    font-size: 17px;
}

.migration-content h2 {
    max-width: 600px;

    margin: 0;

    color: var(--white);

    font-size: 35px;

    line-height: 1.65;
}

.migration-content p {
    max-width: 610px;

    margin: 18px 0 28px;

    color: #aebbcf;

    font-size: 12px;

    line-height: 2.15;
}

.dark-button {
    min-height: 47px;

    padding: 0 18px;

    display: inline-flex;

    align-items: center;

    gap: 14px;

    border: 1px solid rgba(255, 255, 255, 0.14);

    border-radius: 9px;

    color: var(--white);

    background: var(--blue);

    font-size: 11px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.dark-button:hover {
    transform: translateY(-2px);

    background: #3974f4;
}


/* Migration steps */

.migration-steps {
    direction: ltr;

    padding: 16px;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 18px;

    background: rgba(255, 255, 255, 0.035);
}

.migration-step {
    min-height: 78px;

    padding: 13px 15px;

    display: flex;

    align-items: center;

    gap: 16px;

    border-radius: 11px;

    transition: background 0.2s ease;
}

.migration-step:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.migration-step:hover {
    background: rgba(255, 255, 255, 0.045);
}

.migration-step > span {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: grid;

    place-items: center;

    border: 1px solid rgba(111, 151, 255, 0.24);

    border-radius: 8px;

    color: #8eb0ff;

    background: rgba(37, 99, 235, 0.09);

    font-family: Arial, sans-serif;

    font-size: 9px;
}

.migration-step div {
    display: flex;

    flex-direction: column;
}

.migration-step strong {
    color: var(--white);

    font-family: Arial, sans-serif;

    font-size: 12px;
}

.migration-step small {
    margin-top: 3px;

    color: #8f9eb3;

    font-size: 9px;
}


/* =========================================================
   KNOWLEDGE HUB
   Existing home-latest-articles.php compatibility
========================================================= */

.knowledge-section {
    padding: 105px 0;

    background: var(--bg);
}

.knowledge-section .section-header {
    margin-bottom: 42px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(250px, 0.45fr);

    align-items: end;

    gap: 60px;
}

.knowledge-section .section-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--blue);

    font-size: 11px;

    font-weight: 700;
}

.knowledge-section .section-header h2 {
    margin: 0;

    color: var(--navy);

    font-size: 34px;

    line-height: 1.6;
}

.knowledge-section .section-header h2 span {
    color: var(--blue);
}

.knowledge-section .section-header p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;

    line-height: 2;
}

.articles-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.article-card {
    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.article-card:hover {
    transform: translateY(-5px);

    border-color: #bdcbe3;

    box-shadow: var(--shadow);
}

.article-cover {
    direction: ltr;

    position: relative;

    height: 175px;

    padding: 20px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    overflow: hidden;

    color: var(--white);

    background: var(--navy);
}

.article-cover::before {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -70px;
    top: -75px;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(255, 255, 255, 0.018);
}

.article-cover span,
.article-cover strong {
    position: relative;

    z-index: 2;
}

.article-cover span {
    color: #a9bde9;

    font-family: Arial, sans-serif;

    font-size: 9px;

    letter-spacing: 1px;
}

.article-cover strong {
    color: rgba(255, 255, 255, 0.93);

    font-family: Arial, sans-serif;

    font-size: 36px;
}

.article-openstack {
    background: #172554;
}

.article-ceph {
    background: #15344a;
}

.article-migration {
    background: #172033;
}

.article-body {
    padding: 21px;
}

.article-category {
    color: var(--blue);

    font-size: 9px;

    font-weight: 700;
}

.article-body h3 {
    min-height: 57px;

    margin: 6px 0 9px;

    color: var(--navy);

    font-size: 14px;

    line-height: 1.85;
}

.article-body p {
    min-height: 46px;

    margin: 0 0 16px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.9;
}

.article-body a {
    color: var(--blue);

    font-size: 10px;

    font-weight: 700;
}

.center-action {
    margin-top: 30px;

    text-align: center;
}

.outline-button {
    min-height: 43px;

    padding: 0 17px;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    border: 1px solid var(--border-dark);

    border-radius: 9px;

    color: var(--text-soft);

    background: var(--white);

    font-size: 10px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.outline-button:hover {
    transform: translateY(-2px);

    color: var(--blue);

    border-color: #b8c8e8;
}


/* =========================================================
   TOOLS
========================================================= */

.tools-section {
    padding: 105px 0;

    border-top: 1px solid var(--border);

    background: var(--white);
}

.tools-grid {
    direction: ltr;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.tool-card {
    min-height: 135px;

    padding: 19px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: #fbfcfe;

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.tool-card:hover {
    transform: translateY(-4px);

    border-color: #bdcbe3;

    background: var(--white);

    box-shadow: var(--shadow-sm);
}

.tool-icon {
    width: 37px;
    height: 37px;

    margin-bottom: 16px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    color: var(--blue);

    background: var(--blue-soft);

    font-family: Arial, sans-serif;

    font-size: 14px;
}

.tool-card > div {
    display: flex;

    flex-direction: column;
}

.tool-card strong {
    color: var(--navy);

    font-family: Arial, sans-serif;

    font-size: 11px;
}

.tool-card small {
    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;
}

.tool-arrow {
    margin-top: auto;
    margin-left: auto;

    color: var(--muted-light);

    font-size: 12px;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 95px 0;

    background: var(--bg);
}

.cta-panel {
    position: relative;

    overflow: hidden;

    min-height: 255px;

    padding: 48px 52px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;

    border-radius: 22px;

    color: var(--white);

    background: var(--navy);

    box-shadow: var(--shadow-lg);
}

.cta-panel::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -180px;
    bottom: -240px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    box-shadow:
        0 0 0 60px rgba(255, 255, 255, 0.015);
}

.cta-panel > * {
    position: relative;

    z-index: 2;
}

.cta-kicker {
    color: #7fa5ff;

    font-family: Arial, sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.3px;
}

.cta-panel h2 {
    max-width: 620px;

    margin: 8px 0 10px;

    color: var(--white);

    font-size: 30px;

    line-height: 1.65;
}

.cta-panel p {
    max-width: 650px;

    margin: 0;

    color: #aab7ca;

    font-size: 11px;

    line-height: 2;
}

.cta-button {
    min-width: 190px;

    min-height: 50px;

    padding: 0 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 9px;

    color: var(--navy);

    background: var(--white);

    font-size: 11px;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);

    background: var(--blue-soft);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 55px 0 24px;

    color: #94a3b8;

    background: #080e19;
}

.footer-main {
    padding-bottom: 38px;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 50px;
}

.footer-identity {
    max-width: 370px;
}

.footer-logo {
    direction: ltr;

    display: inline-block;

    color: var(--white);

    font-family: Arial, sans-serif;

    font-size: 25px;

    font-weight: 700;
}

.footer-logo span {
    color: #5f8cff;
}

.footer-identity p {
    margin: 10px 0 0;

    color: #7f8da2;

    font-size: 10px;

    line-height: 2;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 25px;

    color: #a6b0bf;

    font-size: 10px;
}

.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    color: #64748b;

    font-family: Arial, sans-serif;

    font-size: 8px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 17px;
    }

    .hero-layout {
        gap: 50px;
    }

    .migration-layout {
        gap: 60px;
    }
}


@media (max-width: 960px) {

    .main-nav {
        display: none;
    }

    .header-inner {
        justify-content: space-between;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-layout {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero-content {
        max-width: 720px;
    }

    .hero-visual {
        width: 100%;

        max-width: 680px;

        margin-inline: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .migration-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .migration-content {
        max-width: 720px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 760px) {

    .section-heading,
    .knowledge-section .section-header {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-body h3,
    .article-body p {
        min-height: 0;
    }

    .cta-panel {
        align-items: flex-start;

        flex-direction: column;

        gap: 30px;
    }

    .cta-button {
        width: 100%;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 68px;
    }

    .header-cta {
        display: none;
    }

    .brand-mark {
        width: 38px;
        height: 38px;

        font-size: 18px;
    }

    .brand-name {
        font-size: 21px;
    }

    .hero {
        padding: 52px 0 25px;
    }

    .hero h1 {
        font-size: 36px;

        line-height: 1.55;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        align-items: stretch;

        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-trust {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .hero-trust div,
    .hero-trust div:not(:first-child) {
        padding: 0;

        border: 0;
    }

    .infra-stage {
        height: 340px;
    }

    .infra-item {
        width: 105px;

        min-height: 54px;

        padding: 8px;
    }

    .infra-item-icon {
        display: none;
    }

    .item-compute,
    .item-storage {
        left: 3%;
    }

    .item-network,
    .item-security {
        right: 3%;
    }

    .infra-core {
        width: 115px;
        height: 115px;

        border-width: 7px;
    }

    .infra-core strong {
        font-size: 11px;
    }

    .infra-core span {
        font-size: 8px;
    }

    .core-icon {
        font-size: 23px;
    }

    .infra-panel-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-panel-footer div {
        min-height: 58px;
    }

    .infra-panel-footer div:nth-child(2)::after {
        display: none;
    }

    .visual-badge {
        display: none;
    }

    .hero-stack {
        align-items: flex-start;

        flex-direction: column;

        gap: 13px;

        margin-top: 45px;
    }

    .stack-divider {
        display: none;
    }

    .hero-stack > div:last-child {
        width: 100%;

        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 10px 20px;
    }

    .services-section,
    .migration-section,
    .knowledge-section,
    .tools-section {
        padding: 72px 0;
    }

    .section-heading h2,
    .knowledge-section .section-header h2 {
        font-size: 27px;
    }

    .services-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .service-compact {
        min-height: 245px;
    }

    .migration-content h2 {
        font-size: 28px;
    }

    .migration-steps {
        padding: 9px;
    }

    .migration-step {
        padding: 12px 9px;
    }

    .final-cta {
        padding: 65px 0;
    }

    .cta-panel {
        min-height: auto;

        padding: 34px 24px;
    }

    .cta-panel h2 {
        font-size: 25px;
    }

    .footer-main {
        flex-direction: column;
    }

    .footer-links {
        gap: 15px 20px;
    }

    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }
}