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

/* Prevent horizontal overflow on mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    .dashboard-container {
        overflow-x: hidden;
        max-width: 100vw;
    }
}

:root {
    --primary-color: #ffffff;
    --primary-dark: #e5e5e5;
    --secondary-color: #a3a3a3;
    --accent-color: #ffffff;
    --accent: #e29733;
    --accent-dark: #c77d1f;
    --accent-hover: #d48928;
    --accent-rgb: 226, 151, 51;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --background: #000000;
    --surface: #0a0a0a;
    --surface-elevated: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    --border-color: #262626;
    --border-hover: #404040;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.dashboard-container {
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

/* Header */
.dashboard-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 3rem;
    padding-bottom: 0;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.8);
    transition: none;
    opacity: 1;
    max-height: 100vh;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin-bottom: 0;
}

/* Cyberpunk Effects */
.dashboard-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(226, 151, 51, 0.1) 50%, transparent 100%),
        radial-gradient(circle at 20% 30%, rgba(226, 151, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(226, 151, 51, 0.15) 0%, transparent 50%);
    animation: cyberpunk-scan 4s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.dashboard-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e29733, transparent);
    animation: electric-sweep 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 0 10px #e29733, 0 0 20px #e29733;
}

@keyframes cyberpunk-scan {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes electric-sweep {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Glitch effect on text */
.dashboard-header h1 {
    position: relative;
    animation: glitch-text 2s infinite;
}

.dashboard-header h1::before,
.dashboard-header h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dashboard-header h1::before {
    left: 2px;
    text-shadow: -2px 0 #e29733;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim-1 0.5s infinite linear alternate-reverse;
}

.dashboard-header h1::after {
    left: -2px;
    text-shadow: 2px 0 #e29733;
    clip: rect(0, 900px, 0, 0);
    animation: glitch-anim-2 0.5s infinite linear alternate-reverse;
}

@keyframes glitch-text {
    0%, 100% {
        text-shadow: 0 0 5px rgba(226, 151, 51, 0.5);
    }
    25% {
        text-shadow: 0 0 10px rgba(226, 151, 51, 0.8), 0 0 20px rgba(226, 151, 51, 0.4);
    }
    50% {
        text-shadow: 0 0 5px rgba(226, 151, 51, 0.5);
    }
    75% {
        text-shadow: 0 0 15px rgba(226, 151, 51, 0.9), 0 0 30px rgba(226, 151, 51, 0.5);
    }
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    5% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    10% {
        clip: rect(33px, 9999px, 29px, 0);
    }
    15% {
        clip: rect(92px, 9999px, 98px, 0);
    }
    20% {
        clip: rect(23px, 9999px, 80px, 0);
    }
    25% {
        clip: rect(79px, 9999px, 66px, 0);
    }
    30% {
        clip: rect(64px, 9999px, 29px, 0);
    }
    35% {
        clip: rect(19px, 9999px, 25px, 0);
    }
    40% {
        clip: rect(75px, 9999px, 5px, 0);
    }
    45% {
        clip: rect(67px, 9999px, 11px, 0);
    }
    50% {
        clip: rect(83px, 9999px, 40px, 0);
    }
    55% {
        clip: rect(6px, 9999px, 60px, 0);
    }
    60% {
        clip: rect(93px, 9999px, 18px, 0);
    }
    65% {
        clip: rect(15px, 9999px, 35px, 0);
    }
    70% {
        clip: rect(45px, 9999px, 78px, 0);
    }
    75% {
        clip: rect(28px, 9999px, 50px, 0);
    }
    80% {
        clip: rect(2px, 9999px, 96px, 0);
    }
    85% {
        clip: rect(58px, 9999px, 34px, 0);
    }
    90% {
        clip: rect(88px, 9999px, 7px, 0);
    }
    95% {
        clip: rect(37px, 9999px, 52px, 0);
    }
    100% {
        clip: rect(71px, 9999px, 22px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 100px, 0);
    }
    5% {
        clip: rect(14px, 9999px, 33px, 0);
    }
    10% {
        clip: rect(79px, 9999px, 94px, 0);
    }
    15% {
        clip: rect(26px, 9999px, 40px, 0);
    }
    20% {
        clip: rect(54px, 9999px, 98px, 0);
    }
    25% {
        clip: rect(8px, 9999px, 45px, 0);
    }
    30% {
        clip: rect(91px, 9999px, 12px, 0);
    }
    35% {
        clip: rect(48px, 9999px, 67px, 0);
    }
    40% {
        clip: rect(3px, 9999px, 89px, 0);
    }
    45% {
        clip: rect(72px, 9999px, 19px, 0);
    }
    50% {
        clip: rect(31px, 9999px, 56px, 0);
    }
    55% {
        clip: rect(85px, 9999px, 4px, 0);
    }
    60% {
        clip: rect(17px, 9999px, 63px, 0);
    }
    65% {
        clip: rect(59px, 9999px, 81px, 0);
    }
    70% {
        clip: rect(42px, 9999px, 27px, 0);
    }
    75% {
        clip: rect(96px, 9999px, 9px, 0);
    }
    80% {
        clip: rect(23px, 9999px, 76px, 0);
    }
    85% {
        clip: rect(50px, 9999px, 38px, 0);
    }
    90% {
        clip: rect(11px, 9999px, 84px, 0);
    }
    95% {
        clip: rect(68px, 9999px, 21px, 0);
    }
    100% {
        clip: rect(35px, 9999px, 57px, 0);
    }
}

/* Electric particles */
.header-content::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #e29733;
    border-radius: 50%;
    top: 20%;
    left: 15%;
    box-shadow: 
        0 0 10px #e29733,
        0 0 20px #e29733,
        200px 300px 0 0 #e29733,
        400px 150px 0 0 #e29733,
        600px 400px 0 0 #e29733,
        800px 250px 0 0 #e29733,
        1000px 350px 0 0 #e29733;
    animation: electric-pulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes electric-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Electric lines */
.header-left::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10px;
    width: 2px;
    height: 200px;
    background: linear-gradient(180deg, transparent, #e29733, transparent);
    animation: electric-line 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px #e29733;
    pointer-events: none;
    z-index: 1;
}

.header-left::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20px;
    width: 2px;
    height: 150px;
    background: linear-gradient(180deg, transparent, #e29733, transparent);
    animation: electric-line 2s ease-in-out infinite reverse;
    box-shadow: 0 0 10px #e29733;
    pointer-events: none;
    z-index: 1;
}

@keyframes electric-line {
    0%, 100% {
        opacity: 0.2;
        transform: scaleY(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Ensure content is above effects */
.header-content {
    position: relative;
    z-index: 10;
}

.header-left {
    position: relative;
    z-index: 10;
}


.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    padding-top: 4rem;
    padding-bottom: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.header-top-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 3rem;
    gap: 4rem;
}

.header-left {
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
    position: relative;
    min-width: 500px;
}

.dashboard-header h1 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
    position: relative;
    z-index: 10;
}

.header-title-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    position: relative;
    z-index: 10;
}

.header-intro {
    font-size: 4.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
    max-width: 100%;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 60px rgba(255, 255, 255, 0.2);
    letter-spacing: -0.03em;
    position: relative;
    z-index: 10;
    text-align: left;
    width: 100%;
    padding: 2rem 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-icon {
    position: relative;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--surface-elevated);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--danger-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
}

/* Language Selector */
.language-selector {
    position: relative;
    z-index: 1000;
}

.language-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.language-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(226, 151, 51, 0.5);
    box-shadow: 0 0 15px rgba(226, 151, 51, 0.3);
}

.language-btn .flag-icon {
    font-size: 1.25rem;
}

.language-btn .language-text {
    font-weight: 600;
}

.language-btn .language-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
}

.language-selector.active .language-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #0a0a0a;
    border: 2px solid rgba(226, 151, 51, 0.3);
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: visible;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 99999 !important;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
}

/* Banner overlay: só no mobile — seletor horizontal com botões pequenos */

/* Desabilitar cliques nos elementos de trás quando o dropdown está aberto */
.language-menu.active ~ *,
.language-selector.active ~ .social-icons .social-icon {
    pointer-events: none !important;
}

.social-icons:has(~ .language-selector.active) .social-icon,
.language-selector.active ~ .social-icons .social-icon {
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Quando o overlay de idioma está aberto: desativar toque/clique nos ícones de rede social */
body.language-overlay-open .social-icons,
body.language-overlay-open .social-icon,
body.language-overlay-open .social-icons a,
body.language-overlay-open a.social-icon {
    pointer-events: none !important;
    touch-action: none !important;
    z-index: 1 !important;
}

/* Overlay de idioma: camada acima do site (estilo modal “Help me start in tech”) */
/* Backdrop: bloqueia toques/cliques na página quando o modal de idioma está aberto */
.language-overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10099;
    pointer-events: auto;
    touch-action: none;
    background: transparent;
}

.language-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10100;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.language-overlay-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.language-overlay-close:hover {
    background: rgba(226, 151, 51, 0.2);
    color: #e29733;
    transform: rotate(90deg);
}

