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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --background: hsl(220, 25%, 97%);
    --foreground: hsl(220, 40%, 10%);
    --card: hsl(0, 0%, 100%);
    --primary: hsl(237, 80%, 60%);
    --secondary: hsl(280, 60%, 65%);
    --muted: hsl(220, 15%, 92%);
    --muted-foreground: hsl(220, 20%, 45%);
    --accent: hsl(195, 90%, 55%);
    --border: hsl(220, 15%, 88%);
    --icon-instagram: 320 60% 50%;
    --icon-youtube: 0 100% 50%;
    --icon-facebook: 221 44% 41%;
    --icon-twitter: 203 89% 53%;
    --icon-linkedin: 201 100% 35%;
    --icon-tiktok: 340 82% 52%;
    --icon-mysite: 231 48% 60%;
    --icon-other: 142 71% 45%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Profile Section */
.profile-section {
    position: relative;
    margin-bottom: 2rem;
}

.hero-banner {
    position: relative;
    height: 12rem;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.12);
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card {
    position: relative;
    margin-top: -5rem;
    padding: 0 1rem;
}

.profile-content {
    background: var(--card);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.12);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.avatar-wrapper {
    position: relative;
}

.avatar-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.avatar-wrapper:hover .avatar-glow {
    opacity: 0.75;
}

.avatar {
    position: relative;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card);
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.12);
}

.profile-info {
    flex: 1;
    text-align: center;
    width: 100%;
}

.profile-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: hsla(220, 40%, 10%, 0.8);
}

.profile-bio {
    color: var(--muted-foreground);
    font-size: 1.125rem;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    word-break: break-word;
    flex: 1;
    text-align: justify;
}

.profile-bio.expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    text-overflow: clip;
}

.profile-bio-container {
    position: relative;
    width: 100%;
}

.bio-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
    flex-wrap: nowrap;
}

.bio-toggle-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.1), hsla(280, 60%, 65%, 0.1));
    border: 1px solid hsla(237, 80%, 60%, 0.2);
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
    flex-shrink: 0;
    padding: 0;
    margin-bottom: 0.2rem;
}

.bio-toggle-button:hover {
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.15), hsla(280, 60%, 65%, 0.15));
    border-color: var(--primary);
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.2);
    transform: translateY(-2px);
}

.bio-toggle-button:active {
    transform: translateY(0);
}

.bio-toggle-button svg {
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.1), hsla(280, 60%, 65%, 0.1));
    border: 1px solid hsla(237, 80%, 60%, 0.2);
    color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
    flex-shrink: 0;
}

.share-button:hover {
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.15), hsla(280, 60%, 65%, 0.15));
    border-color: var(--primary);
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.2);
    transform: translateY(-2px);
}

.share-button:active {
    transform: translateY(0);
}

.share-button svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Responsive Styles for Share Button */
@media (max-width: 768px) {
    .share-button {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        z-index: 10;
    }

    .profile-header {
        justify-content: center;
        padding-right: 0;
    }

    .profile-name {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .share-button {
        width: 2.25rem;
        height: 2.25rem;
    }

    .share-button svg {
        width: 1.125rem;
        height: 1.125rem;
    }

    .profile-name {
        font-size: 1.75rem;
    }
}

/* Links Section */
.links-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

.links-container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.3s;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
}

.link-card:hover {
    background: var(--muted);
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.12);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.link-icon {
    position: relative;
    display: flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    transition-property: transform;
    transition-duration: 300ms;
    flex-shrink: 0;
    overflow: hidden;
}

.link-icon i {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.link-icon svg {
    width: 1.625rem;
    height: 1.625rem;
    stroke: currentColor;
    position: relative;
    z-index: 2;
}

.link-icon i,
.link-icon svg {
    color: currentColor;
    stroke: currentColor;
    width: 26px !important;
    height: 26px !important;
    stroke-width: 2;
}

/* Cores específicas para cada plataforma na seção links home */
.link-card .link-icon.icon-instagram {
    background-color: hsl(var(--icon-instagram) / 0.4);
    color: hsl(var(--icon-instagram));
}

.link-card .link-icon.icon-youtube {
    background-color: hsl(var(--icon-youtube) / 0.4);
    color: hsl(var(--icon-youtube));
}

.link-card .link-icon.icon-facebook {
    background-color: hsl(var(--icon-facebook) / 0.4);
    color: hsl(var(--icon-facebook));
}

.link-card .link-icon.icon-twitter {
    background-color: hsl(var(--icon-twitter) / 0.4);
    color: hsl(var(--icon-twitter));
}

.link-card .link-icon.icon-linkedin {
    background-color: hsl(var(--icon-linkedin) / 0.4);
    color: hsl(var(--icon-linkedin));
}

.link-card .link-icon.icon-tiktok {
    background-color: hsl(var(--icon-tiktok) / 0.4);
    color: hsl(var(--icon-tiktok));
}

.link-card .link-icon.icon-mysite {
    background-color: hsl(var(--icon-mysite) / 0.4);
    color: hsl(var(--icon-mysite));
}

.link-card .link-icon.icon-other {
    background-color: hsl(var(--icon-other) / 0.4);
    color: hsl(var(--icon-other));
}

.link-icon-blur {
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    opacity: 0.2;
    filter: blur(1rem);
    pointer-events: none;
}

.link-card .link-icon.icon-instagram .link-icon-blur {
    background-color: hsl(var(--icon-instagram));
}

.link-card .link-icon.icon-youtube .link-icon-blur {
    background-color: hsl(var(--icon-youtube));
}

.link-card .link-icon.icon-facebook .link-icon-blur {
    background-color: hsl(var(--icon-facebook));
}

.link-card .link-icon.icon-twitter .link-icon-blur {
    background-color: hsl(var(--icon-twitter));
}

.link-card .link-icon.icon-linkedin .link-icon-blur {
    background-color: hsl(var(--icon-linkedin));
}

.link-card .link-icon.icon-tiktok .link-icon-blur {
    background-color: hsl(var(--icon-tiktok));
}

.link-card .link-icon.icon-mysite .link-icon-blur {
    background-color: hsl(var(--icon-mysite));
}

.link-card .link-icon.icon-other .link-icon-blur {
    background-color: hsl(var(--icon-other));
}

.link-icon i {
    position: relative;
    z-index: 2;
}

/* Blur Background Effect */
.link-icon-blur {
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    opacity: 0.2;
    filter: blur(1rem);
    pointer-events: none;
}

.link-icon.icon-instagram {
    background-color: hsl(var(--icon-instagram) / 0.4);
    color: hsl(var(--icon-instagram));
}

.link-icon.icon-instagram i,
.link-icon.icon-instagram svg {
    color: hsl(var(--icon-instagram));
    stroke: hsl(var(--icon-instagram));
}

.icon-instagram-blur {
    background-color: hsl(var(--icon-instagram));
}

.link-icon.icon-youtube {
    background-color: hsl(var(--icon-youtube) / 0.4);
    color: hsl(var(--icon-youtube));
}

.link-icon.icon-youtube i,
.link-icon.icon-youtube svg {
    color: hsl(var(--icon-youtube));
    stroke: hsl(var(--icon-youtube));
}

.icon-youtube-blur {
    background-color: hsl(var(--icon-youtube));
}

.link-icon.icon-facebook {
    background-color: hsl(var(--icon-facebook) / 0.4);
    color: hsl(var(--icon-facebook));
}

.link-icon.icon-facebook i,
.link-icon.icon-facebook svg {
    color: hsl(var(--icon-facebook));
    stroke: hsl(var(--icon-facebook));
}

.icon-facebook-blur {
    background-color: hsl(var(--icon-facebook));
}

.link-icon.icon-twitter {
    background-color: hsl(var(--icon-twitter) / 0.4);
    color: hsl(var(--icon-twitter));
}

.link-icon.icon-twitter i,
.link-icon.icon-twitter svg {
    color: hsl(var(--icon-twitter));
    stroke: hsl(var(--icon-twitter));
}

.icon-twitter-blur {
    background-color: hsl(var(--icon-twitter));
}

.link-icon.icon-linkedin {
    background-color: hsl(var(--icon-linkedin) / 0.4);
    color: hsl(var(--icon-linkedin));
}

.link-icon.icon-linkedin i,
.link-icon.icon-linkedin svg {
    color: hsl(var(--icon-linkedin));
    stroke: hsl(var(--icon-linkedin));
}

.icon-linkedin-blur {
    background-color: hsl(var(--icon-linkedin));
}

.link-icon.icon-tiktok {
    background-color: hsl(var(--icon-tiktok) / 0.4);
    color: hsl(var(--icon-tiktok));
}

.link-icon.icon-tiktok i,
.link-icon.icon-tiktok svg {
    color: hsl(var(--icon-tiktok));
    stroke: hsl(var(--icon-tiktok));
}

.icon-tiktok-blur {
    background-color: hsl(var(--icon-tiktok));
}

.link-icon.icon-mysite {
    background-color: hsl(var(--icon-mysite) / 0.4);
    color: hsl(var(--icon-mysite));
}

.link-icon.icon-mysite i,
.link-icon.icon-mysite svg {
    color: hsl(var(--icon-mysite));
    stroke: hsl(var(--icon-mysite));
}

.icon-mysite-blur {
    background-color: hsl(var(--icon-mysite));
}

.link-icon.icon-other {
    background-color: hsl(var(--icon-other) / 0.4);
    color: hsl(var(--icon-other));
}

.link-icon.icon-other i,
.link-icon.icon-other svg {
    color: hsl(var(--icon-other));
    stroke: hsl(var(--icon-other));
}

.icon-other-blur {
    background-color: hsl(var(--icon-other));
}

.link-text {
    font-weight: 500;
}

.link-arrow {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--muted-foreground);
    transition: stroke 0.3s;
}

