/* ============================================
   Front Page – Teaser Feature Sections
   Design aligned with main theme:
     Primary  #31CBD7
     Dark bg  #0e151d
     Section padding aligned with theme 8rem
   ============================================ */


/* ─── Base container ──────────────────────── */

.p-teaser-section {
    background-color: #0e151d;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "palt";
    letter-spacing: 0.04em;
}

.p-teaser-section a {
    color: #31CBD7;
    text-decoration: none;
}


/* ─── Video section ──────────────────────── */

.p-teaser-video {
    padding: 8rem 0 7rem;
}

.p-teaser-section .video-section {
    width: min(960px, calc(100% - 48px));
    margin: 0 auto;
}

.p-teaser-section .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.65);
}

.p-teaser-section .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-teaser-section .video-section > p {
    margin-top: 1.4rem;
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
    letter-spacing: 0.05em;
    font-feature-settings: "palt";
}


/* ─── Feature sections ────────────────────── */

.p-teaser-features {
    padding-top: 0;
}

.p-teaser-section .feature {
    padding: 10rem 24px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Feature: background image variant */
.p-teaser-section .feature.feature-bg {
    background: url('../teaser/images/bg_02.jpg') no-repeat center center / cover;
}

.p-teaser-section .feature.feature-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 1;
}

/* Content wrapper */
.p-teaser-section .feature-header {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Large decorative number */
.p-teaser-section .feature-number {
    display: block;
    font-family: bebas-kai, "bebas-neue", "din-2014", Impact, sans-serif;
    font-size: clamp(8rem, 14vw, 14rem);
    color: #31CBD7;
    opacity: 0.38;
    line-height: 0.82;
    letter-spacing: 0.04em;
    margin-bottom: 0.25em;
    user-select: none;
    position: relative;
    z-index: 2;
}

/* Section heading */
.p-teaser-section .feature h2 {
    font-size: clamp(3rem, 4.5vw, 5rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 1.8rem;
    font-feature-settings: "palt";
    position: relative;
    z-index: 2;
}

/* Body text */
.p-teaser-section .feature p {
    font-size: clamp(1.5rem, 1.6vw, 1.8rem);
    font-weight: 500;
    line-height: 2.1;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.04em;
    font-feature-settings: "palt";
    max-width: 640px;
    margin: 0 auto 1.2rem;
    position: relative;
    z-index: 2;
}

/* Feature images – scroll-in animation */
.p-teaser-section .feature img.feature-image {
    display: block;
    margin: 4rem auto 0;
    max-width: min(680px, 90%);
    height: auto;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity  0.95s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}


/* ─── Inline text helpers ─────────────────── */

.p-teaser-section .highlight {
    color: #fff;
    font-weight: 700;
}

.p-teaser-section .note {
    display: block;
    font-size: 1.2rem !important;
    line-height: 1.65 !important;
    opacity: 0.58 !important;
}

.p-teaser-section .note-mark {
    font-size: 0.42em;
    vertical-align: super;
    line-height: 0;
}

.p-teaser-section .privacy-note {
    font-size: 1.2rem !important;
    color: rgba(255, 255, 255, 0.55) !important;
    line-height: 1.9 !important;
}

.p-teaser-section .privacy-note a {
    color: #31CBD7;
}


/* ─── Device support box ─────────────────── */

.p-teaser-section .device-support-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 2.4rem;
    margin: 3.2rem auto 0;
    max-width: 460px;
    text-align: left;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.p-teaser-section .device-support-box > p {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.58) !important;
    max-width: none !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-feature-settings: normal;
}

.p-teaser-section .device-support-box > p:first-child {
    margin-bottom: 0.9rem !important;
}

.p-teaser-section .device-support-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.8rem;
}

.p-teaser-section .device-support-box li {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.80);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    letter-spacing: 0.02em;
    line-height: 1.5;
    font-feature-settings: normal;
}

.p-teaser-section .device-support-box li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


/* ─── Responsive: Tablet (≤ 999px) ──────── */

@media screen and (max-width: 999px) {
    .p-teaser-video {
        padding: 6rem 0 5rem;
    }

    .p-teaser-section .feature {
        padding: 7rem 24px;
    }
}


/* ─── Responsive: Mobile (≤ 767px) ─────── */

@media screen and (max-width: 767px) {
    .p-teaser-video {
        padding: 4.5rem 0 3.5rem;
    }

    .p-teaser-section .video-section {
        width: calc(100% - 32px);
    }

    .p-teaser-section .video-section > p {
        font-size: 1.1rem;
    }

    .p-teaser-section .feature {
        padding: 5rem 28px;
        text-align: left;
    }

    .p-teaser-section .feature-header {
        text-align: left;
    }

    .p-teaser-section .feature-number {
        font-size: 7rem;
        opacity: 0.32;
    }

    .p-teaser-section .feature h2 {
        font-size: 2.6rem;
        line-height: 1.35;
        margin-bottom: 1.4rem;
    }

    .p-teaser-section .feature p {
        font-size: 1.5rem;
        line-height: 1.95;
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }

    .p-teaser-section .feature p br {
        display: none;
    }

    .p-teaser-section .feature img.feature-image {
        max-width: 100%;
        margin-top: 2.8rem;
    }

    .p-teaser-section .device-support-box {
        max-width: 100%;
        margin-top: 2rem;
        padding: 1.6rem 1.6rem;
    }

    .p-teaser-section .note {
        font-size: 1.1rem !important;
    }
}
