/* Premium Cinematic Design System */
:root {
    --bg-dark: #0a0a0c;
    --bg-card: rgba(18, 18, 22, 0.75);
    --bg-card-hover: rgba(26, 26, 32, 0.85);
    
    /* Gold Gradients */
    --gold-primary: #d4af37;
    --gold-secondary: #aa7c11;
    --gold-light: #f3e5ab;
    --gold-grad: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa7c11 100%);
    
    /* Typography & Layout */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --text-white: #ffffff;
    --text-muted: #a0a0b0;
    --glass-border: rgba(212, 175, 55, 0.15);
    --glass-border-focus: rgba(212, 175, 55, 0.35);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-white);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 20px 10px;
}

/* Cinematic Background Ambient Glows */
.glow-bg-accent {
    position: fixed;
    top: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate;
}

.glow-bg-accent-2 {
    position: fixed;
    bottom: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
    animation: pulseGlow 12s infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.2) translate(30px, 30px); opacity: 1; }
}

/* Card Container */
.card-container {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 30px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntrance {
    0% { transform: translateY(40px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Profile Header */
.profile-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-container {
    position: relative;
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
}

.avatar-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: var(--gold-grad);
    opacity: 0.65;
    filter: blur(6px);
    animation: rotateGlow 6s linear infinite;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #151518;
    border: 2px solid var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #151518;
    border: 2px solid var(--gold-primary);
    position: relative;
    z-index: 2;
}

.avatar-placeholder span {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 2.2rem;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

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

.profile-name {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 0%, #e2e2e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.badges-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4px;
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.btn {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 16px;
    border-radius: 14px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--gold-grad);
    color: #000000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border-focus);
    transform: translateY(-2px);
}

/* Navigation Tabs */
.card-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 10px 0;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
}

.tab-btn i {
    font-size: 1.05rem;
}

.tab-btn.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

/* Card Body Content */
.card-body {
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.tab-content {
    display: none;
    animation: tabFadeIn 0.4s ease forwards;
}

.tab-content.active {
    display: block;
}

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

/* Contact Info Items */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-primary);
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

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

.info-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 500;
}

.arrow-indicator {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

/* Hover effect for clickable elements */
.hover-effect:hover {
    background: var(--bg-card-hover);
    border-color: var(--glass-border-focus);
    transform: translateX(4px);
}

.hover-effect:hover .info-icon {
    transform: scale(1.05);
}

.hover-effect:hover .arrow-indicator {
    color: var(--gold-primary);
    transform: translateX(2px);
}

/* Companies Grid */
.companies-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition-smooth);
}

.company-card:hover {
    transform: translateY(-2px);
    border-color: var(--glass-border-focus);
    background: var(--bg-card-hover);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-primary);
    font-size: 1rem;
}

.company-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: block;
    padding: 3px;
}

.company-name {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 600;
}

.company-description {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Creative Portfolio/Work Gallery */
.work-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.work-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition-smooth);
}

.work-card:hover {
    border-color: var(--glass-border-focus);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.work-thumbnail {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-primary);
    font-size: 1.25rem;
}

.work-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.work-category {
    font-size: 0.72rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.work-title {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
}

/* Footer styling */
.card-footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    margin-top: 8px;
}

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

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(20, 20, 25, 0.9);
    border: 1px solid var(--gold-primary);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