/* Conteúdo do overlay: opções em linha horizontal */
.language-overlay .language-menu.language-menu-horizontal {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    min-width: 0;
    max-width: 90vw;
    width: auto;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 20px;
    border: 2px solid rgba(226, 151, 51, 0.5);
    background: #0a0a0a;
    box-shadow: 0 20px 60px rgba(226, 151, 51, 0.3);
    animation: slideUp 0.3s ease;
}

.language-overlay .language-menu.language-menu-horizontal .language-option {
    flex: 0 0 auto;
    width: auto;
    min-width: 120px;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    justify-content: center;
}

.language-overlay .language-menu.language-menu-horizontal .language-option:hover {
    background: rgba(226, 151, 51, 0.15);
}

/* Mobile: centralizar overlay, sem botão ×; clique na opção altera e fecha */
@media (max-width: 768px) {
    body.language-overlay-open .social-icons,
    body.language-overlay-open .social-icon,
    body.language-overlay-open .social-icons a,
    body.language-overlay-open a.social-icon {
        pointer-events: none !important;
        touch-action: none !important;
    }
    .language-overlay {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 0 1rem 1rem 1rem !important;
        padding-top: var(--language-box-offset-top, 180px) !important;
        box-sizing: border-box;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    .language-overlay-close {
        display: none !important;
    }
    /* Forçar centralização + opções na horizontal, só emoji + EN, PT-BR, PT-PT, FR */
    .language-overlay .language-menu.language-menu-horizontal,
    .language-overlay #languageMenu.language-menu-horizontal {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        max-width: calc(100vw - 2rem) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        align-self: center !important;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        flex-shrink: 0;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        padding: 0.75rem 1rem !important;
    }
    .language-overlay .language-menu.language-menu-horizontal .language-option,
    .language-overlay #languageMenu.language-menu-horizontal .language-option {
        min-width: 0 !important;
        padding: 0.5rem 0.65rem !important;
        gap: 0.35rem !important;
        font-size: 0.85rem !important;
    }
    .language-overlay .language-menu.language-menu-horizontal .language-option .flag-icon,
    .language-overlay #languageMenu.language-menu-horizontal .language-option .flag-icon {
        font-size: 1.25rem !important;
    }
}

.language-option {
    width: 100%;
    padding: 0.875rem 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    z-index: 100000;
    -webkit-tap-highlight-color: transparent;
}

.language-option:hover {
    background: rgba(226, 151, 51, 0.1);
    color: #e29733;
}

.language-option:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.language-option:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.language-option .flag-icon {
    font-size: 1.5rem;
}

.user-profile {
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
    cursor: pointer;
    padding: 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    width: auto;
    margin-bottom: 0;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.header-right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2rem;
    flex: 1;
    min-width: 500px;
    justify-content: flex-start;
    padding-top: 3rem;
}

.social-icons {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    margin-top: 3rem;
    padding-right: 0;
    position: relative;
    width: auto;
    justify-content: flex-end;
    z-index: 10;
    flex-wrap: nowrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 1;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid rgba(226, 151, 51, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon svg {
    width: 60px;
    height: 60px;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(226, 151, 51, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    color: #ffffff;
    border-color: #e29733;
    background: rgba(226, 151, 51, 0.1);
    box-shadow: 0 0 15px rgba(226, 151, 51, 0.5), 0 0 30px rgba(226, 151, 51, 0.3);
    transform: translateY(-2px);
}

.social-icon svg {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 3px rgba(226, 151, 51, 0.5));
    width: 40px;
    height: 40px;
}

.social-icon:hover svg {
    filter: drop-shadow(0 0 8px rgba(226, 151, 51, 0.8));
}

.user-profile:hover {
    opacity: 0.95;
}

.user-profile:hover .profile-img {
    transform: scale(1.02);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6);
}

.profile-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e29733;
    flex-shrink: 0;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.profile-img::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, transparent 0%, transparent 40%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.9) 100%);
    animation: vignette-rotate 8s linear infinite;
    pointer-events: none;
    border-radius: 50%;
    transform-origin: center;
}

.profile-img::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 60deg, rgba(0, 0, 0, 0.5) 90deg, transparent 120deg, transparent 180deg, rgba(0, 0, 0, 0.5) 210deg, transparent 240deg, transparent 300deg, rgba(0, 0, 0, 0.5) 330deg, transparent 360deg);
    animation: vignette-spin 6s linear infinite;
    pointer-events: none;
    border-radius: 50%;
    transform-origin: center;
}

@keyframes vignette-rotate {
    0% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: rotate(90deg) scale(1.1);
        opacity: 1;
    }
    50% {
        transform: rotate(180deg) scale(1);
        opacity: 0.8;
    }
    75% {
        transform: rotate(270deg) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

@keyframes vignette-spin {
    0% {
        transform: rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: rotate(180deg);
        opacity: 0.9;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.6;
    }
}

.profile-name {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

.profile-role {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
    opacity: 0.8;
}

/* About Section */
.about-section {
    min-height: 100vh;
    width: 100%;
    background: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    padding: 2rem;
    margin-bottom: 3rem;
}

.about-image-container {
    flex: 0 0 auto;
    width: 280px;
    height: 280px;
    position: relative;
    overflow: visible;
}

/* Efeito de raio/relâmpago realista por cima da foto */
.about-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background-image: 
        /* Raio principal - linha diagonal zigue-zague */
        linear-gradient(
            135deg,
            transparent 0%,
            transparent 15%,
            transparent 20%,
            rgba(226, 151, 51, 0.3) 22%,
            rgba(226, 151, 51, 0.7) 24%,
            #e29733 25%,
            rgba(226, 151, 51, 0.9) 26%,
            #e29733 27%,
            rgba(226, 151, 51, 0.7) 28%,
            rgba(226, 151, 51, 0.3) 30%,
            transparent 32%,
            transparent 40%,
            transparent 45%,
            rgba(226, 151, 51, 0.2) 47%,
            rgba(226, 151, 51, 0.6) 49%,
            #e29733 50%,
            rgba(226, 151, 51, 0.6) 51%,
            rgba(226, 151, 51, 0.2) 53%,
            transparent 55%,
            transparent 65%,
            transparent 70%,
            rgba(226, 151, 51, 0.4) 72%,
            rgba(226, 151, 51, 0.8) 74%,
            #e29733 75%,
            rgba(226, 151, 51, 0.8) 76%,
            rgba(226, 151, 51, 0.4) 78%,
            transparent 80%,
            transparent 100%
        ),
        /* Ramificações do raio */
        linear-gradient(
            120deg,
            transparent 0%,
            transparent 30%,
            rgba(226, 151, 51, 0.2) 35%,
            rgba(226, 151, 51, 0.5) 37%,
            transparent 40%,
            transparent 60%,
            rgba(226, 151, 51, 0.3) 65%,
            rgba(226, 151, 51, 0.6) 67%,
            transparent 70%,
            transparent 100%
        ),
        /* Outra ramificação */
        linear-gradient(
            150deg,
            transparent 0%,
            transparent 50%,
            rgba(226, 151, 51, 0.2) 55%,
            rgba(226, 151, 51, 0.4) 57%,
            transparent 60%,
            transparent 100%
        );
    background-size: 300% 300%, 400% 400%, 350% 350%;
    background-position: 0% 0%, 0% 0%, 0% 0%;
    animation: lightning-bolt 2s ease-in-out infinite;
    z-index: 5;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(0.3px);
    opacity: 0;
}

/* Efeito secundário - raio menor */
.about-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background-image: 
        linear-gradient(
            45deg,
            transparent 0%,
            transparent 25%,
            rgba(226, 151, 51, 0.2) 30%,
            rgba(226, 151, 51, 0.6) 32%,
            #e29733 33%,
            rgba(226, 151, 51, 0.6) 34%,
            rgba(226, 151, 51, 0.2) 36%,
            transparent 40%,
            transparent 60%,
            rgba(226, 151, 51, 0.3) 65%,
            rgba(226, 151, 51, 0.7) 67%,
            #e29733 68%,
            rgba(226, 151, 51, 0.7) 69%,
            rgba(226, 151, 51, 0.3) 71%,
            transparent 75%,
            transparent 100%
        );
    background-size: 250% 250%;
    background-position: 0% 0%;
    animation: lightning-bolt-secondary 2.5s ease-in-out infinite;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: screen;
    filter: blur(0.4px);
    opacity: 0;
    animation-delay: 0.5s;
}

.about-text-container {
    flex: 1;
    max-width: 700px;
    text-align: left;
}

/* Suave Lightning Effect on About Image */
.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid rgba(226, 151, 51, 0.3);
    box-shadow: 0 12px 40px rgba(226, 151, 51, 0.2);
    position: relative;
    z-index: 1;
}

