/* --------------------------------------------------
   DESIGN SYSTEM & VARIABLES
-------------------------------------------------- */
:root {
    --bg-dark: #050608;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    
    /* Cores de Acento */
    --primary: #00d2ff;       /* Azul Ciano Elétrico */
    --secondary: #0088ff;     /* Azul Vibrante */
    --accent-gold: #fbbf24;    /* Dourado */
    --accent-success: #10b981; /* Verde */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradientes */
    --grad-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --grad-card-hover: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(0, 136, 255, 0.1));
    --grad-border-hover: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
}

/* --------------------------------------------------
   EFEITOS DE GLOW NO FUNDO
-------------------------------------------------- */
.glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: floatGlow 10s ease-in-out infinite alternate;
}

.glow-1 {
    top: -100px;
    left: -150px;
    background: var(--primary);
}

.glow-2 {
    bottom: -100px;
    right: -150px;
    background: var(--secondary);
    animation-delay: -5s;
}

@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, 30px) scale(1.15);
    }
}

/* --------------------------------------------------
   CONTAINER PRINCIPAL
-------------------------------------------------- */
.container {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --------------------------------------------------
   HEADER (PERFIL)
-------------------------------------------------- */
.profile-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    padding: 4px;
    border-radius: 50%;
    margin-bottom: 4px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0c0d13;
    z-index: 2;
    position: relative;
}

.avatar-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--grad-primary);
    z-index: 1;
    animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-name {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 60%, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 440px;
    font-weight: 400;
}

/* --------------------------------------------------
   LINKS CONTAINER & CARDS
-------------------------------------------------- */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 20px 20px 115px; /* Espaço para o mockup flutuar no lado esquerdo */
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible; /* Permite que o mockup flutue para fora do card */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Novo estilo para cards baseados em banners de imagem completa */
.link-card-image {
    display: block;
    width: 100%;
    border-radius: 20px;
    overflow: hidden; /* Garante que a imagem siga o arredondamento do card */
    text-decoration: none;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 0; /* Previne espaços indesejados no rodapé da imagem */
    border: 1px solid var(--border-color);
}

.card-full-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-card-image:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(0, 210, 255, 0.45);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6),
                0 0 20px -5px rgba(0, 210, 255, 0.3);
}

.link-card-image:hover .card-full-image {
    transform: scale(1.015); /* Zoom sutil e elegante no hover */
}

/* Brilho interno sutil nos cards */
.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-card-hover);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 20px;
}

/* Efeitos de Hover nos Cards */
.link-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5),
                0 0 20px -5px rgba(139, 92, 246, 0.15);
}

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

.link-card:active {
    transform: translateY(-1px) scale(1.0);
}

/* Wrapper e Imagem do Mockup 3D Flutuante */
.card-mockup-wrapper {
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 110px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 5;
}

.card-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen; /* Remove as bordas pretas quadradas, deixando a arte 3D transparente */
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-card:hover .card-mockup-img {
    transform: scale(1.15) rotate(4deg);
}

/* Ícones dos Cards */
.card-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.card-icon {
    width: 22px;
    height: 22px;
    stroke-width: 2px;
}

.link-card:hover .card-icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.05);
}

/* Conteúdo do Card */
.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Badges */
.card-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-blue {
    background: rgba(0, 210, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(0, 210, 255, 0.25);
}

.badge-live {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
    display: flex;
    align-items: center;
    gap: 4px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #ef4444;
    border-radius: 50%;
    display: inline-block;
    animation: pulseLive 1.5s infinite alternate;
}

@keyframes pulseLive {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.badge-warning {
    background: rgba(251, 191, 36, 0.12);
    color: var(--accent-gold);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.badge-purple {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

/* Info rodapé do Card */
.card-footer-info {
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-success);
}

.card-action-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Seta Direita */
.card-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.card-arrow i {
    width: 20px;
    height: 20px;
}

.link-card:hover .card-arrow {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* 1. Card Funil Triplo A (Banner de Imagem Completa com Glow Azul Ciano) */
.card-funil-triplo {
    border-color: rgba(0, 210, 255, 0.2);
}

.card-funil-triplo:hover {
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6),
                0 0 25px -5px rgba(0, 210, 255, 0.35);
}

/* 2. Card Aulas Semanais (Banner de Imagem Completa com Glow Verde WhatsApp) */
.card-weekly-class {
    border-color: rgba(37, 211, 102, 0.15);
}

.card-weekly-class:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6),
                0 0 25px -5px rgba(37, 211, 102, 0.35);
}

/* 3. Card Mentoria Individual (Banner de Imagem Completa com Glow Dourado) */
.card-consulting {
    border-color: rgba(251, 191, 36, 0.15);
}

.card-consulting:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6),
                0 0 25px -5px rgba(251, 191, 36, 0.3);
}

/* --------------------------------------------------
   FOOTER (DIREITOS)
-------------------------------------------------- */
.profile-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    width: 100%;
}

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

/* --------------------------------------------------
   RESPONSIVIDADE (Telas Pequenas)
-------------------------------------------------- */
@media (max-width: 480px) {
    body {
        padding: 24px 16px;
    }
    
    .container {
        gap: 24px;
    }
    
    .profile-header {
        gap: 12px;
    }
    
    .avatar-wrapper {
        width: 96px;
        height: 96px;
    }
    
    .profile-name {
        font-size: 1.4rem;
    }
    
    .profile-bio {
        font-size: 0.9rem;
    }
    
    .link-card {
        padding: 16px 16px 16px 85px; /* Reduz padding lateral para o mockup */
        gap: 12px;
        border-radius: 16px;
    }
    
    .card-mockup-wrapper {
        width: 80px;
        height: 80px;
        left: -8px;
    }
    
    .card-icon-wrapper {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .card-icon {
        width: 18px;
        height: 18px;
    }
    
    .card-title {
        font-size: 0.95rem;
    }
    
    .card-description {
        font-size: 0.8rem;
    }
    
    .card-badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
}