.link-card:hover .link-arrow {
    stroke: var(--primary);
}

/* Products Section */
.products-section {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
    transition: box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.product-card:hover {
    box-shadow: 0 8px 32px hsla(237, 80%, 60%, 0.16);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-price {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 1;
}

.badge-price--free {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-price--paid {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.product-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: hsla(237, 80%, 60%, 0.1);
    border: 1px solid hsla(237, 80%, 60%, 0.2);
}

.product-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary);
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.product-price-label {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: hsl(var(--foreground));
}

.product-price {
    font-size: 1.875rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.product-home-tags {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.product-home-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    margin-bottom: 0.6rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.product-home-tag--free {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.product-home-tag--price {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.product-button {
    width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    font-weight: 500;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.2);
    transition: box-shadow 0.3s;
    margin-top: auto;
}

.product-button:hover {
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.3);
}

/* Reflections Section */
.reflections-section {
    margin: 4rem auto 2rem;
    padding: 0 1rem;
}

.reflections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 2rem auto 0;
}

.reflection-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
}

.reflection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.05), hsla(280, 60%, 65%, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.reflection-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px hsla(237, 80%, 60%, 0.2);
    border-color: hsla(237, 80%, 60%, 0.3);
}

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

.reflection-avatar {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.15);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    padding: 3px;
    position: relative;
    z-index: 1;
}

.reflection-card:hover .reflection-avatar {
    box-shadow: 0 8px 32px hsla(237, 80%, 60%, 0.35);
    transform: scale(1.05);
}

.reflection-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(1rem - 3px);
    background: var(--card);
}

.reflection-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    position: relative;
    z-index: 1;
}

.reflection-about {
    font-size: 0.8rem;
    color: var(--muted-foreground);
    margin: 0.5rem 0 0;
    position: relative;
    z-index: 1;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Responsive design for reflections */
@media (max-width: 768px) {
    .reflections-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
    }

    .reflection-card {
        padding: 1rem 0.75rem;
    }

    .reflection-avatar {
        width: 100px;
        height: 100px;
    }

    .reflection-name {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .reflections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .reflection-card {
        padding: 0.875rem 0.5rem;
    }

    .reflection-avatar {
        width: 90px;
        height: 90px;
    }

    .reflection-name {
        font-size: 0.8rem;
    }
}

/* CTA Section */
.cta-section {
    margin: 4rem auto 2rem;
    padding: 2rem 1rem;
    text-align: center;
    max-width: 48rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 32px hsla(237, 80%, 60%, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, hsla(255, 255%, 255%, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px hsla(237, 80%, 60%, 0.4);
}

.cta-button:active {
    transform: translateY(-2px);
}

.cta-button svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Chat Button Section */
.chat-button-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.chat-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 32px hsla(237, 80%, 60%, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.chat-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, hsla(255, 255%, 255%, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.chat-button:hover::before {
    transform: translateX(100%);
}

.chat-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px hsla(237, 80%, 60%, 0.4);
}

.chat-button:active {
    transform: translateY(-2px);
}

.chat-button svg {
    width: 1.5rem;
    height: 1.5rem;
    transition: transform 0.3s;
}

.chat-button:hover svg {
    transform: scale(1.1);
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Floating Chat Button */
.chat-float-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 32px hsla(237, 80%, 60%, 0.3);
    background: linear-gradient(90deg, var(--primary), var(--accent));
    padding: 0.25rem;
    transition: all 0.3s;
    z-index: 1000;
}

.chat-float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px hsla(237, 80%, 60%, 0.4);
}

.chat-float-button:active {
    transform: scale(1.05);
}

.chat-float-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
}

/* Share Modal */
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.share-modal.active {
    display: flex;
}

.share-modal-overlay {
    position: absolute;
    inset: 0;
    background: hsla(220, 40%, 10%, 0.8);
    backdrop-filter: blur(4px);
}

.share-modal-content {
    position: relative;
    background: var(--card);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px hsla(237, 80%, 60%, 0.3);
    animation: modal-in 0.3s ease-out;
}

@keyframes modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.share-modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--foreground);
}

.share-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.share-modal-close:hover {
    background: var(--muted);
}

.share-modal-close svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--foreground);
}

.share-profile-card {
    margin: 2rem 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: 0 8px 24px hsla(237, 80%, 60%, 0.2);
}

.share-profile-logo {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.1);
}

.share-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.share-profile-name {
    font-size: 1.75rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.share-profile-handle {
    font-size: 1.125rem;
    color: hsla(0, 0%, 100%, 0.9);
    font-weight: 500;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.share-option:hover {
    transform: scale(1.05);
}

.share-option:active {
    transform: scale(0.98);
}

.share-option-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.3s;
}

.share-option:hover .share-option-icon {
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.2);
}

