/*
Theme Name: Consulta V3 Final
Theme URI: https://consultaonlineagora.com.br
Author: Antigravity Support
Description: Tema customizado para Consulta Online Agora Landing Page.
Version: 4.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-colors, landing-page
*/

:root {
    --bg-dark: #050a14;
    --bg-card: rgba(20, 30, 50, 0.6);
    --primary: #00f0ff;
    --primary-glow: rgba(0, 240, 255, 0.5);
    --secondary: #00ff9d;
    --text-main: #ffffff;
    --text-muted: #a0aab9;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 100px;
    /* Space for sticky CTA */
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent);
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent);
    animation-delay: 5s;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.2;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-sm:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #00c3ff);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.5);
}

.btn-block {
    display: flex;
    width: 100%;
    text-align: center;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    /* Restore height */
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-text.full-width {
    max-width: 800px;
    margin: 0 auto;
}

.center-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.center-features li {
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    /* Slight pill background */
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.badge {
    background: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.hero-features i {
    color: var(--secondary);
}

.sub-cta {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.visual-card {
    text-align: center;
    width: 300px;
    animation: float 6s infinite ease-in-out;
    position: relative;
}

.visual-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--secondary));
    z-index: -1;
    opacity: 0.5;
}

.icon-pulse {
    background: rgba(0, 240, 255, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    position: relative;
}

/* Trust Badges */
.trust-badges {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.trust-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.trust-badges i {
    width: 14px;
    height: 14px;
    color: var(--secondary);
}

.micro-copy {
    display: block;
    font-size: 0.8rem;
    margin-top: 1rem;
    opacity: 0.7;
    font-style: italic;
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Pain/Promise */
.pain-promise .glass-panel {
    background: linear-gradient(180deg, rgba(20, 30, 50, 0.4), rgba(5, 10, 20, 0.9));
    border: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    border-radius: 20px;
}

.pain-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.solution-box {
    background: rgba(0, 255, 157, 0.1);
    border: 1px solid var(--secondary);
    padding: 1.5rem;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 2rem;
}

.solution-text {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

/* 3D Visual Effects Support */
.hero,
.pain-promise {
    perspective: 1000px;
    overflow: hidden;
    /* Prevent scrollbars from rotation */
}

.hero-text,
.glass-panel {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Depth for Hero Elements */
.hero-title {
    transform: translateZ(20px);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Enhanced shadow for depth */
}

.hero-features {
    transform: translateZ(10px);
}

.cta-group {
    transform: translateZ(30px);
}

/* Depth for Glass Panel Elements */
.pain-promise .glass-panel h2 {
    transform: translateZ(25px);
}

.pain-promise .solution-box {
    transform: translateZ(35px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pain-promise .btn {
    transform: translateZ(40px);
}

/* Background Visuals - EKG Heartbeat */
.ekg-background {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 100%;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='400' viewBox='0 0 1200 400' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 200H100L120 100L140 300L160 200H250C250 200 300 50 400 200C500 50 550 200 550 200H650L670 100L690 300L710 200H1200' stroke='rgba(0, 240, 255, 0.5)' stroke-width='4' vector-effect='non-scaling-stroke' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    background-size: 50% auto;
    opacity: 0.15;
    /* High transparency */
    z-index: -1;
    pointer-events: none;
    animation: ekgMove 15s linear infinite;
    mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}

@keyframes ekgMove {
    0% {
        transform: translate(0, -50%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

/* Benefits Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 40, 60, 0.8);
    border-color: var(--primary);
}

.feature-card .icon-box {
    color: var(--primary);
    margin-bottom: 1.5rem;
    transform: scale(1.5);
    transform-origin: left;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Steps */
.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.step {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    margin-bottom: -1rem;
    position: relative;
    z-index: 0;
}

.step h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-connector {
    flex: 0 0 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    display: block;
}

.center-cta {
    text-align: center;
    width: 100%;
}

.center-cta .btn {
    display: inline-flex;
}

/* Specialties */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.warning-box {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid orange;
    padding: 1.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.warning-box i {
    color: orange;
    flex-shrink: 0;
}

/* Audience */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.audience-box {
    padding: 2.5rem;
    border-radius: 20px;
    height: 100%;
}

.audience-box.positive {
    background: rgba(0, 255, 157, 0.05);
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.audience-box.negative {
    background: rgba(255, 50, 50, 0.05);
    border: 1px solid rgba(255, 50, 50, 0.2);
}

.audience-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.audience-box.positive h3 i {
    color: var(--secondary);
}

.audience-box.negative h3 i {
    color: #ff5555;
}

.audience-box ul {
    list-style: none;
}

.audience-box ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.audience-box ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

/* Pricing */
.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    border: 2px solid var(--primary);
    background: linear-gradient(180deg, rgba(5, 10, 20, 0.8), rgba(0, 240, 255, 0.05));
    position: relative;
    overflow: hidden;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.price {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.installment {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pricing-features {
    text-align: left;
    margin: 0 auto 2.5rem;
    width: fit-content;
    list-style: none;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features i {
    color: var(--secondary);
    width: 20px;
    flex-shrink: 0;
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: var(--bg-card);
    color: var(--text-main);
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    transition: var(--transition);
}

.accordion-header:hover {
    background: rgba(30, 40, 60, 0.8);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.accordion-header.active::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.2);
    padding: 0 1.5rem;
}

.accordion-content p {
    padding: 1.5rem 0;
    color: var(--text-muted);
}

/* Mobile Sticky CTA - Universal (Mobile & Desktop) */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(5, 10, 20, 0.95);
    z-index: 9999;
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    display: flex;
    /* Enable flexbox to center content */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    border-top: 1px solid var(--glass-border);
    animation: slideUp 0.5s ease-out;
}

.mobile-sticky-cta .btn {
    width: 100%;
    max-width: 600px;
    /* Constraint width on larger screens */
    border-radius: 8px;
    font-size: 1rem;
    padding: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 3rem 0 150px 0;
    /* Extra padding at bottom to clear sticky CTA */
    background: #020408;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(0, 240, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes fillProgress {
    to {
        width: 100%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
        transition-property: left;
    }

    20%,
    100% {
        left: 100%;
        transition-property: left;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    .container {
        width: 95%;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
        /* Reduced for better fit */
    }

    .hero-features li {
        justify-content: left;
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        display: inline-flex;
        width: fit-content;
        /* Align centered visually but keep list flush */
    }

    .feature-card {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .feature-card .icon-box {
        margin: 0 auto 1.5rem;
        transform-origin: center;
    }

    .pricing-card {
        width: 100%;
        margin: 1rem 0;
    }

    /* Mobile Hero adjustments */
    .hero-content {
        padding-top: 0;
    }

    .center-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    /* Hide step connectors on mobile */
    .step-connector {
        display: none;
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 3rem 0;
    }

    /* Reduce padding */

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .step {
        width: 100%;
        margin-bottom: 2rem;
    }

    .audience-box {
        padding: 1.5rem;
    }

    .header .btn {
        display: none;
    }

    /* Hide header button on super small screens to save space */
    .header .logo {
        font-size: 1.2rem;
    }

    .pricing .price {
        font-size: 3rem;
    }

    .mobile-sticky-cta {
        padding: 1rem 1.5rem;
        /* Add side margins */
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .mobile-sticky-cta .btn {
        width: 100%;
        border-radius: 50px;
        /* Modern rounded look */
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    }

    /* Ensure no horizontal overflow */
    .glow {
        display: none;
    }

    /* Often cause of overflow issues on mobile, or reduce size */
}