:root {
    --bg: #07111f;
    --bg-alt: #0d1728;

    --surface: #101827;

    --primary: #57e8e8;
    --secondary: #4e8cf6;

    --text: #e6edf3;
    --muted: #94a3b8;
}

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

body {
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        Segoe UI,
        sans-serif;

    min-height: 100vh;
}

section {
    padding: 6rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;

    padding: 2rem;
}

.hero-background {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0.08;

    pointer-events: none;
}

.hero-background pre {
    font-size: 3rem;
    font-weight: 700;
    line-height: 2;

    color: var(--primary);
}

.hero-content {
    position: relative;

    max-width: 900px;

    text-align: center;

    z-index: 2;
}

.hero-logo {
    width: min(700px, 90vw);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(1rem, 8vw, 3rem);
    font-weight: 800;

    margin-bottom: 0.75rem;
}

.hero-tagline {
    color: var(--primary);

    font-size: 1.5rem;
    font-weight: 600;

    margin-bottom: 1.5rem;
}

.hero-description {
    max-width: 700px;

    margin: 0 auto;

    color: var(--text);

    line-height: 1.8;
    font-size: 1.2rem;
}

.hero-actions {
    margin-top: 2rem;

    display: flex;
    justify-content: center;
    gap: 1rem;

    flex-wrap: wrap;
}

.hero-subtext {
    color: var(--muted);

    margin-top: 1rem;

    font-size: 1.2rem;

    line-height: 1.8;
}

.btn {
    text-decoration: none;

    padding: 0.9rem 1.5rem;

    border-radius: 10px;

    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(87, 232, 232, 0.25);
}

.btn-secondary {
    border: 1px solid var(--secondary);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(78, 140, 246, 0.1);
}

.tech-stack {
    margin-top: 2rem;

    display: flex;
    justify-content: center;
    gap: 0.75rem;

    flex-wrap: wrap;
}

.tech-stack span {
    background: var(--surface);

    border: 1px solid rgba(255, 255, 255, 0.08);

    padding: 0.5rem 0.9rem;

    border-radius: 999px;

    color: var(--muted);

    font-size: 0.9rem;
}

.features {
    background: var(--bg-alt);
}

.features-grid {
    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: 1.5rem;
}

.feature-card {
    background: var(--surface);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    padding: 2rem;

    transition: all 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);

    border-color: rgba(87, 232, 232, 0.3);
}

.feature-icon {
    font-size: 2rem;

    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;

    font-size: 1.25rem;
}

.feature-card p {
    color: var(--muted);

    line-height: 1.8;
}

.screenshots {
    background: var(--bg);
}

.screenshots-grid {
    max-width: 1400px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(350px, 1fr));

    gap: 1.5rem;
}

.screenshot-card {
    background: var(--surface);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    overflow: hidden;

    transition: all 0.25s ease;
}

.screenshot-card img {
    width: 100%;

    height: 220px;

    object-fit: cover;

    display: block;
}

.screenshot-card h3 {
    padding: 1rem;

    text-align: center;
}

.screenshot-card:hover {
    transform: translateY(-4px);

    border-color: rgba(87, 232, 232, 0.3);
}

.screenshot-card::before {
    content: "● ● ●";

    display: block;

    padding: 0.75rem 1rem;

    color: var(--muted);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot-card {
    overflow: hidden;

    position: relative;
}

.screenshot-card img {
    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.screenshot-card:hover img {
    transform: scale(1.08);

    filter: brightness(1.05);
}

.screenshot-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 10px 30px rgba(87, 232, 232, 0.15);
}

.story-demo {
    background: var(--bg-alt);
}

.story-demo-container {
    max-width: 1300px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(450px, 1fr));

    gap: 4rem;

    align-items: center;
}

.section-label {
    color: var(--primary);

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 0.85rem;
}

.story-content h2 {
    font-size: 2.5rem;

    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--muted);

    line-height: 1.9;

    margin-bottom: 1.25rem;
}

.story-content code {
    background: var(--surface);

    padding: 0.15rem 0.4rem;

    border-radius: 4px;

    color: var(--primary);
}

.story-highlights {
    margin-top: 2rem;

    display: grid;

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

    gap: 1rem;
}

.highlight-item {
    background: var(--surface);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    padding: 1rem;
}

.video-wrapper {
    background: var(--surface);

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-wrapper video {
    width: 100%;

    display: block;
}

.video-caption {
    text-align: center;

    margin-top: 1rem;

    color: var(--muted);
}

.architecture {
    background: var(--bg);
}

.architecture-flow {
    max-width: 1500px;

    margin: 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 1.25rem;

    flex-wrap: wrap;
}

.architecture-card {
    width: 220px;

    background: var(--surface);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 18px;

    padding: 1.5rem;

    text-align: center;

    transition: all 0.25s ease;
}

.architecture-card:hover {
    transform: translateY(-6px);

    border-color: rgba(87, 232, 232, 0.35);

    box-shadow:
        0 10px 30px rgba(87, 232, 232, 0.08);
}

.architecture-icon {
    font-size: 2.2rem;

    margin-bottom: 1rem;
}

.architecture-card h3 {
    margin-bottom: 0.75rem;
}

.architecture-card p {
    color: var(--muted);

    line-height: 1.7;

    font-size: 0.95rem;
}

.architecture-arrow {
    color: var(--primary);
    color: var(--muted);
    opacity: 0.6;
    font-size: 2rem;

    font-weight: bold;
}


/* ----- */


@media (max-width: 1000px) {

    .architecture-flow {
        flex-direction: column;
    }

    .architecture-arrow {
        transform: rotate(90deg);
    }
}

.journey {
    background: var(--bg-alt);
}

.timeline {
    max-width: 900px;

    margin: 0 auto;

    position: relative;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 15px;
    top: 0;
    bottom: 0;

    width: 2px;

    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;

    padding-left: 60px;

    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;

    left: 7px;
    top: 8px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: var(--secondary);
}

.timeline-dot.active {
    background: var(--primary);

    box-shadow:
        0 0 20px rgba(87, 232, 232, 0.6);
}

.timeline-content {
    background: var(--surface);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 16px;

    padding: 1.5rem;

    transition: all 0.25s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);

    border-color: rgba(87, 232, 232, 0.3);
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--muted);

    line-height: 1.8;
}



footer {
    background: var(--bg-alt);

    padding: 2rem;

    text-align: center;

    color: var(--muted);

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

footer p:first-child {
    margin-bottom: 0.5rem;
}

.features,
.story-demo,
.journey {
    border-top:
        1px solid rgba(255,255,255,0.04);
}