.share-option-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.share-option-label {
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 500;
}

.share-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.share-footer-text {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 768px) {
    .hero-banner {
        height: 16rem;
    }

    .profile-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .profile-info {
        text-align: left;
    }

    .profile-header {
        justify-content: flex-start;
    }

    .profile-name {
        font-size: 3rem;
    }
}
/* CSS para o Seletor de Idiomas (Fixo no topo) */
.lang-switch {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.lang-switch .lang-select {
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border);
    padding: 10px 36px 10px 14px;
    cursor: pointer;
    border-radius: 10px;
    font-weight: 500;
    color: var(--muted-foreground);
    font-size: 13px;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.lang-switch .lang-select:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(107, 76, 154, 0.12);
    background-color: rgba(255,255,255,1);
}

.lang-switch .lang-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107, 76, 154, 0.1);
}

.lang-switch .lang-select option {
    color: var(--foreground);
    background: var(--card);
    padding: 4px 8px;
}

/* Ajuste para o Modal funcionar com ng-show/ng-if do Angular se necessário,
    mas usaremos a classe 'active' via ng-class para manter seu CSS original */
.share-modal.active { opacity: 1; visibility: visible; pointer-events: all; }

/* ==================== */
/* Login Page Styles    */
/* ==================== */

.login-page {
    min-height: 100vh;
    background: var(--card);
    position: relative;
    display: flex;
    flex-direction: column;
}

.login-container {
    display: flex;
    flex: 1;
    min-height: 100vh;
}

.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--card);
    position: relative;
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
    animation: slideInUp 0.5s ease-out;
}

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

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.login-logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.login-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: var(--foreground);
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.login-subtitle {
    text-align: center;
    color: var(--muted-foreground);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    animation: slideInDown 0.3s ease-out;
}

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

.alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.alert-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--foreground);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.social-login-btn:hover {
    background: var(--muted);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

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

.social-login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.google-btn {
    background: var(--card);
}

.google-btn:hover {
    background: rgba(66, 133, 244, 0.05);
}

.apple-btn {
    background: var(--foreground);
    color: var(--card);
    border-color: var(--foreground);
}

.apple-btn:hover {
    background: hsla(220, 40%, 10%, 0.9);
    border-color: hsla(220, 40%, 10%, 0.9);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.login-divider span {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.login-email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    width: 100%;
}

.login-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--background);
    color: var(--foreground);
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.login-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(237, 80%, 60%, 0.1);
    background: var(--card);
}

.login-input::placeholder {
    color: var(--muted-foreground);
}

.login-submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px hsla(237, 80%, 60%, 0.2);
}

.login-submit-btn:hover {
    box-shadow: 0 6px 16px hsla(237, 80%, 60%, 0.3);
    transform: translateY(-1px);
}

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

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer p {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
}

.login-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-link:hover {
    text-decoration: underline;
    color: var(--secondary);
}

.login-terms {
    text-align: center;
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}

.login-terms p {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.login-terms a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-terms a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Right Side - Banner */
.login-banner-side {
    flex: 1;
    position: relative;
    display: none;
    overflow: hidden;
}

.login-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.3), hsla(280, 60%, 65%, 0.2));
}

/* Responsive - Show banner on larger screens */
@media (min-width: 1024px) {
    .login-banner-side {
        display: block;
    }
}

@media (max-width: 768px) {
    .login-form-side {
        padding: 3rem 2rem;
    }

    .login-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .lang-switch {
        top: 16px;
        right: 16px;
    }

    .lang-switch .lang-select {
        padding: 8px 32px 8px 12px;
        font-size: 12px;
    }

    .login-form-side {
        padding: 2rem 1.5rem;
    }

    .login-form-wrapper {
        max-width: 100%;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .login-subtitle {
        font-size: 0.95rem;
    }

    .login-logo {
        margin-bottom: 2rem;
    }

    .login-logo-image {
        height: 50px;
    }

    .social-login-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .login-terms p {
        font-size: 0.75rem;
    }
}



/* ==================== */
/* Context Path Page    */
/* ==================== */

.context-path-form {
    margin-top: 2rem;
}

.context-path-input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 2rem;
    padding: 0.875rem 1.25rem;
    background: var(--background);
    transition: all 0.3s;
}

.context-path-input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(237, 80%, 60%, 0.1);
}

.context-path-prefix {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    white-space: nowrap;
}

.context-path-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: var(--foreground);
    font-weight: 500;
    outline: none;
    min-width: 0;
}

.context-path-input::placeholder {
    color: var(--muted-foreground);
    font-weight: 400;
}

/* Nickname validation feedback */
.nickname-feedback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nickname-feedback svg {
    flex-shrink: 0;
}

.nickname-feedback.checking {
    color: var(--muted-foreground);
}

.nickname-feedback.checking svg {
    animation: spin 1s linear infinite;
}

.nickname-feedback.error {
    color: #ef4444;
}

.nickname-feedback.error svg {
    stroke: #ef4444;
}

.nickname-feedback.success {
    color: #22c55e;
}

.nickname-feedback.success svg {
    stroke: #22c55e;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.context-path-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.checkbox-input {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    cursor: pointer;
}

.context-path-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transition: all 0.3s;
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px hsla(237, 80%, 60%, 0.3);
}

.context-path-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px hsla(237, 80%, 60%, 0.4);
}

.context-path-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.context-path-btn:not(:disabled):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px hsla(237, 80%, 60%, 0.4);
}

/* ==================== */
/* Onboarding Pages     */
/* ==================== */

.onboarding-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--background);
}

.onboarding-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.onboarding-back {
    position: absolute;
    left: 2rem;
}

.onboarding-back, .onboarding-skip {
    font-size: 0.9375rem;
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    min-width: 60px;
}

.onboarding-skip {
    position: absolute;
    right: 2rem;
    text-align: right;
}

.progress-bar {
    flex: 1;
    max-width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width 0.3s;
}

.onboarding-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.onboarding-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    text-align: center;
    margin-bottom: 0.5rem;
}

.onboarding-subtitle {
    font-size: 1rem;
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: 2rem;
}

.onboarding-footer {
    padding: 1.5rem 2rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.onboarding-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transition: all 0.3s;
}

.onboarding-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.onboarding-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(237, 80%, 60%, 0.3);
}

/* Objectives Page */
.objectives-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.objective-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    border: 2px solid var(--border);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.objective-card:hover { border-color: var(--muted-foreground); }
.objective-card.selected { border-color: var(--primary); background: hsla(237, 80%, 60%, 0.05); }

.objective-info h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.objective-info p { font-size: 0.875rem; color: var(--muted-foreground); }

