:root {
    --bg-dark: #0a0514;
    --primary-color: #8a2be2;
    --secondary-color: #ffb703;
    --text-main: #f0ecfc;
    --text-muted: #b8b0cf;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --wa-green: #25D366;
    --wa-dark: #075E54;
    --wa-light: #DCF8C6;
    --wa-bg: #0b141a;
    --wa-chat-bg: #0b141a;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo, .badge, .zodiac-circle {
    font-family: 'Cinzel', serif;
}

/* Background Canvas Layer */
#starsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Music Toggle */
.new-music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 14px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.8), rgba(60, 20, 100, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
}

.new-music-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 25px rgba(138, 43, 226, 0.6);
    background: linear-gradient(135deg, rgba(158, 63, 246, 0.9), rgba(80, 40, 120, 0.9));
}

.music-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background: rgba(10, 5, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.4);
    letter-spacing: 1px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.95rem;
    transition: color 0.3s;
    font-weight: 400;
}

nav a:hover {
    color: var(--primary-color);
}

/* Buttons */
button {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* WhatsApp CTA Button */
.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, #ffd75e 0%, #ffb703 55%, #e89400 100%);
    color: #1a0f2e;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255, 215, 110, 0.9);
    border-radius: 999px;
    box-shadow: 0 6px 26px rgba(255, 183, 3, 0.35), inset 0 1px 0 rgba(255,255,255,0.5);
    transition: all 0.3s ease;
}

.cta-whatsapp:hover {
    background: linear-gradient(135deg, #ffe089 0%, #ffc62e 55%, #f4a000 100%);
    color: #1a0f2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(255, 183, 3, 0.55), inset 0 1px 0 rgba(255,255,255,0.6);
}

.cta-whatsapp svg {
    display: block;
}



.cta-secondary {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary-color);
    font-size: 1rem;
}

