:root {
    --color-bg: #050608;
    --color-surface: rgba(7, 10, 15, .9);
    --color-accent: #35fdd8;
    --color-text: #ffffff;
    --color-muted: rgba(255, 255, 255, .7);
    --color-border: rgba(255, 255, 255, .18);
    --font-base: 'Inter', 'Segoe UI', sans-serif;
    --nav-height: 64px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0 !important;
    font-family: var(--font-base);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: rgba(255,255,255,.79);
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
    transition: color .2s ease;
}

a:hover span,
a:focus-visible span,
a:hover,
a:focus-visible {
    color: var(--color-accent);
}

a i {
    font-size: 16px;
    cursor: default;
}

.section {
    padding: 0;
}

.site-wrapper-section {
    background-color: #050608;
    position: relative;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.site-wrapper-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,6,8,.8) 0%, rgba(5,6,8,.2) 50%, rgba(5,6,8,.92) 100%);
    z-index: 1;
}

.pd-custom1 {
    padding: 46px 0 0 0;
}

.pd-0 {
    padding: 0 !important;
}

.container {
    display: flex;
    margin: 0 auto;
    position: relative;
    width: min(60%, 1100px);
    z-index: 2;
}

.default-page {
    width: 100%;
}

.bg-image {
    min-height: 704px;
}

.center {
    align-items: center;
}

.column {
    position: relative;
    min-height: 1px;
}

.col-100 {
    width: 100%;
}

.element-wrap {
    padding: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
}

.element-container {
    display: flex;
    position: relative;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    max-width: 380px;
    background: rgba(7, 10, 15, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease;
}

.cookie-banner.hide {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-muted);
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-cookie {
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .1s ease, opacity .1s ease;
}

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

.btn-cookie:active {
    transform: translateY(0);
    opacity: .9;
}

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

.btn-cookie.ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

@media (max-width: 576px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

.legal-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.legal-section {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.el-legal-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 10px;
}

.legal-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.legal-page ul {
    margin: 0 0 12px 18px;
    padding-left: 12px;
}

img {
    width: 150px;
    height: auto;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(38,44,51,.92);
    /*border-bottom: 1px solid var(--color-border);*/
    backdrop-filter: blur(16px);
    z-index: 10;
    display: flex;
    justify-content: flex-start;
    padding-inline: 0;
}

.nav-inner {
    width: 100%;
    max-width: none;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-inline: clamp(16px, 4vw, 60px);
}

.site-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-height);
}

.footer {
    background-color: #000000;
    padding-bottom: 24px;
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.footer .container {
    width: min(80%, 1080px);
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.el-bg-image-pre-heading-title {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4em;
    margin: unset;
}

.el-bg-image-heading-title {
    color: #ffffff;
    font-size: 65px;
    font-weight: 600;
    line-height: 1.4em;
    margin: unset;
}

.el-bg-image-post-heading-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4em;
    margin: unset;
    max-width: 720px;
}

.el-footer-header-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4em;
    margin: unset;
}

.el-copyright-title {
    color: rgba(255,255,255,.39);
    font-size: 14px;
    font-weight: 300;
    margin: unset;
}

.el-separator {
    border-top: 1px solid rgba(255,255,255,.21);
    width: 100%;
    display: block;
}

.accordion {
    padding: 30px;
}

.accordion-container {
    position: relative;
    margin: 10px;
    border-bottom: 1px solid var(--color-border);
}

.accordion .label {
    position: relative;
    padding: 10px 0;
    font-size: 23px;
    font-weight: 600;
    line-height: 1em;
    cursor: pointer;
}

.accordion .label::before {
    font-family: FontAwesome;
    content: '\f054';
    font-size: 20px;
    margin-right: 20px;
    transition: transform .3s ease;
}

.accordion .content {
    position: relative;
    max-height: 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    text-align: justify;
    overflow: hidden;
    transition: max-height .1s ease-in-out;
}

.accordion-container.active .content {
    max-height: 800px;
}

