/* =========================================================
   HERECO DESIGN SYSTEM
========================================================= */

:root {

    --bg: #07080b;
    --bg-soft: #0b0d11;

    --surface: #101218;
    --surface-hover: #151820;

    --border: rgba(255,255,255,0.08);
    --border-strong: rgba(255,255,255,0.14);

    --text: #f5f7fa;
    --text-soft: #b5bbc5;
    --text-muted: #777f8c;

    --white: #ffffff;

    --max-width: 1180px;

    --radius: 18px;

    --header-height: 72px;
}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {

    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}

::selection {
    background: white;
    color: black;
}


/* =========================================================
   LAYOUT
========================================================= */

.container {

    width: min(
        var(--max-width),
        calc(100% - 40px)
    );

    margin-inline: auto;
}

.section {

    padding: 120px 0;

    border-top: 1px solid var(--border);
}

.section-muted {
    background: var(--bg-soft);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: sticky;

    top: 0;

    z-index: 1000;

    height: var(--header-height);

    background:
        rgba(7,8,11,0.78);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);
}

.nav-container {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {

    font-size: 21px;

    font-weight: 750;

    letter-spacing: -0.8px;
}

.navigation {

    display: flex;

    align-items: center;

    gap: 30px;

    color: var(--text-soft);

    font-size: 14px;
}

.navigation a {

    transition:
        color .2s ease;
}

.navigation a:hover {
    color: var(--text);
}

.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    color: white;

    font-size: 24px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height:
        calc(100vh - var(--header-height));

    display: flex;

    align-items: center;

    overflow: hidden;
}

.hero-glow {

    position: absolute;

    width: 700px;

    height: 700px;

    top: -300px;

    right: -250px;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.075),
            transparent 67%
        );

    pointer-events: none;
}

.hero-container {
    padding: 120px 0;
}

.hero-content {
    max-width: 900px;
}

.badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 12px;

    border:
        1px solid var(--border);

    border-radius: 100px;

    background:
        rgba(255,255,255,.025);

    color: var(--text-soft);

    font-size: 12px;

    font-weight: 600;
}

.status-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #77ff9a;

    box-shadow:
        0 0 12px rgba(119,255,154,.5);
}

.hero h1 {

    max-width: 900px;

    margin-top: 26px;

    font-size:
        clamp(54px, 8vw, 94px);

    line-height: .98;

    letter-spacing: -5px;
}

.hero h1 span {

    display: block;

    color: var(--text-muted);
}

.hero-description {

    max-width: 700px;

    margin-top: 30px;

    color: var(--text-soft);

    font-size: 19px;

    line-height: 1.75;
}

.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 38px;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 0 18px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 650;

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease;
}

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

.button-primary {

    background: var(--white);

    color: #050505;
}

.button-primary:hover {
    background: #e8e9eb;
}

.button-secondary {

    border:
        1px solid var(--border-strong);

    background:
        rgba(255,255,255,.02);

    color: var(--text);
}

.button-secondary:hover {
    background: var(--surface);
}


/* =========================================================
   HEADINGS
========================================================= */

.section-heading {

    max-width: 750px;
}

.eyebrow {

    display: inline-block;

    color: var(--text-muted);

    font-size: 11px;

    font-weight: 750;

    letter-spacing: .14em;

    text-transform: uppercase;
}

.section-heading h2,
.about-heading h2 {

    margin-top: 12px;

    font-size:
        clamp(38px,5vw,60px);

    line-height: 1.03;

    letter-spacing: -3px;
}

.section-heading p {

    max-width: 680px;

    margin-top: 20px;

    color: var(--text-soft);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-top: 55px;
}

.product-card {

    position: relative;

    min-height: 520px;

    padding: 35px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            var(--surface),
            #0c0e13
        );

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.product-card:hover {

    transform:
        translateY(-5px);

    border-color:
        var(--border-strong);
}

.product-card::before {

    content: "";

    position: absolute;

    width: 400px;

    height: 400px;

    right: -200px;

    top: -200px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.06),
            transparent 68%
        );
}

