/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #0f1419;
    -webkit-font-smoothing: antialiased;
}

/* Top Attention Bar */
.top-bar {
    width: 100%;
    background-color: #D30000;
    /* Vivid red */
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    animation: urgentPulse 2s infinite;
}

@keyframes urgentPulse {
    0% {
        background-color: #D30000;
    }

    50% {
        background-color: #b30000;
    }

    100% {
        background-color: #D30000;
    }
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    /* Stack profile and diagram vertically */
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.diagram-container {
    margin-top: 20px;
    max-width: 100%;
}

.diagram-headline {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #000;
    margin-top: 30px;
    margin-bottom: 10px;
    max-width: 600px;
    line-height: 1.5;
}

.diagram-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Keep centered within the fixed box */
    gap: 25px;
    /* Increased gap */
    max-width: 520px;
    width: 100%;
    /* Responsive width */
    height: auto;
    /* Allow height to grow if text wraps on tiny screens */
    min-height: 126px;
    /* Maintain target height on desktop */
}

/* Instagram-style Story Gradient Border */
.profile-image-wrapper {
    width: 120px;
    /* Increased to fill height better */
    height: 120px;
    padding: 4px;
    /* Space for the border */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    /* Prevent shrinking */
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    /* Inner white border */
    background-color: #eee;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-name {
    font-size: 36px;
    /* Increased font size */
    font-weight: 500;
    color: #000;
    letter-spacing: -0.5px;
    white-space: nowrap;
    /* Prevent wrapping */
}

.verified-badge {
    width: 32px;
    /* Increased badge size */
    height: 32px;
    min-width: 32px;
}

/* CTA Section */
.cta-container {
    text-align: center;
    margin-top: 20px;
    /* Adjusted margin as per user request */
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-text {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #333;
}

.cta-button {
    background-color: #25D366;
    /* WhatsApp/Green color */
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: buttonPulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #20bd5a;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 540px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        height: auto;
        padding: 20px 0;
    }

    .profile-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 24px;
        white-space: normal;
        /* Allow wrapping on mobile */
    }

    .verified-badge {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    /* Toggle Diagrams */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}