:root {
    --bg: #f5f7fb;
    --bg-deep: #0a1830;
    --surface: #ffffff;
    --surface-soft: #eef3f8;
    --surface-dark: #101d36;
    --text: #11233d;
    --text-soft: #5b6b81;
    --text-light: #dbe8f7;
    --line: rgba(17, 35, 61, 0.1);
    --line-light: rgba(255, 255, 255, 0.12);
    --accent: #2a97de;
    --accent-2: #78d4ff;
    --shadow: 0 24px 60px rgba(10, 24, 48, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1220px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(42, 151, 222, 0.12), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%);
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 24, 48, 0.78);
    backdrop-filter: blur(16px);
}

.header-shell {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 84px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 6px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}

.site-nav a,
.header-cta,
.primary-btn,
.secondary-btn,
.contact-links a,
.footer-links a {
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.95rem;
    font-weight: 600;
}

.site-nav a:hover,
.contact-links a:hover,
.footer-links a:hover {
    color: #fff;
}

.header-cta,
.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
}

.header-cta,
.primary-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, #1872b7 100%);
    box-shadow: 0 14px 30px rgba(19, 120, 188, 0.28);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
    transform: translateY(-1px);
}

.secondary-btn {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 54px;
    background: linear-gradient(180deg, #0a1830 0%, #132344 58%, #10213e 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(120, 212, 255, 0.18), transparent 24%),
        radial-gradient(circle at 80% 15%, rgba(42, 151, 222, 0.22), transparent 22%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.95fr);
    gap: 44px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--accent-2);
    font-size: 0.83rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy,
.section-dark .section-heading,
.section-dark .security-copy {
    color: #fff;
}

.hero h1,
.section-heading h2,
.section-intro h2,
.contact-copy h2,
.security-copy h2,
.hero-brand-card h2 {
    margin: 0;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 5.2vw, 5.4rem);
    line-height: 0.98;
}

.hero-text,
.section-intro p,
.solution-card p,
.industry-card p,
.product-body p,
.partners-copy,
.security-copy p,
.security-card span,
.contact-copy p,
.contact-list,
.footer-shell p {
    color: var(--text-soft);
}

.hero-text {
    max-width: 690px;
    margin: 26px 0 0;
    color: rgba(219, 232, 247, 0.82);
    font-size: 1.08rem;
    line-height: 1.85;
}

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

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

.hero-brand-card,
.hero-metrics,
.stat-card,
.solution-card,
.industry-card,
.product-card,
.security-card,
.contact-card {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-brand-card {
    padding: 30px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 241, 249, 0.94));
}

.hero-brand-card img {
    width: 180px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
}

.hero-card-label {
    margin: 22px 0 0;
    color: #1f7ab9;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-brand-card h2 {
    margin-top: 14px;
    font-size: 1.9rem;
    line-height: 1.08;
    color: var(--text);
    max-width: 11ch;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
}

.hero-metrics article {
    min-height: 146px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.06);
}

.hero-metrics strong {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.18rem;
}

.hero-metrics span {
    color: rgba(219, 232, 247, 0.8);
    line-height: 1.65;
    font-size: 0.95rem;
}