.product-number {

    color: var(--text-muted);

    font-size: 12px;

    font-weight: 700;
}

.product-content {

    position: relative;

    z-index: 1;

    margin-top: 95px;
}

.product-status {

    color: #9da5b1;

    font-size: 11px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: .12em;
}

.product-content h3 {

    margin-top: 12px;

    font-size: 54px;

    line-height: 1;

    letter-spacing: -3px;
}

.product-content p {

    max-width: 510px;

    margin-top: 20px;

    color: var(--text-soft);

    font-size: 16px;

    line-height: 1.8;
}

.feature-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}

.feature-list span {

    padding: 7px 10px;

    border:
        1px solid var(--border);

    border-radius: 7px;

    background:
        rgba(255,255,255,.025);

    color: #c9ced6;

    font-size: 12px;
}

.product-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 30px;

    font-size: 14px;

    font-weight: 700;
}

.product-link:hover {
    text-decoration: underline;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 100px;

    align-items: start;
}

.about-content {

    max-width: 650px;
}

.about-content p {

    color: var(--text-soft);

    font-size: 17px;

    line-height: 1.9;
}

.about-content p + p {
    margin-top: 20px;
}


/* =========================================================
   TECHNOLOGY
========================================================= */

.technology-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 14px;

    margin-top: 55px;
}

.technology-item {

    min-height: 270px;

    padding: 28px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: 14px;
}

.technology-icon {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background:
        var(--surface-hover);

    font-size: 18px;
}

.technology-item h3 {

    margin-top: 30px;

    font-size: 18px;

    letter-spacing: -.5px;
}

.technology-item p {

    margin-top: 11px;

    color: var(--text-muted);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   COMPANY
========================================================= */

.company-section {
    background: var(--bg-soft);
}

.company-card {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    padding: 50px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);
}

.company-card h2 {

    margin-top: 12px;

    font-size: 44px;

    line-height: 1;

    letter-spacing: -2px;
}

.company-card p {

    margin-top: 17px;

    color: var(--text-soft);
}

.company-details {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 25px;
}

.company-details div {

    display: flex;

    flex-direction: column;

    gap: 5px;
}

.company-details span {

    color: var(--text-muted);

    font-size: 12px;
}

.company-details strong {

    font-size: 14px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    padding-bottom: 140px;
}

.contact-box {

    padding: 70px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(255,255,255,.06),
            transparent 60%
        ),
        var(--surface);
}

.contact-box h2 {

    max-width: 750px;

    margin: 15px auto 0;

    font-size:
        clamp(38px,5vw,64px);

    line-height: 1;

    letter-spacing: -3px;
}

.contact-box p {

    margin-top: 18px;

    color: var(--text-soft);
}

.contact-box .button {

    margin-top: 30px;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {

    padding: 130px 0 100px;

    border-bottom:
        1px solid var(--border);
}

.page-hero h1 {

    max-width: 850px;

    margin-top: 15px;

    font-size:
        clamp(48px,7vw,82px);

    line-height: 1;

    letter-spacing: -4px;
}

.page-hero p {

    max-width: 650px;

    margin-top: 22px;

    color: var(--text-soft);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   PRODUCT PAGE
========================================================= */

.product-page-grid {

    display: grid;

    grid-template-columns:
        repeat(2,1fr);

    gap: 20px;
}

.large-product-card {

    min-height: 500px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 40px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);
}

.large-product-card h2 {

    margin-top: 12px;

    font-size: 54px;

    letter-spacing: -3px;
}

.large-product-card p {

    margin-top: 20px;

    color: var(--text-soft);

    font-size: 16px;

    line-height: 1.85;
}

.large-product-card .button {
    align-self: flex-start;
}


/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 30px;
}

.contact-info {

    padding: 35px;
}

.contact-info h2 {

    font-size: 36px;

    letter-spacing: -1.5px;
}

