/* ============================================================
   Ad Wizard — Landing Page Styles
   ============================================================ */

/* ---------------------------------------------------------------
   Reset / base
--------------------------------------------------------------- */
.aw-page-wrap *,
.aw-page-wrap *::before,
.aw-page-wrap *::after {
    box-sizing: border-box;
}

.aw-page-wrap {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

.aw-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------------------------------------------------------
   Utilidades
--------------------------------------------------------------- */
.aw-gradient-text {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aw-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}

.aw-section-tag {
    display: inline-block;
    background: rgba(37,99,235,0.08);
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.aw-section-header h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin: 0 0 12px;
    color: #111827;
    line-height: 1.25;
}

.aw-section-header p {
    font-size: 16px;
    color: #6b7280;
    margin: 0;
}

/* ---------------------------------------------------------------
   CTA buttons
--------------------------------------------------------------- */
.aw-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.aw-cta-primary {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.aw-cta-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,99,235,0.4);
    color: #fff;
    text-decoration: none;
}

.aw-cta-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(4px);
}

.aw-cta-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
    text-decoration: none;
}

.aw-cta-large {
    padding: 16px 36px;
    font-size: 17px;
}

/* ---------------------------------------------------------------
   HERO
--------------------------------------------------------------- */
.aw-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a1a4e 100%);
    position: relative;
    padding: 90px 0 0;
    overflow: hidden;
}

.aw-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(124,58,237,0.12) 0%, transparent 60%);
}

.aw-hero .aw-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.aw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.aw-hero-title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 18px;
    line-height: 1.15;
}

.aw-hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 32px;
    line-height: 1.7;
    max-width: 480px;
}

.aw-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Mockup */
.aw-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.aw-mockup {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255,255,255,0.1);
}

.aw-mockup-bar {
    background: #f3f4f6;
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.aw-mockup-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
}

.aw-mockup-bar span:nth-child(1) { background: #ef4444; }
.aw-mockup-bar span:nth-child(2) { background: #f59e0b; }
.aw-mockup-bar span:nth-child(3) { background: #10b981; }

.aw-mockup-screen {
    padding: 0;
}

.aw-mockup-nav {
    background: #f9fafb;
    height: 36px;
    border-bottom: 1px solid #e5e7eb;
}

.aw-mockup-content {
    padding: 16px;
    display: flex;
    gap: 12px;
    min-height: 200px;
}

.aw-mockup-banner {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    font-weight: 700;
    font-family: -apple-system, sans-serif;
    letter-spacing: 0.3px;
}

.aw-mockup-banner--top {
    width: 100%;
    height: 50px;
    margin-bottom: 12px;
    display: flex;
}

.aw-mockup-banner--inline {
    width: 70px;
    min-width: 70px;
    min-height: 140px;
    margin: 4px 0;
    writing-mode: vertical-lr;
    text-orientation: mixed;
}

.aw-mockup-content {
    flex-direction: column;
    padding: 12px;
}

.aw-mockup-lines {
    display: flex;
    gap: 10px;
    flex: 1;
}

.aw-mockup-lines > div:not(.aw-mockup-banner) {
    background: #e5e7eb;
    border-radius: 4px;
    height: 10px;
    flex: 1;
    align-self: flex-start;
    margin-top: 8px;
}

.aw-mockup-lines > div:nth-child(2) { width: 80%; flex: none; }
.aw-mockup-lines > div:nth-child(3) { width: 60%; flex: none; }

.aw-mockup-lines {
    flex-direction: column;
    flex: 1;
}

/* Stat cards flutuantes */
.aw-stat-card {
    position: absolute;
    background: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    animation: awFloat 3s ease-in-out infinite;
}

.aw-stat-card strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aw-stat-card span {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
}

.aw-stat-card--1 {
    bottom: 80px;
    left: -20px;
    animation-delay: 0s;
}

.aw-stat-card--2 {
    top: 20px;
    right: -10px;
    animation-delay: 1.5s;
}

@keyframes awFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.aw-hero-wave {
    margin-top: 60px;
    line-height: 0;
}

.aw-hero-wave svg {
    display: block;
    width: 100%;
}

/* ---------------------------------------------------------------
   Stats strip
--------------------------------------------------------------- */
.aw-stats-strip {
    background: #f9fafb;
    padding: 40px 0;
    border-bottom: 1px solid #e5e7eb;
}

.aw-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.aw-stats-item {
    text-align: center;
    padding: 0 48px;
}

.aw-stats-item strong {
    display: block;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aw-stats-item span {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.aw-stats-divider {
    width: 1px;
    height: 48px;
    background: #e5e7eb;
}

/* ---------------------------------------------------------------
   Benefícios
--------------------------------------------------------------- */
.aw-beneficios {
    padding: 90px 0;
    background: #fff;
}

.aw-beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.aw-beneficio-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.25s ease;
}

.aw-beneficio-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 32px rgba(37,99,235,0.1);
    transform: translateY(-4px);
}

.aw-beneficio-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.aw-beneficio-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111827;
}

.aw-beneficio-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* ---------------------------------------------------------------
   Formatos
--------------------------------------------------------------- */
.aw-formatos {
    padding: 90px 0;
    background: #f9fafb;
}

.aw-formatos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.aw-formato-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.aw-formato-card:hover {
    border-color: #2563eb;
    box-shadow: 0 12px 40px rgba(37,99,235,0.12);
}

.aw-formato-card--featured {
    border-color: #2563eb;
    box-shadow: 0 12px 40px rgba(37,99,235,0.15);
    transform: scale(1.03);
}

.aw-formato-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.aw-formato-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    margin-bottom: 20px;
}

.aw-formato-preview--wide {
    height: 100px;
}

.aw-formato-demo {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    font-weight: 700;
    font-family: -apple-system, sans-serif;
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.aw-formato-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #111827;
}

.aw-formato-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 18px;
    line-height: 1.6;
}