.cta-secondary:hover {
    background: rgba(138, 43, 226, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 85vh;
    padding: 2rem 5%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #a291cf);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* WhatsApp Chat Mockup */
.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, var(--secondary-color) 0%, var(--primary-color) 35%, transparent 68%);
    opacity: 0.22;
    border-radius: 50%;
    filter: blur(55px);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.whatsapp-mockup {
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255, 183, 3, 0.25);
    background: linear-gradient(180deg, #140a26 0%, #0a0514 100%);
    border: 1px solid rgba(255, 183, 3, 0.22);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Figura do Oráculo dominando o hero */
.oracle-figure {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    animation: float 6.5s ease-in-out infinite;
    filter: drop-shadow(0 0 55px rgba(255, 183, 3, 0.38)) drop-shadow(0 0 90px rgba(138, 43, 226, 0.30));
}

.oracle-figure img {
    width: 100%;
    display: block;
    /* funde as bordas no campo estelar do fundo, como se a figura emergisse da luz (sem retângulo) */
    -webkit-mask-image: radial-gradient(ellipse 50% 66% at 50% 44%, #000 18%, rgba(0,0,0,0.45) 46%, transparent 70%);
            mask-image: radial-gradient(ellipse 50% 66% at 50% 44%, #000 18%, rgba(0,0,0,0.45) 46%, transparent 70%);
}

/* Mock-up do chat agora vive na seção "Veja ao Vivo" */
.demo-mockup {
    margin: 2.5rem auto 0.5rem;
}

.wa-header {
    background: rgba(255, 183, 3, 0.06);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 183, 3, 0.18);
    text-align: left;
}

.wa-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    /* usa a foto real do Oráculo (avatar.png na pasta do site); se faltar, mostra um orbe dourado */
    background: url('avatar.png') center/cover,
                radial-gradient(circle at 50% 35%, #ffe089, var(--primary-color) 70%, #2a1448);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 14px rgba(255, 183, 3, 0.5);
}

.wa-info {
    display: flex;
    flex-direction: column;
}

.wa-name {
    color: #e9edee;
    font-weight: 600;
    font-size: 0.95rem;
}

.wa-status {
    color: var(--secondary-color);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wa-status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 6px var(--secondary-color);
}

.wa-chat {
    background: radial-gradient(circle at 50% -10%, rgba(138, 43, 226, 0.22), transparent 60%),
                radial-gradient(circle at 50% 50%, rgba(255, 183, 3, 0.05), transparent 70%),
                #0a0514;
    padding: 16px 12px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.wa-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.4;
    position: relative;
    will-change: transform, opacity;
}

.wa-typing {
    padding: 12px 14px;
    width: fit-content;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 14px;
}

.typing-indicator span {
    display: block;
    width: 6px;
    height: 6px;
    background-color: #8c9fa8;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}



.wa-msg p {
    margin: 0;
    color: #e1e6ea;
}

.wa-msg-guru {
    background: rgba(138, 43, 226, 0.14);
    align-self: flex-start;
    border-top-left-radius: 0;
    border: 1px solid rgba(255, 183, 3, 0.30);
}

.wa-msg-user {
    background: rgba(138, 43, 226, 0.42);
    align-self: flex-end;
    border-top-right-radius: 0;
    border: 1px solid rgba(255, 183, 3, 0.18);
}

.wa-time {
    display: block;
    text-align: right;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}

/* Features Section */
.features {
    padding: 6rem 5%;
    text-align: center;
    position: relative;
}

.features h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.glass-panel {
    background: rgba(30, 15, 50, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    will-change: transform, opacity;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: rgba(45, 25, 75, 0.5);
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 183, 3, 0.3));
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Demo Section */
.demo-section {
    padding: 5rem 5%;
    text-align: center;
}

.demo-section h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Cinzel', serif;
}

.demo-subtitle {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.demo-item {
    padding: 2rem 1.5rem;
    text-align: center;
}

.demo-item:hover {
    transform: translateY(-8px);
    border-color: rgba(37, 211, 102, 0.4);
}

.demo-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.demo-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: #fff;
}

.demo-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 5%;
    display: flex;
    justify-content: center;
}

.cta-section .glass-panel {
    text-align: center;
    max-width: 850px;
    width: 100%;
    padding: 4rem 2rem;
}

.glowing-border {
    position: relative;
    overflow: hidden;
}

.glowing-border::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, var(--secondary-color), var(--primary-color), transparent 40%);
    animation: rotate 6s linear infinite;
    z-index: -1;
}

.glowing-border::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: #0d061c;
    border-radius: 23px;
    z-index: -1;
}

@keyframes rotate {
    100% { transform: rotate(1turn); }
}

.cta-section h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.15rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.large-cta {
    display: inline-flex;
    width: auto;
    max-width: 400px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(10, 5, 20, 0.8);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding-top: 5rem;
        gap: 2rem;
    }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 3rem;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-content { margin-bottom: 2rem; }
    nav { display: none; }
    .features h2 { font-size: 2rem; }
    .cta-section h2 { font-size: 1.6rem; }
    .demo-section h2 { font-size: 1.8rem; }
    
    /* WhatsApp mockup mobile fix */
    .whatsapp-mockup { 
        max-width: 100%; 
        width: 100%;
        border-radius: 16px;
        margin-top: 2rem;
        display: block;
    }
    .wa-chat {
        min-height: 260px;
        padding: 12px 8px;
    }
    .wa-msg {
        max-width: 88%;
        font-size: 0.85rem;
    }
    .wa-header {
        padding: 10px 12px;
    }
    
    /* CTA button mobile fix */
    .cta-whatsapp {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        width: auto;
        max-width: 100%;
        gap: 8px;
    }
    .large-cta {
        padding: 1rem 1.8rem;
        font-size: 1rem;
        max-width: 100%;
    }
    
    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature-card.glass-panel[style] {
        max-width: 100% !important;
    }
    
    /* Demo section mobile */
    .demo-features {
        grid-template-columns: 1fr;
    }
    
    /* CTA section mobile */
    .cta-section .glass-panel {
        padding: 2.5rem 1.5rem;
    }
}
