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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #cbd5e1;
    background: #0a0f1f;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    min-height: 100vh;
    scrollbar-width: thin;  /* Firefox */
    scrollbar-color: var(--cosmic-primary) rgba(10, 15, 31, 0.8);  /* Firefox */
}

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

/* Cosmic Background */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #1e2a4a 0%, #0f1936 50%, #0a0f1f 100%);
}

.cosmic-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 50px 20px, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 150px 60px, rgba(240, 249, 255, 1), transparent),
        radial-gradient(1px 1px at 80px 120px, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 180px 40px, rgba(240, 249, 255, 0.95), transparent);
    background-repeat: repeat;
    background-size: 250px 150px;
    animation: star-twinkle-slow 4s ease-in-out infinite alternate;
}

.cosmic-background::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 120px 80px, rgba(240, 249, 255, 0.95), transparent),
        radial-gradient(1px 1px at 30px 140px, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 170px 100px, rgba(240, 249, 255, 0.9), transparent);
    background-repeat: repeat;
    background-size: 300px 200px;
    animation: star-twinkle-fast 2s ease-in-out infinite alternate;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 90px 40px, #f0f9ff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(240, 249, 255, 1), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 1), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: cosmic-drift 100s linear infinite, star-twinkle 3s ease-in-out infinite alternate;
}

.nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(59, 130, 246, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(96, 165, 250, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(30, 64, 175, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 10%, rgba(30, 58, 138, 0.08) 0%, transparent 40%);
}

.cosmic-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(147, 197, 253, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.12) 1px, transparent 1px);
    background-size: 50px 50px, 75px 75px;
    animation: particle-float 60s linear infinite;
}

/* Additional Big Moving Bubbles */
.cosmic-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.cosmic-bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.06) 50%, transparent 100%);
    border: 1px solid rgba(59, 130, 246, 0.1);
    animation: bubble-float 20s ease-in-out infinite;
}

.cosmic-bubble:nth-child(1) {
    width: 120px;
    height: 120px;
    left: 10%;
    top: 20%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.cosmic-bubble:nth-child(2) {
    width: 80px;
    height: 80px;
    left: 15%;
    top: 60%;
    animation-delay: 5s;
    animation-duration: 30s;
}

.cosmic-bubble:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 8%;
    top: 80%;
    animation-delay: 10s;
    animation-duration: 22s;
}

.cosmic-bubble:nth-child(4) {
    width: 90px;
    height: 90px;
    left: 12%;
    top: 40%;
    animation-delay: 15s;
    animation-duration: 28s;
}

.cosmic-bubble:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 5%;
    top: 70%;
    animation-delay: 8s;
    animation-duration: 35s;
}

.cosmic-bubble:nth-child(6) {
    width: 110px;
    height: 110px;
    left: 18%;
    top: 10%;
    animation-delay: 12s;
    animation-duration: 26s;
}

.cosmic-bubble:nth-child(7) {
    width: 95px;
    height: 95px;
    left: 85%;
    top: 15%;
    animation-delay: 3s;
    animation-duration: 32s;
}

.cosmic-bubble:nth-child(8) {
    width: 85px;
    height: 85px;
    left: 90%;
    top: 45%;
    animation-delay: 7s;
    animation-duration: 28s;
}

.cosmic-bubble:nth-child(9) {
    width: 105px;
    height: 105px;
    left: 82%;
    top: 75%;
    animation-delay: 11s;
    animation-duration: 24s;
}

.cosmic-bubble:nth-child(10) {
    width: 75px;
    height: 75px;
    left: 88%;
    top: 85%;
    animation-delay: 14s;
    animation-duration: 30s;
}



@keyframes cosmic-drift {
    from { transform: translateX(0); }
    to { transform: translateX(-200px); }
}

@keyframes star-twinkle {
    0% { opacity: 0.9; }
    100% { opacity: 1; }
}

@keyframes star-twinkle-slow {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

@keyframes star-twinkle-fast {
    0% { opacity: 0.7; }
    25% { opacity: 1; }
    50% { opacity: 0.9; }
    75% { opacity: 1; }
    100% { opacity: 0.8; }
}

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

@keyframes bubble-float {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-30px) translateX(20px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-50px) translateX(-15px) scale(0.9);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-20px) translateX(25px) scale(1.05);
        opacity: 0.9;
    }
}