@keyframes lightning-bolt {
    0%, 100% {
        opacity: 0;
        background-position: -100% -100%, -100% -100%, -100% -100%;
    }
    5% {
        opacity: 0.9;
        background-position: 20% 20%, 30% 30%, 25% 25%;
    }
    6% {
        opacity: 0.3;
        background-position: 25% 25%, 35% 35%, 30% 30%;
    }
    7% {
        opacity: 1;
        background-position: 30% 30%, 40% 40%, 35% 35%;
    }
    8% {
        opacity: 0.4;
        background-position: 35% 35%, 45% 45%, 40% 40%;
    }
    9% {
        opacity: 0.95;
        background-position: 40% 40%, 50% 50%, 45% 45%;
    }
    10% {
        opacity: 0.2;
        background-position: 45% 45%, 55% 55%, 50% 50%;
    }
    11% {
        opacity: 0.85;
        background-position: 50% 50%, 60% 60%, 55% 55%;
    }
    12% {
        opacity: 0;
        background-position: 55% 55%, 65% 65%, 60% 60%;
    }
    50% {
        opacity: 0;
        background-position: 100% 100%, 100% 100%, 100% 100%;
    }
}

@keyframes lightning-bolt-secondary {
    0%, 100% {
        opacity: 0;
        background-position: 150% 150%;
    }
    8% {
        opacity: 0.7;
        background-position: 40% 40%;
    }
    9% {
        opacity: 0.2;
        background-position: 45% 45%;
    }
    10% {
        opacity: 0.8;
        background-position: 50% 50%;
    }
    11% {
        opacity: 0.3;
        background-position: 55% 55%;
    }
    12% {
        opacity: 0.75;
        background-position: 60% 60%;
    }
    13% {
        opacity: 0;
        background-position: 65% 65%;
    }
    50% {
        opacity: 0;
        background-position: 100% 100%;
    }
}


.about-description {
    font-size: 1.125rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.7;
    margin: 0;
    text-align: left;
    letter-spacing: 0.01em;
}

.about-cta-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.about-question {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* About Buttons */
.about-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    margin-top: 0;
    width: 100%;
}

.animated-button {
    flex: 1;
    max-width: 350px;
    padding: 1.5rem 2rem;
    background: transparent;
    border: 2px solid #e29733;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    pointer-events: auto !important;
    z-index: 1;
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 151, 51, 0.2), transparent);
    transition: left 0.5s ease;
}

.animated-button:hover::before {
    left: 100%;
}

.animated-button:hover {
    background: rgba(226, 151, 51, 0.1);
    border-color: #e29733;
    box-shadow: 0 0 20px rgba(226, 151, 51, 0.4), 0 0 40px rgba(226, 151, 51, 0.2);
    transform: translateY(-2px);
}

.animated-button:active {
    transform: translateY(0);
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-arrow {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.animated-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Featured button with ribbon */
.featured-button-wrapper {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.featured-button-wrapper .animated-button {
    width: 100%;
}

.button-ribbon {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff0000;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.5);
    white-space: nowrap;
}

.button-left {
    justify-self: flex-start;
}

.button-center {
    justify-self: center;
}

.button-right {
    justify-self: flex-end;
}

/* Mentorship Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: #0a0a0a;
    border: 2px solid #e29733;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(226, 151, 51, 0.3);
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(226, 151, 51, 0.2);
    color: #e29733;
    transform: rotate(90deg);
}

.modal-header {
    padding: 2.5rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(226, 151, 51, 0.2);
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 2rem;
}

.modal-content-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.modal-video-container {
    flex: 0 0 280px;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-video {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid rgba(226, 151, 51, 0.3);
    box-shadow: 0 4px 20px rgba(226, 151, 51, 0.2);
    background: #000000;
}

.modal-text-container {
    flex: 1;
    min-width: 0;
}

.modal-description {
    font-size: 1.125rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.modal-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    border-left: 2px solid rgba(226, 151, 51, 0.3);
    margin-bottom: 0.5rem;
}

.modal-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e29733;
    font-weight: bold;
    font-size: 1.25rem;
}

.modal-note {
    background: rgba(226, 151, 51, 0.1);
    border-left: 3px solid #e29733;
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.7;
}

.modal-note strong {
    color: #e29733;
}

.modal-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(226, 151, 51, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-purchase-btn {
    background: #e29733;
    color: #000000;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(226, 151, 51, 0.4);
}

.modal-purchase-btn:hover {
    background: #d48928;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(226, 151, 51, 0.6);
}

.modal-purchase-btn:active {
    transform: translateY(0);
}

.price-brl {
    font-weight: 700;
}

.price-separator {
    opacity: 0.6;
}

.price-usd {
    font-weight: 600;
    opacity: 0.9;
}

/* Payment Options */
.payment-question {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.payment-options-single {
    grid-template-columns: 1fr;
    max-width: 320px;
}

.payment-btn {
    background: linear-gradient(135deg, #e29733 0%, #c77d1f 100%);
    color: #000000;
    border: none;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(226, 151, 51, 0.4);
    text-decoration: none;
    justify-content: center;
    min-height: 90px;
}

.payment-btn:hover {
    background: linear-gradient(135deg, #d48928 0%, #b86b0f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(226, 151, 51, 0.6);
    color: #000000;
}

.payment-btn:active {
    transform: translateY(0);
}

.payment-emoji {
    font-size: 2rem;
    line-height: 1;
}

.payment-currency {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Payment Proof Section */
.payment-proof-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 151, 51, 0.2);
    text-align: center;
}

.payment-proof-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.payment-proof-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.payment-proof-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}

.payment-proof-btn:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #0F7A6E 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.payment-proof-btn:active {
    transform: translateY(0);
}

/* Pix Modal */
.pix-modal-overlay {
    display: none;
    z-index: 10001;
}

.pix-modal-content {
    max-width: 480px;
    padding: 0;
    overflow: visible;
}

.pix-modal-inner {
    padding: 2rem 2rem 2.5rem;
}

.pix-modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.pix-modal-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 8px rgba(226, 151, 51, 0.3));
}

.pix-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.pix-modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.pix-key-box {
    background: linear-gradient(135deg, rgba(226, 151, 51, 0.12) 0%, rgba(226, 151, 51, 0.08) 100%);
    border: 1px solid rgba(226, 151, 51, 0.35);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.pix-key-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.pix-key-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pix-key-value {
    flex: 1;
    min-width: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e29733;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(226, 151, 51, 0.25);
    word-break: break-all;
    font-family: "SF Mono", "Monaco", "Consolas", monospace;
}

.pix-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #e29733 0%, #c77d1f 100%);
    color: #000000;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pix-copy-btn:hover {
    background: linear-gradient(135deg, #d48928 0%, #b86b0f 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(226, 151, 51, 0.45);
}

.pix-copy-btn:active {
    transform: translateY(0);
}

.pix-key-warning {
    margin: 1rem 0 0;
    padding: 0.85rem 1rem;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #ffda6a;
    line-height: 1.5;
}

.pix-key-warning strong {
    color: #ffea9e;
}

.pix-whatsapp-section {
    text-align: center;
}

.pix-whatsapp-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.pix-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    padding: 1rem 1.75rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.pix-whatsapp-btn:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #0F7A6E 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.pix-whatsapp-btn:active {
    transform: translateY(0);
}

/* Modal Responsive – mobile only, desktop unchanged */
@keyframes modalBottomSheetUp {
    from {
        transform: translateY(100%);
        opacity: 0.95;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content {
        max-width: 100%;
        width: 100%;
        margin: 0;
        max-height: 92vh;
        min-height: 0;
        border-radius: 24px 24px 0 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        -webkit-overflow-scrolling: touch;
        border-bottom: none;
        animation: modalBottomSheetUp 0.35s ease-out forwards;
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 2rem;
        min-width: 48px;
        min-height: 48px;
    }
    
    .modal-header {
        padding: 1.5rem 1.25rem 1rem;
        flex-shrink: 0;
    }
    
    .modal-header h2 {
        font-size: 1.35rem;
        padding-right: 2.5rem;
    }
    
    .modal-body {
        padding: 1rem 1.25rem 1.5rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        flex: 1;
        min-height: 0;
    }
    
    .modal-content-wrapper {
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .modal-video-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    
    .modal-video {
        width: 100%;
    }
    
    .modal-text-container {
        flex: 1;
        min-width: 0;
    }
    
    .modal-description {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .modal-features {
        margin: 1rem 0;
    }
    
    .modal-features li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        font-size: 0.95rem;
    }
    
    .modal-note {
        padding: 1rem;
        margin-top: 1rem;
        font-size: 0.95rem;
    }
    
    .modal-footer {
        padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
        flex-shrink: 0;
        border-top: 1px solid rgba(226, 151, 51, 0.2);
    }
    
    .modal-purchase-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .payment-options {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .payment-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .payment-proof-btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }
}

/* Main Content */
.dashboard-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 3rem;
    padding-top: 0;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 1;
    overflow: visible;
    margin-top: 0;
    min-height: auto;
}

/* Metrics Section */
.metrics-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    background: var(--surface-elevated);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: #1f1f1f;
}

.metric-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.metric-content {
    flex: 1;
}