.stats-band {
    margin-top: -28px;
    position: relative;
    z-index: 2;
    padding-bottom: 28px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.stat-card {
    display: grid;
    gap: 12px;
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    grid-column: span 3;
}

.stat-card-wide {
    grid-column: span 6;
}

.stat-card span {
    color: #6e7d91;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stat-card strong {
    font-size: 1.08rem;
    line-height: 1.45;
}

.section {
    padding: 92px 0;
}

.section-dark {
    background: linear-gradient(180deg, #0c1930 0%, #122240 100%);
}

.section-surface {
    background: linear-gradient(180deg, #eef4fa 0%, #f7f9fc 100%);
}

.page-hero {
    padding: 104px 0 64px;
    background: linear-gradient(180deg, #0b1830 0%, #122444 100%);
}

.page-hero-news {
    position: relative;
    overflow: hidden;
}

.page-hero-shell,
.article-shell {
    max-width: 920px;
}

.page-hero h1 {
    margin: 0;
    max-width: 12ch;
    color: #fff;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 1;
}

.page-hero-text {
    max-width: 760px;
    margin: 22px 0 0;
    color: rgba(219, 232, 247, 0.82);
    font-size: 1.08rem;
    line-height: 1.85;
}

.section-intro,
.section-heading,
.security-layout,
.contact-layout,
.footer-shell {
    display: grid;
    gap: 28px;
}

.section-intro,
.section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: end;
    margin-bottom: 36px;
}

.section-heading.light .eyebrow,
.section-dark .eyebrow,
.section-dark .section-heading p:last-child,
.section-dark .security-copy p {
    color: var(--text-light);
}

.section-heading h2,
.section-intro h2,
.contact-copy h2,
.security-copy h2 {
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    line-height: 1.06;
    max-width: 14ch;
}

.section-intro p,
.section-heading p:last-child,
.contact-copy p,
.security-copy p,
.partners-copy {
    font-size: 1.02rem;
    line-height: 1.88;
}

.solutions-grid,
.industry-grid,
.product-grid,
.security-grid {
    display: grid;
    gap: 18px;
}

.solutions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-card {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.solution-index {
    margin: 0 0 32px;
    color: var(--accent-2);
    font-size: 0.95rem;
    font-weight: 800;
}

.solution-card h3,
.industry-card strong {
    display: block;
    margin: 0 0 14px;
    font-size: 1.22rem;
    line-height: 1.25;
}

.solution-card h3,
.section-dark .solution-card p,
.section-dark .security-card strong,
.section-dark .security-card span {
    color: #fff;
}

.solution-card p,
.industry-card p,
.product-body p,
.security-card span {
    margin: 0;
    line-height: 1.75;
}

.industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.industry-card {
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
}

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

.product-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
}

.product-card.is-open {
    border-color: rgba(42, 151, 222, 0.22);
    box-shadow: 0 20px 46px rgba(27, 90, 145, 0.14);
}

.product-toggle {
    width: 100%;
    display: grid;
    gap: 8px;
    padding: 24px 56px 24px 24px;
    border: 0;
    background: transparent;
    text-align: left;
    position: relative;
    cursor: pointer;
}

.product-toggle::after {
    content: "+";
    position: absolute;
    right: 24px;
    top: 20px;
    color: #1c6aa5;
    font-size: 1.7rem;
    line-height: 1;
}

.product-card.is-open .product-toggle::after {
    content: "−";
}

.product-toggle span {
    font-size: 1.12rem;
    font-weight: 800;
}

.product-toggle small {
    color: var(--text-soft);
    font-size: 0.92rem;
}

.product-body {
    display: none;
    padding: 0 24px 24px;
}

.product-body ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
    line-height: 1.8;
}

.product-body li + li {
    margin-top: 6px;
}

.product-card.is-open .product-body {
    display: block;
}

.product-card.is-open .product-toggle span {
    color: #1c6aa5;
}

.news-preview-section {
    background: linear-gradient(180deg, #f9fbfe 0%, #eef4fa 100%);
}

.news-grid,
.news-list {
    display: grid;
    gap: 18px;
}

.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card,
.news-list-card {
    display: grid;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
}

.news-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(42, 151, 222, 0.1);
    color: #176ea9;
}

.news-card h3,
.news-list-card h2 {
    margin: 0;
    font-size: 1.38rem;
    line-height: 1.2;
}

.news-card p,
.news-list-card p,
.article-content p {
    margin: 0;
    color: var(--text-soft);
    line-height: 1.8;
}

.news-link {
    color: #176ea9;
    font-weight: 800;
}

.news-preview-actions {
    margin-top: 28px;
}

.news-list {
    grid-template-columns: 1fr;
}

.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: rgba(219, 232, 247, 0.78);
    font-size: 0.92rem;
}

.article-breadcrumbs a:hover {
    color: #fff;
}

.article-content {
    max-width: 880px;
    display: grid;
    gap: 20px;
}

.partners-copy {
    max-width: 860px;
    margin: -12px 0 28px;
}

.products-copy {
    max-width: 720px;
}

.partner-marquee {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 244, 250, 0.92));
    padding: 24px 0;
    box-shadow: var(--shadow);
}