/* Color Variables */
:root {
    --cosmic-primary: #3b82f6;
    --cosmic-accent: #8b5cf6;
    --cosmic-blue-light: #60a5fa;
    --cosmic-dark: #030712;
    --cosmic-darker: #020617;
    --cosmic-light: #f8fafc;
    --cosmic-gray: #64748b;
    --cosmic-gray-light: #94a3b8;
    --cosmic-border: rgba(59, 130, 246, 0.2);
    --cosmic-glow: 0 0 25px rgba(59, 130, 246, 0.4);
    --cosmic-shadow: 0 8px 32px rgba(0, 0, 0, 0.9);
    --purplish-glow: 0 0 20px rgba(139, 92, 246, 0.2), 0 0 40px rgba(139, 92, 246, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--cosmic-light);
}

h1 {
    font-family: 'Orbitron', monospace;
    font-size: 4.95rem;
    font-weight: 700;
}

h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    color: var(--cosmic-gray-light);
    line-height: 1.7;
}

.hero-subtitle {
    font-size: 1.485rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle .highlight {
    background: linear-gradient(90deg, var(--cosmic-primary), var(--cosmic-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-subtitle .line {
    display: block;
    margin-bottom: 0.5rem;
}

.hero-subtitle .line:last-child {
    margin-bottom: 0;
}

/* Button Styles */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Feedback submit button styles */
.feedback-submit {
    width: 200px !important;  /* Reduced width */
    margin: 0 auto !important;  /* Center horizontally */
    display: block !important;  /* Make it a block element for margin auto to work */
}

.btn-primary {
    background: rgba(59, 130, 246, 0.08);
    color: #3b82f6;
    border: 2.5px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 5px 25px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3), 0 0 0 2px rgba(139, 92, 246, 0.5);
    color: #8b5cf6;
}

.btn-primary:focus-visible {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3), 0 4px 20px rgba(59, 130, 246, 0.2), 0 0 0 2px rgba(139, 92, 246, 0.5);
    outline: none;
    color: #8b5cf6;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.4);
    color: #8b5cf6;
}

/* Special override for signup page */
.signup-btn.btn-primary:hover {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3), 0 0 0 2px rgba(139, 92, 246, 0.5);
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.05);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3), 0 0 0 2px rgba(139, 92, 246, 0.5);
    color: #8b5cf6;
}

.btn-secondary:focus-visible {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3), 0 4px 20px rgba(59, 130, 246, 0.1), 0 0 0 2px rgba(139, 92, 246, 0.5);
    outline: none;
    color: #8b5cf6;
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.4);
    color: #8b5cf6;
}

.btn-large {
    padding: 1.75rem 5rem;
    font-size: 1.4rem;
    min-width: 280px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.cosmic-glow {
    box-shadow: var(--cosmic-glow);
}

.purplish-glow {
    box-shadow: var(--purplish-glow);
}

/* Apply purplish glow to all boxes on index and user pages */
.journey-card,
.use-case-card,
.prompt-option-card,
.combined-support-card,
.cosmic-badge,
.stat-cosmic,
.explorer-card,
.library-card,
.pricing-cosmic-card {
    box-shadow: var(--purplish-glow);
}

/* Enhance the journey card glow to match the image */
.journey-card {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4), 0 0 40px rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.5), 0 0 50px rgba(139, 92, 246, 0.3);
}

.cosmic-gradient {
    background: linear-gradient(135deg, var(--cosmic-primary) 0%, var(--cosmic-accent) 50%, var(--cosmic-blue-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cosmic-border);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-cosmic {
    position: relative;
    width: 52px;
    height: 52px;
}

.cosmic-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--cosmic-primary);
    border-radius: 50%;
    animation: cosmic-rotate 10s linear infinite;
}

.cosmic-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    background: radial-gradient(circle, var(--cosmic-accent), var(--cosmic-primary));
    border-radius: 50%;
    box-shadow: 0 0 20px var(--cosmic-primary);
}

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

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cosmic-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--cosmic-gray-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--cosmic-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cosmic-primary), var(--cosmic-accent));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(139, 92, 246, 0.1);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--cosmic-light);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

/* Mobile menu toggle animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

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

/* Mobile Menu Container */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 9, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Mobile Menu Content */
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    height: 100%;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-menu-links a {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--cosmic-gray-light);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.mobile-menu-links a:hover,
.mobile-menu-links a:focus {
    background: rgba(139, 92, 246, 0.1);
    color: var(--cosmic-primary);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(8px);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-bottom: 2rem;
}

