 /* =========================================================
   DIGITAL HORIZONS AI — STYLE.CSS
   Premium Blue / Gold / Cyan Ecosystem
========================================================= */

:root {
    --bg: #020914;
    --surface: rgba(5, 18, 38, .9);
    --text: #fff;
    --muted: #aac3d6;
    --cyan: #00d9ff;
    --blue: #008cff;
    --gold: #ffc400;
    --border: rgba(0, 210, 255, .3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", "Cairo", Arial, sans-serif;
    background:
        radial-gradient(
            ellipse at 50% 0%,
            #062b55 0%,
            #020914 50%,
            #00040a 100%
        );
    color: var(--text);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

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

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.main-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: rgba(1, 8, 20, .96);
    border-bottom: 1px solid rgba(0, 210, 255, .35);
}

.header-inner {
    width: min(1420px, 94%);
    min-height: 74px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.header-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
    filter:
        drop-shadow(0 0 8px rgba(0, 210, 255, .8))
        drop-shadow(0 0 18px rgba(0, 120, 255, .4));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}

.brand-name span {
    color: var(--cyan);
}

.brand-text small {
    color: #a9c5d9;
    font-size: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    position: relative;
    color: #edf7ff;
    font-size: 14px;
    transition: color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.header-cta,
.hero-button,
.platform-link,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--cyan);
    border-radius: 30px;
    padding: 11px 22px;
    background: rgba(0, 160, 255, .08);
    color: white;
    box-shadow:
        0 0 8px rgba(0, 210, 255, .4),
        inset 0 0 10px rgba(0, 210, 255, .08);
    transition: .25s ease;
}

.header-cta:hover,
.hero-button:hover,
.platform-link:hover,
.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(0, 210, 255, .8);
}

.header-cta span,
.hero-button span,
.platform-link span,
.submit-button span {
    font-size: 18px;
}

/* =========================================================
   LANGUAGE MENU
========================================================= */

.language-wrapper {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--cyan);
    border-radius: 20px;
    padding: 8px 14px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: .25s ease;
}

.lang-btn:hover {
    background: rgba(0, 210, 255, .12);
    box-shadow: 0 0 12px rgba(0, 210, 255, .25);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1100;
    display: none;
    width: 235px;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(1, 10, 22, .98);
    box-shadow: 0 0 30px rgba(0, 180, 255, .25);
}

.language-menu.open {
    display: block;
}

.language-menu button {
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
    transition: .2s ease;
}

.language-menu button:hover {
    background: rgba(0, 190, 255, .15);
    color: var(--cyan);
}

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

.hero-section {
    position: relative;
    min-height: 790px;
    padding: 65px 20px 80px;
    text-align: center;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at center top,
            rgba(0, 120, 255, .55),
            transparent 55%
        ),
        url("about-ai.jpg") center / cover no-repeat;
}

/*
   WICHTIG:
   Dieser schließende Bereich war im ursprünglichen
   CSS fehlend. Dadurch wurde der Rest der CSS-Regeln
   falsch interpretiert.
*/

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 3, 10, .25) 45%,
            rgba(0, 3, 10, .85) 100%
        );
    pointer-events: none;
}

.hero-content,
.video-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: min(1100px, 100%);
    margin: auto;
}

.hero-logo {
    width: 125px;
    height: 125px;
    object-fit: contain;
    border-radius: 50%;
    filter:
        drop-shadow(0 0 12px var(--cyan))
        drop-shadow(0 0 28px rgba(0, 153, 255, .5));
}

.hero-brand {
    margin-top: -5px;
    font-size: 36px;
    font-weight: 800;
}

.hero-brand span {
    color: var(--cyan);
}

.hero-content h1 {
    max-width: 850px;
    margin: 18px auto 14px;
    font-size: clamp(32px, 4vw, 55px);
    line-height: 1.15;
}

.hero-content h1 span {
    color: var(--cyan);
}

.hero-content p {
    max-width: 760px;
    margin: auto;
    color: #c8e5f7;
    font-size: 17px;
    line-height: 1.7;
}

.video-container {
    width: min(1100px, 94%);
    margin: 45px auto 0;
    overflow: hidden;
    border: 1px solid rgba(0, 208, 255, .7);
    border-radius: 20px;
    background: #000;
    box-shadow:
        0 0 25px rgba(0, 183, 255, .3),
        0 0 60px rgba(0, 100, 255, .12);
}

.video-container video {
    display: block;
    width: 100%;
    max-height: 570px;
    object-fit: cover;
}

/* =========================================================
   SECTIONS
========================================================= */

.ecosystem-section,
.contact-section {
    padding: 90px 5%;
}

