/* ==============================================
   DOWNLOADS PAGE
   ============================================== */

/* Hero */
.dl-hero {
    background: linear-gradient(135deg, #4B2FBB 0%, #5B3EEE 60%, #6D52F0 100%);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    color: #fff;
    margin: -40px -40px 0;
}

.dl-hero-inner {
    max-width: 760px;
    margin: 0 auto;
}

.dl-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
}

.dl-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: #fff;
}

.dl-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
}

.dl-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    align-self: flex-start;
}

.dl-vba-hint {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin: 0.5rem 0 0;
    width: auto;
}

.dl-vba-hint a,
.dl-vba-hint a:visited,
.dl-vba-hint a:active {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.dl-vba-hint a:hover {
    color: #F28C28;
}

.dl-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    width: 300px;
    text-align: center;
    white-space: nowrap;
}

.dl-btn-primary {
    background: #F28C28;
    color: #fff;
    border: 2px solid #F28C28;
}

.dl-btn-primary:hover {
    background: #e07d1a;
    border-color: #e07d1a;
    color: #fff;
    transform: translateY(-1px);
}

.dl-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.dl-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.dl-hero-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

.dl-hero-note a,
.dl-hero-note a:visited,
.dl-hero-note a:active {
    color: #fff;
    text-decoration: underline;
}

.dl-hero-note a:hover {
    color: #F28C28;
}

/* Sections */
.dl-section {
    padding: 5rem 1.5rem;
}

.dl-section-grey {
    background: #F7F8FA;
    margin-left: -40px;
    margin-right: -40px;
    padding-left: calc(1.5rem + 40px);
    padding-right: calc(1.5rem + 40px);
}

@media (max-width: 600px) {
    .dl-section-grey {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: calc(1.5rem + 16px);
        padding-right: calc(1.5rem + 16px);
    }
}

.dl-container {
    max-width: 860px;
    margin: 0 auto;
}

.dl-section-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0E1A33;
    margin-bottom: 0.75rem;
}

.dl-section-sub {
    color: #4A4F5A;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Requirements grid */
.dl-req-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dl-req-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-left: 4px solid #e5e7eb;
}

.dl-req-card.dl-req-autocad {
    border-left: 4px solid #F28C28;
    background: #fffbf5;
}

.dl-req-name {
    font-weight: 700;
    font-size: 1rem;
    color: #0E1A33;
}

.dl-req-note {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.dl-req-note a {
    color: #F28C28;
    font-weight: 600;
    text-decoration: underline;
}

.dl-req-extra {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

/* Steps */
.dl-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.dl-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.dl-step-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #5B3EEE;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dl-step-content {
    flex: 1;
}

.dl-step-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0E1A33;
    margin: 0.25rem 0 0.75rem;
}

.dl-step-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4A4F5A;
    margin-bottom: 0.75rem;
    width: auto;
}

.dl-step-content a {
    color: #5B3EEE;
}

.dl-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin: 1rem 0;
}

/* Video */
.dl-video-wrap {
    max-width: 700px;
    margin: 0 auto;
}


.video-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* FAQ */
.dl-faq {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.dl-faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.dl-faq-item summary {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0E1A33;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dl-faq-item summary::-webkit-details-marker { display: none; }

.dl-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: #5B3EEE;
    font-weight: 400;
}

.dl-faq-item[open] summary::after {
    content: '−';
}

.dl-faq-item p {
    padding: 0 1.5rem 1rem;
    font-size: 0.9rem;
    color: #4A4F5A;
    line-height: 1.7;
    margin: 0;
    width: auto;
}

.dl-faq-item a { color: #5B3EEE; }

.dl-faq-contact {
    font-size: 0.9rem;
    color: #6b7280;
}

.dl-faq-contact a { color: #5B3EEE; }

/* CTA */
.dl-cta {
    text-align: center;
}

.dl-cta h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0E1A33;
    margin-bottom: 0.75rem;
}

.dl-cta p {
    color: #4A4F5A;
    margin-bottom: 2rem;
    font-size: 1rem;
    width: auto;
}

/* WhatsApp float */
.floating-image {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: auto;
    z-index: 999;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 600px) {
    .dl-req-grid {
        grid-template-columns: 1fr;
    }

    .dl-step {
        flex-direction: column;
        gap: 1rem;
    }

    .dl-buttons {
        flex-direction: column;
        align-items: center;
    }

    .dl-btn-group {
        width: 280px;
    }

    .dl-btn {
        justify-content: center;
        width: 280px;
    }

    .dl-hero {
        padding: 4rem 1.5rem;
        margin: -16px -16px 0;
    }

    .dl-vba-hint {
        text-align: center;
    }

    .dl-step-content p{
        font-size:1.05rem;
    }

    .dl-faq-item summary{
        font-size:1.05rem;
    }

    .dl-faq-item p {
        font-size: 1.05rem;
    }
}