.objective-icon {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.objective-icon-creator { background: #c8e600; color: #9b59b6; }
.objective-icon-business { background: #9b59b6; color: white; }
.objective-icon-personal { background: #ff6b6b; color: #3498db; }

/* Profile Details Page */
.profile-media-container {
    position: relative;
    width: 100%;
    margin-bottom: 3.5rem;
}

.banner-upload-container {
    width: 100%;
    height: 140px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.banner-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-upload-overlay {
    position: absolute;
    inset: 0;
    background: hsla(0, 0%, 0%, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.875rem;
}

.banner-upload-container:hover .banner-upload-overlay {
    opacity: 1;
}

.avatar-upload-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.profile-avatar-upload {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 4px solid var(--card);
    box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.profile-avatar-upload img { width: 100%; height: 100%; object-fit: cover; }
.avatar-placeholder { color: white; }

.profile-avatar-upload .avatar-add-icon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    background: var(--foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 30;
}

.profile-form { width: 100%; }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0.25rem; padding-left: 1rem; }

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    font-size: 1rem;
    background: var(--background);
    color: var(--foreground);
}

.form-textarea { min-height: 100px; resize: vertical; }
.char-counter { display: block; text-align: right; font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }

/* Profile Actions Row - Train Button */
.profile-actions-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
    width: auto;
}

.action-btn.train-btn {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: rgb(34, 197, 94);
}

.action-btn.train-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    transform: translateY(-2px);
}

.action-btn svg {
    width: 20px;
    height: 20px;
}
.char-counter { display: block; text-align: right; font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }

/* Platforms Page */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.platform-card:hover { border-color: var(--muted-foreground); }
.platform-card.selected { border-color: var(--primary); background: hsla(237, 80%, 60%, 0.05); }
.platform-icon { margin-bottom: 0.5rem; }
.platform-name { font-size: 0.8125rem; color: var(--foreground); text-align: center; }

/* Add Links Page */
.links-form { width: 100%; margin-bottom: 2rem; }
.links-section-title, .additional-links-title { font-size: 1rem; font-weight: 600; text-align: center; margin-bottom: 1rem; }
.additional-links { width: 100%; }

.link-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.link-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.link-icon-custom { background: var(--border); color: var(--muted-foreground); }
.link-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--foreground);
}

.link-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    background: var(--background);
}

.remove-link-btn {
    padding: 0.5rem 0.75rem;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.remove-link-btn:hover {
    background: #cc0000;
}

/* Looking Good Page */
.looking-good-content { justify-content: flex-start; padding-top: 3rem; }

.phone-preview { margin: 2rem 0; }

.phone-frame {
    width: 280px;
    height: 480px;
    background: #e5e7eb;
    border-radius: 2.5rem;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.phone-notch { text-align: left; color: var(--foreground); margin-bottom: 1rem; }

.phone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
}

.preview-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    margin-bottom: 1rem;
}

.preview-avatar img { width: 100%; height: 100%; object-fit: cover; }
.preview-name { font-size: 1.125rem; font-weight: 600; }

@media (max-width: 480px) {
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Register Form Styles */
.register-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.register-form .form-group {
    width: 100%;
}

.register-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
    font-size: 0.9375rem;
}

.register-form .form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: var(--card);
    color: var(--foreground);
    transition: all 0.3s;
    font-family: inherit;
}

.register-form .form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(237, 80%, 60%, 0.1);
}

.register-form .form-input::placeholder {
    color: var(--muted-foreground);
}

.register-form .btn-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.register-form .btn-submit:hover:not(:disabled) {
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.3);
    transform: translateY(-2px);
}

.register-form .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert Messages */
.alert {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.alert-error {
    background: hsla(0, 70%, 50%, 0.1);
    border: 1px solid hsla(0, 70%, 50%, 0.3);
    color: hsl(0, 70%, 40%);
}

.alert-success {
    background: hsla(142, 70%, 50%, 0.1);
    border: 1px solid hsla(142, 70%, 50%, 0.3);
    color: hsl(142, 70%, 35%);
}

/* Button Register Hover Effect */
.btn-register:hover {
    background-color: #e0e0e0 !important;
}

/* ==================== */
/* Profile Media Container */
/* ==================== */
.profile-media-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 2rem;
}

.banner-upload-container {
    width: 100%;
    height: 240px;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
}

.banner-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: white;
}

.banner-upload-container:hover .banner-upload-overlay {
    opacity: 1;
}

.avatar-upload-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.avatar-upload-wrapper .avatar-add-icon {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid white;
    z-index: 20;
}

/* Congratulations Page */
.congratulations-content {
    justify-content: flex-start;
    padding-top: 2rem;
    text-align: center;
}

.congratulations-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.congratulations-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.congratulations-text {
    font-size: 1rem;
    color: var(--muted-foreground);
    max-width: 400px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.congratulations-profile {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: var(--card);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 20px hsla(237, 80%, 60%, 0.12);
    border: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.congratulations-banner {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.congratulations-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.congratulations-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -50px;
}

.congratulations-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    border: 4px solid var(--card);
    box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.congratulations-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.congratulations-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.congratulations-objective {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.congratulations-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.congratulations-links-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.links-list {
    display: flex;
    flex-direction: column;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.5rem;
    text-decoration: none;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.link-item:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.link-item .link-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.link-item .link-icon i {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.link-item .link-icon.icon-instagram {
    background-color: hsl(var(--icon-instagram) / 0.4);
    color: hsl(var(--icon-instagram));
}

.link-item .link-icon.icon-youtube {
    background-color: hsl(var(--icon-youtube) / 0.4);
    color: hsl(var(--icon-youtube));
}

.link-item .link-icon.icon-facebook {
    background-color: hsl(var(--icon-facebook) / 0.4);
    color: hsl(var(--icon-facebook));
}

.link-item .link-icon.icon-twitter {
    background-color: hsl(var(--icon-twitter) / 0.4);
    color: hsl(var(--icon-twitter));
}

.link-item .link-icon.icon-linkedin {
    background-color: hsl(var(--icon-linkedin) / 0.4);
    color: hsl(var(--icon-linkedin));
}

.link-item .link-icon.icon-tiktok {
    background-color: hsl(var(--icon-tiktok) / 0.4);
    color: hsl(var(--icon-tiktok));
}

.link-item .link-icon.icon-mysite {
    background-color: hsl(var(--icon-mysite) / 0.4);
    color: hsl(var(--icon-mysite));
}

.link-item .link-icon.icon-link {
    background-color: hsl(var(--icon-other) / 0.4);
    color: hsl(var(--icon-other));
}

.link-item .link-icon-blur {
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    opacity: 0.2;
    filter: blur(1rem);
    pointer-events: none;
}

.link-item .link-icon.icon-instagram .link-icon-blur {
    background-color: hsl(var(--icon-instagram));
}

.link-item .link-icon.icon-youtube .link-icon-blur {
    background-color: hsl(var(--icon-youtube));
}

.link-item .link-icon.icon-facebook .link-icon-blur {
    background-color: hsl(var(--icon-facebook));
}

.link-item .link-icon.icon-twitter .link-icon-blur {
    background-color: hsl(var(--icon-twitter));
}

.link-item .link-icon.icon-linkedin .link-icon-blur {
    background-color: hsl(var(--icon-linkedin));
}

.link-item .link-icon.icon-tiktok .link-icon-blur {
    background-color: hsl(var(--icon-tiktok));
}

.link-item .link-icon.icon-mysite .link-icon-blur {
    background-color: hsl(var(--icon-mysite));
}

.link-item .link-icon.icon-link .link-icon-blur {
    background-color: hsl(var(--icon-other));
}

.link-item .link-label {
    font-size: 0.9rem;
    font-weight: 500;
}

.congratulations-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.onboarding-btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.onboarding-btn-secondary:hover {
    background: hsla(237, 80%, 60%, 0.08);
}

@media (max-width: 480px) {
    .platforms-grid { grid-template-columns: repeat(2, 1fr); }

    .congratulations-title {
        font-size: 2rem;
    }

    .congratulations-subtitle {
        font-size: 1.25rem;
    }
}

/* ==================== */
/* Link Input Styles   */
/* ==================== */
.link-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    background: var(--card);
    color: var(--foreground);
    transition: all 0.3s;
}

.link-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px hsla(237, 80%, 60%, 0.1);
}

.link-input::placeholder {
    color: var(--muted-foreground);
}

/* ==================== */
/* Links Form Wrapper  */
/* ==================== */
.links-form {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.additional-links {
    width: 100%;
    margin-top: 2rem;
}

.additional-links-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

/* Settings Gear Button - Fixed Position */
.header-actions {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-gear-button {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.settings-gear-button:hover {
    background: #fff;
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.settings-gear-button svg {
    width: 22px;
    height: 22px;
}

/* Settings Gear Button - Inline (for headers) */
.settings-gear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
}

.settings-gear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.settings-gear-btn svg {
    width: 20px;
    height: 20px;
}
/* ========================================
   LANDING PAGE STYLES
   ======================================== */

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 248, 250, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--foreground);
    text-decoration: none;
}

.navbar-brand img {
    border-radius: 8px;
    object-fit: cover;
    width: 36px;
}

.navbar-nav {
    display: none;
    gap: 2rem;
    list-style: none;
}

.navbar-nav a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.navbar-nav a:hover {
    color: var(--foreground);
}

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground, hsl(0, 0%, 100%));
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px hsla(237, 80%, 60%, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--muted);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.05), transparent, hsla(280, 60%, 65%, 0.05));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--foreground);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-features .dot-primary { background: var(--primary); }
.hero-features .dot-secondary { background: var(--secondary); }
.hero-features .dot-accent { background: var(--accent); }