.contact-info p {

    margin-top: 15px;

    color: var(--text-soft);

    line-height: 1.8;
}

.contact-email {

    display: inline-block;

    margin-top: 25px;

    font-size: 18px;

    font-weight: 700;
}

.contact-panel {

    padding: 45px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);
}

.contact-panel h2 {

    margin-top: 15px;

    font-size: 30px;

    letter-spacing: -1px;
}

.contact-panel p {

    margin-top: 10px;

    color: var(--text-soft);
}

.contact-panel .button {
    margin-top: 25px;
}


/* =========================================================
   LEGAL
========================================================= */

.legal-page {

    padding: 100px 0 130px;
}

.legal-container {

    max-width: 850px;
}

.legal-container h1 {

    margin-top: 12px;

    font-size:
        clamp(45px,6vw,70px);

    line-height: 1;

    letter-spacing: -3px;
}

.legal-date {

    margin-top: 15px;

    color: var(--text-muted);

    font-size: 13px;
}

.legal-container h2 {

    margin-top: 50px;

    font-size: 23px;

    letter-spacing: -.7px;
}

.legal-container p,
.legal-container li {

    margin-top: 14px;

    color: var(--text-soft);

    font-size: 15px;

    line-height: 1.9;
}

.legal-container ul {

    padding-left: 22px;
}

.legal-container a {

    text-decoration: underline;

    text-underline-offset: 3px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {

    border-top:
        1px solid var(--border);

    background: #050609;
}

.footer-top {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    padding: 60px 0;
}

.footer-logo {

    font-size: 21px;

    font-weight: 750;
}

.footer-top p {

    max-width: 330px;

    margin-top: 12px;

    color: var(--text-muted);

    font-size: 13px;
}

.footer-links {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 30px;
}

.footer-links div {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links strong {

    margin-bottom: 4px;

    font-size: 12px;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.footer-links a {

    color: var(--text-muted);

    font-size: 13px;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {

    display: flex;

    justify-content: space-between;

    padding: 20px 0 30px;

    border-top:
        1px solid var(--border);

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .technology-grid {

        grid-template-columns:
            repeat(2,1fr);
    }

    .about-grid,
    .company-card,
    .contact-grid {

        grid-template-columns: 1fr;

    }

    .product-page-grid,
    .product-grid {

        grid-template-columns: 1fr;
    }

    .company-details {
        margin-top: 10px;
    }

}


@media (max-width: 700px) {

    .container {

        width:
            calc(100% - 28px);
    }

    .section {

        padding: 85px 0;
    }

    .navigation {

        display: none;

        position: absolute;

        left: 14px;

        right: 14px;

        top: 68px;

        padding: 20px;

        flex-direction: column;

        align-items: flex-start;

        background: var(--surface);

        border:
            1px solid var(--border);

        border-radius: 12px;
    }

    .navigation.active {
        display: flex;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero h1 {

        font-size: 50px;

        letter-spacing: -3px;
    }

    .hero-description {

        font-size: 16px;
    }

    .technology-grid {

        grid-template-columns: 1fr;
    }

    .company-card {

        padding: 30px;
    }

    .company-details {

        grid-template-columns: 1fr;
    }

    .contact-box {

        padding: 45px 25px;
    }

    .footer-top {

        grid-template-columns: 1fr;
    }

    .footer-links {

        grid-template-columns:
            repeat(2,1fr);
    }

}


@media (max-width: 480px) {

    .hero-container {

        padding: 90px 0;
    }

    .hero h1 {

        font-size: 45px;
    }

    .hero-actions {

        flex-direction: column;
    }

    .hero-actions .button {

        width: 100%;
    }

    .product-card,
    .large-product-card {

        padding: 28px;
    }

    .product-content {

        margin-top: 70px;
    }

    .product-content h3,
    .large-product-card h2 {

        font-size: 44px;
    }

    .footer-links {

        grid-template-columns: 1fr;
    }

    .footer-bottom {

        flex-direction: column;

        gap: 8px;
    }

}