.metric-content h3 {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--text-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.chart-card {
    background: var(--surface-elevated);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.chart-card:hover {
    border-color: var(--border-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.chart-filter {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text-primary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.chart-filter:hover {
    border-color: var(--border-hover);
    background: var(--surface-elevated);
}

.chart-card canvas {
    max-height: 300px;
}

/* Courses Section */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-card {
    background: var(--surface-elevated);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: #1f1f1f;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.course-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.course-instructor {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.course-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.course-badge.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.course-progress {
    margin-top: 1rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.course-progress-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
}

.course-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Assignments Section */
.assignments-section {
    margin-top: 1rem;
}

.assignments-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--surface-elevated);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card:hover {
    border-color: var(--border-hover);
}

.assignments-list,
.deadlines-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.assignment-item,
.deadline-item {
    padding: 1.25rem;
    background: var(--surface);
    border-radius: 12px;
    border-left: 3px solid var(--text-primary);
    transition: var(--transition);
}

.assignment-item:hover,
.deadline-item:hover {
    background: var(--surface-elevated);
    transform: translateX(4px);
    border-left-color: var(--text-primary);
}

.assignment-header,
.deadline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.assignment-title,
.deadline-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.assignment-course,
.deadline-course {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.assignment-due,
.deadline-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.urgency-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.urgency-badge.high {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.urgency-badge.medium {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.urgency-badge.low {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Achievements Section */
.achievements-section {
    margin-top: 1rem;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.achievement-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.achievement-item:hover {
    background: var(--surface-elevated);
    transform: scale(1.05);
    border-color: var(--border-hover);
}

.achievement-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.achievement-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.achievement-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.study-time-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Quick Actions Section */
.quick-actions-section {
    margin-top: 1rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.action-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: #1f1f1f;
}

.action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.action-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--background);
    font-weight: 500;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--surface-elevated);
    border-color: var(--border-hover);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .assignments-container,
    .achievements-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 1rem;
    }
    
    .dashboard-header {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .dashboard-header h1 {
        font-size: 2rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .user-profile {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header-title-section {
        align-items: center;
        text-align: center;
        max-width: 100%;
        overflow: hidden;
    }
    
    .profile-role {
        font-size: 0.9rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.4;
        max-width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    .header-top-section {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    
    .header-left {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }
    
    .header-right-section {
        min-width: 0;
        width: 100%;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        gap: 1.5rem;
        flex: 0 0 auto;
        overflow: visible !important;
        /* Ordem visual: ícones sociais primeiro, seletor de idioma depois — evita ícones dentro do dropdown */
        flex-direction: column;
    }
    
    .header-actions {
        order: 2;
        overflow: visible !important;
        position: relative;
        z-index: 10002;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .social-icons {
        order: 1;
        gap: 2rem;
        justify-content: center;
        margin-top: 0;
        margin-bottom: 0;
        flex-wrap: wrap;
        flex: 0 0 auto;
        z-index: 10 !important;
        position: relative;
        pointer-events: auto !important;
    }
    
    .social-icon {
        pointer-events: auto !important;
        z-index: 10 !important;
        position: relative;
    }
    
    .social-icon {
        width: 80px;
        height: 80px;
    }
    
    .social-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .header-intro {
        font-size: 2.5rem;
        text-align: center;
        padding: 1.5rem 0;
        pointer-events: none !important;
        user-select: none;
        -webkit-user-select: none;
        z-index: 1 !important;
    }
    
    .language-selector {
        position: relative;
        z-index: 10002;
    }
    
    .language-menu {
        right: 0 !important;
        left: auto !important;
        min-width: 200px;
        max-width: calc(100vw - 2rem);
        width: auto;
        max-height: none !important;
        overflow: visible !important;
        position: fixed !important;
        z-index: 10000 !important;
        top: auto !important;
        bottom: auto !important;
        pointer-events: none;
    }
    
    .language-menu.active {
        pointer-events: auto !important;
        overflow: visible !important;
        z-index: 99999 !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(20px);
    }
    
    .language-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 99998;
        background: rgba(0, 0, 0, 0.5);
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Mobile: seletor horizontal com botões pequenos */
    .language-menu.language-menu-banner-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        bottom: auto !important;
        transform: none !important;
        min-width: 0 !important;
        max-width: none !important;
        border-radius: 0 !important;
        border: none !important;
        border-bottom: 2px solid rgba(226, 151, 51, 0.5) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
        padding: 0.5rem 0.75rem !important;
        max-height: none !important;
        overflow: visible !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .language-menu.language-menu-banner-overlay .language-option {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0.5rem 0.65rem !important;
        min-height: 40px !important;
        border-radius: 8px !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
        justify-content: center !important;
    }
    
    .language-menu.language-menu-banner-overlay .language-option .flag-icon {
        font-size: 1.1rem !important;
    }
    
    .language-menu.language-menu-banner-overlay .language-option span:not(.flag-icon) {
        font-size: 0.75rem !important;
    }
    
    .language-option {
        white-space: nowrap;
        overflow: visible;
        padding: 1rem 1.25rem;
        min-height: 48px;
        display: flex !important;
        visibility: visible !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(226, 151, 51, 0.2);
    }
    
    .metrics-section {
        grid-template-columns: 1fr;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .study-stats {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        padding: 1.5rem;
    }
    
    .about-image-container {
        width: 250px;
        height: 250px;
    }
    
    .about-text-container {
        text-align: center;
    }
    
    .about-description {
        text-align: center;
    }
    
    .about-question {
        font-size: 2rem;
        text-align: center;
    }
    
    .about-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .animated-button {
        width: 100%;
        max-width: 100%;
    }
    
    .featured-button-wrapper {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header h1 {
        font-size: 1.75rem;
    }
    
    .profile-name {
        font-size: 0.8125rem;
    }
    
    .profile-img {
        width: 180px;
        height: 180px;
    }
    
    .user-profile {
        gap: 1.5rem;
    }
    
    .header-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .header-intro {
        font-size: 2rem;
        line-height: 1.3;
        padding: 1rem 0;
        pointer-events: none !important;
        user-select: none;
        -webkit-user-select: none;
        z-index: 1 !important;
    }
    
    .header-top-section {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
        align-items: center;
    }
    
    .header-left {
        min-width: 0;
        width: 100%;
        justify-content: center;
    }
    
    .header-right-section {
        min-width: 0;
        width: 100%;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        gap: 1.5rem;
        flex: 0 0 auto;
        overflow: visible !important;
        flex-direction: column;
    }
    
    .header-actions {
        order: 2;
        overflow: visible !important;
        position: relative;
        z-index: 10002;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .social-icons {
        order: 1;
        gap: 1.5rem;
        justify-content: center;
        margin-top: 0;
        margin-bottom: 0;
        flex: 0 0 auto;
        z-index: 10 !important;
        position: relative;
        pointer-events: auto !important;
    }
    
    .social-icon {
        pointer-events: auto !important;
        z-index: 10 !important;
        position: relative;
    }
    
    .social-icon {
        width: 60px;
        height: 60px;
    }
    
    .social-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .language-btn {
        padding: 0.75rem 1rem;
        min-height: 44px;
        min-width: 44px;
        font-size: 0.9rem;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(226, 151, 51, 0.2);
    }
    
    .language-btn .flag-icon {
        font-size: 1.15rem;
    }
    
    .language-selector {
        position: relative;
        z-index: 10002;
    }
    
    .language-menu {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(-10px);
        min-width: 240px;
        max-width: 90vw;
        width: max-content;
        max-height: 70vh !important;
        overflow-x: visible !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        position: fixed !important;
        z-index: 10000 !important;
        top: auto !important;
        bottom: auto !important;
        pointer-events: none;
    }
    
    .language-menu.active {
        transform: translateX(-50%) translateY(0);
        overflow-y: auto !important;
        overflow-x: visible !important;
        pointer-events: auto !important;
        z-index: 99999 !important;
        background: rgba(10, 10, 10, 0.98) !important;
        backdrop-filter: blur(20px);
    }
    
    .language-option {
        white-space: nowrap;
        overflow: visible;
        padding: 1rem 1.25rem;
        min-height: 52px;
        display: flex !important;
        visibility: visible !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(226, 151, 51, 0.2);
        gap: 1rem;
        box-sizing: border-box;
    }
    
    /* Expand touch target without changing layout */
    .language-option::before {
        content: '';
        position: absolute;
        top: -12px;
        left: -12px;
        right: -12px;
        bottom: -12px;
        z-index: -1;
    }
    
    .language-option .flag-icon {
        font-size: 1.75rem;
        pointer-events: none;
    }
    
    .language-option span:not(.flag-icon) {
        pointer-events: none;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
        align-items: center;
        padding: 1rem;
    }
    
    .about-image-container {
        width: 200px;
        height: 200px;
        flex-shrink: 0;
    }
    
    .about-text-container {
        text-align: center;
        flex: 1;
        width: 100%;
    }
    
    .about-description {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.6;
    }
    
    .about-question {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .about-cta-section {
        padding: 0 1rem;
    }
    
    .about-buttons {
        flex-direction: column;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .animated-button {
        max-width: 100%;
        width: 100%;
    }
    
    .carousel-bar {
        padding: 0.75rem 0;
        min-height: 3rem;
    }
    
    .carousel-item {
        font-size: 0.8rem;
        padding-right: 1.5rem;
    }
    
    .dashboard-main {
        gap: 2rem;
    }
    
    .about-content {
        gap: 1.75rem;
        padding: 1.5rem 1rem;
    }
    
    .about-cta-section {
        padding: 0 1rem 1.5rem;
    }
    
    .about-buttons {
        gap: 1.5rem;
    }
}

/* Portfolio & Articles Section */
.portfolio-section {
    width: 100%;
    background: #000000;
    padding: 5rem 3rem 8rem 3rem;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

@media (max-width: 768px) {
    .portfolio-section {
        overflow-x: hidden;
        overflow-y: visible;
    }
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
    width: 100%;
    padding: 2rem;
}

@media (max-width: 768px) {
    .portfolio-container {
        overflow: visible !important;
        max-width: 100%;
        padding: 0;
    }
}

/* Portfolio Main Section - MASSIVE DESTAQUE */
.portfolio-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
    width: 100%;
    padding-top: 0;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .portfolio-main {
        overflow: visible !important;
        width: 100%;
        max-width: 100%;
    }
}

.section-header-portfolio {
    margin-bottom: 3rem;
    text-align: center;
}

.portfolio-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    text-shadow: 
        0 0 30px rgba(226, 151, 51, 0.5),
        0 0 60px rgba(226, 151, 51, 0.3),
        0 0 90px rgba(226, 151, 51, 0.1);
    position: relative;
    display: inline-block;
}

.portfolio-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e29733, transparent);
    box-shadow: 0 0 20px #e29733;
}

.portfolio-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1.5rem 0 0 0;
    font-weight: 400;
    text-align: center;
}

/* Featured Project Details (Above main carousel) */
.featured-project-details {
    display: none;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    visibility: hidden;
}

.featured-project-details.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* MOBILE - Featured Project - ULTRA SIMPLE */
@media (max-width: 768px) {
    .featured-project-details {
        display: none;
    }
    
    .featured-project-details.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        z-index: 1000 !important;
        box-sizing: border-box !important;
    }
    
    .featured-project-details.active .featured-project-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .featured-project-details.active .featured-project-carousel-wrapper {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        border: 2px solid rgba(226, 151, 51, 0.3) !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: var(--surface-elevated) !important;
        margin-bottom: 1rem !important;
    }
    
    .featured-project-details.active .featured-project-carousel {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    
    .featured-project-details.active .featured-project-carousel img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
    }
    
    .featured-project-details.active .featured-project-info {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    
    .featured-project-details.active .featured-project-title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #ffffff !important;
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .featured-project-details.active .featured-project-description {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.95rem !important;
    }
}

.featured-project-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .featured-project-content {
        overflow: visible !important;
        width: 100%;
        max-width: 100%;
    }
}

.featured-project-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid rgba(226, 151, 51, 0.3);
    background: var(--surface-elevated);
    box-shadow: 0 10px 40px rgba(226, 151, 51, 0.2);
    position: relative;
}

@media (max-width: 768px) {
    .featured-project-carousel-wrapper {
        overflow: hidden !important;
        max-width: 100%;
    }
}

.featured-project-carousel {
    display: flex;
    width: max-content;
    animation: featured-carousel-slide 12s ease-in-out infinite;
    will-change: transform;
}

.featured-project-carousel:hover {
    animation-play-state: paused;
}

.featured-project-carousel img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: rgba(20, 20, 20, 0.5);
    background-image: linear-gradient(45deg, rgba(226, 151, 51, 0.1) 25%, transparent 25%, transparent 75%, rgba(226, 151, 51, 0.1) 75%, rgba(226, 151, 51, 0.1)), linear-gradient(45deg, rgba(226, 151, 51, 0.1) 25%, transparent 25%, transparent 75%, rgba(226, 151, 51, 0.1) 75%, rgba(226, 151, 51, 0.1));
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

@media (max-width: 768px) {
    .featured-project-carousel img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        height: 220px !important;
    }
}

/* Animation for 4 images - each shows for 2.5s, transitions for 0.5s */
/* No animation needed for single image */
.featured-project-carousel {
    animation: none !important;
}

.featured-project-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.featured-project-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(226, 151, 51, 0.4);
    line-height: 1.2;
    visibility: visible;
}

.featured-project-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
    visibility: visible;
}

@media (max-width: 768px) {
    .featured-project-title {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    .featured-project-description {
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
}

/* Portfolio Carousel - GRANDE E IMPACTANTE */
.portfolio-carousel-wrapper {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    margin-top: 2rem;
    padding: 2rem 0;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.portfolio-carousel-wrapper:active,
.portfolio-carousel-wrapper.dragging {
    cursor: grabbing;
}

.portfolio-carousel-wrapper.dragging .portfolio-carousel {
    animation-play-state: paused !important;
}

.portfolio-carousel-wrapper::before,
.portfolio-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 5;
    pointer-events: none;
}

.portfolio-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent);
}

.portfolio-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.9), transparent);
}

.portfolio-carousel {
    display: flex;
    gap: 3rem;
    will-change: transform;
    width: max-content;
    align-items: center;
}

.portfolio-carousel.has-items {
    animation: carousel-slide-infinite 30s linear infinite;
    transition: transform 0.1s ease-out;
}

.portfolio-carousel.has-items:hover {
    animation-play-state: running;
}

.portfolio-carousel-wrapper.dragging .portfolio-carousel {
    animation-play-state: paused !important;
    transition: none !important;
}

.portfolio-carousel-wrapper.dragging {
    cursor: grabbing !important;
}

.portfolio-carousel-wrapper.dragging * {
    pointer-events: none;
}

.portfolio-carousel-wrapper.dragging .portfolio-item {
    pointer-events: auto;
}

@keyframes carousel-slide-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exactly half the width (since we duplicated items) */
        transform: translateX(-50%);
    }
}

.portfolio-grid {
    display: flex;
    gap: 3rem;
    width: max-content;
    align-items: center;
}

.portfolio-item {
    background: var(--surface-elevated);
    border-radius: 20px;
    border: 3px solid rgba(226, 151, 51, 0.2);
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    width: 450px;
    min-width: 450px;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(226, 151, 51, 0.05);
    opacity: 0.3;
    transform: scale(0.85);
    filter: blur(3px);
    user-select: none;
    -webkit-user-select: none;
    scroll-snap-align: center;
    box-sizing: border-box;
}

.portfolio-item:hover {
    cursor: pointer;
}

.portfolio-item:active {
    cursor: pointer;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(226, 151, 51, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
    pointer-events: none;
    border-radius: 24px;
}

/* Classe para item destacado (aplicada via JavaScript) */
.portfolio-item.highlighted {
    opacity: 1 !important;
    transform: scale(1.05) !important;
    filter: blur(0) !important;
    border-color: #e29733 !important;
    box-shadow: 
        0 20px 60px rgba(226, 151, 51, 0.5),
        0 0 40px rgba(226, 151, 51, 0.4),
        inset 0 0 30px rgba(226, 151, 51, 0.1) !important;
    z-index: 2;
}

.portfolio-item.highlighted::before {
    opacity: 1;
}

/* Classe para itens próximos (menos destaque) */
.portfolio-item.nearby {
    opacity: 0.6;
    transform: scale(0.95);
    filter: blur(1px);
    border-color: rgba(226, 151, 51, 0.4);
    box-shadow: 
        0 15px 50px rgba(226, 151, 51, 0.2),
        0 0 30px rgba(226, 151, 51, 0.1);
}

.portfolio-item:hover {
    transform: translateY(-8px) scale(1.08) !important;
    border-color: #e29733 !important;
    box-shadow: 
        0 25px 70px rgba(226, 151, 51, 0.6),
        0 0 50px rgba(226, 151, 51, 0.5),
        inset 0 0 40px rgba(226, 151, 51, 0.15) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
    z-index: 10 !important;
}

.portfolio-item:hover::before {
    opacity: 1;
}

.portfolio-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.4s ease;
    background-color: rgba(20, 20, 20, 0.5);
    background-image: linear-gradient(45deg, rgba(226, 151, 51, 0.1) 25%, transparent 25%, transparent 75%, rgba(226, 151, 51, 0.1) 75%, rgba(226, 151, 51, 0.1)), linear-gradient(45deg, rgba(226, 151, 51, 0.1) 25%, transparent 25%, transparent 75%, rgba(226, 151, 51, 0.1) 75%, rgba(226, 151, 51, 0.1));
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

@media (max-width: 768px) {
    .portfolio-item img {
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    padding: 2rem;
    color: #ffffff;
    z-index: 2;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 768px) {
    .portfolio-item-content {
        padding: 1.25rem;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
        max-width: 100%;
        overflow: hidden;
    }
}

.portfolio-item-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.01em;
}

.portfolio-item-description {
    display: none;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.portfolio-item.placeholder {
    border: 2px dashed rgba(226, 151, 51, 0.3);
    background: rgba(226, 151, 51, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.portfolio-item.placeholder:hover {
    border-color: rgba(226, 151, 51, 0.5);
    background: rgba(226, 151, 51, 0.08);
    transform: none;
    box-shadow: none;
}

.portfolio-placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.portfolio-placeholder-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

/* Articles Sidebar (Bottom Right Corner) - MUITO DISCRETO */
.articles-sidebar {
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
    width: 260px;
    max-width: calc(100% - 4rem);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    z-index: 10;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.articles-sidebar:hover {
    opacity: 1;
    border-color: rgba(226, 151, 51, 0.3);
    box-shadow: 0 6px 30px rgba(226, 151, 51, 0.2);
}

.section-header-articles {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.articles-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 250px;
    overflow-y: auto;
}

.articles-list::-webkit-scrollbar {
    width: 4px;
}

.articles-list::-webkit-scrollbar-track {
    background: transparent;
}

.articles-list::-webkit-scrollbar-thumb {
    background: rgba(226, 151, 51, 0.3);
    border-radius: 2px;
}

.articles-list::-webkit-scrollbar-thumb:hover {
    background: rgba(226, 151, 51, 0.5);
}

.article-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.625rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.article-item:hover {
    border-color: rgba(226, 151, 51, 0.3);
    background: rgba(226, 151, 51, 0.05);
    transform: translateX(2px);
}

.article-item-title {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.article-item-date {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.article-item.placeholder {
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    cursor: default;
    text-align: center;
    padding: 2rem 1rem;
}

.article-item.placeholder:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    transform: none;
}

.article-placeholder-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    opacity: 0.3;
}

.article-placeholder-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    margin: 0;
}

/* YouTube Follow Section */
.youtube-section {
    width: 100%;
    background: #000000;
    padding: 6rem 3rem;
    position: relative;
    overflow: hidden;
}

.youtube-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.youtube-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(226, 151, 51, 0.05) 0%, rgba(226, 151, 51, 0.02) 100%);
    border: 2px solid rgba(226, 151, 51, 0.2);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.youtube-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 151, 51, 0.1), transparent);
    animation: youtube-shimmer 3s ease-in-out infinite;
}

@keyframes youtube-shimmer {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.youtube-content:hover {
    border-color: rgba(226, 151, 51, 0.4);
    box-shadow: 0 10px 40px rgba(226, 151, 51, 0.2);
    transform: translateY(-4px);
}

.youtube-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.youtube-content:hover .youtube-icon-wrapper {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.5);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.youtube-icon {
    width: 48px;
    height: 48px;
    color: #ff0000;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    transition: all 0.3s ease;
}

.youtube-content:hover .youtube-icon {
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8));
    transform: scale(1.05);
}

.youtube-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.youtube-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(226, 151, 51, 0.3);
    transition: all 0.3s ease;
}

