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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    text-align: left;
    position: relative;
    z-index: 50;
    isolation: isolate;
}

.hero h1 {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero svg {
    width: 300px;
    height: auto;
    transition: all 0.3s ease;
}

.hero svg:hover {
    transform: scale(1.05);
}

/* Logo SVG Styles */
.sap-logo {
    cursor: pointer;
    transition: all 0.3s ease;
}

.header .sap-logo {
    top: 3px;
    position: relative;
}

.sap-logo:hover .glow {
    filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.45)) drop-shadow(0 0 12px rgba(16, 185, 129, 0.35));
}

.hero .tagline {
    font-size: 2.8rem;
    opacity: 0.95;
    font-weight: 600;
    line-height: 1.2;
    color: #f8fafc;
    position: relative;
    z-index: 100;
    isolation: isolate;
    will-change: transform;
}

.hero .free-badge {
    font-size: 1.2rem;
    color: #10b981;
    font-weight: 700;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    position: relative;
    z-index: 100;
}

.hero .tagline .line {
    display: block;
    margin-bottom: 16px;
}

.hero .tagline .line.typing {
    position: relative;
    display: inline-block;
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    filter: none;
    z-index: 11;
}

.hero .tagline .line.typing::after {
    content: '|';
    color: #10b981;
    font-weight: 300;
    animation: blink 1.2s infinite;
    margin-left: 4px;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.signup-form {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(124, 58, 237, 0.1);
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.signup-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    z-index: -1;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #94a3b8;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    font-size: 16px;
    color: #f8fafc;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1), 0 0 20px rgba(124, 58, 237, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.form-group input::placeholder {
    color: #64748b;
}

/* Buttons */
.btn {
    padding: 18px 32px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #7c3aed;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4), 0 0 25px rgba(16, 185, 129, 0.4);
    border-color: rgba(16, 185, 129, 0.3);
}

.btn-secondary {
    background: #7c3aed;
    color: white;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4), 0 0 25px rgba(16, 185, 129, 0.4);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Featured Prompts Section */
.featured-prompts {
    padding: 100px 0;
    background: #0f172a;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #f8fafc;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prompts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.prompt-card {
    background: #1e293b;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.prompt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.prompt-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.3);
    border-color: rgba(124, 58, 237, 0.4);
}

.prompt-card h3 {
    color: #7c3aed;
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.prompt-card h3:hover {
    font-size: 1.5rem;
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
}

.prompt-card .ai-type {
    background: #10b981;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.prompt-card .preview {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.prompt-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.tag {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: scale(1.05);
}

/* Project Description */
.project-description {
    padding: 100px 0;
    background: #0f172a;
    position: relative;
}

.description-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.description-content h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #f8fafc;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.description-content p {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
}

.description-content .highlight {
    color: #7c3aed;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: #0f172a;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.testimonial {
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial:hover::before {
    opacity: 1;
}

.testimonial:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.3);
    border-color: rgba(124, 58, 237, 0.4);
}

.testimonial .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    position: relative;
    z-index: 2;
}