.mobile-menu-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.mobile-menu-actions .btn-secondary {
    color: var(--cosmic-primary);
    border-color: var(--cosmic-primary);
    background: transparent;
}

.mobile-menu-actions .btn-secondary:hover {
    background: var(--cosmic-primary);
    color: var(--cosmic-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.mobile-menu-actions .btn-primary {
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-accent));
    color: var(--cosmic-light);
    border-color: transparent;
}

.mobile-menu-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--cosmic-accent), var(--cosmic-secondary));
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Enhanced navbar for mobile */
.navbar {
    position: relative;
    z-index: 1001;
}

/* Android-specific improvements */
@media (max-width: 1024px) {
    /* Improve touch targets for Android */
    .mobile-menu-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .mobile-menu-links a,
    .mobile-menu-actions a {
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
    }

    /* Improve scrolling on Android */
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
    }

    /* Fix for Android viewport issues */
    .mobile-menu {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for newer browsers */
    }

    /* Prevent text selection on mobile menu */
    .mobile-menu-content {
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }

    .mobile-menu-links a,
    .mobile-menu-actions a {
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
    }
}

/* Additional Android Chrome fixes */
@supports (-webkit-touch-callout: none) {
    .mobile-menu-toggle {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
    }
    
    .mobile-menu {
        -webkit-touch-callout: none;
    }
}

/* Hero Section */
.cosmic-hero {
    padding: 6.3rem 0 4rem; /* Reduced from 7.875rem by 20% */
    position: relative;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.3);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 25rem;
}

.cosmic-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* Reduced from 0.75rem to bring logo and text closer */
    background: rgba(15, 23, 42, 0.9);
    border-radius: 50px;
    padding: 0.675rem 1.8rem;
    font-size: 0.99rem;
    margin: 0 auto 1.875rem auto;
    max-width: max-content;
    border: 1px solid rgba(139, 92, 246, 0.4);
    position: relative;
    margin-top: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}



.badge-logo {
    width: 33.75px; /* Increased from 22.5px by 50% */
    height: 33.75px; /* Increased from 22.5px by 50% */
    object-fit: contain;
    border-radius: 4px;
    margin-right: 0.15rem; /* Reduced from 0.35rem to bring logo and text closer */
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
    text-align: center;
}

.hero-title br {
    display: block;
    content: "";
    margin-bottom: 1.2rem; /* Increased gap between the two lines */
}

.hero-title .tagline-blue {
    display: inline-block;
    margin-top: 1.2rem; /* Increased gap between the two lines */
}

.trusted-by {
    margin: 2.25rem 0;
}

.trusted-text {
    display: block;
    color: var(--cosmic-gray-light);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cosmic-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cosmic-logo {
    color: var(--cosmic-gray-light);
    font-weight: 600;
    font-size: 1.25rem;
    opacity: 0.7;
    transition: var(--transition);
}

.cosmic-logo:hover {
    opacity: 1;
    color: var(--cosmic-primary);
}

.hero-visual {
    margin: 3rem 0;
}

.cosmic-dashboard {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(59, 130, 246, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid var(--cosmic-border);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--cosmic-shadow);
}

.dashboard-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    animation: cosmic-pulse 4s ease-in-out infinite;
}

@keyframes cosmic-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.cosmic-interface {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.interface-panel {
    text-align: left;
}

.panel-header {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--cosmic-light);
    display: flex;
    align-items: center;
}

.cosmic-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cosmic-primary);
    font-family: 'Orbitron', monospace;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--cosmic-gray-light);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Journey Section */
.journey-section {
    padding: 6rem 0;
    position: relative;
    background: rgba(15, 23, 42, 0.3);
}

.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.journey-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(59, 130, 246, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--cosmic-border);
    border-radius: 1rem;
    transition: var(--transition);
}

.journey-card:hover {
    transform: translateY(-5px);
    border-color: var(--cosmic-primary);
    box-shadow: var(--cosmic-glow);
}

.journey-icon {
    margin-bottom: 1.5rem;
}

.cosmic-icon {
    font-size: 3rem;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.08);
    border: 2px solid var(--cosmic-primary);
}

.journey-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #3b82f6; /* Blue color */
    font-weight: 600;
}

