/* ── Landing Page Styles ────────────────────────────────────────────────────── */

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    height: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 80px;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero__tagline {
    font-size: 22px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hero__title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: hero-bounce 2s infinite;
}

.hero__scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.4);
    border-bottom: 2px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
}

@keyframes hero-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Hero Button Styling ────────────────────────────────────────────────────── */

.hero .btn--outline {
    border-color: rgba(255,255,255,0.9);
}

.hero .btn--outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.12);
}

/* ── About / Intro ─────────────────────────────────────────────────────────── */

.about__body {
    max-width: 760px;
    margin: 0 auto;
}

.about__text {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: left;
    margin-top: 16px;
}

.about__text:first-child {
    margin-top: 0;
}

/* ── Stats Row ─────────────────────────────────────────────────────────────── */

.stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat__value {
    font-size: 42px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat__label {
    font-size: 13px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ── Use Case Cards ────────────────────────────────────────────────────────── */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.card__icon {
    width: 48px;
    height: 48px;
    background: rgba(8, 106, 216, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card__text {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ── Steps ─────────────────────────────────────────────────────────────────── */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-top: 48px;
    counter-reset: step;
}

.step {
    text-align: center;
    counter-increment: step;
}

.step::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step__text {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ── Code Preview ──────────────────────────────────────────────────────────── */

.code-preview {
    background: #0d1117;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 48px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.code-preview__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.code-preview__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-preview__dot--red    { background: #ff5f57; }
.code-preview__dot--yellow { background: #febc2e; }
.code-preview__dot--green  { background: #28c840; }

.code-preview__title {
    margin-left: 8px;
    font-size: 13px;
    color: #8b949e;
    font-family: var(--font-mono);
}

.code-preview__body {
    padding: 20px 24px;
    overflow-x: auto;
}

.code-preview__body pre {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.65;
    color: #c9d1d9;
    white-space: pre;
    margin: 0;
    text-align: left;
}

.code-preview__body .cm-key   { color: #79c0ff; }
.code-preview__body .cm-str   { color: #a5d6ff; }
.code-preview__body .cm-num   { color: #f2cc60; }
.code-preview__body .cm-punct { color: #8b949e; }

/* ── Disclaimer ───────────────────────────────────────────────────────────── */

.disclaimer {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hero__title { font-size: 32px; }
    .hero__tagline { font-size: 18px; }
    .hero__content { padding: 0 20px; }
    .hero__buttons { flex-direction: column; align-items: center; }
    .stats { gap: 32px; }
    .stat__value { font-size: 32px; }
    .hero__scroll { display: none; }
}