.partner-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: partner-scroll 34s linear infinite;
}

.partner-marquee:hover .partner-track {
    animation-play-state: paused;
}

.partner-track span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 76px;
    padding: 16px 22px;
    border: 1px solid rgba(17, 35, 61, 0.08);
    border-radius: 18px;
    background: #fff;
    color: #55657a;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.security-layout,
.contact-layout,
.footer-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    align-items: start;
}

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

.security-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.1);
}

.security-card strong {
    font-size: 1.05rem;
}

.contact-card {
    padding: 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.97);
}

.contact-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 28px 0;
    list-style: none;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.contact-links a,
.footer-links a {
    color: #1c6aa5;
    font-weight: 700;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form label {
    display: grid;
    gap: 10px;
}

.contact-form span {
    font-size: 0.92rem;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid rgba(17, 35, 61, 0.12);
    border-radius: 14px;
    background: #fbfdff;
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(42, 151, 222, 0.16);
    border-color: rgba(42, 151, 222, 0.4);
}

.form-btn {
    width: 100%;
    border: 0;
    cursor: pointer;
}

.site-footer {
    padding: 30px 0 46px;
    background: #f8fbfe;
    border-top: 1px solid rgba(17, 35, 61, 0.08);
}

.footer-shell {
    align-items: center;
}

.footer-shell strong {
    font-size: 1rem;
}

.footer-shell p {
    margin: 8px 0 0;
    max-width: 520px;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    margin: 0;
    text-align: right;
    color: var(--text-soft);
    font-size: 0.92rem;
}

@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1120px) {
    .hero-grid,
    .section-intro,
    .section-heading,
    .security-layout,
    .contact-layout,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .stats-grid,
    .solutions-grid,
    .industry-grid,
    .product-grid,
    .security-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card {
        grid-column: span 1;
    }

    .stat-card-wide {
        grid-column: auto;
    }

    .section-heading h2,
    .section-intro h2,
    .contact-copy h2,
    .security-copy h2 {
        max-width: 18ch;
    }

    .footer-copy {
        text-align: left;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 18px;
        background: rgba(10, 24, 48, 0.96);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .stats-grid,
    .solutions-grid,
    .industry-grid,
    .product-grid,
    .security-grid,
    .hero-metrics,
    .news-grid {
        grid-template-columns: 1fr;
    }

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

    .hero h1 {
        max-width: none;
    }

    .page-hero h1 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-shell {
        min-height: 76px;
    }

    .brand span {
        font-size: 0.84rem;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .hero {
        padding-top: 52px;
    }

    .hero h1 {
        font-size: 2.9rem;
    }

    .hero-brand-card,
    .solution-card,
    .industry-card,
    .security-card,
    .contact-card {
        padding: 22px;
    }

    .stat-card,
    .hero-metrics article {
        padding: 20px;
    }

    .product-toggle {
        padding-left: 22px;
        padding-right: 52px;
    }

    .product-body {
        padding: 0 22px 22px;
    }

    .partner-track span {
        min-width: 142px;
        min-height: 68px;
        font-size: 0.92rem;
    }

    .section {
        padding: 76px 0;
    }

    .page-hero {
        padding: 78px 0 54px;
    }

    .page-hero h1 {
        font-size: 2.35rem;
        line-height: 1.02;
    }
}

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

    * {
        transition: none !important;
        animation: none !important;
    }
}