/* Features Section */
.features {
    padding: 5rem 0;
    background: hsla(220, 15%, 92%, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.1), hsla(237, 80%, 60%, 0.02));
    border-radius: var(--radius, 1rem);
    padding: 1.5rem;
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.08);
    transition: all 0.3s;
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, hsla(280, 60%, 65%, 0.1), hsla(280, 60%, 65%, 0.02));
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, hsla(195, 90%, 55%, 0.1), hsla(195, 90%, 55%, 0.02));
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px hsla(237, 80%, 60%, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--card);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-card .subtitle {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsla(237, 80%, 60%, 0.6);
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid hsla(220, 15%, 88%, 0.5);
    border-radius: var(--radius, 1rem);
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.12);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.1), hsla(280, 60%, 65%, 0.1));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Audience Section */
.audience {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.05), hsla(220, 15%, 92%, 0.5), hsla(280, 60%, 65%, 0.05));
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.audience-tag {
    padding: 0.75rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-weight: 500;
    color: var(--foreground);
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
    transition: all 0.3s;
}

.audience-tag:hover {
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.12);
    border-color: hsla(237, 80%, 60%, 0.3);
}

.audience-scroll {
    text-align: center;
    color: var(--muted-foreground);
}

.audience-scroll span {
    color: var(--primary);
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -8px;
    left: calc(50% - 48px);
    font-size: 3rem;
    font-weight: 700;
    color: hsla(237, 80%, 60%, 0.1);
}

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 16px hsla(237, 80%, 60%, 0.25);
}

.step-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-foreground, hsl(0, 0%, 100%));
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, hsla(237, 80%, 60%, 0.1), hsla(220, 15%, 92%, 0.5), hsla(280, 60%, 65%, 0.1));
}

.final-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.final-cta > .container > .final-cta-content > p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3rem;
}

.cta-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .cta-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .cta-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--card);
    border: 1px solid hsla(220, 15%, 88%, 0.5);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px hsla(237, 80%, 60%, 0.08);
}

