:root {
    --ink: #151629;
    --ink-soft: #3f3d56;
    --muted: #6f7484;
    --line: #e7e9ef;
    --surface: #ffffff;
    --surface-alt: #f6f7fb;
    --accent: #ff7a1a;
    --accent-dark: #ed5f08;
    --dark: #0c1020;
    --radius: 8px;
    --shadow: 0 18px 45px rgba(15, 18, 35, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--surface);
    color: var(--ink);
    font-family: 'Poppins', Arial, sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

.section {
    padding: 96px 0;
    scroll-margin-top: 88px;
}

.section-label {
    color: var(--accent);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--ink-soft);
    font-family: 'Sora', 'Poppins', sans-serif;
    line-height: 1.12;
}

h1 {
    color: #ffffff;
    font-size: clamp(2.45rem, 5.2vw, 4.05rem);
    max-width: 940px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
    font-size: 1.18rem;
}

p {
    color: var(--muted);
    line-height: 1.8;
}

.btn {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

.btn-secondary:hover {
    border-color: #ffffff;
}

.btn-outline-dark {
    border-color: rgba(63, 61, 86, 0.24);
    color: var(--ink-soft);
}

.btn-outline-dark:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.site-header {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 20;
    transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-sticky {
    background: rgba(12, 16, 32, 0.96);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

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

.brand img {
    width: 190px;
}

.main-nav {
    align-items: center;
    display: flex;
    gap: 28px;
}

.main-nav a {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
}

.main-nav a::after {
    background: var(--accent);
    content: '';
    display: block;
    height: 2px;
    margin-top: 6px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-cta {
    background: var(--accent);
    border-radius: 4px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 12px 22px;
}

.hero {
    min-height: 700px;
    overflow: hidden;
    padding: 132px 0 76px;
    position: relative;
}

.hero-bg {
    background:
        linear-gradient(90deg, rgba(12, 16, 32, 0.94) 0%, rgba(12, 16, 32, 0.82) 48%, rgba(12, 16, 32, 0.68) 100%),
        url('../img/analytics.jpg') center / cover;
    inset: 0;
    position: absolute;
}

.hero::after {
    background: var(--accent);
    bottom: 0;
    content: '';
    height: 8px;
    left: 0;
    position: absolute;
    width: 100%;
}

.hero-grid {
    align-items: center;
    display: grid;
    gap: 58px;
    grid-template-columns: minmax(0, 1.25fr) 360px;
    min-height: 458px;
    position: relative;
    z-index: 1;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    margin-top: 24px;
    max-width: 660px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-panel {
    display: grid;
    gap: 18px;
}

.panel-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    color: #ffffff;
    display: flex;
    gap: 18px;
    padding: 22px;
}

.panel-card img {
    background: #ffffff;
    border-radius: 4px;
    padding: 10px;
    width: 58px;
}

.panel-card span {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.about {
    background: var(--surface);
}

.about-grid {
    align-items: center;
    display: grid;
    gap: 72px;
    grid-template-columns: 0.95fr 1.05fr;
}

.about-media {
    position: relative;
}

.about-media::before {
    background: var(--accent);
    content: '';
    height: 86%;
    left: -18px;
    position: absolute;
    top: -18px;
    width: 86%;
    z-index: 0;
}

.about-media img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    position: relative;
    width: 100%;
    z-index: 1;
}

.about-copy p {
    margin: 24px 0 28px;
}

.trust-list {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
}

.trust-list div {
    align-items: center;
    color: var(--ink-soft);
    display: flex;
    font-weight: 700;
    gap: 12px;
}

.trust-list img {
    width: 22px;
}

.services {
    background:
        linear-gradient(135deg, rgba(12, 16, 32, 0.96), rgba(63, 61, 86, 0.94)),
        url('../img/analytics.jpg') center / cover;
    position: relative;
}

.services .section-heading {
    margin: 0 auto 46px;
    max-width: 700px;
    text-align: center;
}

.services h2 {
    color: #ffffff;
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
    min-height: 390px;
    padding: 38px;
    position: relative;
}

.service-card::before {
    background: var(--accent);
    content: '';
    height: 4px;
    left: 38px;
    position: absolute;
    right: 38px;
    top: 0;
}

.service-icon {
    align-items: center;
    background: #fff4ec;
    border-radius: 6px;
    display: flex;
    height: 74px;
    justify-content: center;
    margin-bottom: 24px;
    width: 74px;
}

.service-icon img {
    width: 44px;
}

.service-card h3 {
    margin-bottom: 20px;
}

.service-card li {
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.75;
    padding-left: 20px;
    position: relative;
}

.service-card li + li {
    margin-top: 10px;
}

.service-card li::before {
    background: var(--accent);
    border-radius: 50%;
    content: '';
    height: 7px;
    left: 0;
    position: absolute;
    top: 0.72em;
    width: 7px;
}

.contact {
    background: var(--surface-alt);
}

.portfolio {
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.portfolio::before {
    background: var(--accent);
    content: '';
    height: 760px;
    position: absolute;
    right: 0;
    top: 0;
    width: min(32vw, 420px);
    z-index: 0;
}

.portfolio-grid {
    align-items: center;
    display: grid;
    gap: 72px;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    position: relative;
    z-index: 1;
}

.portfolio-copy p {
    margin: 24px 0;
    max-width: 620px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.portfolio-tags span {
    background: #fff4ec;
    border: 1px solid #ffd8bd;
    border-radius: 999px;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 14px;
}

.portfolio-solutions {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
}

.portfolio-solutions div {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.portfolio-solutions strong,
.portfolio-solutions span {
    display: block;
}

.portfolio-solutions strong {
    color: var(--ink-soft);
    font-family: 'Sora', sans-serif;
    margin-bottom: 4px;
}

.portfolio-solutions span {
    color: var(--muted);
    line-height: 1.65;
}

.portfolio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.product-actions {
    margin-top: 26px;
}

.portfolio-visual {
    background:
        linear-gradient(135deg, rgba(12, 16, 32, 0.94), rgba(63, 61, 86, 0.88)),
        url('../img/analytics.jpg') center / cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: var(--radius);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
    padding: 30px;
}

.dashboard-header {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.dashboard-header span {
    color: var(--accent-dark);
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.dashboard-header small {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
}

.dashboard-title {
    color: var(--ink-soft);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    margin-bottom: 22px;
}

.metric-row {
    align-items: center;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.metric-row strong {
    color: var(--ink-soft);
}

.metric-bar {
    background: #edf0f6;
    border-radius: 999px;
    height: 8px;
    margin-top: 8px;
    overflow: hidden;
}

.metric-bar span {
    background: linear-gradient(90deg, var(--accent), var(--accent-dark));
    display: block;
    height: 100%;
}

.dashboard-card p {
    background: var(--surface-alt);
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 24px;
    padding: 16px;
}

.portfolio-product {
    align-items: center;
    display: grid;
    gap: 52px;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    margin-top: 82px;
    position: relative;
    z-index: 1;
}

.product-shot {
    background: var(--dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    padding: 10px;
}

.product-shot img {
    border-radius: 6px;
    width: 100%;
}

.product-copy {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 42px;
}

.product-copy h3 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    margin-bottom: 20px;
}

.product-copy p {
    margin-bottom: 28px;
}

.product-points {
    display: grid;
    gap: 14px;
}

.product-points div {
    background: var(--surface-alt);
    border-radius: 6px;
    padding: 16px 18px;
}

.product-points strong,
.product-points span {
    display: block;
}

.product-points strong {
    color: var(--ink-soft);
    font-family: 'Sora', sans-serif;
    margin-bottom: 5px;
}

.product-points span {
    color: var(--muted);
    line-height: 1.65;
}

.cloud-guard-context,
.cloud-guard-showcase,
.product-note {
    position: relative;
    z-index: 1;
}

.cloud-guard-context {
    margin-top: 76px;
}

.context-heading,
.showcase-copy {
    max-width: 760px;
}

.context-heading h3,
.showcase-copy h3 {
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    margin-bottom: 18px;
}

.context-heading p,
.showcase-copy p {
    max-width: 720px;
}

.context-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 34px;
}

.context-grid article {
    background: var(--surface-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}

.context-grid article span {
    color: var(--accent-dark);
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.context-grid h4 {
    color: var(--ink-soft);
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.context-grid p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.cloud-guard-showcase {
    margin-top: 82px;
}

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

.showcase-grid figure {
    background: #0a0b0f;
    border: 1px solid rgba(12, 16, 32, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.showcase-grid .showcase-main {
    grid-column: 1 / -1;
}

.showcase-grid img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top left;
    width: 100%;
}

.showcase-grid figcaption {
    background: #ffffff;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 72px;
    padding: 16px 18px;
}

.product-note {
    align-items: flex-start;
    background: #fff8f2;
    border: 1px solid #ffd8bd;
    border-radius: var(--radius);
    display: flex;
    gap: 12px;
    margin-top: 34px;
    padding: 18px 20px;
}

.product-note strong {
    color: var(--accent-dark);
    flex: 0 0 auto;
    font-family: 'Sora', sans-serif;
    font-size: 0.9rem;
}

.product-note span {
    color: var(--muted);
    line-height: 1.65;
}

.portfolio-hero {
    background:
        linear-gradient(90deg, rgba(12, 16, 32, 0.96) 0%, rgba(12, 16, 32, 0.88) 52%, rgba(63, 61, 86, 0.78) 100%),
        url('../img/analytics.jpg') center / cover;
    overflow: hidden;
    padding: 148px 0 76px;
    position: relative;
}

.portfolio-hero::after {
    background: var(--accent);
    bottom: 0;
    content: '';
    height: 8px;
    left: 0;
    position: absolute;
    width: 100%;
}

.portfolio-hero-grid {
    align-items: center;
    display: grid;
    gap: 54px;
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    position: relative;
    z-index: 1;
}

.portfolio-hero h1 {
    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.portfolio-hero p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.06rem;
    margin-top: 22px;
    max-width: 650px;
}

.portfolio-hero-shot {
    background: #080b12;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    padding: 8px;
}

.portfolio-hero-shot img {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    object-fit: cover;
    object-position: top left;
    width: 100%;
}

.portfolio-detail::before {
    height: 560px;
}

.portfolio-product-top {
    margin-top: 0;
}

.contact-grid {
    align-items: stretch;
    display: grid;
    gap: 32px;
    grid-template-columns: 0.82fr 1.18fr;
}

.contact-copy,
.contact-visual {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-copy {
    padding: 44px;
}

.contact-info {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-info span {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    display: block;
    line-height: 1.7;
    padding-bottom: 16px;
}

.contact-info span:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-visual {
    align-items: flex-end;
    display: flex;
    min-height: 430px;
    overflow: hidden;
    position: relative;
}

.contact-visual > img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.contact-visual::after {
    background: linear-gradient(180deg, rgba(12, 16, 32, 0.16), rgba(12, 16, 32, 0.78));
    content: '';
    inset: 0;
    position: absolute;
}

.contact-visual-card {
    background: #ffffff;
    border-radius: 6px;
    margin: 32px;
    padding: 18px 24px;
    position: relative;
    width: min(280px, calc(100% - 64px));
    z-index: 1;
}

.contact-visual-card img {
    height: 72px;
    object-fit: contain;
    width: 100%;
}

.contact-visual {
    min-height: 430px;
}

.footer {
    background: var(--ink-soft);
    color: #ffffff;
    padding: 54px 0 34px;
}

.footer-inner {
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer img {
    width: 220px;
}

.socials {
    align-items: center;
    display: flex;
    gap: 18px;
    margin: 22px 0 28px;
}

.socials img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
    width: 28px;
}

.socials a:hover img {
    opacity: 1;
    transform: translateY(-3px);
}

.footer p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .section {
        padding: 76px 0;
    }

    .header-inner {
        min-height: 74px;
    }

    .brand img {
        width: 150px;
    }

    .main-nav {
        gap: 22px;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-grid,
    .about-grid,
    .portfolio-grid,
    .portfolio-hero-grid,
    .portfolio-product,
    .contact-grid,
    .context-grid,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid .showcase-main {
        grid-column: auto;
    }

    .portfolio::before {
        display: none;
    }

    .hero-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .site-header {
        background: rgba(12, 16, 32, 0.96);
    }

    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .main-nav a {
        font-size: 0.84rem;
    }

    .header-cta {
        position: absolute;
        right: 14px;
        top: 20px;
    }

    .hero {
        min-height: auto;
        padding: 172px 0 74px;
    }

    .portfolio-hero {
        padding: 172px 0 68px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-panel,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        display: none;
    }

    .panel-card {
        padding: 18px;
    }

    .about-media::before {
        left: -10px;
        top: -10px;
    }

    .service-card,
    .dashboard-card,
    .product-copy,
    .contact-copy {
        padding: 28px;
    }

    .portfolio-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .portfolio-hero-shot {
        padding: 6px;
    }

    .portfolio-visual {
        padding: 18px;
    }

    .portfolio-product {
        gap: 28px;
        margin-top: 52px;
    }

    .cloud-guard-context,
    .cloud-guard-showcase {
        margin-top: 52px;
    }

    .product-shot {
        padding: 6px;
    }

    .context-grid article {
        padding: 20px;
    }

    .showcase-grid img {
        aspect-ratio: 4 / 3;
    }

    .showcase-grid figcaption {
        min-height: auto;
    }

    .product-note {
        display: block;
    }

    .product-note strong {
        display: block;
        margin-bottom: 8px;
    }

    .contact-visual {
        min-height: 320px;
    }
}

@media (max-width: 420px) {
    h1 {
        font-size: 2.25rem;
    }

    .brand img {
        width: 132px;
    }

    .main-nav {
        gap: 16px;
    }

    .header-cta {
        padding: 10px 16px;
    }
}