.journey-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Cosmic Features */
.cosmic-features {
    padding: 6rem 0;
    background: rgba(3, 7, 18, 0.5);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-cosmic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-cosmic.reverse {
    direction: rtl;
}

.feature-cosmic.reverse > * {
    direction: ltr;
}

.feature-visual {
    position: relative;
}

.cosmic-editor, .cosmic-evaluation, .cosmic-deployment, .cosmic-monitoring, .cosmic-ai-tools {
    background: rgba(59, 130, 246, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--cosmic-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--purplish-glow);
}

.editor-header, .eval-header, .deploy-header, .monitor-header, .tools-header {
    padding: 1rem 1.5rem;
    background: rgba(59, 130, 246, 0.02);
    border-bottom: 1px solid var(--cosmic-border);
    font-weight: 600;
    color: var(--cosmic-light);
}

.cosmic-tabs {
    display: flex;
    gap: 1rem;
}

.tab {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab.active {
    background: var(--cosmic-primary);
    color: white;
}

.editor-content {
    padding: 1.5rem;
}

.cosmic-code {
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
}

.code-line {
    padding: 0.25rem 0;
    color: var(--cosmic-gray-light);
}

.code-line.active {
    color: var(--cosmic-accent);
    background: rgba(14, 165, 233, 0.1);
    padding-left: 1rem;
    border-left: 3px solid var(--cosmic-accent);
}

.eval-metrics {
    padding: 1.5rem;
}

.metric-card {
    background: rgba(59, 130, 246, 0.02);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--cosmic-border);
}

.metric-title {
    font-size: 0.875rem;
    color: var(--cosmic-gray-light);
    margin-bottom: 1rem;
}

.cosmic-chart {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 60px;
}

.chart-bar {
    background: linear-gradient(to top, var(--cosmic-primary), var(--cosmic-accent));
    width: 20px;
    border-radius: 2px;
    opacity: 0.8;
    transition: var(--transition);
}

.chart-bar:hover {
    opacity: 1;
}

.deploy-environments {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.env-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--cosmic-border);
    transition: var(--transition);
}

.env-card.active {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--cosmic-primary);
}

.env-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cosmic-primary);
    box-shadow: 0 0 10px var(--cosmic-primary);
}

.trace-visualization {
    padding: 1.5rem;
}

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

.trace-node {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    border: 2px solid var(--cosmic-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.trace-connection {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--cosmic-primary), var(--cosmic-accent));
    margin: 0 0.5rem;
}

.tools-grid {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--cosmic-border);
    background: rgba(59, 130, 246, 0.02);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.tool-card:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--cosmic-primary);
    transform: translateY(-2px);
}

.tool-card.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: var(--cosmic-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.tool-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tool-card span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cosmic-light);
}

.feature-content h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #3b82f6; /* Blue color */
    font-weight: 600;
}

.feature-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.6;
}

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

.feature-content li {
    color: var(--cosmic-gray-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cosmic-primary);
    font-weight: bold;
}

/* Cosmic Stats */
.cosmic-stats {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-cosmic {
    text-align: center;
    padding: 2rem;
    background: rgba(59, 130, 246, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--cosmic-border);
    border-radius: 1rem;
    transition: var(--transition);
}

.stat-cosmic:hover {
    transform: translateY(-5px);
    border-color: var(--cosmic-primary);
    box-shadow: var(--cosmic-glow);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.cosmic-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cosmic-primary);
    font-family: 'Orbitron', monospace;
}

.stat-suffix {
    font-size: 1.5rem;
    color: var(--cosmic-accent);
    margin-left: 0.25rem;
}

.stat-label {
    font-weight: 600;
    color: var(--cosmic-light);
    margin-bottom: 0.5rem;
}

.stat-description {
    font-size: 0.875rem;
    color: var(--cosmic-gray-light);
}

/* Cosmic Explorers */
.cosmic-explorers {
    padding: 6rem 0;
    background: rgba(3, 7, 18, 0.5);
}

