/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-color: #080c14;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Glassmorphism Tokens */
    --glass-bg: rgba(15, 23, 42, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.16);
    --glass-shadow: rgba(0, 0, 0, 0.35);
    
    /* Brand Accent Colors */
    --accent-primary: #3b82f6; /* Premium Blue */
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --accent-glow: rgba(59, 130, 246, 0.45);
    
    /* Specific Link Gradients (Subtle & Harmonized) */
    --phone-grad: linear-gradient(135deg, #0ea5e9, #0284c7);
    --whatsapp-grad: linear-gradient(135deg, #22c55e, #16a34a);
    --email-grad: linear-gradient(135deg, #f43f5e, #e11d48);
    --agenda-grad: linear-gradient(135deg, #f59e0b, #d97706);
    --video-grad: linear-gradient(135deg, #8b5cf6, #7c3aed);
    --address-grad: linear-gradient(135deg, #10b981, #059669);
    --cv-grad: linear-gradient(135deg, #ec4899, #db2777);
    --prof-grad: linear-gradient(135deg, #6366f1, #4f46e5);
    --blog-grad: linear-gradient(135deg, #14b8a6, #0d9488);
    --bfarm-grad: linear-gradient(135deg, #4f46e5, #06b6d4);
    --opinions-grad: linear-gradient(135deg, #8b5cf6, #d946ef);
    --coffee-grad: linear-gradient(135deg, #f59e0b, #ec4899);
    --taskupper-grad: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --nomeasy-grad: linear-gradient(135deg, #10b981, #047857);
    --sgush-grad: linear-gradient(135deg, #ec4899, #f43f5e);
    --adotta-grad: linear-gradient(135deg, #6366f1, #3b82f6);
    
    /* Animation Speeds */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

/* ==========================================================================
   AMBIENT GLOWS (MESH GRADIENT BACKGROUND)
   ========================================================================== */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    z-index: -1;
    pointer-events: none;
    animation: floatGlow 12s infinite alternate ease-in-out;
}

.bg-glow-1 {
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.bg-glow-2 {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -4s;
}

.bg-glow-3 {
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    top: 40%;
    left: 45%;
    width: 400px;
    height: 400px;
    opacity: 0.15;
    animation-delay: -8s;
}

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

/* ==========================================================================
   MAIN CONTAINER (GLASSMORMISM CARD)
   ========================================================================== */
.card-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 32px;
    width: 100%;
    max-width: 680px;
    padding: 50px 40px;
    box-shadow: 0 25px 50px -12px var(--glass-shadow);
    z-index: 10;
    position: relative;
    animation: cardEnter 0.8s var(--transition-slow) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes cardEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   PROFILE HEADER
   ========================================================================== */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.avatar-wrapper {
    position: relative;
    margin-bottom: 24px;
    width: 130px;
    height: 130px;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
    position: relative;
    transition: transform var(--transition-normal);
}

.avatar-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    background: var(--accent-gradient);
    z-index: 1;
    opacity: 0.7;
    animation: rotateRing 15s linear infinite;
}

@keyframes rotateRing {
    100% {
        transform: rotate(360deg);
    }
}

.avatar-wrapper:hover .profile-avatar {
    transform: scale(1.05);
}

.profile-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Primary CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px var(--accent-glow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 26px var(--accent-glow);
    filter: brightness(1.1);
}

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

/* ==========================================================================
   LINKS SECTIONS
   ========================================================================== */
.link-section {
    margin-bottom: 35px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

/* Grid Layout (Contacts) */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-fast), border var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #ffffff;
    flex-shrink: 0;
}

.phone-bg { background: var(--phone-grad); }
.whatsapp-bg { background: var(--whatsapp-grad); }
.email-bg { background: var(--email-grad); }
.agenda-bg { background: var(--agenda-grad); }
.video-bg { background: var(--video-grad); }
.address-bg { background: var(--address-grad); }
.cv-bg { background: var(--cv-grad); }
.prof-bg { background: var(--prof-grad); }
.blog-bg { background: var(--blog-grad); }
.bfarm-icon-bg { background: var(--bfarm-grad); }
.blog-icon-bg { background: var(--blog-grad); }
.opinions-icon-bg { background: var(--opinions-grad); }
.coffee-icon-bg { background: var(--coffee-grad); }
.taskupper-icon-bg { background: var(--taskupper-grad); }
.nomeasy-icon-bg { background: var(--nomeasy-grad); }
.sgush-icon-bg { background: var(--sgush-grad); }
.adotta-icon-bg { background: var(--adotta-grad); }

.link-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.link-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Vertical Layout (Professional Assets) */
.links-vertical {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card-full {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 18px 24px;
    text-decoration: none;
    color: inherit;
    transition: background var(--transition-fast), border var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.link-card-full:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.link-info-full {
    flex-grow: 1;
}

.link-info-full h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.link-info-full p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.chevron {
    color: var(--text-muted);
    transition: transform var(--transition-fast), color var(--transition-fast);
}

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

/* ==========================================================================
   SOCIALS GRID (SECONDARY CHANNELS)
   ========================================================================== */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: transform var(--transition-fast), background var(--transition-fast), border var(--transition-fast), color var(--transition-fast);
}

.social-icon-btn:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-hover);
    color: #ffffff;
}

/* Specific Social Hover Colors */
#social-linkedin:hover { background: rgba(10, 102, 194, 0.15); color: #0a66c2; border-color: rgba(10, 102, 194, 0.3); }
#social-youtube:hover { background: rgba(255, 0, 0, 0.12); color: #ff0000; border-color: rgba(255, 0, 0, 0.3); }
#social-twitter:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; border-color: rgba(255, 255, 255, 0.2); }
#social-instagram:hover { background: rgba(225, 48, 108, 0.12); color: #e1306c; border-color: rgba(225, 48, 108, 0.3); }
#social-tiktok:hover { background: rgba(0, 242, 234, 0.08); color: #00f2fe; border-color: rgba(255, 0, 80, 0.3); }
#social-facebook:hover { background: rgba(24, 119, 242, 0.12); color: #1877f2; border-color: rgba(24, 119, 242, 0.3); }
#social-spotify:hover { background: rgba(30, 215, 96, 0.12); color: #1ed760; border-color: rgba(30, 215, 96, 0.3); }
#social-pinterest:hover { background: rgba(189, 8, 28, 0.12); color: #bd081c; border-color: rgba(189, 8, 28, 0.3); }
#social-tumblr:hover { background: rgba(53, 70, 92, 0.15); color: #35465c; border-color: rgba(53, 70, 92, 0.3); }
#social-pulse:hover { background: rgba(16, 185, 129, 0.12); color: #10b981; border-color: rgba(16, 185, 129, 0.3); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.profile-footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.profile-footer p {
    margin-bottom: 6px;
}

.profile-footer .credit {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 600px) {
    body {
        padding: 16px 8px;
    }
    
    .card-container {
        padding: 35px 20px;
        border-radius: 24px;
    }
    
    .profile-name {
        font-size: 1.6rem;
    }
    
    .profile-bio {
        font-size: 0.85rem;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .link-card {
        padding: 14px;
    }
    
    .link-card-full {
        padding: 14px 18px;
    }
    
    .socials-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
    }
    
    .social-icon-btn {
        height: 46px;
        border-radius: 12px;
    }
}

@media (max-width: 400px) {
    .socials-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
