/* =============================================================================
   MESSYAI LANDING PAGE STYLES
   Modern, sassy design with glassmorphism and animations
   ============================================================================= */

/* =============================================================================
   BASE STYLES
   ============================================================================= */

.landing-container {
    min-height: 100vh;
    background: linear-gradient(180deg, 
        var(--messy-slate) 0%, 
        var(--messy-midnight) 50%, 
        var(--messy-darkpurple) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Account for navbar */
}

/* Background visual effects */
.landing-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 80%, rgba(126, 87, 194, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(240, 98, 146, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(229, 222, 255, 0.05) 0%, transparent 50%);
    animation: floatBackground 20s ease-in-out infinite;
    pointer-events: none;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero-wrapper {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 87, 194, 0.1);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.hero-content:hover {
    border-color: rgba(126, 87, 194, 0.2);
    box-shadow: 0 8px 32px rgba(126, 87, 194, 0.1);
}

/* Gradient text effect */
.gradient-heading {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--messy-violet) 0%, var(--messy-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: gradientShift 5s ease-in-out infinite;
}

/* Animated emoji */
.sparkle-emoji {
    display: inline-block;
    animation: sparkleFloat 3s ease-in-out infinite;
}

.tagline {
    color: var(--messy-lavender);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.description-text {
    color: rgba(229, 222, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 3rem;
}

/* =============================================================================
   CALL TO ACTION SECTION
   ============================================================================= */

.cta-section {
    background: rgba(126, 87, 194, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(126, 87, 194, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.cta-heading {
    color: var(--messy-lavender);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    color: rgba(229, 222, 255, 0.7);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Button styles */
.btn-primary-gradient {
    background: linear-gradient(90deg, var(--messy-violet) 0%, var(--messy-pink) 100%);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(126, 87, 194, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 87, 194, 0.5);
    color: white;
}

.btn-primary-gradient:active {
    transform: translateY(0);
}

.btn-secondary-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 87, 194, 0.3);
    color: var(--messy-lavender);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-glass:hover {
    background: rgba(126, 87, 194, 0.1);
    border-color: rgba(126, 87, 194, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 87, 194, 0.3);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================================================
   FEATURES SECTION
   ============================================================================= */

.features-wrapper {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 87, 194, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(126, 87, 194, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(126, 87, 194, 0.3);
    box-shadow: 0 8px 24px rgba(126, 87, 194, 0.2);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(126, 87, 194, 0.5));
    animation: iconPulse 3s ease-in-out infinite;
}

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

.feature-description {
    color: rgba(229, 222, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* =============================================================================
   TRADEMARK NOTICE - FLOATING BOTTOM BAR
   ============================================================================= */

.trademark-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(30, 28, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(126, 87, 194, 0.1);
    padding: 0.5rem 1rem;
    z-index: 100;
    transition: all 0.3s ease;
}

.trademark-bar.collapsed {
    transform: translateY(calc(100% - 2rem));
}

.trademark-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: none;
    border: none;
    color: rgba(229, 222, 255, 0.5);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.trademark-toggle:hover {
    color: rgba(229, 222, 255, 0.8);
}

.trademark-toggle i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.trademark-bar.collapsed .trademark-toggle i {
    transform: rotate(180deg);
}

.trademark-content {
    text-align: center;
    padding: 1rem 0;
    color: rgba(229, 222, 255, 0.6);
    font-size: 0.85rem;
    max-height: 200px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.trademark-bar.collapsed .trademark-content {
    max-height: 0;
    padding: 0;
}

.trademark-title {
    color: var(--messy-lavender);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* =============================================================================
   FLOATING ACTION BUTTON
   ============================================================================= */

.fab-chat {
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--messy-violet) 0%, var(--messy-pink) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(126, 87, 194, 0.4);
    transition: all 0.3s ease;
    z-index: 90;
    animation: fabEntrance 0.5s ease-out;
}

.fab-chat:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(126, 87, 194, 0.5);
    color: white;
}

.fab-chat:active {
    transform: translateY(-1px) scale(1);
}

.fab-chat i {
    animation: chatPulse 2s ease-in-out infinite;
}

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes floatBackground {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, -30px) rotate(120deg); }
    66% { transform: translate(30px, -20px) rotate(240deg); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

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

@keyframes fabEntrance {
    from {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes chatPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* =============================================================================
   RESPONSIVE DESIGN
   ============================================================================= */

@media (max-width: 768px) {
    .hero-wrapper {
        padding: 2rem 0.5rem;
    }
    
    .hero-content {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }
    
    .gradient-heading {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary-gradient,
    .btn-secondary-glass {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .fab-chat {
        bottom: 3.5rem;
        right: 1rem;
        width: 56px;
        height: 56px;
    }
    
    .trademark-bar {
        padding: 0.5rem;
    }
    
    .trademark-content {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .gradient-heading {
        font-size: 2rem;
    }
    
    .description-text {
        font-size: 1rem;
    }
}

/* =============================================================================
   ACCESSIBILITY
   ============================================================================= */

.btn-primary-gradient:focus,
.btn-secondary-glass:focus,
.fab-chat:focus,
.trademark-toggle:focus {
    outline: 2px solid var(--messy-violet);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-content,
    .feature-card,
    .cta-section {
        border-width: 2px;
    }
    
    .btn-primary-gradient,
    .btn-secondary-glass {
        font-weight: 700;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}