.cta-feature .check {
    width: 24px;
    height: 24px;
    background: hsla(237, 80%, 60%, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-feature .check svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.cta-feature span {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: var(--card);
    border-top: 1px solid var(--border);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer .container {
        flex-direction: row;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.footer p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ===== OFFER DEEP TALK PAGE STYLES ===== */

.offer-deep-talk-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: #e0e0e0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.offer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 15, 30, 0.7);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: transparent;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-button svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.back-button {
    gap: 0.5rem;
}

.back-button svg {
    margin-right: 0.25rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-select:hover,
.lang-select:focus {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.lang-select option {
    background: #1a1a2e;
    color: #e0e0e0;
}

.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.logo-box svg {
    width: 40px;
    height: 40px;
    color: #6366f1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-powered {
    font-size: 0.9rem;
    color: #8b8b9a;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    max-width: 600px;
}

.hero-description {
    font-size: 1.1rem;
    color: #a0a0b0;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

.badges {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #c0c0d0;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
}

.cta-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.cta-primary svg {
    width: 20px;
    height: 20px;
}

.cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: transparent;
    color: #6366f1;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #6366f1;
}

.features-section {
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #a0a0b0;
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
}

.feature-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-badge.popular {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #a0a0b0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.feature-check {
    width: 20px;
    height: 20px;
    color: #6366f1;
    flex-shrink: 0;
    margin-top: 2px;
}

.bottom-cta {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.bottom-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.bottom-cta-subtitle {
    font-size: 1.1rem;
    color: #a0a0b0;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== PRICING SECTION STYLES ===== */
.pricing-section {
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: #a0a0b0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.billing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.billing-label {
    font-size: 0.95rem;
    color: #8b8b9a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.billing-label.active {
    color: #e0e0e0;
}

.billing-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.billing-toggle.active {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.toggle-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-dot.active {
    transform: translateX(20px);
}

.billing-badge {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.billing-badge.hidden {
    display: none;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.2);
}

.pricing-card.recommended {
    border: 2px solid rgba(99, 102, 241, 0.5);
    transform: scale(1.03);
    background: rgba(26, 26, 46, 0.8);
}

.pricing-card.recommended:hover {
    transform: scale(1.03) translateY(-4px);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 12px;
    font-weight: 600;
}

.card-header {
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #a0a0b0;
}

.plan-name.highlight {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-name.premium {
    color: #8b5cf6;
}

.plan-description {
    font-size: 0.9rem;
    color: #8b8b9a;
    line-height: 1.5;
}

.card-price {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-original {
    font-size: 0.85rem;
    color: #8b8b9a;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.price-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.2rem;
    color: #a0a0b0;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
}

.price-period {
    font-size: 1rem;
    color: #a0a0b0;
}

.price-savings {
    font-size: 0.8rem;
    color: #22c55e;
    margin-top: 0.5rem;
}

.price-savings.hidden {
    display: none;
}

.card-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #c0c0d0;
}

.feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #6366f1;
}

.plan-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plan-button.primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
}

.plan-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.plan-button.secondary {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.plan-button.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 2rem 1rem;
    }

    .pricing-title {
        font-size: 2rem;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.recommended {
        transform: scale(1);
    }

    .pricing-card.recommended:hover {
        transform: translateY(-4px);
    }

    .billing-toggle-wrapper {
        flex-wrap: wrap;
    }

    .offer-header {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header-controls {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-headline {
        font-size: 1.2rem;
    }

    .badges {
        gap: 1rem;
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .features-section,
    .bottom-cta {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .bottom-cta-title {
        font-size: 1.5rem;
    }

    .cta-container {
        flex-direction: column;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ===== ADMIN PAGE STYLES ===== */

.admin-page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.lang-switch {
    position: fixed;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.lang-switch .lang-select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lang-switch .lang-select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.admin-container {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.admin-back {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.admin-back:hover {
    transform: translateX(-2px);
    opacity: 0.8;
}

.admin-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.admin-tabs::-webkit-scrollbar {
    display: none;
}

.admin-tab-btn {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.admin-tab-btn:hover {
    color: #374151;
    background: none;
}

.admin-tab-btn.active {
    color: #6366f1;
    font-weight: 600;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.1);
    color: rgba(220, 38, 38, 0.8);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.admin-logout-btn:hover {
    background: rgba(220, 38, 38, 0.2);
    color: rgb(220, 38, 38);
}

.admin-logout-btn svg {
    width: 20px;
    height: 20px;
}

.admin-preview-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: rgba(34, 197, 94, 0.8);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
    margin-right: 12px;
}

.admin-preview-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    color: rgb(34, 197, 94);
}

.admin-preview-btn svg {
    width: 20px;
    height: 20px;
}

.profile-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.profile-media-container {
    position: relative;
    margin-bottom: 3rem;
    overflow: visible;
}

.banner-upload-container {
    position: relative;
    width: 100%;
    height: 140px;
    background: #f0f0f0;
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 3rem;
}

.banner-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-upload-overlay {
    position: absolute;
    inset: 0;
    background: hsla(0, 0%, 0%, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 0.9rem;
}

.banner-upload-container:hover .banner-upload-overlay {
    opacity: 1;
}

.banner-ai-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.banner-ai-btn:hover {
    background: rgba(139, 92, 246, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
}

.banner-ai-btn img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Image Upload Wrapper for AI Button */
.image-upload-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

/* AI Button for Event/Service Image */
.image-ai-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.9);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.image-ai-btn:hover {
    background: rgba(139, 92, 246, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.5);
}

.image-ai-btn img {
    width: 18px;
    height: 18px;
    display: block;
}

/* Form Message Styles */
.form-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    animation: slideIn 0.3s ease-out;
}

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

.form-message-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.form-message-success {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message-warning {
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.form-message-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    margin-left: 12px;
    line-height: 1;
    transition: opacity 0.2s;
}

.form-message-close:hover {
    opacity: 1;
}

/* Modal Styling */
.modal-content .centro {
    text-align: center;
    margin-bottom: 1rem;
}

/* Modal body styles for banner preview modal */
.banner-preview-modal .modal-body {
    margin-bottom: 1.5rem;
}

/* Modal body styles for dialog modals */
.modal-dialog .modal-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Generic modal-body for any other modal */
.modal-body {
    margin-bottom: 1.5rem;
}

.agrupar {
    display: flex;
    gap: 1rem;
}

.agrupar button {
    flex: 1;
}

.b-cancel {
    background: transparent;
    border: 2px solid var(--border, #ddd);
    color: var(--foreground, #333);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.b-cancel:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.botao {
    background: var(--primary, #6366f1);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

/* Banner AI Preview Modal */
.banner-preview-modal {
    max-width: 700px;
}

.banner-preview-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 6;
    position: relative;
}

.banner-preview-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.avatar-upload-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    overflow: visible;
}

.profile-avatar-upload {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #9ca3af;
    border: 4px solid var(--card);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.15);
}

.profile-avatar-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Generic avatar-add-icon for modals and dialogs */
.modal-overlay .avatar-add-icon,
.banner-preview-modal .avatar-add-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid white;
    z-index: 30;
    cursor: pointer;
}

.avatar-add-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid white;
    z-index: 30;
    opacity: 1;
    cursor: pointer;
}

.profile-avatar-upload:hover .avatar-add-icon {
    opacity: 1;
}

.profile-form {
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.char-counter {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
}

.links-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    margin-top: 0;
}

.links-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.link-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    color: white;
    font-size: 1.2rem;
}

.link-icon svg {
    width: 24px;
    height: 24px;
}

.link-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.link-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.remove-link-btn {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.remove-link-btn:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.additional-links {
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
}

.additional-links-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    margin-top: 0;
}

.link-icon-custom {
    background: #f8f9fa;
    color: #666;
}

.admin-footer {
    padding: 1.5rem 2rem;
    background: white;
    border-top: 1px solid #e0e0e0;
    position: sticky;
    bottom: 0;
    z-index: 100;
}

.admin-footer-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 620px;
    margin: 0 auto;
}

.save-btn {
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 300px;
}

.exit-btn {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.exit-btn:hover:not(:disabled) {
    box-shadow: 0 8px 16px rgba(107, 114, 128, 0.3);
}

.save-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== EVENTS SECTION STYLES ===== */

.events-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.events-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.add-event-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #6366f1;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.add-event-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
    flex-shrink: 0;
}

.add-event-btn:hover {
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

/* ===== SERVICES SECTION HEADER ===== */

.services-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.services-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.add-service-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #6366f1;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.add-service-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
    flex-shrink: 0;
}

.add-service-btn:hover {
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

.events-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.event-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.event-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.event-image-container {
    width: 150px;
    min-width: 150px;
    height: 150px;
    overflow: hidden;
    background: #f3f4f6;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.event-description {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.event-date,
.event-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.event-date svg,
.event-location svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.event-online-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.online-indicator-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    animation: pulse-dot 2s infinite;
}

.event-link {
    font-size: 0.9rem;
    color: #3b82f6;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.event-link:hover {
    color: #1d4ed8;
}

@keyframes pulse-dot {
    0%, 100% {
        box-shadow: 0 0 6px rgba(34, 197, 94, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 12px rgba(34, 197, 94, 1), inset 0 1px 2px rgba(255, 255, 255, 0.5);
    }
}

.event-actions {
    padding: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
}

.event-edit-btn,
.event-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.event-edit-btn svg,
.event-delete-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.event-edit-btn:hover {
    background: #f0f9ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.event-delete-btn:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.events-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* ===== SERVICES STYLES ===== */

.services-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
}

.service-image-container {
    width: 150px;
    min-width: 150px;
    height: 150px;
    overflow: hidden;
    background: #f3f4f6;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.service-short-description {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-full-description {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-actions {
    padding: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
}

.service-edit-btn,
.service-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-edit-btn svg,
.service-delete-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.service-edit-btn:hover {
    background: #f0f9ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.service-delete-btn:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.services-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* ===== PRODUCTS SECTION HEADER ===== */

.products-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.products-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.add-product-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #6366f1;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
    flex-shrink: 0;
}

.add-product-btn svg {
    width: 20px;
    height: 20px;
    stroke: white;
    flex-shrink: 0;
}

.add-product-btn:hover {
    background: #4f46e5;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    transform: scale(1.05);
}

/* ===== PRODUCTS STYLES ===== */

.products-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.products-list .product-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    padding: 0;
}

.products-list .product-card::before {
    display: none;
}

.products-list .product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #d1d5db;
    transform: none;
}

.products-list .product-image-container {
    width: 150px;
    min-width: 150px;
    height: 150px;
    overflow: hidden;
    background: #f3f4f6;
}

.products-list .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-list .product-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-list .product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    background: none;
    -webkit-text-fill-color: unset;
}

.products-list .product-price-tags {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.products-list .product-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    line-height: 1.4;
}

.products-list .product-tag--free {
    background: #dcfce7;
    color: #16a34a;
}

.products-list .product-tag--price {
    background: #dbeafe;
    color: #1d4ed8;
}

.products-list .product-description {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-list .product-media-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #2563eb;
    margin-top: 0.5rem;
}

.products-list .product-media-link svg {
    color: #6b7280;
    flex-shrink: 0;
}

.products-list .product-media-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.products-list .product-media-link a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.products-list .product-media-pending {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.products-list .product-media-pending svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.products-list .product-media-pending .file-pending-name {
    color: #6b7280;
    font-style: italic;
}

.products-list .product-media-info {
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.products-list .media-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #6b7280;
}

.products-list .product-actions {
    padding: 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-start;
}

.products-list .product-edit-btn,
.products-list .product-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.products-list .product-edit-btn svg,
.products-list .product-delete-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.products-list .product-edit-btn:hover {
    background: #f0f9ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.products-list .product-delete-btn:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fecaca;
}

.products-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
    color: #9ca3af;
    font-size: 0.95rem;
}

/* ===== RADIO GROUP STYLES ===== */

.radio-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #374151;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
    cursor: pointer;
}

/* ===== FILE UPLOAD CONTAINER STYLES ===== */

.file-upload-container {
    cursor: pointer;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.file-upload-container:hover {
    border-color: #6366f1;
    background: #f0f4ff;
}

.file-upload-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    font-size: 0.95rem;
}

.file-upload-info svg {
    color: #6366f1;
    flex-shrink: 0;
}

.file-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.file-upload-placeholder svg {
    color: #9ca3af;
}

/* ===== FILE UPLOADED CONTAINER STYLES ===== */

.file-uploaded-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-uploaded-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #166534;
    font-size: 0.95rem;
    flex: 1;
    min-width: 0;
}

.file-uploaded-info svg {
    color: #22c55e;
    flex-shrink: 0;
}

.file-uploaded-info .file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.file-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    background: white;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.75rem;
    padding: 0;
    line-height: 0;
}

.file-remove-btn svg {
    width: 16px;
    height: 16px;
    display: block;
}

.file-remove-btn:hover {
    background: #fef2f2;
    border-color: #f87171;
}

/* ===== MODAL STYLES ===== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-dialog {
    width: 100%;
    max-width: 860px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
    height: 100%;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-close-btn:hover {
    color: #1f2937;
}

.modal-body-wrapper {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    max-height: calc(90vh - 7rem);
    -webkit-overflow-scrolling: touch;
}

.modal-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-shrink: 0;
    background: white;
}

.modal-body .form-group {
    margin-bottom: 1.5rem;
}

.modal-body .form-group:last-child {
    margin-bottom: 0;
}

.modal-body .form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.modal-body .form-input,
.modal-body .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.modal-body .form-input:focus,
.modal-body .form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.modal-body .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-content {
    background: var(--card, #fff);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow: hidden;
}

/* When modal-content is inside modal-dialog, remove duplicate styles */
.modal-dialog .modal-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.modal-cancel-btn,
.modal-save-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modal-cancel-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.modal-save-btn {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.modal-save-btn:hover:not(:disabled) {
    background: #4f46e5;
    border-color: #4f46e5;
}

.modal-save-btn:disabled {
    background: #d1d5db;
    border-color: #d1d5db;
    cursor: not-allowed;
    opacity: 0.6;
}

.image-upload-container {
    cursor: pointer;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f9fafb;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-upload-container:hover {
    border-color: #6366f1;
    background: #f0f4ff;
}

.image-upload-container.dragging {
    border-color: #6366f1;
    background: #e0e7ff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.image-preview {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0;
}

.image-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.image-upload-placeholder svg {
    color: #9ca3af;
}

@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
    }

    .admin-title {
        font-size: 1.3rem;
    }

    .admin-tabs {
        margin-bottom: 1.5rem;
    }

    .admin-tab-btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }

    .profile-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .banner-upload-container {
        height: 150px;
        margin-bottom: 2rem;
    }

    .avatar-upload-wrapper {
        bottom: -1.5rem;
        left: 1rem;
    }

    .profile-avatar-upload {
        width: 100px;
        height: 100px;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .lang-switch {
        position: static;
        margin-bottom: 1rem;
    }

    .admin-footer {
        padding: 1rem;
    }

    .save-btn {
        max-width: 100%;
    }

    .link-input-row {
        flex-direction: column;
    }

    .link-input,
    .remove-link-btn {
        width: 100%;
    }
}

/* Primary Foreground Color */
:root {
    --primary-foreground: hsl(0, 0%, 100%);
}

/* ===== AUDIO BUTTON STYLES ===== */

.btn-play-response svg,
.btn-cancel-recording svg,
.btn-stop-recording svg,
.btn-cancel-audio svg,
.btn-send-audio svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
}

.btn-play-response,
.btn-cancel-recording,
.btn-stop-recording,
.btn-cancel-audio,
.btn-send-audio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
/* ==================== */
/* Banner Dialog Styles */
/* ==================== */

.banner-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.banner-dialog-overlay.open {
  display: flex;
}

.banner-dialog {
  background-color: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 101;
}

.banner-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.banner-dialog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.banner-dialog-close {
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 0.25rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.banner-dialog-close:hover {
  color: var(--foreground);
  background: var(--muted);
}

.banner-dialog-content {
  padding: 1.5rem;
}

.banner-dialog-tabs {
  display: flex;
  gap: 0.25rem;
  background: var(--muted);
  padding: 0.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.banner-dialog-tab {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6c757d;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
}

.banner-dialog-tab.active {
  background: var(--background);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.banner-dialog-tab-content {
  display: none;
}

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

.banner-file-input {
  display: none;
}

.banner-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  color: #6c757d;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.banner-upload-area:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.banner-upload-hint {
  font-size: 0.75rem;
  color: #6c757d;
  text-align: center;
  margin-top: 0.75rem;
}

/* Banner Upload Zone (alias for upload-area) */
.banner-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  border: 2px dashed var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  color: #6c757d;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.banner-upload-zone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.banner-gallery-tab-content {
  text-align: center;
  padding: 2rem 1rem;
}

.banner-gallery-tab-desc {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 1rem 0;
}

.banner-gallery-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.banner-gallery-open-btn:hover {
  background: var(--primary);
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transform: scale(1.02);
}

.banner-gallery-open-btn:active {
  transform: scale(1);
}

/* ==================== */
/* Banner AI Tab Styles */
/* ==================== */

.banner-ai-tab-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-ai-tab-desc {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 1rem 0;
}

.banner-ai-prompt-container {
  width: 100%;
  max-width: 500px;
  margin: 0.75rem auto 1.5rem;
  text-align: left;
}

.banner-ai-prompt-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.banner-ai-prompt-textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.banner-ai-prompt-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.banner-ai-prompt-hint {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.banner-ai-generate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.banner-ai-generate-btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  transform: scale(1.02);
}

.banner-ai-generate-btn:active {
  transform: scale(1);
}

.banner-ai-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  min-height: 300px;
}

.banner-ai-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(102, 126, 234, 0.2);
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.banner-ai-loading p {
  font-size: 0.875rem;
  color: #6c757d;
}

.banner-ai-preview {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.banner-ai-preview-container {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--muted);
}

.banner-ai-preview-image {
  width: 100%;
  height: auto;
  display: block;
}

.banner-ai-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.banner-ai-actions .admin-btn {
  padding: 0.625rem 1.25rem;
}

.banner-ai-actions .btn-secondary {
  background: var(--muted);
  color: var(--foreground);
}

.banner-ai-actions .btn-secondary:hover {
  background: var(--border);
}

/* ==================== */
/* Banner Gallery Styles */
/* ==================== */

.banner-gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.banner-gallery-overlay.open {
  display: flex;
}

.banner-gallery-dialog {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  width: 100%;
  max-width: 56rem;
  height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.banner-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.banner-gallery-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.banner-gallery-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.banner-gallery-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
}

.banner-gallery-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.banner-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
  gap: 1rem;
}

.banner-gallery-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.banner-gallery-card:hover {
  border-color: var(--primary);
  transform: scale(1.02);
}

.banner-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Admin button for gallery */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.admin-btn:hover {
  background: #4f46e5;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
  transform: scale(1.05);
}

.admin-btn:active {
  transform: scale(1);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-dialog {
    max-width: 100%;
    margin: 0 0.5rem;
  }
  
  .banner-gallery-dialog {
    max-width: 100%;
    height: 90vh;
  }
  
  .banner-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* Banner Gallery Filters */
.banner-gallery-filters {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--background);
}

.banner-gallery-filters .form-group {
  flex: 1;
  margin-bottom: 0;
}

.banner-gallery-filters .form-input {
  width: 100%;
}

/* Banner Gallery Card Category */
.banner-gallery-card {
  position: relative;
}

.banner-gallery-card-category {
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Banner Gallery Loading */
.banner-gallery-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--muted);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.banner-gallery-loading p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Banner Gallery Empty State */
.banner-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
}

.banner-gallery-empty p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* Banner Gallery Card Info Container */
.banner-gallery-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.06));
  padding: 0.75rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.banner-gallery-card-name {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.65rem;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   Event Card - Admin Page Enhancements
   ============================================ */

.event-card-subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0.1rem 0 0.3rem;
  font-style: italic;
}

/* ============================================
   Quill Rich Text Editor - Admin
   ============================================ */

.quill-editor-container {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--card);
    overflow: hidden;
}

.quill-editor-container .ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid var(--border);
    background: var(--muted);
    font-family: 'Inter', -apple-system, sans-serif;
    padding: 8px;
}

.quill-editor-container .ql-container.ql-snow {
    border: none;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 14px;
}

.quill-editor-container .ql-editor {
    min-height: 140px;
    max-height: 280px;
    overflow-y: auto;
    color: var(--foreground);
    line-height: 1.6;
}

.quill-editor-container .ql-editor.ql-blank::before {
    color: var(--muted-foreground);
    font-style: italic;
}

.quill-editor-container .ql-toolbar button:hover,
.quill-editor-container .ql-toolbar button.ql-active {
    color: var(--primary);
}

.quill-editor-container .ql-toolbar .ql-stroke {
    stroke: var(--foreground);
}

.quill-editor-container .ql-toolbar button:hover .ql-stroke,
.quill-editor-container .ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--primary);
}

