/* ===== Deliverland — Landing page ===== */
:root {
    --dl-primary: #0f172a;
    --dl-primary-soft: #1e293b;
    --dl-accent: #f97316;
    --dl-accent-dark: #ea580c;
    --dl-light: #f8fafc;
    --dl-muted: #64748b;
    --dl-border: #e2e8f0;
    --dl-radius: 16px;
    --dl-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --dl-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.main-home {
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero */
.dl-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dl-primary) 0%, #1a2744 50%, var(--dl-primary-soft) 100%);
    color: #fff;
    overflow: hidden;
}

.dl-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/home/hero-delivery.png') center/cover no-repeat;
    opacity: 0.35;
}

.dl-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 45%, rgba(15, 23, 42, 0.4) 100%);
}

.dl-hero .container {
    position: relative;
    z-index: 2;
    padding: 6rem 1rem 3.5rem;
}

.dl-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: #fdba74;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.dl-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.dl-hero h1 .highlight {
    color: var(--dl-accent);
}

.dl-hero-lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #cbd5e1;
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.dl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.dl-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dl-accent);
    color: #fff !important;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none;
}

.dl-btn-primary:hover {
    background: var(--dl-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
    color: #fff !important;
}

.dl-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #fff !important;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s, border-color 0.2s;
}

.dl-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff !important;
}

/* Stats */
.dl-stats {
    background: transparent;
    border: none;
    margin-top: -3.5rem;
    position: relative;
    z-index: 3;
    padding-bottom: 0.5rem;
}

.dl-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 14px 44px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    border: none;
}

.main-home .dl-stats .dl-stat {
    padding: 1.75rem 1.5rem;
    text-align: center;
    border: none !important;
    border-right: 1px solid var(--dl-border) !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none !important;
    outline: none !important;
}

.main-home .dl-stats .dl-stat:last-child {
    border-right: none !important;
}

.dl-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dl-primary);
    line-height: 1;
}

.dl-stat-value span {
    color: var(--dl-accent);
}

.dl-stat-label {
    font-size: 0.875rem;
    color: var(--dl-muted);
    margin-top: 0.35rem;
}

/* Sections */
.dl-section {
    padding: 5rem 0;
}

.dl-section-alt {
    background: var(--dl-light);
}

.dl-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.dl-section-tag {
    display: inline-block;
    color: var(--dl-accent);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.dl-section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--dl-primary);
    margin-bottom: 1rem;
}

.dl-section-header p {
    color: var(--dl-muted);
    font-size: 1.05rem;
}

/* Feature cards */
.dl-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .dl-features {
        grid-template-columns: 1fr;
    }
}

.dl-feature-card {
    background: #fff;
    border-radius: var(--dl-radius);
    padding: 2rem;
    border: 1px solid var(--dl-border);
    transition: transform 0.25s, box-shadow 0.25s;
    height: 100%;
}

.dl-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dl-shadow-lg);
}

.dl-feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--dl-accent), var(--dl-accent-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.dl-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dl-primary);
    margin-bottom: 0.75rem;
}

.dl-feature-card p {
    color: var(--dl-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Split section with image */
.dl-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dl-split-image {
    border-radius: var(--dl-radius);
    overflow: hidden;
    box-shadow: var(--dl-shadow-lg);
    aspect-ratio: 4/3;
}

.dl-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dl-split-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--dl-primary);
    margin-bottom: 1rem;
}

.dl-split-content p {
    color: var(--dl-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.dl-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.dl-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--dl-primary-soft);
    font-size: 0.95rem;
}

.dl-check-list li i {
    color: var(--dl-accent);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

/* Steps */
.dl-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    counter-reset: step;
}

.dl-step {
    text-align: center;
    position: relative;
}

.dl-step-num {
    width: 48px;
    height: 48px;
    background: var(--dl-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1.25rem;
}

.dl-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dl-primary);
    margin-bottom: 0.5rem;
}

.dl-step p {
    color: var(--dl-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA */
.dl-cta {
    background: linear-gradient(135deg, var(--dl-primary) 0%, var(--dl-primary-soft) 100%);
    color: #fff;
    padding: 4rem 2rem;
    border-radius: var(--dl-radius);
    text-align: center;
    margin: 0 1rem;
}

.dl-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
}

.dl-cta p {
    color: #94a3b8;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
}

/* Footer landing */
.dl-footer {
    background: var(--dl-primary);
    color: #94a3b8;
    padding: 3rem 0 2rem;
    margin-top: 0;
}

.dl-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dl-footer h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dl-footer a {
    color: #94a3b8;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.dl-footer a:hover {
    color: var(--dl-accent);
}

.dl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.dl-footer .logo-svg {
    height: 48px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .dl-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .dl-stat:nth-child(2) {
        border-right: none !important;
    }

    .main-home .dl-stats .dl-stat:nth-child(1),
    .main-home .dl-stats .dl-stat:nth-child(2) {
        border-bottom: 1px solid var(--dl-border) !important;
    }

    .dl-features,
    .dl-steps {
        grid-template-columns: 1fr;
    }

    .dl-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dl-split.reverse .dl-split-image {
        order: -1;
    }

    .dl-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .dl-stats-inner {
        grid-template-columns: 1fr;
    }

    .main-home .dl-stats .dl-stat {
        border-right: none !important;
        border-bottom: 1px solid var(--dl-border) !important;
    }

    .main-home .dl-stats .dl-stat:last-child {
        border-bottom: none !important;
    }

    .dl-hero .container {
        padding-top: 5rem;
    }
}
