/* Design System & Custom Variables */
:root {
    /* Colors */
    --bg-dark-absolute: #020202;
    --bg-radial-center: #1a0505;
    --bg-dark-card: rgba(10, 10, 10, 0.6);
    
    --accent-primary: #b22222;       /* Vermelho Visceral/Firebrick */
    --accent-glow: rgba(178, 34, 34, 0.35);
    --accent-hover: #ff3e3e;         /* Neon Red */
    --accent-subtle: rgba(178, 34, 34, 0.15);
    
    --text-primary: #f3f4f6;         /* Cool White */
    --text-secondary: #bdc3c7;       /* Soft Light Gray */
    --text-muted: #7f8c8d;           /* Slate Gray */
    
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-border-hover: rgba(178, 34, 34, 0.35);
    
    /* Fonts */
    --font-title: 'Fraunces', serif;
    --font-body: 'Geist', sans-serif;
    
    /* Layout Tokens */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-round: 50%;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark-absolute);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--bg-radial-center), var(--accent-primary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

body {
    background: radial-gradient(circle at 50% 50%, var(--bg-radial-center) 0%, var(--bg-dark-absolute) 85%);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scroll Animation Base */
.scroll-animate {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Interactive Glow */
#glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

#cursor-glow {
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: var(--radius-round);
    background: radial-gradient(circle, rgba(178, 34, 34, 0.09) 0%, rgba(178, 34, 34, 0.02) 50%, rgba(0, 0, 0, 0) 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Main Container Layout */
.container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 1;
}

/* Premium Card Base */
.card {
    background: var(--bg-dark-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 45px;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(178, 34, 34, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px var(--accent-glow);
    transform: translateY(-4px);
}

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

/* Hero Section Styles */
.hero {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
}

.profile-frame {
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: var(--radius-round);
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-primary) 30%, transparent 100%);
    box-shadow: 0 0 25px rgba(178, 34, 34, 0.25);
    flex-shrink: 0;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-round);
    object-fit: cover;
    display: block;
    border: 2px solid var(--bg-dark-absolute);
}

.pulse-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--accent-primary);
    border-radius: var(--radius-round);
    animation: pulse-ring-anim 3.5s infinite cubic-bezier(0.25, 0, 0, 1);
    pointer-events: none;
}

@keyframes pulse-ring-anim {
    0% {
        transform: scale(0.96);
        opacity: 0.8;
    }
    60%, 100% {
        transform: scale(1.08);
        opacity: 0;
    }
}

.hero-info h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(to right, #ffffff 40%, #e2e8f0 70%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 24px 0;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(178, 34, 34, 0.4);
    background: var(--accent-subtle);
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(178, 34, 34, 0.1);
}

.philosophy {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    border-left: 3px solid var(--accent-primary);
    padding-left: 20px;
    position: relative;
}

.quote-mark {
    color: var(--accent-primary);
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 0;
    position: relative;
    top: 5px;
}

/* Pillars Grid (2x2 Layout) */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 30px;
    height: 100%;
}

.card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--accent-subtle);
    border: 1px solid rgba(178, 34, 34, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(178, 34, 34, 0.1);
}

.pillar-card:hover .card-icon {
    background: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: rotate(-3deg) scale(1.05);
}

.pillar-card h2 {
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
    flex-grow: 1;
}

/* Button Call to Action */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid var(--accent-primary);
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.btn:hover {
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
    color: white;
}

/* Manifesto Section */
.manifesto h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 14px;
    display: inline-block;
}

.manifesto-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.manifesto-content p {
    text-align: justify;
}

/* Footer styling */
.footer {
    text-align: center;
    padding: 40px 0 20px 0;
    border-top: 1px solid var(--glass-border);
    width: 100%;
    max-width: 1100px;
    margin-top: 24px;
    z-index: 1;
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tagline-footer {
    font-family: var(--font-title);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-primary) !important;
    margin-top: 8px;
    opacity: 0.85;
}

/* Status Indicator Styles */
.hero-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 8px;
    width: 100%;
}

.status-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(178, 34, 34, 0.08);
    border: 1px solid rgba(178, 34, 34, 0.25);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-hover);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-hover);
    border-radius: 50%;
    animation: pulse-dot-anim 1.8s infinite ease-in-out;
}

@keyframes pulse-dot-anim {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

/* Footer Email Contact */
.footer-email-container {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.copy-email-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.08);
}

.copy-email-btn:hover {
    color: var(--accent-hover);
    border-color: rgba(178, 34, 34, 0.4);
    background: rgba(178, 34, 34, 0.03);
}

.email-display {
    letter-spacing: 0.5px;
    font-weight: 500;
}

.copy-tooltip {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(178, 34, 34, 0.3);
    color: var(--text-primary);
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(178, 34, 34, 0.15);
    z-index: 10;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(10, 10, 10, 0.95) transparent transparent transparent;
}

.copy-email-btn:hover .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-tooltip.copied {
    border-color: #2ecc71;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(46, 204, 113, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 32px 16px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
        padding: 35px 24px;
    }

    .hero-header-row {
        justify-content: center;
        flex-direction: column;
        gap: 12px;
    }
    
    .profile-frame {
        margin: 0 auto;
        width: 150px;
        height: 150px;
    }
    
    .hero-info h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }
    
    .badges {
        justify-content: center;
        gap: 8px;
    }
    
    .philosophy {
        font-size: 1.05rem;
        border-left: none;
        border-top: 2px solid var(--accent-primary);
        padding-left: 0;
        padding-top: 16px;
    }
    
    .card {
        padding: 30px 20px;
        border-radius: var(--radius-md);
    }
    
    .manifesto h2 {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
}

@media (max-width: 480px) {
    body {
        padding: 24px 10px;
    }
    
    .card {
        padding: 20px 16px;
        border-radius: var(--radius-md);
    }
    
    .pillar-card {
        padding: 24px 16px;
    }
    
    .hero {
        padding: 24px 16px;
    }
    
    .hero-info h1 {
        font-size: 1.85rem;
    }
    
    .badges {
        margin: 12px 0 16px 0;
        gap: 6px;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    
    .philosophy {
        font-size: 0.95rem;
        padding-top: 12px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