.youtube-content:hover .youtube-title {
    text-shadow: 0 0 30px rgba(226, 151, 51, 0.5);
    color: #e29733;
}

.youtube-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: #ff0000;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    border: 2px solid transparent;
}

.youtube-button:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.youtube-button:active {
    transform: translateY(0);
}

.youtube-button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.youtube-button:hover .youtube-button-icon {
    transform: translateX(4px);
}

/* Responsive Design for YouTube Section */
@media (max-width: 768px) {
    .youtube-section {
        padding: 4rem 1.5rem;
    }
    
    .youtube-content {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .youtube-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .youtube-icon {
        width: 36px;
        height: 36px;
    }
    
    .youtube-title {
        font-size: 2rem;
    }
    
    .youtube-description {
        font-size: 1rem;
    }
    
    .youtube-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .youtube-section {
        padding: 3rem 1rem;
    }
    
    .youtube-content {
        padding: 1.5rem 1rem;
    }
    
    .youtube-title {
        font-size: 1.75rem;
    }
    
    .youtube-description {
        font-size: 0.95rem;
    }
    
    .youtube-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Responsive Design for Portfolio Section */
@media (max-width: 1400px) {
    .portfolio-item {
        width: 420px;
        min-width: 420px;
    }
    
    .portfolio-title {
        font-size: 3.5rem;
    }
    
    .featured-project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-project-carousel img {
        height: 350px;
    }
}

@media (max-width: 1200px) {
    .portfolio-item {
        width: 380px;
        min-width: 380px;
    }
    
    .portfolio-title {
        font-size: 3rem;
    }
    
    .featured-project-title {
        font-size: 2rem;
    }
    
    .featured-project-description {
        font-size: 1rem;
    }
    
    .articles-sidebar {
        width: 240px;
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Force box-sizing and prevent internal overflow */
    .portfolio-section *,
    .portfolio-container *,
    .portfolio-main *,
    .featured-project-details *,
    .featured-project-content * {
        box-sizing: border-box;
    }
    
    .portfolio-section {
        padding: 2rem 1rem 3rem 1rem;
        min-height: auto;
        overflow-x: hidden !important;
        overflow-y: visible;
        width: 100%;
        max-width: 100vw;
    }
    
    .portfolio-container {
        padding: 0;
        max-width: 100%;
        width: 100%;
        overflow: visible !important;
        position: relative;
    }
    
    .portfolio-main {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        overflow: visible !important;
        position: relative;
    }
    
    .section-header-portfolio {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .portfolio-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-title::after {
        width: 100px;
    }
    
    .portfolio-subtitle {
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }
    
    /* Featured project rules moved to main mobile section above */
    
    .featured-project-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
        overflow: visible !important;
        box-sizing: border-box;
    }
    
    .featured-project-carousel-wrapper {
        border-radius: 12px !important;
        overflow: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important;
        background: var(--surface-elevated) !important;
        border: 2px solid rgba(226, 151, 51, 0.3) !important;
        margin-bottom: 1rem !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .featured-project-carousel {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: none !important;
    }
    
    .featured-project-carousel img {
        height: 220px !important;
        border-radius: 12px !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
        object-fit: cover !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: rgba(20, 20, 20, 0.5) !important;
    }
    
    .featured-project-info {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 1rem !important;
    }
    
    .featured-project-title {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
        color: #ffffff !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        margin-top: 0 !important;
    }
    
    .featured-project-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
        margin: 0 !important;
    }
    
    .portfolio-carousel-wrapper {
        margin-top: 1rem;
        padding: 1.5rem 0 0.5rem 0;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        width: 100%;
        max-width: 100%;
        position: relative;
        box-sizing: border-box;
    }
    
    /* Ensure highlighted items are not clipped at top on mobile */
    .portfolio-carousel-wrapper .portfolio-item.highlighted {
        margin-top: 0 !important;
        transform: scale(1) !important;
    }
    
    .portfolio-carousel-wrapper::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        background: transparent !important;
    }
    
    .portfolio-carousel-wrapper::before,
    .portfolio-carousel-wrapper::after {
        display: none !important;
    }
    
    .portfolio-carousel {
        gap: 1rem;
        padding: 0 1rem;
        width: max-content;
        overflow: visible !important;
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    
    .portfolio-carousel.has-items {
        animation: carousel-slide-mobile 50s linear infinite;
    }
    
    @keyframes carousel-slide-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100% + 100vw - 2rem));
        }
    }
    
    .portfolio-item {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        border-radius: 12px;
        border-width: 2px;
        opacity: 1 !important;
        transform: scale(1) !important;
        filter: blur(0) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        scroll-snap-align: start;
        overflow: hidden !important;
        flex-shrink: 0;
        box-sizing: border-box;
        position: relative;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .portfolio-item img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        display: block !important;
        box-sizing: border-box;
    }
    
    .portfolio-item.highlighted,
    .portfolio-item.nearby {
        opacity: 1 !important;
        transform: scale(1) !important;
        filter: blur(0) !important;
    }
    
    /* Prevent top clipping when item is highlighted on mobile */
    .portfolio-item.highlighted {
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative;
        z-index: 10;
    }
    
    .portfolio-item-content {
        padding: 1.25rem;
    }
    
    .portfolio-item-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-item-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .articles-sidebar {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 2rem;
        opacity: 1;
        border-radius: 12px;
        padding: 1.25rem;
    }
    
    .articles-title {
        font-size: 0.875rem;
    }
    
    .articles-list {
        max-height: none;
    }
    
    .article-item {
        padding: 0.75rem;
    }
    
    .article-item-title {
        font-size: 0.8rem;
    }
    
    .article-item-date {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 1.5rem 0.5rem 2rem 0.5rem;
        overflow-x: hidden;
    }
    
    .portfolio-container {
        padding: 0;
    }
    
    .section-header-portfolio {
        padding: 0 0.25rem;
    }
    
    .portfolio-title {
        font-size: 1.5rem;
    }
    
    .portfolio-subtitle {
        font-size: 0.85rem;
    }
    
    .featured-project-details {
        padding: 0 0.25rem;
    }
    
    .featured-project-carousel img {
        height: 180px;
    }
    
    .featured-project-title {
        font-size: 1.125rem;
    }
    
    .featured-project-description {
        font-size: 0.8rem;
    }
    
    .portfolio-carousel-wrapper {
        padding: 1.5rem 0 0.5rem 0;
        overflow-y: visible !important;
    }
    
    /* Prevent top clipping when item is highlighted on mobile (480px) */
    .portfolio-carousel-wrapper .portfolio-item.highlighted {
        margin-top: 0 !important;
        transform: scale(1) !important;
    }
    
    .portfolio-carousel {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }
    
    .portfolio-item {
        width: 260px !important;
        min-width: 260px !important;
        max-width: 260px !important;
    }
    
    .portfolio-item-content {
        padding: 1rem;
    }
    
    .portfolio-item-title {
        font-size: 1.125rem;
    }
    
    .portfolio-item-description {
        font-size: 0.8rem;
    }
    
    .articles-sidebar {
        padding: 1rem;
        margin-top: 1.5rem;
    }
}

