/* ==========================================================================
   Design System & Paleta u-Shar
   #1bc6fc (Cyan) | #6527e4 (Purple) | #20c1a0 (Teal) | #6148a9 (Indigo) | #e47439 (Orange)
   ========================================================================== */

:root {
    --color-cyan: #1bc6fc;
    --color-purple: #6527e4;
    --color-teal: #20c1a0;
    --color-indigo: #6148a9;
    --color-orange: #e47439;

    --bg-dark-1: #070913;
    --bg-dark-2: #0d1124;
    --card-bg: rgba(16, 21, 44, 0.55);
    --card-border: rgba(255, 255, 255, 0.1);
    --card-border-glow: rgba(101, 39, 228, 0.35);

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark-1);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Grid Futurista */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* Orbes de Luz Dinâmicos */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
    top: 10%;
    left: 15%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, var(--color-purple), transparent 70%);
    animation-duration: 16s;
}

.orb-2 {
    bottom: 10%;
    right: 15%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--color-cyan), transparent 70%);
    animation-duration: 20s;
    animation-delay: -4s;
}

.orb-3 {
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-teal), transparent 70%);
    opacity: 0.3;
    animation-duration: 22s;
    animation-delay: -8s;
}

.orb-4 {
    bottom: 20%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--color-orange), transparent 70%);
    opacity: 0.25;
    animation-duration: 25s;
    animation-delay: -12s;
}

@keyframes floatOrb {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(40px, -50px) scale(1.1);
    }
    100% {
        transform: translate(-30px, 40px) scale(0.95);
    }
}

/* Canvas de Partículas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Layout Principal */
.main-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 860px;
    padding: 2.5rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card Glassmorphism */
.glass-card {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 4rem 3.5rem;
    box-shadow: 
        0 20px 50px -10px rgba(0, 0, 0, 0.6),
        0 0 40px -10px var(--card-border-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-card:hover {
    box-shadow: 
        0 25px 60px -10px rgba(0, 0, 0, 0.7),
        0 0 55px -5px rgba(27, 198, 252, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #cbd5e1;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-teal);
    box-shadow: 0 0 10px var(--color-teal);
    animation: pulseRing 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulseRing {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 8px var(--color-teal);
    }
    50% {
        transform: scale(1.35);
        opacity: 0.8;
        box-shadow: 0 0 16px var(--color-cyan);
    }
}

/* Hero Header */
.hero-header {
    margin-bottom: 2.5rem;
    max-width: 720px;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.domain-highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-cyan) 0%, #38bdf8 30%, var(--color-teal) 70%, var(--color-orange) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(27, 198, 252, 0.25);
    animation: shineGradient 6s ease infinite;
    word-break: break-word;
}

.title-sub {
    display: block;
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 0.35rem;
}

@keyframes shineGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
}

.gradient-text {
    background: linear-gradient(120deg, var(--color-teal), var(--color-cyan), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Barra de Progresso e Badges Universais */
.progress-indicator {
    width: 100%;
    max-width: 620px;
    margin-bottom: 2.4rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.6rem;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-cyan), var(--color-purple), var(--color-teal), transparent);
    border-radius: 99px;
    animation: progressScan 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes progressScan {
    0% {
        left: -60%;
    }
    100% {
        left: 120%;
    }
}

.feature-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    padding: 0.45rem 1rem;
    border-radius: 99px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #cbd5e1;
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.feature-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(27, 198, 252, 0.35);
    box-shadow: 0 4px 15px rgba(27, 198, 252, 0.15);
    color: #ffffff;
}

.badge-icon {
    width: 15px;
    height: 15px;
    color: var(--color-cyan);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.feature-badge:nth-child(2) .badge-icon {
    color: var(--color-orange);
}

.feature-badge:nth-child(3) .badge-icon {
    color: var(--color-teal);
}

.feature-badge:hover .badge-icon {
    transform: scale(1.15);
}

/* Divisor */
.card-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 2.2rem;
}

/* Powered by u-Shar */
.powered-by {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.powered-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-muted);
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
}

.logo-link:hover {
    transform: translateY(-3px) scale(1.05);
}

.brand-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(101, 39, 228, 0.35));
    transition: filter 0.3s ease;
}

.logo-link:hover .brand-logo {
    filter: drop-shadow(0 6px 25px rgba(27, 198, 252, 0.65));
}

/* Responsividade */
@media (max-width: 768px) {
    .glass-card {
        padding: 3rem 1.8rem;
        border-radius: 22px;
    }

    .main-title {
        font-size: 2.1rem;
    }

    .subtitle {
        font-size: 1.05rem;
    }

    .progress-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .brand-logo {
        max-height: 44px;
    }
}

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

    .main-title {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .status-badge {
        font-size: 0.68rem;
        padding: 0.4rem 0.9rem;
    }

    .brand-logo {
        max-height: 38px;
    }
}