.quill-editor-container .ql-toolbar .ql-fill {
    fill: var(--foreground);
}

.quill-editor-container .ql-toolbar button:hover .ql-fill,
.quill-editor-container .ql-toolbar button.ql-active .ql-fill {
    fill: var(--primary);
}

/* ===== INSIGHTS BUTTON ON ADMIN PAGE ===== */
.action-btn.insights-btn {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: rgb(245, 158, 11);
}

.action-btn.insights-btn:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.5);
    transform: translateY(-2px);
}

/* ===== INSIGHTS PAGE STYLES ===== */
.insights-page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

.insights-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: white;
    border-bottom: 1px solid #e0e0e0;
}

.insights-back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #666;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.insights-back-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.insights-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.insights-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

/* Stats Row */
.insights-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.insights-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    padding: 0.25rem 0.75rem;
    background: #f5f5f5;
    border-radius: 4px;
}

.stat-label.stat-label-green {
    background: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
}

.stat-icon {
    color: #999;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

/* Questions Row */
.insights-questions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.insights-questions-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8e8e8;
}

.questions-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.questions-icon {
    width: 20px;
    height: 20px;
}

.questions-icon.trending {
    color: #ef4444;
}

.questions-icon.frequent {
    color: #3b82f6;
}

.questions-icon.recent {
    color: #10b981;
}