.explorers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.explorer-card {
    background: rgba(59, 130, 246, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--cosmic-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
}

.explorer-card:hover {
    transform: translateY(-5px);
    border-color: var(--cosmic-primary);
    box-shadow: var(--cosmic-glow);
}

.quote-cosmic {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--cosmic-light);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.quote-cosmic::before {
    content: '"';
    font-size: 4rem;
    color: var(--cosmic-primary);
    position: absolute;
    left: -1rem;
    top: -1rem;
    opacity: 0.3;
}

.explorer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.explorer-avatar {
    position: relative;
}

.avatar-cosmic {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.explorer-name {
    font-weight: 600;
    color: var(--cosmic-light);
}

.explorer-role {
    font-size: 0.875rem;
    color: var(--cosmic-gray-light);
}

/* Cosmic Library */
.cosmic-library {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.3);
}

.library-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.library-card {
    background: rgba(59, 130, 246, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--cosmic-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
}

.library-card:hover {
    transform: translateY(-3px);
    border-color: var(--cosmic-primary);
    box-shadow: var(--cosmic-glow);
}

.library-card.featured {
    grid-row: span 2;
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--cosmic-primary);
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cosmic-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.library-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.library-card.featured h3 {
    font-size: 1.5rem;
}

.library-card p {
    color: var(--cosmic-gray-light);
    line-height: 1.6;
}

/* Pricing Universe */
.pricing-universe {
    padding: 6rem 0;
    background: rgba(3, 7, 18, 0.5);
}

.pricing-cosmic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-cosmic-card {
    background: rgba(59, 130, 246, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid var(--cosmic-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.pricing-cosmic-card:hover {
    transform: translateY(-5px);
    border-color: var(--cosmic-primary);
    box-shadow: var(--cosmic-glow);
}

.pricing-cosmic-card.featured {
    border-color: var(--cosmic-primary);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.05);
}

.cosmic-badge-featured {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-accent));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--cosmic-shadow);
}

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

.pricing-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price-cosmic {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.25rem;
    color: var(--cosmic-gray-light);
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cosmic-light);
    font-family: 'Orbitron', monospace;
}

.period {
    color: var(--cosmic-gray-light);
    margin-left: 0.25rem;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--cosmic-gray-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Cosmic CTA */
.cosmic-cta {
    padding: 6rem 0;
    position: relative;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(30, 64, 175, 0.05) 100%);
}

.cta-cosmic-content h2 {
    margin-bottom: 1rem;
    font-size: 3rem;
}

.cta-cosmic-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--cosmic-gray-light);
}

.cta-cosmic-content .btn-primary {
    display: block;
    margin: 0 auto;
    max-width: 220px;
}

.cosmic-landscape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
}

.cosmic-hills {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--cosmic-darker), transparent);
    border-radius: 50% 50% 0 0;
}

.cosmic-dock {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 60px;
    background: rgba(59, 130, 246, 0.02);
    border-radius: 1rem;
    border: 1px solid var(--cosmic-border);
}

.dock-reflection {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.01), transparent);
    border-radius: 0 0 1rem 1rem;
    transform: scaleY(-1);
    opacity: 0.3;
}

/* Footer */
.cosmic-footer {
    background: var(--cosmic-darker);
    border-top: 1px solid var(--cosmic-border);
    padding: 4rem 0 2rem;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--cosmic-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--cosmic-gray-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--cosmic-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--cosmic-border);
}

.footer-logo-cosmic {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-logo-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.cosmic-ring-small {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--cosmic-primary);
    border-radius: 50%;
    animation: cosmic-rotate 10s linear infinite;
}

.cosmic-core-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, var(--cosmic-accent), var(--cosmic-primary));
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cosmic-primary);
}