.aw-formato-features {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aw-formato-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.aw-formato-features svg {
    color: #16a34a;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   Como funciona — timeline
--------------------------------------------------------------- */
.aw-como-funciona {
    padding: 90px 0;
    background: #fff;
}

.aw-steps-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.aw-timeline-item {
    flex: 1;
    text-align: center;
    padding: 0 16px;
}

.aw-timeline-num {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.aw-timeline-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    margin-top: 28px;
    flex-shrink: 0;
    opacity: 0.3;
}

.aw-timeline-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111827;
}

.aw-timeline-content p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* ---------------------------------------------------------------
   Form section
--------------------------------------------------------------- */
.aw-form-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f9fafb, #eff6ff 100%);
}

.aw-form-card {
    background: #fff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(37,99,235,0.1);
    border: 1px solid #e0e7ff;
    max-width: 820px;
    margin: 0 auto;
}

/* ---------------------------------------------------------------
   FAQ
--------------------------------------------------------------- */
.aw-faq {
    padding: 90px 0;
    background: #fff;
}

.aw-faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aw-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.aw-faq-item:has(.aw-faq-question[aria-expanded="true"]) {
    border-color: #2563eb;
}

.aw-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color 0.2s;
}

.aw-faq-question:hover {
    color: #2563eb;
}

.aw-faq-question[aria-expanded="true"] {
    color: #2563eb;
}

.aw-faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #9ca3af;
}

.aw-faq-question[aria-expanded="true"] .aw-faq-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.aw-faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.7;
    border-top: 1px solid #f3f4f6;
}

.aw-faq-answer.open {
    display: block;
    animation: awFadeInDown 0.25s ease;
}

.aw-faq-answer p {
    margin: 12px 0 0;
}

@keyframes awFadeInDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------
   CTA final
--------------------------------------------------------------- */
.aw-cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f172a, #1e3a5f, #1a1a4e);
}

.aw-cta-final-box {
    text-align: center;
}

.aw-cta-final-box h2 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px;
}

.aw-cta-final-box p {
    font-size: 17px;
    color: rgba(255,255,255,0.65);
    margin: 0 0 32px;
}

/* ---------------------------------------------------------------
   Scroll animations
--------------------------------------------------------------- */
.aw-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.aw-animate.aw-visible {
    opacity: 1;
    transform: translateY(0);
}

.aw-beneficio-card:nth-child(2).aw-animate { transition-delay: 0.1s; }
.aw-beneficio-card:nth-child(3).aw-animate { transition-delay: 0.2s; }
.aw-beneficio-card:nth-child(4).aw-animate { transition-delay: 0.3s; }
.aw-beneficio-card:nth-child(5).aw-animate { transition-delay: 0.4s; }
.aw-beneficio-card:nth-child(6).aw-animate { transition-delay: 0.5s; }
.aw-formato-card:nth-child(2).aw-animate   { transition-delay: 0.15s; }
.aw-formato-card:nth-child(3).aw-animate   { transition-delay: 0.3s; }

/* ---------------------------------------------------------------
   Responsive
--------------------------------------------------------------- */
@media (max-width: 960px) {
    .aw-hero .aw-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .aw-hero-subtitle {
        max-width: 100%;
    }

    .aw-hero-actions {
        justify-content: center;
    }

    .aw-hero-visual {
        order: -1;
    }

    .aw-stat-card--1 { left: 10px; bottom: 20px; }
    .aw-stat-card--2 { right: 10px; top: 10px; }

    .aw-beneficios-grid,
    .aw-formatos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .aw-steps-timeline {
        flex-direction: column;
        align-items: center;
    }

    .aw-timeline-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, #2563eb, #7c3aed);
        margin: 0;
    }

    .aw-formato-card--featured {
        transform: none;
    }

    .aw-form-card {
        padding: 28px 20px;
    }
}

@media (max-width: 640px) {
    .aw-beneficios-grid,
    .aw-formatos-grid {
        grid-template-columns: 1fr;
    }

    .aw-stats-grid {
        flex-direction: column;
        gap: 24px;
    }

    .aw-stats-divider {
        width: 60px;
        height: 1px;
    }

    .aw-hero {
        padding: 60px 0 0;
    }

    .aw-mockup {
        max-width: 280px;
    }

    .aw-stat-card {
        display: none;
    }

    .aw-cta-btn {
        width: 100%;
        justify-content: center;
    }

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