/* ===================================================
   POTÊNCIA MASCULINA — THANK YOU PAGE
   Design: Dark Navy + Gold/Amber Accents
   =================================================== */

/* ---- CSS Reset & Custom Properties ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Navy palette */
    --navy-900: #050a18;
    --navy-800: #0a1128;
    --navy-700: #0f1a3a;
    --navy-600: #162048;
    --navy-500: #1c2d5a;

    /* Gold/Amber palette */
    --gold-400: #d4a843;
    --gold-500: #c9952e;
    --gold-600: #b8871f;
    --gold-300: #e0be6a;
    --gold-200: #ebd494;
    --gold-glow: rgba(201, 149, 46, 0.15);
    --gold-glow-strong: rgba(201, 149, 46, 0.3);

    /* Neutral */
    --white: #ffffff;
    --white-90: rgba(255, 255, 255, 0.9);
    --white-70: rgba(255, 255, 255, 0.7);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-05: rgba(255, 255, 255, 0.05);

    /* Green for success */
    --success-green: #22c55e;
    --success-green-glow: rgba(34, 197, 94, 0.2);

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 720px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--navy-900);
    color: var(--white-90);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ---- Background Particles ---- */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold-400);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ---- Success Overlay ---- */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 24, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: overlayFadeOut 0.6s var(--ease-out-expo) 2.2s forwards;
}

@keyframes overlayFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.success-checkmark {
    width: 80px;
    height: 80px;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
}

.checkmark-circle {
    stroke: var(--gold-400);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: circleStroke 0.6s var(--ease-out-expo) 0.3s forwards;
}

@keyframes circleStroke {
    to {
        stroke-dashoffset: 0;
    }
}

.checkmark-check {
    stroke: var(--gold-400);
    stroke-width: 3;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkStroke 0.4s var(--ease-out-expo) 0.9s forwards;
}

@keyframes checkStroke {
    to {
        stroke-dashoffset: 0;
    }
}

/* ---- Thank You Page ---- */
.thank-you-page {
    position: relative;
    z-index: 1;
}

/* ---- Top Bar ---- */
.top-bar {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 50%, rgba(34, 197, 94, 0.1) 100%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    padding: 10px 0;
}

.top-bar-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.top-bar-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--success-green);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- Hero Section ---- */
.hero-section {
    padding: 80px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-glow);
    border: 1px solid rgba(201, 149, 46, 0.25);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 36px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-300);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 2.4s forwards;
}

.badge-icon {
    display: flex;
    align-items: center;
    color: var(--success-green);
}

/* Headline */
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s var(--ease-out-expo) 2.6s forwards;
}

.headline-accent {
    color: var(--gold-400);
    display: block;
    margin-top: 4px;
    font-style: italic;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--white-70);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(25px);
    animation: fadeSlideUp 1s var(--ease-out-expo) 2.8s forwards;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 600;
}

/* Divider */
.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 3s forwards;
}

.divider-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.divider-icon {
    color: var(--gold-400);
    display: flex;
}

/* ---- Content Section ---- */
.content-section {
    padding: 50px 0 60px;
    position: relative;
}

.content-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Email Notice */
.email-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
    border: 1px solid var(--white-10);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 3.1s forwards;
}

.email-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gold-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    border: 1px solid rgba(201, 149, 46, 0.15);
}

.email-notice p {
    font-size: 1rem;
    color: var(--white-70);
    line-height: 1.75;
}

.email-notice strong {
    color: var(--white);
    font-weight: 600;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.benefit-card {
    position: relative;
    background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
    border: 1px solid var(--white-10);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.benefit-card[data-delay="0"] { animation: fadeSlideUp 0.8s var(--ease-out-expo) 3.3s forwards; }
.benefit-card[data-delay="1"] { animation: fadeSlideUp 0.8s var(--ease-out-expo) 3.45s forwards; }
.benefit-card[data-delay="2"] { animation: fadeSlideUp 0.8s var(--ease-out-expo) 3.6s forwards; }
.benefit-card[data-delay="3"] { animation: fadeSlideUp 0.8s var(--ease-out-expo) 3.75s forwards; }

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.benefit-card:hover {
    border-color: rgba(201, 149, 46, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--gold-glow);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white-05);
    line-height: 1;
    user-select: none;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    margin-bottom: 18px;
    border: 1px solid rgba(201, 149, 46, 0.12);
    transition: all 0.4s var(--ease-out-expo);
}

.benefit-card:hover .benefit-icon {
    background: var(--gold-glow-strong);
    transform: scale(1.05);
}

.benefit-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.88rem;
    color: var(--white-50);
    line-height: 1.6;
}

/* Wisdom Quote */
.wisdom-quote {
    text-align: center;
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(201, 149, 46, 0.06), rgba(201, 149, 46, 0.02));
    border: 1px solid rgba(201, 149, 46, 0.1);
    border-radius: 16px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 3.9s forwards;
}

.wisdom-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--gold-400);
    line-height: 1;
    opacity: 0.3;
}

.wisdom-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-style: italic;
    color: var(--white-70);
    line-height: 1.8;
    max-width: 540px;
    margin: 0 auto;
}

.wisdom-quote strong {
    color: var(--gold-300);
    font-weight: 600;
    font-style: normal;
}

/* ---- CTA Section ---- */
.cta-section {
    padding: 60px 0 80px;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Doctor Badge */
.doctor-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--navy-700);
    border: 1px solid var(--white-10);
    border-radius: 80px;
    padding: 14px 28px;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s var(--ease-out-expo) 4s forwards;
}

.doctor-badge-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--gold-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    border: 1px solid rgba(201, 149, 46, 0.15);
}

.doctor-badge p {
    font-size: 0.88rem;
    color: var(--white-50);
    line-height: 1.5;
    text-align: left;
}

.doctor-badge strong {
    color: var(--gold-300);
    font-weight: 600;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400), var(--gold-300));
    color: var(--navy-900);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 18px 48px;
    border-radius: 80px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow:
        0 4px 20px rgba(201, 149, 46, 0.25),
        0 0 60px rgba(201, 149, 46, 0.08);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    animation: fadeSlideUpScale 0.8s var(--ease-out-expo) 4.2s forwards;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 40px rgba(201, 149, 46, 0.35),
        0 0 80px rgba(201, 149, 46, 0.15);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-arrow {
    display: flex;
    transition: transform 0.3s var(--ease-out-expo);
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

/* Pulsing ring animation */
.cta-button::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 80px;
    border: 2px solid var(--gold-400);
    opacity: 0;
    animation: ctaPulse 2.5s ease-in-out infinite 4.5s;
}

@keyframes ctaPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.04);
    }
}

/* Support Text */
.support-text {
    font-size: 0.82rem;
    color: var(--white-50);
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 4.4s forwards;
}

/* ---- Footer ---- */
.footer {
    border-top: 1px solid var(--white-05);
    padding: 24px 0;
    text-align: center;
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.footer p {
    font-size: 0.75rem;
    color: var(--white-20);
    letter-spacing: 0.02em;
}

/* ---- Animations ---- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUpScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-card {
        padding: 24px 22px;
    }

    .email-notice {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .doctor-badge {
        flex-direction: column;
        text-align: center;
        border-radius: 16px;
        padding: 20px 24px;
    }

    .doctor-badge p {
        text-align: center;
    }

    .cta-button {
        padding: 16px 36px;
        font-size: 0.95rem;
    }

    .wisdom-quote {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
    }
}

/* ---- Scroll-triggered animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