.footer-bottom p {
    color: var(--cosmic-gray-light);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .journey-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-cosmic {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-sections {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .nav-links,
    .nav-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .journey-grid {
        grid-template-columns: 1fr !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .explorers-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cosmic-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cosmic-card.featured {
        transform: none;
    }
    
    .library-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cosmic-logos {
        gap: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cosmic-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .cosmic-number {
        font-size: 2rem;
    }
    
    .journey-card {
        padding: 1.5rem 1rem;
    }
    
    .cosmic-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .footer-sections {
        grid-template-columns: 1fr;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 15, 31, 0.8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #60a5fa);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #60a5fa, #3b82f6);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Selection */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #ffffff;
}

/* Logo Images */
.logo-image {
    width: 50px; /* Increased from 40px by 25% */
    height: 50px; /* Increased from 40px by 25% */
    object-fit: contain;
    border-radius: 8px;
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.badge-logo {
    width: 33.75px; /* Increased from 22.5px by 50% */
    height: 33.75px; /* Increased from 22.5px by 50% */
    object-fit: contain;
    border-radius: 4px;
    margin-right: 0.15rem; /* Reduced from 0.35rem to bring logo and text closer */
}

.panel-logo {
    width: 25px; /* Increased from 20px by 25% */
    height: 25px; /* Increased from 20px by 25% */
    object-fit: contain;
    border-radius: 4px;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.footer-logo-image {
    width: 37.5px; /* Increased from 30px by 25% */
    height: 37.5px; /* Increased from 30px by 25% */
    object-fit: contain;
    border-radius: 6px;
}

/* ===============================================
   PROMPT ENGINE SIDEBAR STYLES
   =============================================== */

/* Sidebar Container */
.prompt-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    pointer-events: none;
    transition: all 0.3s ease;
}

.prompt-sidebar.open {
    pointer-events: all;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prompt-sidebar.open .sidebar-overlay {
    opacity: 1;
}

/* Sidebar Content */
.sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    border-left: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.prompt-sidebar.open .sidebar-content {
    transform: translateX(0);
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.05);
}

.sidebar-header .logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-header .logo-icon {
    width: 50px; /* Increased from 40px by 25% */
    height: 50px; /* Increased from 40px by 25% */
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #06d6a0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

.sidebar-header .logo-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.sidebar-header .logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f7fafc;
    margin: 0;
    font-family: 'Orbitron', monospace;
}

.sidebar-header .subtitle {
    font-size: 0.8rem;
    color: #cbd5e0;
    font-weight: 400;
}

.close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #f7fafc;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Sidebar Input Section */
.sidebar-input-section {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.sidebar-input-section .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sidebar-input-section .input-group {
    margin-bottom: 1.5rem;
}

.sidebar-input-section .input-group:last-child {
    margin-bottom: 0;
}

.sidebar-input-section label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f7fafc;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.sidebar-input-section .label-icon {
    font-size: 1rem;
}

.sidebar-input-section .label-text {
    color: #f7fafc;
}

/* Task Selector */
.sidebar-input-section .task-selector {
    position: relative;
}

.sidebar-input-section .task-selector-btn {
    width: 100%;
    padding: 0.75rem;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #f7fafc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sidebar-input-section .task-selector-btn:hover {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.sidebar-input-section .task-icon {
    margin-right: 0.5rem;
}

.sidebar-input-section .dropdown-arrow {
    transition: transform 0.3s ease;
}

.sidebar-input-section .task-selector-btn.open .dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar-input-section .task-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    margin-top: 0.25rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.sidebar-input-section .task-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sidebar-input-section .task-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    color: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-input-section .task-item:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #f7fafc;
}

.sidebar-input-section .task-item.active {
    background: rgba(139, 92, 246, 0.3);
    color: #f7fafc;
}

.sidebar-input-section .task-item-icon {
    margin-right: 0.75rem;
}

/* Input Wrapper */
.sidebar-input-section .input-wrapper {
    position: relative;
}

.sidebar-input-section textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #f7fafc;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
}

.sidebar-input-section textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
}

.sidebar-input-section textarea::placeholder {
    color: #718096;
}

.sidebar-input-section .input-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #8b5cf6, #06d6a0);
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.sidebar-input-section textarea:focus + .input-glow {
    opacity: 0.3;
}

/* Buttons */
.sidebar-input-section .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sidebar-input-section .primary-btn {
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: #ffffff;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.3);
    border: 2px solid rgba(59, 130, 246, 0.6);
    transition: all 0.3s ease;
}

.sidebar-input-section .primary-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4), 0 0 0 2px rgba(139, 92, 246, 0.5);
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.sidebar-input-section .primary-btn:focus-visible:not(:disabled) {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3), 0 4px 20px rgba(59, 130, 246, 0.2), 0 0 0 2px rgba(139, 92, 246, 0.5);
    border-color: #8b5cf6;
    outline: none;
    color: #8b5cf6;
}

.sidebar-input-section .primary-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.4);
    color: #8b5cf6;
}

.sidebar-input-section .secondary-btn {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.sidebar-input-section .secondary-btn:hover {
    background: rgba(59, 130, 246, 0.3);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3), 0 0 0 2px rgba(139, 92, 246, 0.5);
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.sidebar-input-section .secondary-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3), 0 4px 20px rgba(59, 130, 246, 0.1), 0 0 0 2px rgba(139, 92, 246, 0.5);
    border-color: #8b5cf6;
    outline: none;
    color: #8b5cf6;
}

.sidebar-input-section .secondary-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.2), 0 0 0 1px rgba(139, 92, 246, 0.4);
    color: #8b5cf6;
}

.sidebar-input-section .btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #8b5cf6, #06d6a0);
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.sidebar-input-section .primary-btn:hover .btn-glow {
    opacity: 0.6;
}

/* Divider */
.sidebar-content .divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: 0 1.5rem;
}