.section-heading {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.section-label {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.section-heading h2,
.contact-box h2 {
    margin: 12px 0;
    font-size: clamp(32px, 4vw, 48px);
}

.section-heading p,
.contact-box > p {
    color: var(--muted);
    line-height: 1.8;
}

/* =========================================================
   PLATFORM CARDS
========================================================= */

.platforms-grid {
    width: min(1250px, 100%);
    margin: 55px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.platform-card {
    overflow: hidden;
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(8, 22, 43, .95),
            rgba(1, 7, 16, .98)
        );
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.platform-card:hover {
    transform: translateY(-8px);
}

.platform-card.gold {
    border: 1px solid var(--gold);
    box-shadow: 0 0 25px rgba(255, 190, 0, .2);
}

.platform-card.blue {
    border: 1px solid var(--blue);
    box-shadow: 0 0 25px rgba(0, 130, 255, .2);
}

.platform-card.cyan {
    border: 1px solid var(--cyan);
    box-shadow: 0 0 25px rgba(0, 230, 255, .2);
}

.platform-image-wrapper {
    height: 245px;
    overflow: hidden;
}

.platform-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.platform-card:hover .platform-img {
    transform: scale(1.05);
}

.platform-body {
    padding: 28px;
}

.platform-number {
    color: #4e718a;
    font-size: 12px;
}

.platform-body h3 {
    margin-top: 5px;
    font-size: 31px;
}

.platform-domain {
    margin: 5px 0 15px;
    color: var(--cyan);
}

.platform-body p:not(.platform-domain) {
    min-height: 80px;
    color: #b8d0de;
    line-height: 1.65;
}

.platform-link {
    margin-top: 22px;
}

/* =========================================================
   FEATURES
========================================================= */

.ecosystem-features {
    width: min(1250px, 100%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(0, 200, 255, .3);
    border-bottom: 1px solid rgba(0, 200, 255, .3);
}

.ecosystem-features > div {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 20px;
    border-right: 1px solid rgba(0, 200, 255, .18);
}

.ecosystem-features > div:last-child {
    border-right: 0;
}

.ecosystem-features strong {
    color: var(--cyan);
    font-size: 35px;
}

.ecosystem-features b {
    display: block;
    margin-bottom: 5px;
}

.ecosystem-features span {
    color: #9ebaca;
    font-size: 12px;
    line-height: 1.5;
}

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

.about-section {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    padding: 100px 7%;

    background:
        linear-gradient(
            90deg,
            rgba(0, 5, 15, .96),
            rgba(0, 7, 18, .65),
            rgba(0, 5, 15, .9)
        ),
        url("about-ai.jpg") center / cover no-repeat;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(0, 140, 255, .15),
            transparent 45%
        );
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.about-content h2 {
    margin: 18px 0;
    font-size: clamp(35px, 4vw, 58px);
}

.about-content h2 span {
    color: var(--cyan);
}

.about-content p {
    margin: 15px 0;
    color: #c1d8e6;
    line-height: 1.8;
}

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

.contact-section {
    background:
        radial-gradient(
            circle at center,
            rgba(0, 120, 255, .16),
            transparent 60%
        );
}

.contact-box {
    width: min(760px, 100%);
    margin: auto;
    padding: 45px;
    text-align: center;
    border: 1px solid rgba(0, 210, 255, .35);
    border-radius: 24px;
    background: rgba(2, 13, 28, .8);
    box-shadow: 0 0 50px rgba(0, 100, 255, .12);
}

.contact-form {
    margin-top: 30px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin: 18px 0 8px;
    color: #dff6ff;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 17px;
    border: 1px solid rgba(0, 210, 255, .3);
    border-radius: 10px;
    outline: none;
    color: white;
    background: rgba(0, 10, 24, .8);
    transition: .25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6e8da2;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 217, 255, .15);
}

.contact-form textarea {
    min-height: 190px;
    resize: vertical;
}

.message-counter {
    margin-top: 7px;
    color: #718da0;
    font-size: 12px;
    text-align: right;
}

.submit-button {
    width: 100%;
    margin-top: 25px;
    cursor: pointer;
}

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

.site-footer {
    position: relative;
    background:
        linear-gradient(
            180deg,
            #01060e 0%,
            #00040a 100%
        );
    border-top: 1px solid rgba(0, 210, 255, .3);
}

.footer-main {
    width: min(1250px, 92%);
    margin: auto;
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 50%;
    filter:
        drop-shadow(0 0 15px rgba(0, 210, 255, .5));
}

.footer-brand strong {
    display: block;
    font-size: 21px;
}

.footer-brand strong span {
    color: var(--cyan);
}

.footer-brand small {
    color: #7894a6;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 8px;
    color: white;
}

.footer-column a,
.legal-button {
    color: #91aebe;
    background: none;
    border: 0;
    cursor: pointer;
    transition: .2s ease;
    text-align: left;
}

.footer-column a:hover,
.legal-button:hover {
    color: var(--cyan);
    transform: translateX(2px);
}

.footer-bottom {
    width: min(1250px, 92%);
    margin: auto;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #607789;
    font-size: 12px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 210, 255, .35);
    border-radius: 50%;
    transition: .25s ease;
}

.footer-social a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, .3);
    transform: translateY(-2px);
}