.accordion-container.active .label::before {
    content: '\f078';
    transform: rotate(180deg);
}

/* ---------- Tablet landscape and down ---------- */
@media (max-width: 1400px) {
    .container {
        width: min(70%, 960px);
    }

    .footer .container {
        width: 90%;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 80%;
    }

    .el-bg-image-heading-title {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    :root {
        --nav-height: 60px;
    }

    .container,
    .footer .container {
        width: min(90%, 720px);
    }

    .center,
    .column,
    .element-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .bg-image {
        min-height: 520px;
    }

    .el-bg-image-heading-title {
        font-size: 48px;
    }

    img {
        width: 130px;
    }
}

@media (max-width: 768px) {
    .container,
    .footer .container {
        width: min(94%, 640px);
    }

    .el-bg-image-heading-title {
        font-size: 40px;
    }

    .el-bg-image-post-heading-title,
    a {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    :root {
        --nav-height: 64px;
    }

    body {
        font-size: 16px;
    }

    .container,
    .footer .container {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-inner {
        padding-inline: 20px;
        justify-content: center;
        height: var(--nav-height);
    }

    img {
        width: 140px;
    }

    /* Typography - Hashicorp/Vercel Style */
    .el-bg-image-heading-title {
        font-size: 36px;
        line-height: 1.1;
        letter-spacing: -0.02em;
        font-weight: 700;
        margin-bottom: 16px;
    }

    .el-bg-image-pre-heading-title {
        font-size: 14px;
        letter-spacing: 0.05em;
        margin-bottom: 12px;
        opacity: 0.9;
    }

    .el-bg-image-post-heading-title {
        font-size: 16px;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        max-width: 100%;
    }

    /* Hero Section - Full Impact */
    .bg-image {
        min-height: 100vh; /* Full viewport height */
        padding: 100px 0 60px;
        display: flex;
        align-items: center;
    }

    .site-wrapper-section {
        background-position: center center;
    }

    .element-wrap {
        padding: 8px 0;
    }

    /* Footer - Clean Stack */
    .footer {
        padding: 48px 0;
    }

    .footer .container {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .footer-links a {
        font-size: 16px;
        padding: 8px; /* Larger touch target */
        display: block;
    }

    .el-footer-header-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .el-copyright-title {
        font-size: 14px;
        color: var(--color-muted);
        margin-top: 24px;
    }

    /* Cookie Banner - Mobile Optimized */
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 24px;
        padding: 20px;
        border-radius: 12px;
        max-width: none;
        background: rgba(7, 10, 15, 0.25);
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .cookie-text {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .btn-cookie {
        width: 100%;
        height: 48px; /* Standard mobile touch target */
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Legal Pages */
    .legal-page h1 {
        font-size: 32px;
        letter-spacing: -0.02em;
    }

    .legal-page h3 {
        font-size: 22px;
        margin-top: 24px;
    }

    .legal-page p, 
    .legal-page li {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 400px) {
    .container,
    .footer .container {
        width: calc(100% - 24px);
    }

    .el-bg-image-heading-title {
        font-size: 30px;
    }
}

/* ---------- 1440p+ tweaks ---------- */
@media (min-width: 1920px) {
    .container {
        width: min(55%, 1280px);
    }

    .el-bg-image-heading-title {
        font-size: 72px;
    }

    .el-bg-image-post-heading-title {
        font-size: 22px;
    }
}

@media (min-width: 2560px) {
    .container {
        width: min(45%, 1500px);
    }

    .bg-image {
        min-height: 860px;
    }

    .el-bg-image-heading-title {
        font-size: 82px;
    }
}

@media (min-width: 3200px) {
    :root {
        --nav-height: 72px;
    }

    body {
        font-size: 18px;
    }

    .container {
        width: min(40%, 1680px);
    }

    .el-bg-image-heading-title {
        font-size: 96px;
    }

    .el-bg-image-post-heading-title {
        font-size: 26px;
    }
}