/* Output Section */
.sidebar-output-group {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar-output-group .output-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.sidebar-output-group .output-header-left {
    display: flex;
    justify-content: flex-start;
}

.sidebar-output-group .output-header-center {
    display: flex;
    justify-content: center;
}

.sidebar-output-group .output-header-center label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #f7fafc;
    font-weight: 600;
    font-size: 1rem;
}

.sidebar-output-group .output-header-right {
    display: flex;
    justify-content: flex-end;
}

.sidebar-output-group .output-wrapper {
    flex: 1;
    position: relative;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-output-group .output-area {
    width: 100%;
    height: 100%;
    min-height: 200px;
    padding: 1rem;
    background: transparent;
    border: none;
    color: #f7fafc;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    resize: none;
    overflow-y: auto;
    white-space: pre-wrap;
}

.sidebar-output-group .output-area:focus {
    outline: none;
}

.sidebar-output-group .output-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #8b5cf6, #06d6a0);
    opacity: 0;
    filter: blur(20px);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.sidebar-output-group .output-area:not(:empty) ~ .output-glow {
    opacity: 0.1;
}

/* Loading Progress */
.sidebar-output-group .loading-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.sidebar-output-group .loading-progress.show {
    opacity: 1;
    visibility: visible;
}

.sidebar-output-group .progress-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-output-group .progress-circle {
    position: relative;
    width: 80px;
    height: 80px;
}

.sidebar-output-group .progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sidebar-output-group .progress-ring-bg {
    fill: none;
    stroke: rgba(139, 92, 246, 0.2);
    stroke-width: 3;
}

.sidebar-output-group .progress-ring-fill {
    fill: none;
    stroke: #8b5cf6;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 0 251.2;
    transition: stroke-dasharray 0.3s ease;
}

.sidebar-output-group .progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.9rem;
    font-weight: 600;
    color: #f7fafc;
}

.sidebar-output-group .progress-label {
    font-size: 0.9rem;
    color: #cbd5e0;
    font-weight: 500;
}

