.homepage-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), rgba(30, 64, 175, 0.65)), #020617;
    color: #f8fafc;
    padding: 4rem 3rem;
}

.homepage-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/images/noise.svg');
    opacity: 0.12;
    pointer-events: none;
}

.homepage-hero h1 {
    font-size: clamp(2.4rem, 3vw + 1.2rem, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.homepage-hero p {
    font-size: 1.15rem;
    max-width: 52ch;
    color: rgba(241, 245, 249, 0.82);
}

.homepage-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

.homepage-cta .btn-primary {
    background: linear-gradient(135deg, #38bdf8, #22d3ee);
    border: none;
    color: #031526;
    font-weight: 600;
    box-shadow: 0 20px 45px rgba(56, 189, 248, 0.35);
}

.homepage-cta .btn-outline-light {
    border-color: rgba(148, 163, 184, 0.35);
    color: rgba(226, 232, 240, 0.88);
}

.homepage-screenshot {
    margin-top: 3rem;
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.65);
    box-shadow: 0 25px 65px rgba(15, 23, 42, 0.55);
}

.homepage-screenshot img {
    width: 100%;
    display: block;
}

.home-preview {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.2), transparent 60%);
}

.home-preview-toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-chip {
    padding: 0.35rem 0.9rem;
    background: rgba(56, 189, 248, 0.15);
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #38bdf8;
}

.home-preview-canvas {
    display: grid;
    gap: 1.25rem;
}

.home-preview-card {
    border-radius: 1.1rem;
    padding: 1.2rem;
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.55));
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
}

.home-preview-card.secondary {
    background: linear-gradient(160deg, rgba(2, 6, 23, 0.95), rgba(56, 189, 248, 0.35));
}

.home-preview-header {
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}

.home-preview-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.home-preview-line {
    height: 0.65rem;
    border-radius: 0.4rem;
    background: rgba(148, 163, 184, 0.45);
}

.home-preview-line.small {
    width: 60%;
    opacity: 0.6;
}

.home-preview-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.home-preview-pill {
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.home-preview-button {
    padding: 0.75rem;
    text-align: center;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #38bdf8, #22d3ee);
    color: #021f3a;
    font-weight: 600;
}

.home-preview-textarea {
    height: 4.5rem;
    border-radius: 0.9rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.feature-card {
    background: linear-gradient(160deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.25rem;
    padding: 1.75rem;
    color: #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

.feature-card p {
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-card .badge {
    background: rgba(56, 189, 248, 0.12);
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    align-self: flex-start;
}

.workflow-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.82);
    border-radius: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: #e2e8f0;
}

.workflow-step strong {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    color: rgba(148, 163, 184, 0.9);
}

.workflow-step p {
    margin-bottom: 0;
    color: rgba(226, 232, 240, 0.78);
}

.workflow-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: rgba(56, 189, 248, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #38bdf8;
}

.homepage-footer-card {
    background: linear-gradient(160deg, rgba(2, 6, 23, 0.95), rgba(30, 64, 175, 0.58));
    border-radius: 1.5rem;
    padding: 2.5rem;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.homepage-footer-card h2 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.homepage-footer-card p {
    color: rgba(226, 232, 240, 0.8);
    max-width: 56ch;
}

@media (max-width: 768px) {
    .homepage-hero {
        padding: 3rem 2rem;
    }

    .homepage-cta {
        flex-direction: column;
    }
}
