/* ================================================================
# DACOG Search Engine – System Architecture
# File: ad-landing.css
# Path: /static/css/ad-landing.css
# Version: 3.0.0
# Description: Mathematical-Unit Ad Landing Page (Light/Hero Theme)
# ================================================================*/

/* 1. Global Resets */
html, body {
    overflow-x: hidden;
}

.ad-landing-wrapper {
    width: 100vw;
    overflow-x: hidden;
    background-color: var(--dacog-bg-base);
    color: var(--dacog-text-main);
}

/* 2. Hero Section */
.ad-hero {
    min-height: 43.75rem; /* 700px */
    background: linear-gradient(135deg, var(--dacog-bg-topbar) 0%, #0a0a0a 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 3.125rem 0; /* 50px */
    border-bottom: 0.3125rem solid var(--dacog-accent-primary);
}

.ad-hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.05) 0.0625rem, transparent 0.0625rem);
    background-size: 1.875rem 1.875rem; /* 30px */
    pointer-events: none;
    z-index: 1;
}

.ad-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.ad-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.0625rem;
}

/* 3. Workflow Flowchart Section */
.workflow-section {
    padding: 5rem 0;
    background-color: var(--dacog-bg-nav);
    border-bottom: 0.0625rem solid var(--dacog-border-color);
}

.workflow-step {
    text-align: center;
    padding: 1.5rem;
}

.workflow-icon {
    width: 5rem;
    height: 5rem;
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--dacog-accent-primary);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem auto;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.theme-hero .workflow-icon {
    background-color: rgba(138, 180, 248, 0.1);
}

.workflow-step:hover .workflow-icon {
    -webkit-transform: translateY(-0.3125rem);
    -moz-transform: translateY(-0.3125rem);
    transform: translateY(-0.3125rem);
}

.workflow-arrow {
    font-size: 1.5rem;
    color: var(--dacog-text-muted);
    opacity: 0.3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. Ad Types Grid */
.types-section {
    padding: 5rem 0;
}

.ad-type-card {
    background-color: var(--dacog-bg-nav);
    border: 0.0625rem solid var(--dacog-border-color);
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.ad-type-card:hover {
    -webkit-transform: translateY(-0.3125rem);
    -moz-transform: translateY(-0.3125rem);
    transform: translateY(-0.3125rem);
    -webkit-box-shadow: var(--dacog-shadow-dropdown);
    -moz-box-shadow: var(--dacog-shadow-dropdown);
    box-shadow: var(--dacog-shadow-dropdown);
    border-color: var(--dacog-accent-primary);
}

.ad-type-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* 5. Features Box */
.feature-box {
    background-color: var(--dacog-bg-nav);
    border: 0.0625rem solid var(--dacog-border-color);
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    border-radius: 0.5rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    font-weight: 700;
}

/* ==========================================================================
   6. MEDIA QUERIES (AFRICAN TARGET OPTIMIZATION)
   ========================================================================== */

@media screen and (max-width: 62em) { /* 992px */
    .workflow-arrow {
        display: none; /* Hide arrows on stacked mobile views */
    }
}

@media screen and (max-width: 48em) { /* 768px */
    .ad-hero-title {
        font-size: 2.5rem;
    }
    
    .workflow-section, .types-section {
        padding: 3.125rem 0;
    }
}

@media screen and (max-width: 30em) { /* 480px */
    .ad-hero {
        min-height: 31.25rem; /* 500px */
        padding: 2rem 0;
        text-align: center;
    }
    
    .ad-hero-content .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ad-hero-content .btn {
        width: 100%;
    }
    
    .ad-type-card {
        padding: 1.5rem;
    }
}