/* Notifications */
.sidebar-content .copy-notification {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 197, 94, 0.9);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar-content .copy-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sidebar-content .error-popup {
    position: absolute;
    bottom: 2rem;
    left: 1rem;
    right: 1rem;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar-content .error-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sidebar-content .error-popup-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-content .error-popup-content::before {
    content: "⚠️";
    font-size: 1.2rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.modal-content {
    background: #1a1a2e;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.modal h2 {
    color: #f7fafc;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.modal p {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #cbd5e0;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.modal-input-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-input-group input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(15, 15, 35, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #f7fafc;
    font-family: 'Space Grotesk', sans-serif;
}

.modal-input-group input:focus {
    outline: none;
    border-color: #8b5cf6;
}

.modal-input-group label {
    color: #cbd5e0;
    font-size: 0.9rem;
}

/* Success Animation */
.output-area.success {
    animation: successFlash 0.5s ease;
}

@keyframes successFlash {
    0% { background: rgba(34, 197, 94, 0.2); }
    100% { background: transparent; }
}

/* Development Popup Notification */
.dev-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    z-index: 20001;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.dev-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.dev-popup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.dev-popup h3 {
    color: #f7fafc;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.dev-popup p {
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.dev-popup .btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.dev-popup .btn:hover {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.dev-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 20000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dev-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Loading Animation */
.btn.loading .btn-icon {
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar-content {
        width: 100%;
    }
    
    .sidebar-input-section .input-row {
        grid-template-columns: 1fr;
    }
    
    .sidebar-output-group .output-header {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .sidebar-output-group .output-header-left,
    .sidebar-output-group .output-header-right {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sidebar-header {
        padding: 1rem;
    }
    
    .sidebar-input-section,
    .sidebar-output-group {
        padding: 1rem;
    }
    
    .sidebar-header .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .sidebar-header .subtitle {
        font-size: 0.7rem;
    }
}

/* Signup Form Styles */
.signup-container-centered {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - 70px);
    padding: 1rem 1rem 4rem 1rem;
    margin-top: 40px;
    overflow: auto;
    padding-top: 1.5rem;
}

.signup-form-cosmic {
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid rgba(59, 130, 246, 0.6);
    border-radius: 20px;
    padding: 1.25rem 2rem 2rem 2rem;
    width: 100%;
    max-width: 900px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.signup-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.signup-header h2 {
    color: #f7fafc;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-header p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.cosmic-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.form-row:last-of-type {
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cosmic-label {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cosmic-input {
    width: 100%;
    padding: 0.75rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: #f7fafc;
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cosmic-input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.cosmic-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

/* Enable text selection for input fields */
.cosmic-input {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

.cosmic-input::selection {
    background: rgba(139, 92, 246, 0.4);
    color: #ffffff;
}

/* Password Input Styles */
.password-input-container {
    position: relative;
    width: 100%;
}

.password-input-container .cosmic-input {
    padding-right: 2.5rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #8b5cf6;
}

.toggle-password:focus {
    outline: none;
    color: #8b5cf6;
}

.eye-icon, .eye-icon-off {
    width: 1.25rem;
    height: 1.25rem;
    transition: all 0.3s ease;
}

.eye-icon-off {
    display: none;
}

.toggle-password[aria-pressed="true"] .eye-icon {
    display: none;
}

.toggle-password[aria-pressed="true"] .eye-icon-off {
    display: block;
}

.form-footer {
    margin-top: 1rem;
}

.checkbox-group {
    margin-bottom: 0.75rem;
}

.cosmic-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e0;
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
}

.cosmic-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b5cf6;
    cursor: pointer;
}

.cosmic-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cosmic-link:hover {
    color: #a78bfa;
    text-decoration: underline;
}

.already-registered {
    text-align: center;
    margin-top: 0.75rem;
    color: #94a3b8;
    font-size: 0.9rem;
}

.btn-large {
    width: auto;
    min-width: 200px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 auto;
    display: block;
}

/* Responsive adjustments for signup form */
@media (max-width: 768px) {
    .signup-form-cosmic {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
        max-width: 90%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .signup-header h2 {
        font-size: 1.5rem;
    }
    
    .btn-large {
        min-width: 180px;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .signup-form-cosmic {
        padding: 1rem 0.75rem;
        max-width: 95%;
    }
    
    .signup-header h2 {
        font-size: 1.25rem;
    }
    
    .cosmic-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        min-width: 160px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Terms and Privacy Policy Styles */
.terms-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid rgba(59, 130, 246, 0.6);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.2), 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.terms-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.terms-header h1 {
    color: #f7fafc;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

.terms-content {
    color: #e2e8f0;
    line-height: 1.6;
}

.terms-section {
    margin-bottom: 2.5rem;
}

.terms-section h2 {
    color: #f7fafc;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-section h3 {
    color: #f7fafc;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
}

.terms-section p {
    margin-bottom: 1rem;
    color: #cbd5e0;
}

.terms-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.terms-section li {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
}

.terms-section li::before {
    content: "•";
    color: #8b5cf6;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.contact-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for terms pages */
@media (max-width: 768px) {
    .terms-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .terms-section h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .terms-container {
        padding: 1.5rem 1rem;
    }
    
    .terms-header h1 {
        font-size: 1.75rem;
    }
    
    .terms-section h2 {
        font-size: 1.2rem;
    }
} 

@media (max-width: 768px) {
  .use-cases-grid {
    grid-template-columns: 1fr !important;
    }
} 

#features .section-header {
    margin-bottom: 3.5rem;
} 

/* Powered by text styling */
.powered-by-text {
    color: var(--cosmic-light);
    font-weight: 500;
}

/* Tagline styling */
.tagline-blue {
    color: #3b82f6;
    font-weight: inherit;
    font-size: inherit;
} 

@media (max-width: 600px) {
  .cosmic-badge {
    margin-top: -7rem !important;
    margin-bottom: 2rem !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    max-width: 95vw;
    box-shadow: none !important;
  }
  .badge-logo {
    margin-right: 0.2rem;
    width: 28px;
    height: 28px;
  }
  .powered-by-text {
    text-align: center;
    font-size: 0.98rem;
    width: auto;
    display: block;
  }
  .hero-content {
    margin-top: 0 !important;
    /* padding-top: 0 !important; - REMOVED to allow padding-top to work */
    transform: none !important;
  }
  .footer-bottom p {
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        display: block !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .footer-logo-cosmic {
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    .footer-logo-cosmic {
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    .footer-bottom p {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    line-height: 1.1;
    max-width: 95vw;
    margin-left: auto;
    margin-right: auto;
    }
} 

@media (max-width: 600px) {
  .hero-container {
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .hero-content {
    width: 92% !important; /* Reduced width to ensure content doesn't touch edges */
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .hero-title {
    max-width: 100% !important; /* Ensure title doesn't overflow */
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }
  .hero-subtitle {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}