.testimonial .name {
    font-weight: 600;
    color: #10b981;
    margin-bottom: 16px;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.testimonial .text {
    color: #94a3b8;
    font-style: italic;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* 404 Page */
.not-found-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.not-found-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.not-found-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 40px 20px;
}

.not-found-icon {
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.not-found-title {
    font-size: 8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 20px 0;
    line-height: 1;
    text-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.not-found-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.not-found-description {
    font-size: 1.2rem;
    color: #94a3b8;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.not-found-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.not-found-suggestions {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
}

.not-found-suggestions h3 {
    color: #f8fafc;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

.not-found-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.not-found-suggestions li {
    margin: 0;
}

.not-found-suggestions a {
    display: block;
    padding: 12px 20px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.not-found-suggestions a:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

/* Responsive 404 */
@media (max-width: 768px) {
    .not-found-title {
        font-size: 6rem;
    }
    
    .not-found-subtitle {
        font-size: 2rem;
    }
    
    .not-found-description {
        font-size: 1.1rem;
    }
    
    .not-found-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .not-found-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .not-found-suggestions ul {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #f8fafc;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 16px;
}

.footer-column a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-column a:hover {
    color: #7c3aed;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    padding-top: 40px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Header/Navbar Styles */
.header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    color: #f8fafc;
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section svg {
    width: 200px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-section svg:hover {
    transform: scale(1.05);
}

.logo-section h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-menu a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 12px;
    position: relative;
}

.nav-menu a:hover {
    color: #7c3aed;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    background: rgba(124, 58, 237, 0.1);
}

.nav-menu a.active {
    color: #7c3aed;
}

/* Bottone Crea Nuovo Prompt nel menu */
.btn-create-prompt {
    background: #10b981;
    color: #0f172a !important;
    padding: 12px 24px !important;
    border-radius: 30px;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    font-size: 14px;
}


.btn-create-prompt:hover {
    background: linear-gradient(90deg, #10b981, #7c3aed);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 0 20px rgba(124, 58, 237, 0.3);
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-create-prompt:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

.btn-create-prompt.active {
    background: linear-gradient(90deg, #10b981, #7c3aed);
    border-bottom: none !important;
    padding-bottom: 12px !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    color: white !important;
}

/* Bottone Login nel menu */
.btn-login {
    background: transparent;
    border: 2px solid #7c3aed;
    color: #7c3aed !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    font-size: 13px;
    display: inline-block;
}

.btn-login:hover {
    background: #7c3aed;
    color: white !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4), 0 0 20px rgba(124, 58, 237, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-login:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

/* Bottone Registrati nel menu */
/* Link Condividi un Prompt nel menu */
.nav-menu a[href="/share-prompt"],
.nav-menu a[href="/it/share-prompt"] {
    color: #cbd5e1 !important;
    padding: 10px 20px !important;
    border-radius: 12px;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 13px;
    display: inline-block;
    position: relative;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.nav-menu a[href="/share-prompt"]:hover,
.nav-menu a[href="/it/share-prompt"]:hover {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.nav-menu a[href="/share-prompt"].active,
.nav-menu a[href="/it/share-prompt"].active {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.5);
    font-weight: 600 !important;
}

.btn-register {
    background: #10b981;
    color: #0f172a !important;
    padding: 10px 20px !important;
    border-radius: 30px;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    font-size: 13px;
    display: inline-block;
}

.btn-register:hover {
    background: linear-gradient(90deg, #10b981, #7c3aed);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4), 0 0 20px rgba(124, 58, 237, 0.3);
    color: white !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-register:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

.user-menu {
    display: flex;
    align-items: center;
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.user-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
    cursor: pointer;
}

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #f8fafc;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
}

.dropdown-item.user-info {
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    margin-bottom: 4px;
    cursor: default;
}

.dropdown-item.user-info:hover {
    background: none;
    color: #f8fafc;
}

.user-display-name {
    font-weight: 600;
    font-size: 1rem;
}

.dropdown-icon {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #f8fafc;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

/* Fallback per browser che non supportano backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
    .mobile-menu {
        background: rgba(15, 23, 42, 0.99);
    }
}

.mobile-menu-content {
    padding: 100px 20px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.mobile-menu-close:hover {
    background: rgba(124, 58, 237, 0.3);
    border-color: rgba(124, 58, 237, 0.5);
    transform: scale(1.1);
}

.close-icon {
    color: #f8fafc;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 20px;
}

.mobile-nav-menu a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    color: #7c3aed;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
    transform: translateX(10px);
}

.btn-create-prompt-mobile {
    background: #10b981 !important;
    color: #0f172a !important;
    padding: 16px 24px !important;
    border-radius: 16px;
    font-weight: 600 !important;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.btn-create-prompt-mobile:hover {
    background: linear-gradient(90deg, #10b981, #7c3aed) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Link Condividi un Prompt mobile */
.mobile-nav-menu a[href="/share-prompt"] {
    color: #cbd5e1 !important;
    padding: 16px 20px !important;
    border-radius: 12px;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-size: 16px;
    display: block;
    text-align: center;
    margin-bottom: 8px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.mobile-nav-menu a[href="/share-prompt"]:hover {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.4);
    transform: translateY(-1px);
}

.mobile-nav-menu a[href="/share-prompt"].active,
.mobile-nav-menu a[href="/it/share-prompt"].active {
    color: #7c3aed !important;
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.5);
    font-weight: 600 !important;
}

.btn-login-mobile {
    background: transparent !important;
    border: 2px solid #7c3aed !important;
    color: #7c3aed !important;
    padding: 16px 24px !important;
    border-radius: 16px;
    font-weight: 600 !important;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
    transition: all 0.3s ease;
}

.btn-login-mobile:hover {
    background: #7c3aed !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Bottone Registrati mobile */
.btn-register-mobile {
    background: #10b981 !important;
    color: #0f172a !important;
    padding: 16px 24px !important;
    border-radius: 16px;
    font-weight: 600 !important;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.btn-register-mobile:hover {
    background: linear-gradient(90deg, #10b981, #7c3aed) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    margin-bottom: 20px;
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.mobile-user-name {
    color: #f8fafc;
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-profile-link,
.mobile-logout-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #f8fafc;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-profile-link:hover,
.mobile-logout-link:hover {
    background: rgba(124, 58, 237, 0.1);
    border-left-color: #7c3aed;
    color: #a78bfa;
}

.mobile-logout-link {
    color: #ef4444;
}

.mobile-logout-link:hover {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
    color: #f87171;
}


.main-content {
    padding: 30px 0;
    background: #0f172a;
    min-height: calc(100vh - 80px);
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #f8fafc;
    background: linear-gradient(135deg, #f8fafc 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat-card {
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2), 0 0 0 1px rgba(16, 185, 129, 0.3);
    border-color: rgba(124, 58, 237, 0.4);
}

.stat-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    position: relative;
    z-index: 2;
}

.stat-card .number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #7c3aed;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.stat-card .label {
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Dashboard Content */
.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.main-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section {
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section:hover::before {
    opacity: 1;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 28px;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

/* Prompt Items */
.prompt-item {
    padding: 24px;
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 16px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.prompt-item:hover {
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.prompt-item h4 {
    color: #7c3aed;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.prompt-item .ai-type {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.prompt-item .preview {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.prompt-item .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Activity Feed */
.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
    position: relative;
    z-index: 2;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.activity-text {
    flex: 1;
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.4;
}

.activity-time {
    font-size: 0.85rem;
    color: #64748b;
}

/* Bottom Section */
.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.chart-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

/* Form Styles */
.prompt-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.prompt-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .prompt-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.prompt-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prompt-form .form-group label {
    font-weight: 600;
    color: #f8fafc;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prompt-form .form-group input,
.prompt-form .form-group select,
.prompt-form .form-group textarea {
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    font-size: 16px;
    color: #f8fafc;
    transition: all 0.3s ease;
    font-family: inherit;
    backdrop-filter: blur(10px);
}

.prompt-form .form-group input:focus,
.prompt-form .form-group select:focus,
.prompt-form .form-group textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1), 0 0 20px rgba(124, 58, 237, 0.2);
    background: rgba(15, 23, 42, 0.8);
}

.prompt-form .form-group input::placeholder,
.prompt-form .form-group textarea::placeholder {
    color: #64748b;
}

.prompt-form .form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.prompt-form .form-group small {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-weight: 500;
    color: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #7c3aed;
    border-color: #7c3aed;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form-actions {
    display: flex;
    gap: 24px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
    max-width: 220px;
}

/* My Prompts Page */
.my-prompts-page {
    min-height: 100vh;
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.filters-section {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.search-container {
    position: relative;
    margin-bottom: 30px;
}

.search-input {
    width: 100%;
    padding: 16px 60px 16px 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    color: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.search-input::placeholder {
    color: #64748b;
}

.search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #7c3aed;
    border: none;
    border-radius: 8px;
    padding: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #10b981;
    transform: translateY(-50%) scale(1.05);
}

.ai-filters h3 {
    color: #f8fafc;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 600;
}

.filter-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.filter-checkbox:hover {
    color: #f8fafc;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #7c3aed;
    border-color: #7c3aed;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-content svg {
    color: #64748b;
    margin-bottom: 20px;
}

.no-results-content h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.no-results-content p {
    color: #94a3b8;
    margin-bottom: 24px;
}

.loading-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(124, 58, 237, 0.2);
    border-top: 4px solid #7c3aed;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-state p {
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Privacy Checkbox per Home Page */
.privacy-checkbox {
    margin: 20px 0;
}

.privacy-checkbox .checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #f8fafc;
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-checkbox .checkbox-label input[type="checkbox"] {
    display: none;
}

.privacy-checkbox .checkbox-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.privacy-checkbox .checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #7c3aed;
    border-color: #7c3aed;
}

.privacy-checkbox .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.privacy-checkbox .checkbox-label a {
    color: #7c3aed;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-checkbox .checkbox-label a:hover {
    color: #10b981;
    text-decoration: underline;
}

/* Login Info */
.login-info {
    margin-top: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
}

/* Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.login-container {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.login-header p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.login-form {
    text-align: left;
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.login-footer p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.login-footer a {
    color: #7c3aed;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: #10b981;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    /* Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hide desktop menu on mobile */
    .nav-menu {
        display: none;
    }
    
    .user-menu {
        display: none;
    }
    
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero h1 {
        justify-content: center;
    }
    
    .hero svg {
        width: 250px;
        height: auto;
    }
    
    .logo-section svg {
        width: 160px;
        height: auto;
    }
    
    .hero .tagline {
        font-size: 1.6rem;
    }
    
    .hero .free-badge {
        font-size: 1rem;
        margin-top: 15px;
    }
    
    /* Prompt Share Section Mobile */
    .prompt-share-section {
        padding: 60px 0;
    }
    
    .prompt-share-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .prompt-share-left h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .prompt-share-left p {
        text-align: center;
    }
    
    .prompt-input-container textarea {
        min-height: 150px;
        padding: 16px;
    }
    
    .email-section {
        padding: 24px 20px;
    }
    
    .email-section h3 {
        font-size: 1.3rem;
    }
    
    /* Share Prompt Page Mobile */
    .share-prompt-hero {
        padding: 80px 0;
        min-height: 100vh;
    }
    
    .share-prompt-content h1 {
        font-size: 2.5rem;
    }
    
    .share-prompt-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .share-prompt-form {
        padding: 30px 20px;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .prompt-input-section textarea {
        min-height: 200px;
        padding: 20px;
        font-size: 1rem;
    }
    
    .prompt-input-section .btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .share-prompt-form .email-section {
        padding: 24px 20px;
    }
    
    .share-prompt-form .email-section h3 {
        font-size: 1.4rem;
    }
    
    /* Blog Article Mobile */
    .blog-article {
        padding: 80px 0 60px;
    }
    
    .article-content {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
        margin: 25px 0 12px;
    }
    
    .article-cta {
        padding: 24px 20px;
    }
    
    .article-cta h3 {
        font-size: 1.3rem;
    }
    
    .signup-form {
        margin: 0 20px;
        padding: 20px 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .bottom-section {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        max-width: none;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .filters-section {
        padding: 20px;
    }
    
    .filter-checkboxes {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Prompt Share Section */
.prompt-share-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.prompt-share-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
}

.prompt-share-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.prompt-share-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prompt-share-left p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    line-height: 1.6;
}

.prompt-input-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prompt-input-container textarea {
    width: 100%;
    min-height: 200px;
    padding: 20px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.prompt-input-container textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.prompt-input-container textarea::placeholder {
    color: #64748b;
}

.prompt-input-container .btn {
    align-self: flex-start;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.prompt-input-container .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.prompt-share-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 300px;
}

.email-section {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    animation: slideInRight 0.5s ease-out;
}

.email-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 12px;
}

.email-section p {
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.5;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.email-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-form input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.email-form input::placeholder {
    color: #64748b;
}

.email-form .btn {
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.email-form .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.email-info {
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideInModal 0.3s ease-out;
}

.modal-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.modal-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.modal-header h2 {
    color: #f8fafc;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.modal-body strong {
    color: #10b981;
    font-weight: 600;
}

.modal-note {
    font-size: 0.95rem !important;
    color: #94a3b8 !important;
    font-style: italic;
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.modal-footer .btn {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Share Prompt Page Styles */
.share-prompt-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.share-prompt-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
}

.share-prompt-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.share-prompt-hero .container {
    max-width: 1400px;
}

.share-prompt-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.share-prompt-content p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 50px;
    line-height: 1.6;
}

.share-prompt-form {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    max-width: 100%;
    width: 100%;
}

.prompt-input-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.prompt-input-section textarea {
    width: 100%;
    min-height: 300px;
    padding: 25px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    font-size: 1.1rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.prompt-input-section textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.prompt-input-section textarea::placeholder {
    color: #64748b;
}

.prompt-input-section .btn {
    align-self: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 200px;
}

.prompt-input-section .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.share-prompt-form .email-section {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    animation: slideInRight 0.5s ease-out;
}

.share-prompt-form .email-section h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 12px;
    text-align: center;
}

.share-prompt-form .email-section p {
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.5;
    text-align: center;
    font-size: 1rem;
}

.share-prompt-form .email-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.share-prompt-form .email-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.share-prompt-form .email-form input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.share-prompt-form .email-form input::placeholder {
    color: #64748b;
}

.share-prompt-form .email-form .btn {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.share-prompt-form .email-form .btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.share-prompt-form .email-info {
    font-size: 0.9rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

/* Contact Page Styles */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.contact-card {
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    margin-bottom: 40px;
}

.contact-icon {
    color: #7c3aed;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.contact-card h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.email-contact {
    margin: 32px 0;
}

.email-link {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.email-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.4);
}

.contact-note {
    color: #94a3b8;
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 24px;
}

.contact-info {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 20px;
    text-align: center;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    color: #cbd5e1;
    padding: 12px 0;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
    position: relative;
    padding-left: 24px;
}

.contact-info li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.contact-info li:last-child {
    border-bottom: none;
}

/* Blog Article Styles */
.blog-article {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.blog-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.95);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    z-index: 2;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.article-title {
    font-size: 2.5rem;
    color: #f8fafc;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-body {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 1.1rem;
}

.article-body h2 {
    color: #7c3aed;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    border-radius: 2px;
}

.article-body h3 {
    color: #10b981;
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body a {
    color: #7c3aed;
    text-decoration: none;
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.article-body a:hover {
    color: #10b981;
    border-bottom-color: rgba(16, 185, 129, 0.5);
}

.article-body code {
    background: rgba(15, 23, 42, 0.8);
    color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.article-body pre {
    background: rgba(15, 23, 42, 0.9);
    color: #f1f5f9;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.article-body blockquote {
    border-left: 4px solid #7c3aed;
    background: rgba(124, 58, 237, 0.1);
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.article-cta {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.article-cta h3 {
    color: #f8fafc;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-cta p {
    color: #cbd5e1;
    margin-bottom: 25px;
    font-size: 1rem;
}

.article-cta .btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* CTA Box styles for blog articles */
.cta-banner {
    border: 2px solid #111;
    padding: 20px;
    border-radius: 12px;
    margin: 32px 0;
    background: #f7f7f7;
}

.cta-banner h3 {
    margin: 0 0 8px;
    color: #111;
    font-size: 1.3rem;
    font-weight: 600;
}

.cta-banner p {
    margin: 0 0 16px;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.cta-banner a {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-banner a:hover {
    background: #333;
    transform: translateY(-1px);
}

.cta-banner.secondary {
    border: 2px dashed #555;
    background: #fffbe6;
}

.cta-banner.secondary a {
    background: #ffcc00;
    color: #111;
}

.cta-banner.secondary a:hover {
    background: #e6b800;
}

/* Table of Contents styles for blog articles */
.toc {
    border: 1px solid #e5e7eb;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 32px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.toc p {
    margin: 0 0 16px;
    font-weight: 700;
    color: #1e293b;
    font-size: 1.1rem;
    border-bottom: 2px solid #7c3aed;
    padding-bottom: 8px;
    display: inline-block;
}

.toc ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.toc li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 24px;
}

.toc li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #7c3aed;
    font-weight: bold;
    font-size: 1.1rem;
}

.toc li:last-child {
    margin-bottom: 0;
}

.toc a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.toc a:hover {
    color: #7c3aed;
    text-decoration: underline;
    transform: translateX(4px);
}

/* Article featured image styles */
.article-featured-image {
    margin: 32px 0;
    text-align: center;
}

.article-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-featured-image img:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.prompt-share-info {
    margin-top: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.prompt-share-info p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.prompt-share-info strong {
    color: #10b981;
    font-weight: 600;
}

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

/* Message Container Styles */
.message-container {
    margin-bottom: 20px;
    animation: slideDown 0.3s ease-out;
    width: 100%;
    z-index: 10;
    position: relative;
}

.message-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    gap: 8px;
}

.message-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

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

.message-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.message-text {
    flex: 1;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Prompt Card Header */
.prompt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.edit-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.edit-btn svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Stili per la pagina del prompt condiviso */
.shared-prompt-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    padding: 2rem 0;
}

.shared-prompt-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.shared-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.prompt-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #a0a0a0;
}

.prompt-title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7c3aed, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.prompt-content, .prompt-notes, .prompt-tags {
    margin-bottom: 2rem;
}

.prompt-content h3, .prompt-notes h3, .prompt-tags h3 {
    color: #7c3aed;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.prompt-text, .notes-text {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e0e0e0;
    white-space: pre-wrap;
}

.prompt-actions {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.prompt-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    color: #a0a0a0;
}

.prompt-footer p {
    margin-bottom: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #7c3aed;
    color: #7c3aed;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
}

/* Prompt Card Actions */
.prompt-card .actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.prompt-card .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: #94a3b8;
}

.prompt-card .meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