.questions-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.questions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.question-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.question-item:last-child {
    border-bottom: none;
}

.question-item.empty {
    justify-content: center;
    padding: 1.5rem 0;
}

.empty-text {
    color: #999;
    font-size: 0.9rem;
}

.question-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
}

.question-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.question-content {
    flex: 1;
    min-width: 0;
}

.question-text {
    font-size: 0.9rem;
    color: #1a1a1a;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.question-meta {
    font-size: 0.8rem;
    color: #999;
}

/* Responsive */
@media (max-width: 1024px) {
    .insights-stats-row,
    .insights-questions-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .insights-header {
        padding: 1rem;
    }

    .insights-container {
        padding: 1rem;
    }

    .insights-title {
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* ===== LEADS MODAL STYLES ===== */

.event-leads-btn,
.service-leads-btn,
.product-leads-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.event-leads-btn svg,
.service-leads-btn svg,
.product-leads-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    flex-shrink: 0;
}

.event-leads-btn:hover,
.service-leads-btn:hover,
.product-leads-btn:hover {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

.leads-modal-dialog {
    max-width: 700px;
    width: 95%;
}

.leads-export-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid #16a34a;
    background: white;
    color: #16a34a;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.leads-export-btn:hover {
    background: #f0fdf4;
    border-color: #15803d;
    color: #15803d;
}

.leads-modal-header-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.leads-modal-icon {
    margin-top: 2px;
    flex-shrink: 0;
    color: #6b7280;
}

.leads-modal-subtitle {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 2px;
    margin-bottom: 0;
}

.leads-modal-body {
    min-height: 200px;
}

.leads-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.leads-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: leads-spin 0.7s linear infinite;
}

@keyframes leads-spin {
    to { transform: rotate(360deg); }
}

.leads-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem;
    color: #9ca3af;
    text-align: center;
}

.leads-empty-state svg {
    color: #d1d5db;
}

.leads-count {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.leads-count strong {
    color: var(--foreground);
}

.leads-table-wrapper {
    overflow-x: auto;
}

.leads-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.leads-table thead th {
    text-align: left;
    padding: 0.65rem 1rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.leads-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.leads-table tbody tr:hover {
    background: #f0f9ff;
}

.leads-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    vertical-align: middle;
}

.leads-table td a {
    color: var(--primary);
    text-decoration: none;
}

.leads-table td a:hover {
    text-decoration: underline;
}

.leads-td-name {
    font-weight: 500;
    min-width: 140px;
}

.leads-td-email {
    min-width: 180px;
}

.leads-td-whatsapp {
    min-width: 130px;
    white-space: nowrap;
}

.leads-td-date {
    min-width: 130px;
    white-space: nowrap;
    color: #6b7280;
    font-size: 0.85rem;
}

.leads-empty-cell {
    color: #d1d5db;
}
