﻿:root {
    color-scheme: dark;
    --bg: #080a0f;
    --bg-alt: #0b1220;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --text: #f5f5f5;
    --muted: rgba(255, 255, 255, 0.75);
    --muted-strong: rgba(255, 255, 255, 0.9);
    --accent: #6fbfff;
    --button: #008cff;
    --button-hover: #319cff;
    --shadow: 0 36px 90px rgba(0, 0, 0, 0.3);
    background: var(--bg);
    color: var(--text);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    font-family: "Poppins", sans-serif;
    background: radial-gradient(circle at top left, rgba(95, 200, 255, 0.14), transparent 32%),
                radial-gradient(circle at bottom right, rgba(180, 95, 255, 0.18), transparent 30%),
                var(--bg);
    padding: 48px 32px 32px;
}

.container {
    max-width: 1120px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 2rem;
    align-items: start;
    margin-top: 4em;
}

.hero {
    min-width: 0;
}

.media {
    min-width: 0;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.headline {
    display: grid;
    gap: 0.25rem;
    font-size: clamp(3rem, 5vw, 5.25rem);
    line-height: 0.95;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin: 0 0 .33em 0;
}

.line2 {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.label {
    display: inline-block;
    flex-shrink: 0;
}

.line3 {
    display: inline-block;
}

.animated-word {
    position: relative;
    display: inline-block;
    min-width: 9ch;
    height: 1.1em;
    line-height: 1.1;
    overflow: hidden;
    color: var(--accent);
}

.animated-word span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    transform: translateY(1.1em);
    animation: wordCycle 9s ease-in-out infinite both;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.animated-word span:nth-child(1) { animation-delay: 0s; }
.animated-word span:nth-child(2) { animation-delay: 3s; }
.animated-word span:nth-child(3) { animation-delay: 6s; }

@keyframes wordCycle {
    0% {
        opacity: 1;
        transform: translateY(1.1em);
    }
    8% {
        opacity: 1;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    35% {
        opacity: 0;
        transform: translateY(-1.1em);
    }
    100% {
        opacity: 0;
        transform: translateY(-1.1em);
    }
}

.caption {
    max-width: 640px;
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--muted);
    margin: 0;
    line-height: 1.7;
}

.actions {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--button);
    color: var(--text);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.16);
    transition: all 180ms ease, transform 180ms ease;
}

.button-link:hover {
    background: var(--button-hover);
    transform: translateY(-1px);
}

.secondary-link,
.link {
    display: inline-flex;
    align-items: center;
    color: #f5f5f5;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.secondary-link:hover,
.link:hover {
    color: #ffffff;
}

img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.35));
    justify-self: center;
}

.section {
    width: min(1120px, 100%);
    margin: 4rem auto 0;
    padding: 0 1.5rem;
}

.section-header {
    display: grid;
    gap: 0.5rem;
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
}

.section h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--surface-strong);
    border-radius: 20px;
    padding: 1.8rem;
    min-height: 180px;
}

.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.section-actions .button-link {
    width: auto;
    padding: 15px 34px;
}

.feature-icon {
    width: 2.2rem;
    height: 2.2rem;
    margin-bottom: 1rem;
    color: var(--accent);
    fill: var(--accent);
    display: inline-block;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.feature-card h3 {
    margin: 0 0 0.75rem;
}

.feature-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    line-height: 1.15;
}

.feature-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.screenshots-section {
    margin-top: 4rem;
}

.screenshot-main-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(340px, 1.1fr);
    gap: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--surface-strong);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.3);
}

.screenshot-copy {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screenshot-eyebrow {
    margin: 0 0 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
}

.screenshot-copy h3 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 2.6rem);
    line-height: 1.05;
}

.screenshot-copy-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.75;
}

.screenshot-preview-card {
    background: #0b1220;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.screenshot-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.screenshot-preview-text {
    padding: 1.5rem;
    background: rgba(4, 9, 23, 0.9);
}

.preview-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.preview-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

.small-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.screenshot-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.screenshot-card-copy {
    padding: 1rem 1rem 1.2rem;
}

.screenshot-card-copy p:first-child {
    margin: 0 0 0.5rem;
    font-weight: 600;
}

.screenshot-card-copy p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 980px) {
    .features-grid,
    .screenshot-main-card {
        grid-template-columns: 1fr;
    }

    .screenshot-main-card {
        border-radius: 24px;
    }
}

@media (max-width: 900px) {
    .small-screenshots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 840px) {
    .container {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .line2 {
        flex-wrap: wrap;
        white-space: normal;
    }

    .headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}

    .line2 {
        flex-wrap: wrap;
        white-space: normal;
    }

    .headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
}
