.home-main {
    overflow: hidden;
}

.hero-section {
    padding: 6rem 0 5rem;
}

.hero-content {
    max-width: 820px;
    text-align: center;
    margin: 0 auto 3rem;
}

.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-logo__image {
    width: min(220px, 52vw);
    height: auto;
    filter: drop-shadow(0 24px 60px rgba(99, 102, 241, 0.22));
}

.hero-badge,
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.28);
    color: #b9bbff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 4.9rem);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 1.25rem;
}

.hero-description {
    color: var(--dl-text-muted);
    font-size: 1.16rem;
    line-height: 1.85;
    max-width: 720px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.6rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn--primary {
    background: var(--dl-gradient);
    color: #fff;
    box-shadow: 0 18px 48px rgba(99, 102, 241, 0.32);
}

.hero-btn--secondary {
    border: 1px solid var(--dl-border);
    color: var(--dl-text);
    background: rgba(255, 255, 255, 0.04);
}

.hero-preview {
    max-width: 1080px;
    margin: 0 auto;
}

.hero-preview__window {
    border-radius: 28px;
    border: 1px solid var(--dl-border);
    background: linear-gradient(180deg, rgba(18, 18, 26, 0.92) 0%, rgba(10, 10, 16, 0.96) 100%);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.hero-preview__bar {
    display: flex;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--dl-border);
}

.hero-preview__bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.hero-preview__bar span:nth-child(1) {
    background: #ef4444;
}

.hero-preview__bar span:nth-child(2) {
    background: #f59e0b;
}

.hero-preview__bar span:nth-child(3) {
    background: #10b981;
}

.hero-preview__body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
}

.hero-preview__code {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.code-line {
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.75), rgba(6, 182, 212, 0.2));
}

.code-line--lg { width: 82%; }
.code-line--md { width: 64%; }
.code-line--sm { width: 48%; }

.hero-preview__cards {
    display: grid;
    gap: 1rem;
}

.preview-tool {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dl-border);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.preview-tool strong {
    font-size: 1rem;
}

.preview-tool span {
    color: var(--dl-text-muted);
    font-size: 0.9rem;
}

.preview-tool--primary {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.12);
}

.stats-section {
    padding: 1rem 0 5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dl-border);
    border-radius: 22px;
    padding: 1.75rem;
}

.stat-card__number {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
}

.stat-card__label {
    color: var(--dl-text-muted);
    margin-top: 0.45rem;
}

.tools-section,
.seo-copy-section,
.categories-section,
.seo-entry-section,
.features-section,
.cta-section {
    padding: 5rem 0;
}

.seo-copy-section {
    padding-top: 0;
}

.seo-copy-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--dl-border);
}

.delarium-home-seo-copy {
    color: var(--dl-text);
}

.delarium-home-seo-copy__figure {
    margin: 0 0 1.75rem;
    text-align: center;
}

.delarium-home-seo-copy__image {
    width: min(240px, 56vw);
    height: auto;
}

.delarium-home-seo-copy__figure figcaption {
    margin-top: 0.75rem;
    color: var(--dl-text-muted);
    font-size: 0.9rem;
}

.delarium-home-seo-copy h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    margin: 2rem 0 1rem;
    letter-spacing: -0.03em;
}

.delarium-home-seo-copy p {
    margin: 0 0 1rem;
    color: var(--dl-text-muted);
    line-height: 1.9;
    font-size: 1.02rem;
}

.delarium-home-seo-copy strong {
    color: #fff;
}

.delarium-home-seo-copy a {
    color: #9cd8ff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2rem;
}

.delarium-home-seo-copy a:hover {
    color: #fff;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0.9rem;
    letter-spacing: -0.04em;
}

.section-heading p {
    color: var(--dl-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-grid,
.entry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card,
.entry-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--dl-border);
    border-radius: 24px;
    padding: 1.6rem;
}

.category-card__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.24);
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.category-card h3,
.entry-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.category-card p,
.entry-card li {
    color: var(--dl-text-muted);
    line-height: 1.8;
}

.category-card__examples {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.category-card__examples span {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dl-border);
    color: var(--dl-text-muted);
    font-size: 0.78rem;
}

.entry-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.entry-card li + li {
    margin-top: 0.45rem;
}

.tool-card {
    position: relative;
    background: var(--dl-card);
    border: 1px solid var(--dl-border);
    border-radius: 24px;
    padding: 1.75rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tool-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.18);
}

.tool-card.is-disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--dl-border);
}

.tool-card__icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    border-radius: 18px;
    background: rgba(99, 102, 241, 0.14);
    border: 1px solid rgba(99, 102, 241, 0.25);
    margin-bottom: 1.2rem;
}

.tool-card__status {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #7cf1c2;
    border: 1px solid rgba(16, 185, 129, 0.25);
    font-size: 0.8rem;
    font-weight: 700;
}

.tool-card.is-disabled .tool-card__status {
    background: rgba(245, 158, 11, 0.14);
    color: #ffd58a;
    border-color: rgba(245, 158, 11, 0.28);
}

.tool-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
}

.tool-card p {
    color: var(--dl-text-muted);
    line-height: 1.75;
    min-height: 84px;
}

.tool-card__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tool-card__tags span,
.tool-card__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.tool-card__tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dl-border);
    color: var(--dl-text-muted);
}

.tool-card__cta {
    margin-top: 1.2rem;
    color: #fff;
    background: rgba(99, 102, 241, 0.14);
}

.tool-card__cta--muted {
    color: var(--dl-text-muted);
    background: rgba(255, 255, 255, 0.04);
}

.features-section {
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--dl-border);
    border-radius: 22px;
    padding: 1.75rem;
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--dl-gradient);
    margin-bottom: 1rem;
    font-size: 1.35rem;
}

.feature-card p {
    margin: 0.7rem 0 0;
    color: var(--dl-text-muted);
    line-height: 1.75;
}

.cta-card {
    max-width: 920px;
    margin: 0 auto;
    border-radius: 30px;
    background: linear-gradient(140deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.12));
    border: 1px solid rgba(99, 102, 241, 0.3);
    text-align: center;
    padding: 3rem;
}

.cta-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

.cta-card p {
    color: var(--dl-text-muted);
    font-size: 1.06rem;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 2rem;
}

@media (max-width: 991px) {
    .hero-preview__body,
    .stats-grid,
    .category-grid,
    .entry-grid,
    .tools-grid,
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-preview__body {
        gap: 1.25rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 4rem;
    }

    .hero-preview__body,
    .stats-grid,
    .category-grid,
    .entry-grid,
    .tools-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
    }

    .cta-card {
        padding: 2rem 1.25rem;
    }
}