/* Modal – extra small mobile (480px) */
@media (max-width: 480px) {
    .modal-overlay {
        align-items: flex-end;
    }
    
    .modal-content {
        max-height: 94vh;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-video-container {
        max-width: 220px;
    }
    
    .modal-description {
        font-size: 0.9rem;
    }
    
    .modal-features li {
        font-size: 0.9rem;
    }
    
    .modal-note {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .modal-purchase-btn {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}

/* Carousel Bar */
.carousel-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #e29733;
    padding: 1rem 0;
    z-index: 1000;
    overflow: hidden;
    border-top: 1px solid rgba(226, 151, 51, 0.3);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-shadow: 0 -4px 20px rgba(226, 151, 51, 0.4);
}

.carousel-content {
    display: flex;
    white-space: nowrap;
    animation: carousel-scroll 30s linear infinite;
}

.carousel-item {
    display: inline-block;
    color: #000000;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-right: 3rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-content:hover {
    animation-play-state: paused;
}

/* Hire Modal Styles */
.hire-modal-content {
    max-width: 800px;
}

.modal-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-weight: 400;
}

.hire-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    margin-bottom: 0.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.form-hint {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
    display: block;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #e29733;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(226, 151, 51, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Service Options */
.service-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-option {
    display: block;
    cursor: pointer;
}

.service-option input[type="radio"] {
    display: none;
}

.service-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-option:hover .service-card {
    border-color: rgba(226, 151, 51, 0.3);
    background: rgba(226, 151, 51, 0.05);
}

.service-option input[type="radio"]:checked + .service-card {
    border-color: #e29733;
    background: rgba(226, 151, 51, 0.1);
    box-shadow: 0 0 20px rgba(226, 151, 51, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(226, 151, 51, 0.1);
    border-radius: 12px;
}

.service-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.service-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.price-from {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #e29733;
}

.price-other {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.form-submit-btn {
    background: #e29733;
    color: #000000;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(226, 151, 51, 0.4);
}

.form-submit-btn:hover {
    background: #d48928;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(226, 151, 51, 0.6);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0;
}

/* Hire Modal Responsive */
@media (max-width: 768px) {
    .hire-modal-content {
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        animation: modalBottomSheetUp 0.35s ease-out forwards;
    }
    
    .modal-body {
        padding: 1rem 1.25rem 1.5rem;
    }
    
    .hire-form {
        gap: 1.5rem;
    }
    
    .form-section {
        gap: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .service-info h3 {
        font-size: 1.125rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .price-amount {
        font-size: 1.125rem;
    }
    
    .form-submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 0.875rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }
    
    .service-info h3 {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.85rem;
    }
    
    .price-amount {
        font-size: 1rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}

/* Contact Modal Styles */
.contact-modal-content {
    max-width: 600px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(226, 151, 51, 0.4);
    background: rgba(226, 151, 51, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(226, 151, 51, 0.15);
}

.contact-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(226, 151, 51, 0.1);
    border: 2px solid rgba(226, 151, 51, 0.2);
}

.email-icon {
    color: #e29733;
}

.whatsapp-icon {
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.2);
}

.contact-card:hover .whatsapp-icon {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.contact-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.25rem;
    background: rgba(226, 151, 51, 0.1);
    border: 2px solid rgba(226, 151, 51, 0.3);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.email-link:hover {
    background: rgba(226, 151, 51, 0.2);
    border-color: #e29733;
    box-shadow: 0 4px 20px rgba(226, 151, 51, 0.3);
    transform: translateX(4px);
}

.whatsapp-link {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.3);
}

.whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: #25D366;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transform: translateX(4px);
}

.contact-value {
    flex: 1;
    word-break: break-all;
}

.contact-link svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.contact-link:hover svg {
    opacity: 1;
}

.contact-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

.contact-note strong {
    color: #e29733;
    font-weight: 600;
}

/* Contact Modal Responsive */
@media (max-width: 768px) {
    .contact-modal-content {
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        animation: modalBottomSheetUp 0.35s ease-out forwards;
    }
    
    .contact-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .contact-icon {
        width: 56px;
        height: 56px;
    }
    
    .contact-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .contact-info h3 {
        font-size: 1.25rem;
    }
    
    .contact-description {
        font-size: 0.9rem;
    }
    
    .contact-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-info h3 {
        font-size: 1.125rem;
    }
    
    .contact-link {
        font-size: 0.95rem;
        padding: 0.625rem 0.875rem;
    }
}

/* Hide scrollbar on mobile (webkit + firefox) */
@media (max-width: 768px) {
    html {
        scrollbar-width: none;
    }
    
    body {
        scrollbar-width: none;
    }
    
    html::-webkit-scrollbar,
    body::-webkit-scrollbar,
    .modal-body::-webkit-scrollbar,
    .modal-content::-webkit-scrollbar,
    .dashboard-header::-webkit-scrollbar,
    .header-content::-webkit-scrollbar,
    .header-top-section::-webkit-scrollbar,
    .header-right-section::-webkit-scrollbar,
    .user-profile::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    
    .dashboard-header,
    .header-content,
    .header-top-section,
    .header-right-section,
    .user-profile {
        scrollbar-width: none;
    }
}

/* Mobile-specific adjustments for better UX */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    .dashboard-container {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    .dashboard-header {
        overflow: hidden !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-bottom: 0;
    }
    
    .header-content {
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        justify-content: flex-start;
        padding-top: 1rem;
        padding-bottom: 0;
        overflow: hidden !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
    }
    
    .header-top-section {
        width: 100%;
        overflow: hidden !important;
        margin-bottom: 0;
        flex: 0 0 auto;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .header-intro {
        margin-bottom: 0;
        flex: 0 0 auto;
    }
    
    .user-profile {
        flex: 0 0 auto;
        overflow: visible;
    }
    
    .header-left {
        flex: 0 0 auto;
        overflow: visible;
    }
    
    .header-right-section {
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        overflow: hidden !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .header-actions {
        flex: 0 0 auto;
    }
    
    .social-icons {
        overflow: visible;
    }
    
    .carousel-bar {
        position: relative;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        flex-shrink: 0;
        overflow: hidden;
        min-height: 3.5rem;
        padding: 0.875rem 0;
        display: flex;
        align-items: center;
    }
    
    .carousel-content {
        display: flex;
        white-space: nowrap;
    }
    
    .carousel-item {
        font-size: 0.85rem;
    }
    
    .dashboard-main {
        gap: 2.5rem;
    }
    
    .header-content {
        gap: 2rem;
        overflow: hidden !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .header-top-section {
        gap: 2.25rem;
        overflow: hidden !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .user-profile {
        gap: 1.25rem;
        overflow: visible;
    }
    
    .header-right-section {
        overflow: hidden !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .about-content {
        gap: 2.25rem;
        padding: 2rem 1.5rem;
    }
    
    .about-cta-section {
        padding: 0 1.5rem 2rem;
    }
    
    .about-buttons {
        gap: 1.75rem;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        overflow-x: hidden;
    }
    
    body {
        overflow-x: hidden;
    }
    
    .dashboard-header {
        padding: 1rem;
        overflow: hidden;
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .header-content {
        padding: 0;
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        height: auto !important;
        overflow: hidden !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    
    .header-top-section {
        overflow: hidden !important;
        height: auto !important;
        min-height: 0 !important;
    }
    
    .header-right-section {
        flex: 0 0 auto !important;
        flex-grow: 0 !important;
        overflow: hidden !important;
        height: auto !important;
        min-height: 0 !important;
    }
}

/* Footer Section with Inspirational Quote */
.footer-section {
    width: 100%;
    background: #000000;
    min-height: 100vh;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(226, 151, 51, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 151, 51, 0.3), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.footer-quote {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    position: relative;
    padding: 2rem 0;
}

.quote-icon {
    width: 64px;
    height: 64px;
    color: rgba(226, 151, 51, 0.4);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-quote:hover .quote-icon {
    opacity: 1;
    color: rgba(226, 151, 51, 0.7);
    transform: scale(1.1);
}

.inspirational-quote {
    font-size: 2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
    font-style: italic;
    letter-spacing: 0.01em;
    position: relative;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

.footer-quote:hover .inspirational-quote {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(226, 151, 51, 0.3);
}

.quote-author {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(226, 151, 51, 0.7);
    font-style: normal;
    margin-top: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.footer-quote:hover .quote-author {
    color: #e29733;
    text-shadow: 0 0 15px rgba(226, 151, 51, 0.4);
}

.footer-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid #e29733;
    color: #e29733;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.footer-contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 151, 51, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-contact-button:hover::before {
    left: 100%;
}

.footer-contact-button:hover {
    background: rgba(226, 151, 51, 0.1);
    border-color: #e29733;
    box-shadow: 0 0 20px rgba(226, 151, 51, 0.4), 0 0 40px rgba(226, 151, 51, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.footer-contact-button:active {
    transform: translateY(0);
}

.footer-button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.footer-contact-button:hover .footer-button-icon {
    transform: translateX(4px);
}

.footer-divider {
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(226, 151, 51, 0.4), transparent);
    margin: 1.5rem 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer-copyright {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.footer-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 3rem 1.5rem;
        min-height: 100vh;
    }
    
    .footer-content {
        gap: 2.5rem;
    }
    
    .footer-quote {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .quote-icon {
        width: 56px;
        height: 56px;
    }
    
    .inspirational-quote {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
    
    .quote-author {
        font-size: 1rem;
    }
    
    .footer-contact-button {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .footer-divider {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 3rem 1rem;
        min-height: 100vh;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-quote {
        gap: 1.25rem;
        padding: 1rem 0;
    }
    
    .inspirational-quote {
        font-size: 1.25rem;
        line-height: 1.7;
        padding: 0 0.5rem;
    }
    
    .quote-author {
        font-size: 0.95rem;
    }
    
    .footer-contact-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.9rem;
    }
    
    .footer-note {
        font-size: 0.75rem;
    }
    
    .footer-divider {
        width: 150px;
    }
}


/* Payment Options Styles */
.payment-question {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

/* No modal mentoria: título mais compacto */
#mentorshipModal .payment-question {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.payment-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    align-items: stretch;
}

.payment-btn {
    background: linear-gradient(135deg, #e29733 0%, #c77d1f 100%);
    color: #000000;
    border: 2px solid transparent;
    padding: 0.75rem 1.125rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(226, 151, 51, 0.25);
    text-decoration: none;
    justify-content: center;
    height: fit-content;
    flex: 0 1 auto;
    min-width: 115px;
    max-width: 135px;
}

.payment-btn:hover {
    background: linear-gradient(135deg, #d48928 0%, #b86b0f 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(226, 151, 51, 0.4);
    border-color: rgba(226, 151, 51, 0.3);
    color: #000000;
}

.payment-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(226, 151, 51, 0.3);
}

.payment-emoji {
    font-size: 1.3rem;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    margin-bottom: 0.125rem;
}

.payment-currency {
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.payment-proof-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(226, 151, 51, 0.12);
    text-align: center;
}

.payment-proof-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    letter-spacing: 0.2px;
}

.payment-proof-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.625rem;
    line-height: 1.4;
    opacity: 0.85;
}

.payment-proof-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
    text-decoration: none;
    letter-spacing: 0.2px;
}

.payment-proof-btn:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #0F7A6E 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
    color: #ffffff;
}

.payment-proof-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 6px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .modal-footer {
        padding: 1.25rem 1rem 1.5rem;
    }
    
    .payment-question {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        font-weight: 500;
        letter-spacing: 0.2px;
    }
    
    .payment-options {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0.875rem;
        width: 100%;
        justify-content: space-between;
    }
    
    /* Modal de mentoria: Pix + Cartão lado a lado, mesmo tamanho */
    #mentorshipModal .payment-options-two {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        flex-wrap: wrap;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.5rem;
    }
    #mentorshipModal .payment-options .payment-btn,
    #mentorshipModal .payment-options .pix-cta-btn,
    #mentorshipModal .payment-options-two .pix-cta-btn,
    #mentorshipModal .payment-options-two .card-cta-btn {
        flex: 1 1 0;
        min-width: 120px;
        max-width: 200px;
        min-height: 48px;
        font-size: 0.85rem;
    }
    #mentorshipModal .payment-options.payment-options-single {
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }
    #mentorshipModal .payment-options-single .pix-cta-btn {
        width: 100%;
        max-width: 320px;
        flex: none;
    }
    #mentorshipModal .payment-options-two .pix-cta-btn,
    #mentorshipModal .payment-options-two .card-cta-btn {
        flex-direction: row !important;
        padding: 0.65rem 1rem;
        gap: 0.5rem;
        min-height: 48px;
    }
    #mentorshipModal .payment-options-two {
        min-height: 48px;
        margin-bottom: 0.5rem;
    }
}

/* Esconder completamente botões EUR e USD — só fica o botão Pix (#openPixBtn) */
/* Esconder só EUR/USD — NUNCA esconder .card-cta-btn (cartão) */
#mentorshipModal .payment-btn-eur,
#mentorshipModal .payment-btn-usd,
#mentorshipModal .payment-options .payment-btn:not(#openPixBtn):not(.pix-cta-btn):not(.card-cta-btn),
#mentorshipModal [data-i18n="currencyEUR"],
#mentorshipModal [data-i18n="currencyUSD"] {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    pointer-events: none !important;
}

/* Garantir que Pix e Cartão aparecem no modal (evitar que regras genéricas os escondam) */
#openPixBtn,
#mentorshipModal .payment-options #openPixBtn,
#mentorshipModal .payment-options .pix-cta-btn,
#mentorshipModal .payment-options-two .pix-cta-btn,
#mentorshipModal .payment-options-two .card-cta-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
@media (max-width: 768px) {
    #openPixBtn,
    #mentorshipModal .payment-options .pix-cta-btn {
        min-width: 200px !important;
        min-height: 48px !important;
    }
    /* Modal mentoria: Pix e Cartão em coluna no mobile, mesmo tamanho */
    #mentorshipModal .payment-options-two {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }
    #mentorshipModal .payment-options-two {
        gap: 0.75rem !important;
    }
    #mentorshipModal .payment-options-two .pix-cta-btn,
    #mentorshipModal .payment-options-two .card-cta-btn {
        width: 100%;
        max-width: 280px !important;
        min-width: 0 !important;
        flex: none !important;
        flex-direction: row !important;
    }
}

/* Botão Pix — design idêntico ao antigo, zero referência a PayPal (id/class novos) */
#openPixBtn.pix-cta-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    background: linear-gradient(135deg, #e29733 0%, #c77d1f 100%);
    color: #000000;
    border: none;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(226, 151, 51, 0.4);
    text-decoration: none;
    justify-content: center;
    min-height: 90px;
}
#openPixBtn.pix-cta-btn:hover {
    background: linear-gradient(135deg, #d48928 0%, #b86b0f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(226, 151, 51, 0.6);
    color: #000000;
}
#openPixBtn.pix-cta-btn:active {
    transform: translateY(0);
}
.pix-cta-icon {
    font-size: 2rem;
    line-height: 1;
}
.pix-cta-text {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* No modal "Me ajude a entrar em tech": Pix menor e horizontal (ícone + texto lado a lado) */
#mentorshipModal .mentorship-modal-pix.pix-cta-btn {
    min-height: 48px !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.9rem !important;
    flex-direction: row !important;
    gap: 0.5rem;
    align-items: center;
}
#mentorshipModal .mentorship-modal-pix .pix-cta-icon {
    font-size: 1.25rem;
    line-height: 1;
}
#mentorshipModal .mentorship-modal-pix .pix-cta-text {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Botão Cartão no modal — menor e horizontal, mesmo tamanho do Pix (cor branca) */
#mentorshipModal .card-cta-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    background: linear-gradient(135deg, #ffffff 0%, #e8e8e8 100%);
    color: #111;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    min-height: 48px !important;
    min-width: 140px !important;
    width: auto !important;
}
#mentorshipModal .card-cta-btn:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #ddd 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    color: #111;
}
#mentorshipModal .card-cta-btn:active {
    transform: translateY(0);
}
#mentorshipModal .card-cta-icon {
    font-size: 1.25rem;
    line-height: 1;
}
#mentorshipModal .card-cta-text {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

