/* Core Premium Design System */
:root {
    --bg-dark: #111921; /* Darker background to make Charcoal Blue card pop */
    --navy-card: rgba(44, 62, 80, 0.65); /* Charcoal Blue with glassmorphism opacity */
    --navy-border: rgba(149, 165, 166, 0.15); /* Soft Slate border */
    --navy-hover: rgba(44, 62, 80, 0.95); /* Deep Charcoal Blue solid hover */
    
    /* Premium Rose Copper & Soft Slate Tones */
    --gold-primary: #B87333; /* Rose Copper */
    --gold-secondary: #95A5A6; /* Soft Slate */
    --gold-dark: #905322; /* Rose Copper Dark */
    --gold-gradient: linear-gradient(135deg, #B87333 0%, #905322 100%);
    --gold-border: rgba(184, 115, 51, 0.25); /* Rose Copper border tint */
    --gold-glow: rgba(184, 115, 51, 0.15);
    
    /* Neutral Colors */
    --text-white: #ffffff;
    --text-light: #cbd5e1;
    --text-gray: #95A5A6; /* Soft Slate */
    --white: #ffffff;
    
    /* Layout Constants */
    --card-width: 480px;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;
    --border-radius-sm: 12px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glows */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.bg-glow-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--gold-primary) 0%, transparent 70%);
    animation: floatGlow1 20s infinite ease-in-out alternate;
}

.bg-glow-2 {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, #2c3e50 0%, transparent 70%);
    animation: floatGlow2 20s infinite ease-in-out alternate;
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 80px) scale(1.1); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, -100px) scale(0.9); }
}

/* Card Container (Glassmorphism design) */
.card-container {
    width: 100%;
    max-width: var(--card-width);
    background: var(--navy-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius-lg);
    padding: 40px 32px;
    box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.7), 
                0 0 50px 0 var(--gold-glow);
    animation: slideUpFade 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    z-index: 10;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gold-gradient);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo-wrapper:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45);
}

.company-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--bg-dark);
}

.profile-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.profile-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.title-divider {
    color: var(--gold-primary);
    margin: 0 6px;
}

.highlight-gold {
    color: var(--gold-primary);
    font-weight: 600;
    letter-spacing: 1.5px;
}

.profile-tagline {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    opacity: 0.85;
    line-height: 1.5;
}

/* Contact Information Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.info-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--navy-border);
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.info-card:hover {
    background: var(--navy-hover);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    color: var(--gold-primary);
    margin-right: 16px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.info-card:hover .info-icon {
    background: var(--gold-gradient);
    color: var(--bg-dark);
}

.info-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.info-value {
    font-size: 0.95rem;
    color: var(--text-white);
    font-weight: 500;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
}

.copy-btn:hover {
    color: var(--gold-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Quick Connect Section */
.quick-connect-section {
    margin-bottom: 36px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-secondary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
}

.connect-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.connect-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--navy-border);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.connect-btn-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    transition: var(--transition-smooth);
}

/* Connect Button Hover Colors & Effects */
.connect-btn:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.connect-btn:hover .arrow-icon {
    opacity: 1;
    transform: translateX(2px);
}

/* Specific Brands Hover Accents */
.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.08);
    color: #25d366;
}
.whatsapp-btn:hover .btn-icon { color: #25d366; }

.call-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-primary);
}
.call-btn:hover .btn-icon { color: var(--gold-primary); }

.email-btn:hover {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
}
.email-btn:hover .btn-icon { color: #3b82f6; }

.linkedin-btn:hover {
    background: rgba(10, 102, 194, 0.08);
    color: #0a66c2;
}
.linkedin-btn:hover .btn-icon { color: #0a66c2; }

.instagram-btn:hover {
    background: rgba(225, 48, 108, 0.08);
    color: #e1306c;
}
.instagram-btn:hover .btn-icon { color: #e1306c; }

.facebook-btn:hover {
    background: rgba(24, 119, 242, 0.08);
    color: #1877f2;
}
.facebook-btn:hover .btn-icon { color: #1877f2; }

/* Save Contact Section */
.save-contact-section {
    margin-bottom: 40px;
}

.save-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: var(--gold-gradient);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 18px 24px;
    color: var(--bg-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(184, 115, 51, 0.3);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.save-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.45);
}

.save-btn:active {
    transform: translateY(-1px);
}

/* Light Shine sweep animation on save button */
.save-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
    0% { left: -60%; }
    15%, 100% { left: 140%; }
}

/* Footer Section */
.footer-section {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.footer-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.copyright {
    font-size: 0.7rem;
    color: var(--text-gray);
    opacity: 0.5;
}

/* Toast Message */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 100px);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--gold-primary);
    border-radius: var(--border-radius-sm);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--gold-glow);
    z-index: 100;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.toast-icon {
    color: var(--gold-primary);
    width: 18px;
    height: 18px;
}

/* Mobile-first Media Queries */
@media (max-width: 480px) {
    body {
        padding: 0;
    }
    .card-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        padding: 32px 20px;
        min-height: 100vh;
        box-shadow: none;
        background: rgba(7, 10, 19, 0.95);
    }
    .bg-glow {
        display: none;
    }
}
