/* ===== CSS Variables ===== */
:root {
    --color-primary: #27275e;
    --color-primary-dark: #1a1a4a;
    --color-primary-light: #3a3a7a;
    --color-accent: #a9ff71;
    --color-accent-dark: #8ce05a;
    --color-accent-light: #c4ff9e;
    
    --color-white: #ffffff;
    --color-gray-100: #f7f7f9;
    --color-gray-200: #e9e9ed;
    --color-gray-300: #d1d1d9;
    --color-gray-400: #9999a5;
    --color-gray-500: #6b6b78;
    --color-gray-600: #4a4a55;
    --color-gray-700: #2d2d35;
    --color-black: #0a0a0f;
    
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(169, 255, 113, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-white);
    background-color: var(--color-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}

.btn--primary:hover {
    background: var(--color-accent-dark);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-color: transparent;
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn--large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

/* ===== Section Styling ===== */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(169, 255, 113, 0.1);
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section__title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--color-accent);
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--color-primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-500);
}

/* ===== Menu de Perfil no Navbar (Auth Actions) ===== */
.user-profile-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.user-greeting {
    color: var(--color-white);
    font-weight: 500;
}

.profile-dropdown-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-base);
    background-color: rgba(255, 255, 255, 0.08); /* Fundo sutil */
    padding: 6px;
    border: 2px solid transparent;
}

/* Efeito clássico verde ao passar o mouse */
.profile-icon-btn:hover {
    background-color: rgba(169, 255, 113, 0.15); /* var(--color-accent) com opacidade */
    border-color: var(--color-accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow); /* Cria o brilho verde característico da marca */
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 170px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: var(--transition-base);
    z-index: 100;
    overflow: hidden;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown .dropdown-item {
    padding: 14px 20px;
    color: var(--color-gray-100);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    width: 100%;
    outline: none;
    font-family: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separação sutil */
}

.profile-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.profile-dropdown .dropdown-item:hover {
    background-color: var(--color-primary-light);
    color: var(--color-accent);
}