/* Página dedicada mentoria: botão cartão SEMPRE visível (evitar cache/versão antiga) */
.page-mentorship .mentorship-payment-block .card-cta-btn,
.page-mentorship .card-cta-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    min-width: 140px !important;
    min-height: 48px !important;
}

@media (max-width: 768px) {
    .payment-btn {
        flex: 1;
        padding: 0.5rem 0.375rem;
        font-size: 0.7rem;
        min-height: 48px;
        height: 48px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        min-width: 0;
        max-width: none;
        gap: 0.35rem;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(226, 151, 51, 0.2);
    }
    
    .payment-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(226, 151, 51, 0.3);
    }
    
    .payment-emoji {
        font-size: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
        line-height: 1;
    }
    
    .payment-currency {
        font-size: 0.65rem;
        letter-spacing: 0.6px;
        flex-shrink: 0;
        font-weight: 700;
    }
    
    .pix-cta-icon {
        font-size: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
        line-height: 1;
    }
    .pix-cta-text {
        font-size: 0.65rem;
        letter-spacing: 0.6px;
        flex-shrink: 0;
        font-weight: 700;
    }
    
    .payment-proof-section {
        margin-top: 0.875rem;
        padding-top: 0.875rem;
        border-top: 1px solid rgba(226, 151, 51, 0.08);
    }
    
    .payment-proof-title {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
        font-weight: 500;
    }
    
    .payment-proof-message {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        line-height: 1.35;
        opacity: 0.85;
    }
    
    .payment-proof-btn {
        width: 100%;
        padding: 0.55rem 0.875rem;
        font-size: 0.75rem;
        border-radius: 6px;
        box-shadow: 0 1px 4px rgba(37, 211, 102, 0.2);
    }
    
    .payment-proof-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
    }
    
    .payment-proof-btn svg {
        width: 14px;
        height: 14px;
    }
}