/* =========================================================
   MODALS
========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(10px);
}

.modal-overlay.open {
    display: flex;
}

.legal-modal,
.success-modal {
    position: relative;
    width: min(850px, 100%);
    max-height: 85vh;
    overflow-y: auto;
    padding: 45px;
    border: 1px solid rgba(0, 210, 255, .5);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #06182c,
            #010914
        );
    box-shadow: 0 0 50px rgba(0, 160, 255, .25);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 210, 255, .4);
    border-radius: 50%;
    background: transparent;
    color: white;
    font-size: 27px;
    cursor: pointer;
    transition: .2s ease;
}

.modal-close:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 15px rgba(0, 210, 255, .25);
}

.legal-modal h2 {
    margin-bottom: 20px;
    color: var(--cyan);
}

.legal-modal h3 {
    margin: 25px 0 10px;
}

.legal-modal p {
    margin: 10px 0;
    color: #b7ccda;
    line-height: 1.8;
}

.success-modal {
    width: min(550px, 100%);
    text-align: center;
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    border: 2px solid #00eaff;
    border-radius: 50%;
    color: #00eaff;
    font-size: 40px;
    box-shadow: 0 0 25px rgba(0, 230, 255, .4);
}

.success-modal h2 {
    margin-bottom: 15px;
}

.success-modal p {
    color: #a8c6d7;
    line-height: 1.7;
}

/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .nav-links {
        gap: 18px;
    }

    .header-cta {
        display: none;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .ecosystem-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 760px) {

    .header-inner {
        min-height: 70px;
        flex-wrap: wrap;
        padding: 10px 0;
    }

    .brand-name {
        font-size: 18px;
    }

    .header-logo {
        width: 48px;
        height: 48px;
    }

    .nav-links {
        width: 100%;
        order: 5;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        white-space: nowrap;
        font-size: 12px;
    }

    .language-wrapper {
        margin-left: auto;
    }

    .hero-section {
        min-height: auto;
        padding-top: 45px;
        padding-bottom: 55px;
    }

    .hero-logo {
        width: 95px;
        height: 95px;
    }

    .hero-brand {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .video-container {
        width: 100%;
        margin-top: 30px;
        border-radius: 14px;
    }

    .video-container video {
        max-height: 420px;
    }

    .ecosystem-section,
    .contact-section {
        padding: 65px 5%;
    }

    .ecosystem-features {
        grid-template-columns: 1fr;
    }

    .ecosystem-features > div {
        border-right: 0;
        border-bottom: 1px solid rgba(0, 200, 255, .15);
    }

    .ecosystem-features > div:last-child {
        border-bottom: 0;
    }

    .about-section {
        min-height: 520px;
        padding: 75px 6%;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-box,
    .legal-modal {
        padding: 30px 20px;
    }

    .language-menu {
        right: -40px;
        width: 220px;
    }
}

/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .header-inner {
        width: 92%;
    }

    .brand {
        gap: 8px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .header-logo {
        width: 44px;
        height: 44px;
    }

    .lang-btn {
        padding: 7px 10px;
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .platform-body {
        padding: 22px;
    }

    .platform-body h3 {
        font-size: 27px;
    }

    .contact-box {
        padding: 25px 17px;
    }

    .legal-modal,
    .success-modal {
        padding: 35px 18px;
    }
}

/* =========================================================
   GOOGLE TRANSLATE — HIDDEN UI
========================================================= */

#google_translate_element {
    position: fixed;
    left: -10000px;
    top: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-menu-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #01060e;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 210, 255, .45);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

/* =========================================================
   SELECTION
========================================================= */

::selection {
    background: rgba(0, 217, 255, .25);
    color: white;
}
/* =========================================================
   GLOBAL LANGUAGE SELECTOR — ECOSYSTEM / ABOUT
========================================================= */

.language-switcher {
    position: relative;
    display: flex;
    align-items: center;
    margin-inline-start: 8px;
}

.language-switcher select {
    min-height: 42px;
    min-width: 125px;

    padding: 8px 34px 8px 15px;

    border: 1px solid var(--cyan);
    border-radius: 22px;

    background: rgba(1, 10, 22, .96);
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
    outline: none;

    box-shadow:
        0 0 8px rgba(0, 210, 255, .25);

    transition:
        background .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.language-switcher select:hover,
.language-switcher select:focus {
    background: rgba(0, 210, 255, .12);
    border-color: var(--cyan);

    box-shadow:
        0 0 15px rgba(0, 210, 255, .45);
}

.language-switcher select option {
    background: #020914;
    color: #ffffff;
    font-weight: 600;
}

@media (max-width: 760px) {

    .language-switcher {
        margin-left: auto;
    }

    .language-switcher select {
        min-width: 115px;
        min-height: 40px;
        padding: 7px 28px 7px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {

    .language-switcher select {
        min-width: 105px;
        padding: 7px 25px 7px 10px;
        font-size: 11px;
    }
}
