:root {
    --bg-color: #0d0d10;
    --card-bg: rgba(30, 30, 40, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-color: #d4af37;
    /* Gold accent */
    --accent-hover: #f9d868;
    --whatsapp-color: #25D366;
    --call-color: #3b82f6;
    --gradient-1: #1a1a2e;
    --gradient-2: #16213e;
    --font-main: 'Outfit', sans-serif;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px 15px;
    position: relative;
    overflow-x: hidden;
}

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        linear-gradient(to bottom, #0f0f12, #18181f);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 550px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
    animation: fadeIn 0.8s ease-out;
    padding-bottom: 40px;
}

/* Header Styles */
.profile-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.brand-logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 5px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    border-radius: 50%;
}

/*.brand-name {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}*/

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 5px;
}

.header-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
    color: white;
}

.action-btn i {
    font-size: 18px;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.call-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.action-btn:active {
    transform: scale(0.96);
}

.save-contact-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 5px;
}

.save-contact-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Info Cards */
.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.info-card h3 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Links Container - Grid Layout */
.links-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.section-title.full-width {
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
}

.section-title h2 {
    font-size: 18px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.link-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    /* Vertical stack for grid items */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    height: 100%;
    gap: 12px;
}

.link-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.4);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 22px;
    flex-shrink: 0;
    margin-right: 0;
    /* Removed for vertical layout */
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.link-text {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.arrow {
    display: none;
    /* Hide arrow in grid view for cleaner look */
}

/* Social Dropdown Section - Smooth Animation */
.social-dropdown-section {
    width: 100%;
    margin-bottom: 10px;
}

.social-toggle-btn {
    width: 100%;
    padding: 16px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    z-index: 2;
    position: relative;
}

.social-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.social-toggle-btn i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.social-toggle-btn.active i {
    transform: rotate(180deg);
}

.social-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out, padding 0.3s ease;
    background: rgba(15, 15, 20, 0.6);
    border-radius: 0 0 16px 16px;
    margin-top: -16px;
    /* Tuck under button */
    padding: 0 15px;
    /* Collapsed padding */
    border: 1px solid transparent;
}

.social-content.open {
    max-height: 60vh;
    overflow-y: auto;
    opacity: 1;
    margin-top: 5px;
    /* Spacing when open */
    padding: 15px;
    /* Expanded padding */
    border-color: var(--card-border);
}

/* Specific override for FAQ to show ~4 items */
#faqContent.open {
    max-height: 240px;
}

.social-subtitle {
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-weight: 300;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 15px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 11px;
    transition: all 0.3s ease;
}

.social-item i {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s;
}

.social-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    color: #fff;
    border-color: var(--accent-color);
}

.social-item.instagram:hover i {
    color: #E1306C;
}

.social-item.facebook:hover i {
    color: #1877F2;
}

.social-item.linkedin:hover i {
    color: #0077B5;
}

.social-item.youtube:hover i {
    color: #FF0000;
}

.social-item.twitter:hover i {
    color: #1DA1F2;
}

.social-item.pinterest:hover i {
    color: #E60023;
}

/* Contact Action Cards */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 15px;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.action-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-color);
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.action-details {
    flex-grow: 1;
}

.action-details h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.action-details p {
    color: var(--text-secondary);
    font-size: 12px;
}

.action-arrow {
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0.5;
    transition: all 0.3s;
}

.action-card:hover .action-arrow {
    color: var(--accent-color);
    opacity: 1;
    transform: translateX(2px) translateY(-2px);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-secondary);
    font-size: 12px;
    border-top: 1px solid var(--card-border);
    padding-top: 25px;
    padding-bottom: 10px;
}

.footer-slogan p {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 10px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.copyright {
    opacity: 0.5;
    font-size: 11px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.link-card,
.detail-item {
    animation: fadeIn 0.5s ease-out backwards;
}

.link-card:nth-child(n) {
    animation-delay: 0.1s;
}

/* FAQ Dropdown Section */
.faq-dropdown-section {
    width: 100%;
    margin-bottom: 20px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-question i {
    font-size: 14px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 15px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust based on content */
    padding-bottom: 15px;
}