/* =================================
   DARK TECH THEME - FEBIC 2026
   ================================= */

/* Optimized Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

:root {
    --dark-navy: #0a1628;
    --dark-purple: #1e0b3e;
    --dark-blue: #0d2847;
    --neon-purple: #8b5cf6;
    --neon-blue: #3b82f6;
    --neon-teal: #06b6d4;
    --neon-orange: #f59e0b;
    --neon-pink: #ec4899;
    --glass-dark-bg: rgba(15, 23, 42, 0.6);
    --glass-dark-border: rgba(139, 92, 246, 0.3);
}

/* Background Decorations */
.pattern-dots {
    background-image: radial-gradient(rgba(139, 92, 246, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
}

.circle-bg {
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.circle-purple {
    background: var(--neon-purple);
}

.circle-blue {
    background: var(--neon-blue);
}

body.dark-tech {
    background: linear-gradient(135deg, var(--dark-navy) 0%, var(--dark-purple) 50%, var(--dark-blue) 100%) !important;
    background-attachment: fixed !important;
    color: #e2e8f0 !important;
    overflow-x: hidden;
}

/* Fix for mobile background attachment */
@media (max-width: 1024px) {
    body.dark-tech {
        background-attachment: scroll !important;
    }
}

/* --- Layout Systems --- */
.hero-container {
    padding-top: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-stats-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-section {
    padding: 10rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 8rem;
    align-items: center;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 8rem;
}

.carteirinha-feature {
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

/* Components */
.glass-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-dark-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-dark:hover {
    border-color: var(--neon-purple);
    transform: translateY(-5px);
}

.btn-neon {
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-pink));
    color: white !important;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FAQ */
.faq-item {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-dark-border);
    background: rgba(15, 23, 42, 0.03);
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--neon-purple);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block !important;
    }

    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column !important;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
        padding: 0 2rem;
        border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }

    .nav-wrapper.active {
        max-height: 600px;
        padding: 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-stats-wrapper {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats-wrapper .glass-dark {
        min-width: 280px;
        flex: 1;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .carteirinha-feature {
        grid-template-columns: 1fr;
        padding: 3rem;
        text-align: center;
    }
}

@media (max-width: 500px) {
    section {
        padding: 5rem 0 !important;
    }

    .container {
        padding: 0 1rem !important;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 6rem 0;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-container h1 {
        font-size: 1.6rem;
    }

    .hero-stats-wrapper {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons-group {
        gap: 0.8rem;
    }

    .stat-value-big {
        font-size: 1.8rem !important;
    }
}

/* --- Hero Section Revamp Classes --- */
.hero-main-section {
    padding: 14rem 0 10rem;
    position: relative;
    overflow: hidden;
    background: url('../imagens/febic_backtop.svg') no-repeat center center;
    background-size: cover;
    background-attachment: scroll;
    z-index: 1;
}

@media (max-width: 1024px) {
    .hero-main-section {
        padding: 10rem 0 6rem;
        background-attachment: scroll;
        text-align: center;
    }
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.hero-tagline-box {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-title-main {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero-subtitle-main {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #cbd5e1;
}

@media (max-width: 768px) {
    .hero-title-main {
        font-size: 2.8rem;
    }

    .hero-subtitle-main {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .hero-subtitle-main {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-main-section p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
}

.hero-buttons-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

@media (max-width: 640px) {
    .hero-buttons-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons-group .btn,
    .hero-buttons-group .btn-neon {
        width: 100%;
        justify-content: center;
    }
}

.stat-card-glass {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.stat-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-value-big {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (max-width: 480px) {
    .stat-card-glass {
        padding: 1.5rem;
    }

    .stat-icon-box {
        width: 50px;
        height: 50px;
    }

    .stat-value-big {
        font-size: 2.2rem;
    }
}

.decorative-man {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .decorative-man {
        height: 60%;
        bottom: 0;
        top: auto;
        opacity: 0.15;
    }
}

@media (max-width: 768px) {
    .floating-shape {
        filter: blur(60px);
        width: 150px !important;
        height: 150px !important;
    }
}

/* --- FAQ Section Enhanced --- */
#faq {
    background: linear-gradient(180deg, #0b1120 0%, #0a1628 100%) !important;
}

.faq-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(15, 23, 42, 0.4);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(15, 23, 42, 0.6);
    transform: translateX(10px);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.faq-question h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 !important;
    color: #f8fafc !important;
    transition: color 0.3s ease;
}

.faq-icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--neon-purple);
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(-10px);
}

.faq-answer p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.faq-item.active {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--neon-purple);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.faq-item.active .faq-question h3 {
    color: var(--neon-purple) !important;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1rem;
    opacity: 1;
    transform: translateY(0);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg) scale(1.2);
    color: var(--neon-teal);
}

/* --- Restored Global Utilities --- */
.pattern-dots {
    background-image: radial-gradient(circle, rgba(139, 92, 246, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circle-bg {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.circle-purple {
    background: radial-gradient(circle, var(--neon-purple) 0%, transparent 70%);
}

.circle-blue {
    background: radial-gradient(circle, var(--neon-blue) 0%, transparent 70%);
}

.tech-icon-float {
    animation: techFloat 6s ease-in-out infinite;
}

@keyframes techFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.number-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 5px 25px rgba(139, 92, 246, 0.4);
}

.dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.7;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.glow-text {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

/* Animations */
.reveal-on-scroll {
    opacity: 1 !important;
}

.reveal.active {
    opacity: 1 !important;
}

.bg-molecular-hex {
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 80%), url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iMTA0IiB2aWV3Qm94PSIwIDAgNjAgMTA0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0zMCAwaDMwdjUyaC0zMHpNMCA1MmgzMHY1MkgweiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDYsIDE4MiwgMjEyLCAwLjEpIiBzdHJva2Utd2lkdGg9IjEiLz48L3N2Zz4=')60px 104px;
}

.bg-circuit-nodes {
    background-image: radial-gradient(circle at 10px 10px, rgba(139, 92, 246, 0.1) 2px, transparent 0);
    background-size: 40px 40px;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
    animation: drift 15s infinite ease-in-out;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 40px) scale(0.9);
    }
}

/* --- Smooth Transitions & Dividers --- */
.section-divider {
    position: absolute;
    width: 100%;
    height: 100px;
    left: 0;
    z-index: 5;
    pointer-events: none;
    /* Force visibility to prevent scroll-reveal fade/move effects on waves */
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    transform: none !important;
}

.divider-top {
    top: -99px;
}

.divider-bottom {
    bottom: -1.5px;
}

.reveal {
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
}

.glass-dark {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) !important;
}

/* --- Brand Diverse Backgrounds --- */
:root {
    --brand-yellow: #FFD700;
    --brand-pink: #D83D6F;
    --brand-purple: #6A2B7A;
    --brand-navy: #131B2D;
    --brand-blue: #2196F3;
}

.bg-brand-purple {
    background: linear-gradient(135deg, #1a0b2e 0%, #3e1b4d 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-brand-pink {
    background: linear-gradient(135deg, #1e0a16 0%, #4d1b2e 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-brand-blue {
    background: linear-gradient(135deg, #0a111e 0%, #1b2e4d 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-brand-navy {
    background: var(--brand-navy) !important;
    position: relative;
    overflow: hidden;
}

.glow-yellow {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

/* --- Alternating Styles --- */
.bg-white-section {
    background: #ffffff !important;
    color: #1e1b4b !important;
}

.bg-white-section h2,
.bg-white-section h3,
.bg-white-section h4 {
    color: #1e1b4b !important;
}

.bg-white-section p {
    color: #64748b !important;
}

.bg-brand-purple-solid {
    background: #6A2B7A !important;
}

.bg-brand-pink-solid {
    background: #D83D6F !important;
}

.bg-brand-blue-solid {
    background: #131B2D !important;
}

.bg-brand-teal-solid {
    background: #008CB4 !important;
}

/* --- Premium Feature Cards --- */
.premium-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.premium-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-15px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.premium-card.card-purple {
    background: linear-gradient(145deg, rgba(106, 43, 122, 0.3) 0%, rgba(216, 61, 111, 0.1) 100%);
}

.premium-card.card-blue {
    background: linear-gradient(145deg, rgba(33, 150, 243, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.premium-card .card-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card-purple .card-icon-box {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}

.card-blue .card-icon-box {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.premium-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: white !important;
}

.premium-card p {
    font-size: 1.1rem;
    color: #94a3b8 !important;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-card {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white !important;
}

.card-purple .btn-card {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

.card-blue .btn-card {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.btn-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* --- Dynamic Gallery Carousel --- */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
}

.carousel-track:active {
    cursor: grabbing;
}

.carousel-item {
    min-width: 400px;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(0.9);
    filter: grayscale(1);
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    filter: grayscale(0);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.carousel-item:hover {
    transform: scale(1.02);
    filter: grayscale(0.5);
    opacity: 0.8;
}

.carousel-item.active:hover {
    transform: scale(1.05);
    filter: grayscale(0);
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.carousel-item:hover img {
    transform: scale(1.1);
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.carousel-item:hover .carousel-overlay {
    opacity: 1;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: #3b82f6;
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: 300px;
        height: 400px;
    }
}

/* --- Modern Timeline Enhancements --- */
.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    position: relative;
    padding: 2rem 0;
    perspective: 1500px;
}

.timeline-connect-line {
    position: absolute;
    top: 50px;
    left: 5%;
    right: 5%;
    height: 4px;
    background: rgba(226, 232, 240, 0.5);
    z-index: 0;
    border-radius: 4px;
    overflow: hidden;
}

.timeline-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-teal), #10b981);
    width: 0%;
    /* Will be set via PHP */
    transition: width 1s ease-in-out;
}

.timeline-step {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
    height: 100%;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    position: relative;
    transform-style: preserve-3d;
    backdrop-filter: blur(10px);
}

.step-card>* {
    transform: translateZ(30px);
}

.step-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    box-shadow: 0 0 0 4px #f1f5f9;
    transition: all 0.4s ease;
}

.step-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* Status: Concluído */
.status-concluido .step-card {
    background: linear-gradient(145deg, #ffffff, #f5f3ff);
    border-color: rgba(139, 92, 246, 0.3);
}

.status-concluido .step-number {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    color: white;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
    transform: translateZ(50px);
}

.status-concluido .step-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
    color: var(--neon-purple);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

/* Status: Em Andamento */
.status-andamento .step-card {
    background: linear-gradient(145deg, #ffffff, #f0fdf4);
    border: 2px solid #10b981 !important;
    box-shadow: 0 35px 70px rgba(16, 185, 129, 0.2);
}

.status-andamento .step-number {
    background: #10b981;
    color: white;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5);
    animation: pulse-green 2s infinite;
    transform: translateZ(60px);
}

.status-andamento .step-badge {
    background: #10b981;
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

/* Status: Aguardando */
.status-aguardando .step-card {
    background: #f8fafc;
    border-color: #f1f5f9;
}

.status-aguardando .step-number {
    background: #e2e8f0;
    color: #94a3b8;
}

.status-aguardando .step-badge {
    background: #f1f5f9;
    color: #94a3b8;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@media (max-width: 1024px) {
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-connect-line {
        display: none;
    }
}

@media (max-width: 640px) {
    .timeline-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Phase-specific Colors --- */
.step-accent-purple .step-card {
    background: linear-gradient(to bottom, #ffffff, #faf5ff);
    border-color: rgba(139, 92, 246, 0.2);
}

.step-accent-purple .step-number {
    background: var(--neon-purple);
    color: white;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.step-accent-purple h3 {
    color: var(--neon-purple);
}

.step-accent-teal .step-card {
    background: linear-gradient(to bottom, #ffffff, #f0f9ff);
    border-color: rgba(6, 182, 212, 0.2);
}

.step-accent-teal .step-number {
    background: var(--neon-teal);
    color: white;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.step-accent-teal h3 {
    color: var(--neon-teal);
}

.step-accent-pink .step-card {
    background: linear-gradient(to bottom, #ffffff, #fff1f2);
    border-color: rgba(236, 72, 153, 0.2);
}

.step-accent-pink .step-number {
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
}

.step-accent-pink h3 {
    color: var(--neon-pink);
}

.step-accent-orange .step-card {
    background: linear-gradient(to bottom, #ffffff, #fff7ed);
    border-color: rgba(245, 158, 11, 0.2);
}

.step-accent-orange .step-number {
    background: var(--neon-orange);
    color: white;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.step-accent-orange h3 {
    color: var(--neon-orange);
}

/* Status overrides to maintain readability */
.status-concluido .step-card {
    filter: saturate(0.6);
    opacity: 0.8;
}

.status-andamento .step-card {
    border-width: 3px !important;
    box-shadow: 0 30px 60px rgba(16, 185, 129, 0.2);
}