/* Lyrii - Modern Social Writing App CSS */

:root {
    --primary-color: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --secondary-color: #6366f1;
    --secondary-dark: #4f46e5;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --bg-primary: #0f0118;
    --bg-secondary: #1a0d2e;
    --bg-tertiary: #2d1b4e;
    --bg-hover: #3d2563;

    --text-primary: #f0e7ff;
    --text-secondary: #c4b5fd;
    --text-tertiary: #a78bfa;

    --border-color: #3d2563;
    --border-light: #4f3a7f;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.7);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

/* Ensure all modals are hidden by default - highest priority */
.modal {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* App Layout */
#app {
    width: 100%;
    height: 100%;
}

.main-app {
    display: flex;
    height: 100%;
}

.main-app.hidden {
    display: none;
}

/* Sidebar Navigation */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 30px;
}

.logo-mini {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(139, 92, 246, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.nav-item:hover::before {
    left: 0;
}

.nav-item:hover {
    color: var(--primary-light);
}

.nav-item.active {
    color: var(--primary-light);
    background: rgba(139, 92, 246, 0.2);
}

.nav-icon {
    font-size: 20px;
}

.nav-badge {
    margin-left: auto;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: badgePulse 2s infinite;
}

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

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
    }
}

.sidebar-footer {
    margin-top: auto;
}

/* Main Content Area */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Right Sidebar */
.right-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-left: 1px solid var(--border-color);
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.notifications-panel {
    flex: 1;
}

.notifications-panel h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-size: 13px;
    color: var(--text-secondary);
    animation: slideInRight 0.3s ease-out;
}

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

/* Pages */
.page {
    display: none;
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.page.active {
    display: flex;
    flex-direction: column;
}

/* Feed Page */
#feedPage {
    flex-direction: column;
}

.feed-header {
    margin-bottom: 30px;
}

.feed-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feed-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-light);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.feed-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    overflow-y: auto;
}

.feed-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Post Card */
.post-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    cursor: pointer;
    animation: fadeInUp 0.4s ease-out;
}

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

.post-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-hover) 100%);
    box-shadow: var(--shadow-lg);
}

.post-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.author-meta {
    flex: 1;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.post-date {
    font-size: 12px;
    color: var(--text-tertiary);
}

.post-type-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 11px;
    color: var(--primary-light);
}

.post-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.post-card-content {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    max-height: 200px;
    overflow-y: auto;
}

.post-card-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.post-card-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
}

.post-stats {
    display: flex;
    gap: 16px;
    color: var(--text-tertiary);
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Compose Page */
.compose-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.compose-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
}

.compose-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

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

.compose-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.compose-subtitle {
    color: var(--text-secondary);
}

.compose-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.compose-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.compose-section label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-hover);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.editor {
    min-height: 300px;
    resize: vertical;
    font-family: 'Courier New', monospace;
}

.editor-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.editor-stats {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-tertiary);
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 6px;
}

.image-upload-area {
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(139, 92, 246, 0.05);
}

.image-upload-area:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-light);
}

.upload-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.upload-placeholder p {
    color: var(--text-secondary);
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.image-preview-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.image-preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-description {
    padding: 8px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    font-size: 12px;
}

.image-description input {
    width: 100%;
    padding: 4px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 12px;
}

.compose-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Buttons */
/* Modern Premium Button Styles */
.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35), 0 0 1px rgba(139, 92, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.45), 0 0 1px rgba(139, 92, 246, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-icon {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 20px;
    padding: 8px;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--primary-light);
}

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

.modal.active {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal.hidden {
    display: none !important;
}

.auth-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 1, 24, 0.9), rgba(45, 27, 78, 0.9));
}

.auth-card {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    font-size: 40px;
}

.logo-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary-color);
}

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

.auth-form.active {
    display: flex;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-hover);
}

.form-group select {
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition);
    cursor: pointer;
    font-size: 14px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-hover);
}

.form-group select option {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Modal Content */
.modal-content {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-color);
}

/* Modern Premium Post Details Modal */
.post-detail-modal {
    width: 100%;
    max-width: 750px;
    padding: 0;
    background: linear-gradient(135deg, var(--bg-primary), rgba(139, 92, 246, 0.05));
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15), 0 0 1px rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.post-detail {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 48px;
}

/* Author section with premium styling */
.post-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 8px;
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.post-author-info img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid rgba(139, 92, 246, 0.2);
    object-fit: cover;
    transition: all 0.3s ease;
}

.post-author-info:hover img {
    border-color: rgba(139, 92, 246, 0.4);
    transform: scale(1.05);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Title styling */
.post-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px 0;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* Content text styling */
.post-text {
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 16px;
    margin-bottom: 24px;
}

/* Images with premium styling */
.post-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 28px 0;
    padding: 24px 0;
    border-top: 1px solid rgba(139, 92, 246, 0.08);
    border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.post-images img {
    width: 100%;
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(139, 92, 246, 0.1);
    cursor: pointer;
}

.post-images img:hover {
    transform: scale(1.03) translateY(-2px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
}

/* Stats section - Premium card style */
.post-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    margin: 24px 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.02));
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    text-align: center;
}

/* Post Actions - Rating & Comments */
.post-actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid rgba(139, 92, 246, 0.1);
}

.rating-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rating-section label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.star-rating {
    display: flex;
    gap: 12px;
    align-items: center;
}

.star {
    font-size: 32px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: grayscale(100%) opacity(0.4);
    transform-origin: center;
}

.star:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.3) rotate(12deg);
}

.star.hover,
.star.active {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.2);
}

.star svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.2));
}

.star.active svg {
    fill: #FFD700;
    stroke: #FFA500;
}

/* Comment textarea */
#ratingComment {
    min-height: 100px;
    padding: 16px;
    background: rgba(139, 92, 246, 0.03);
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    resize: vertical;
    transition: all 0.3s ease;
}

#ratingComment:hover {
    border-color: rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.06);
}

#ratingComment:focus {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.collaborators-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.collaborator-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.collaborator-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

/* Explore Page */
.explore-header {
    margin-bottom: 30px;
}

.search-box {
    position: relative;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-hover);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.search-results.hidden {
    display: none;
}

/* Add this to styles.css */
.users-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    max-width: 100%;
}

.user-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.user-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.3);
    flex-shrink: 0;
    grid-row: 1 / 3;
}

.user-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    grid-column: 2;
}

.user-card-bio {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    grid-column: 2;
}

.user-card > div:nth-child(2) {
    display: contents;
}

.user-card-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    grid-column: 3;
    grid-row: 1 / 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.explore-section {
    width: 100%;
    overflow: hidden;
}

.explore-section h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.posts-grid,
.writers-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.4) transparent;
}

.posts-grid::-webkit-scrollbar,
.writers-grid::-webkit-scrollbar {
    height: 6px;
}

.posts-grid::-webkit-scrollbar-track,
.writers-grid::-webkit-scrollbar-track {
    background: transparent;
}

.posts-grid::-webkit-scrollbar-thumb,
.writers-grid::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 3px;
}

.posts-grid::-webkit-scrollbar-thumb:hover,
.writers-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}

/* Writer Card Styling */
.writer-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    min-width: 280px;
    flex-shrink: 0;
}

.writer-card:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.writer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, #a78bfa, #ec4899);
}

.writer-info {
    flex: 1;
    width: 100%;
}

.writer-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 8px 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.writer-bio {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.writer-stats {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: var(--text-tertiary);
    padding-top: 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 12px;
}

.writer-stats span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.follow-writer-btn {
    width: 100%;
}

/* Messages Page */
.messages-container {
    display: flex;
    gap: 20px;
    flex: 1;
    height: 100%;
}

.conversations-panel {
    width: 280px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.conversations-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.conversations-header h3 {
    margin: 0;
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.conversation-item:hover {
    background: var(--bg-tertiary);
}

.conversation-item.active {
    background: rgba(139, 92, 246, 0.2);
    border-left: 3px solid var(--primary-color);
}

.conversation-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.conversation-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.conversation-info {
    flex: 1;
}

.conversation-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.conversation-time {
    font-size: 12px;
    color: var(--text-tertiary);
}

.conversation-badge {
    position: absolute;
    top: 12px;
    right: 10px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.chat-panel {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.no-chat-selected {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.03));
}

.chat-header.hidden {
    display: none;
}

.chat-user-pic {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.chat-user-info {
    flex: 1;
}

.chat-user-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.chat-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    animation: fadeInUp 0.3s ease-out;
}

.chat-message.own {
    align-items: flex-end;
}

.message-sender {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0 4px;
}

.message-sender .verified-tick {
    color: #10b981;
    margin-left: 4px;
    font-weight: bold;
}

.message-bubble {
    max-width: 60%;
    padding: 12px 16px;
    border-radius: 8px;
    word-wrap: break-word;
}

.chat-message:not(.own) .message-bubble {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.chat-message.own .message-bubble {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.chat-input {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.message-form {
    display: flex;
    gap: 10px;
}

#messageText {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
}

.emoji-btn {
    padding: 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-btn:hover {
    color: var(--primary-color);
}

.emoji-picker {
    position: absolute;
    bottom: 60px;
    left: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    width: 280px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.emoji-picker.hidden {
    display: none;
}

.emoji-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    background: var(--bg-tertiary);
    border: 1px solid transparent;
}

.emoji-item:hover {
    background: var(--bg-hover);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Profile Page - New Design */
.profile-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header-new {
    margin-bottom: 40px;
    position: relative;
}

.profile-header-bg {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8) 0%, rgba(236, 72, 153, 0.6) 100%);
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.profile-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 16px 16px;
    margin-top: 180px;
}

.profile-pic-container {
    position: relative;
    flex-shrink: 0;
}

.profile-pic-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid var(--bg-secondary);
    object-fit: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-top: -120px;
}

.upload-photo-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.upload-photo-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.6);
}

.profile-header-info {
    flex: 1;
    padding-bottom: 20px;
}

.profile-username {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.profile-bio {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.profile-stats-row {
    display: flex;
    gap: 32px;
    margin-bottom: 24px;
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
}

.stat-name {
    font-size: 13px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.profile-content-new {
    padding: 40px 20px;
}

.profile-section-new {
    margin-bottom: 60px;
}

.section-header {
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 16px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.section-header p {
    font-size: 14px;
    color: var(--text-secondary);
}

.profile-post-card {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.profile-post-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.2);
}

.profile-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.profile-post-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.profile-post-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(139, 92, 246, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-post-preview {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 12px 0;
    flex: 1;
}

.profile-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-tertiary);
}

.profile-post-date {
    flex-shrink: 0;
}

.profile-post-stats {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.posts-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 20px;
}

.badges-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.badge-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.08));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.badge-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
}

.badge-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.badge-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 13px;
}

.badge-level {
    font-size: 11px;
    color: var(--text-tertiary);
}

.memory-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.memory-item:hover {
    border-color: var(--primary-color);
}

.memory-item.pinned {
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
}

.memory-pin {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
}

.memory-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.memory-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.memory-type {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 8px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    font-size: 11px;
    color: var(--primary-light);
}

/* Editor Modal */
.editor-modal {
    width: 95%;
    height: 95vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.editor-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.active-users {
    display: flex;
    gap: 8px;
    align-items: center;
}

.active-user {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.editor-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.shared-editor {
    flex: 1;
    padding: 20px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: none;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: none;
}

.shared-editor:focus {
    outline: none;
}

.editor-sidebar {
    width: 280px;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-color);
    padding: 20px;
    overflow-y: auto;
}

.contributions-history {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contributions-history h4 {
    margin-bottom: 8px;
}

.contribution-item {
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
}

.contribution-user {
    font-weight: 600;
    color: var(--text-primary);
}

.contribution-change {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 16px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 2000;
    animation: slideInUp 0.3s ease-out;
}

.toast.show {
    display: block;
}

/* Loading */
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.loader.hidden {
    display: none;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Edit Profile Modal */
.edit-profile-modal {
    width: 100%;
    max-width: 500px;
    padding: 30px;
}

.edit-profile-modal h2 {
    margin-bottom: 20px;
}

.edit-profile-modal form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Add Memory Modal */
.add-memory-modal {
    width: 100%;
    max-width: 500px;
    padding: 30px;
}

.add-memory-modal h2 {
    margin-bottom: 20px;
}

.add-memory-modal form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Landing Page Styles */
.landing-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    z-index: 10;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease-out;
    pointer-events: auto;
    visibility: visible;
}

.landing-page.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -100 !important;
    position: fixed !important;
    top: -9999px !important;
}

/* Landing Wrapper - Two Column Layout */
.landing-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
}

.landing-content {
    position: relative;
    flex: 1;
    text-align: center;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    animation: fadeInLeft 0.8s ease-out;
}

/* Auth Section on Landing Page */
.landing-auth-section {
    flex: 0 0 420px;
    background: rgba(26, 13, 46, 0.8);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--border-color);
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    animation: fadeInRight 0.8s ease-out;
}

.auth-card-landing {
    width: 100%;
    max-width: 350px;
}

.auth-card-landing .auth-header {
    margin-bottom: 30px;
    text-align: center;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.landing-header {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo-icon-large {
    font-size: 80px;
    animation: floatBounce 3s ease-in-out infinite;
    display: inline-block;
}

.landing-title {
    font-size: 64px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: -1px;
}

.landing-tagline {
    font-size: 24px;
    color: var(--text-secondary);
    margin-top: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.feature-card {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    transition: var(--transition);
    animation: slideUpCard 0.6s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.3s ease-out;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.landing-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.5s both;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.landing-footer {
    color: var(--text-tertiary);
    font-size: 14px;
}

.landing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-spark {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.spark-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.spark-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite 1s;
}

.spark-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 10%;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite 2s;
}

.spark-4 {
    width: 130px;
    height: 130px;
    bottom: 10%;
    right: 8%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    animation: float 9s ease-in-out infinite 1.5s;
}

/* Keyframe Animations */
@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.6;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Smooth button transitions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Modal Animations */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 1001;
    animation: fadeIn 0.3s ease-out;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease-out;
}

/* ============================================
   NEW MODERN LANDING PAGE STYLES
   ============================================ */

.landing-page {
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: var(--bg-primary);
}

.landing-page.hidden {
    display: none;
}

/* Animated Background */
.landing-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
                var(--bg-primary);
    overflow: hidden;
}

/* Floating sparks animation */
.floating-spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.6);
    border-radius: 50%;
    animation: float-spark linear infinite;
}

.spark-1 { top: 20%; left: 10%; animation-duration: 6s; animation-delay: 0s; }
.spark-2 { top: 60%; left: 20%; animation-duration: 8s; animation-delay: 1s; }
.spark-3 { top: 40%; left: 80%; animation-duration: 7s; animation-delay: 2s; }
.spark-4 { top: 80%; left: 90%; animation-duration: 9s; animation-delay: 0.5s; }
.spark-5 { top: 30%; left: 50%; animation-duration: 7s; animation-delay: 1.5s; }
.spark-6 { top: 70%; left: 60%; animation-duration: 8s; animation-delay: 0.8s; }

@keyframes float-spark {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.6; }
    25% { transform: translateY(-20px) translateX(10px); opacity: 0.8; }
    50% { transform: translateY(-40px) translateX(-10px); opacity: 0.4; }
    75% { transform: translateY(-20px) translateX(20px); opacity: 0.7; }
}

/* Gradient blobs */
.gradient-blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: blob-move 8s infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #8b5cf6, #ec4899);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    top: 60%;
    right: 5%;
    animation-delay: 2s;
}

.blob-3 {
    width: 280px;
    height: 280px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes blob-move {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(90deg); }
    50% { transform: translate(-10px, 20px) rotate(180deg); }
    75% { transform: translate(-30px, -10px) rotate(270deg); }
}

/* Navigation Header */
.landing-nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(15, 1, 24, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    z-index: 100;
    animation: slideDown 0.5s ease-out;
}

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

.nav-container {
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    font-size: 28px;
    animation: pulse-icon 2s ease-in-out infinite;
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #8b5cf6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s linear infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-btn-login {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.nav-btn-login:hover {
    border-color: var(--primary-color);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.nav-btn-signup {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
}

.nav-btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* Landing Wrapper */
.landing-wrapper {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Decorations */
.bg-decoration {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.bg-deco-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
    top: -100px;
    left: -100px;
    animation: float-deco 8s ease-in-out infinite;
}

.bg-deco-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.15));
    bottom: 100px;
    right: -50px;
    animation: float-deco 10s ease-in-out infinite 2s;
}

.bg-deco-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(99, 102, 241, 0.15));
    top: 50%;
    right: 5%;
    animation: float-deco 12s ease-in-out infinite 4s;
}

@keyframes float-deco {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-30px) translateX(20px);
    }
    50% {
        transform: translateY(-60px) translateX(-20px);
    }
    75% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* New Landing Page - Fresh Design */
.landing-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 100vh;
    padding: 120px 60px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Hero Content - Left Side */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: fadeInLeft 0.8s ease-out;
}

.hero-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -1px;
    animation: slideInUp 0.8s ease-out 0.1s backwards;
}

.hero-tagline {
    font-size: 18px;
    color: var(--primary-light);
    font-weight: 600;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    margin-top: 8px;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-bottom-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.info-icon {
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 12px 20px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    animation: slideInUp 0.6s ease-out;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Main Title with Half-Text Purple Animation */
.hero-title-main {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
    max-width: 550px;
    animation: slideInUp 0.8s ease-out 0.1s backwards;
}

.title-gradient {
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--text-primary) 50%, var(--primary-color) 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorShift 3s ease-in-out infinite;
}

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

/* Visual Divider */
.hero-visual-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa, #ec4899);
    margin-bottom: 20px;
    border-radius: 2px;
    animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

/* Short Description */
.hero-description-short {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Feature Pills - New Design */
.hero-features-minimal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.feature-pill {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-pill:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(236, 72, 153, 0.12));
    border-color: var(--primary-color);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
}

.pill-content {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pill-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    animation: float 3s ease-in-out infinite;
}

.pill-text h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.pill-text p {
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.5;
}

/* Section Divider */
.hero-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: 32px 0;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Bottom Content */
.hero-bottom-content {
    animation: fadeInUp 0.8s ease-out 0.45s backwards;
}

.hero-bottom-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.hero-bottom-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
    max-width: 550px;
}

/* Description */
.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* Minimal Features - Icon + Text */
.hero-minimal-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out 0.35s backwards;
}

.mini-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.06));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mini-feature:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.1));
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.mini-icon {
    font-size: 28px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.mini-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.mini-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.cta-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-primary {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.5);
}

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

.cta-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
    border: 1px solid var(--primary-color);
}

.cta-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-4px);
}

.large-btn {
    padding: 18px 40px;
    font-size: 17px;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.cta-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Stats Section */
.hero-stats {
    display: flex;
    gap: 60px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    margin-bottom: 32px;
    padding: 24px 0;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.stat-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 600;
}

/* Secondary CTA */
.hero-cta-secondary {
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.hero-cta-secondary p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.link-primary {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.link-primary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    transition: width 0.3s ease;
}

.link-primary:hover::after {
    width: 100%;
}

.link-primary:hover {
    color: #ec4899;
}

/* Hero Visual - Right Side */
.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeInRight 0.8s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    position: relative;
    width: 280px;
    height: 320px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: floatUp 0.8s ease-out 0.2s backwards;
    z-index: 10;
}

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

.card-blur {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.1), transparent);
    border-radius: 24px;
}

.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-emoji {
    font-size: 64px;
    animation: bounce 2s ease-in-out infinite;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Floating Items */
.visual-floating {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-item {
    position: absolute;
    font-size: 48px;
    animation: floatAround 6s ease-in-out infinite;
}

.float-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 80px;
    left: 20px;
    animation-delay: 1.5s;
}

.float-3 {
    bottom: 20px;
    right: 40px;
    animation-delay: 3s;
}

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

/* Gradient Blobs */
.visual-gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: blobMove 8s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    top: 200px;
    right: -80px;
    animation-delay: 2s;
}

.blob-3 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #ec4899, #a78bfa);
    bottom: -100px;
    left: 50%;
    animation-delay: 4s;
}

@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, -30px) scale(1.1);
    }
}

/* Visual Showcase Container */
.visual-showcase {
    position: relative;
    width: 100%;
    height: 500px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Showcase Elements - Large animated shapes */
.showcase-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float-showcase 10s ease-in-out infinite;
    filter: blur(60px);
}

.showcase-element-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.showcase-element-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    top: 150px;
    left: -80px;
    animation-delay: 2s;
}

.showcase-element-3 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #ec4899, #a78bfa);
    bottom: -100px;
    right: 50px;
    animation-delay: 4s;
}

.showcase-element-4 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    bottom: 100px;
    left: 0;
    animation-delay: 3s;
}

@keyframes float-showcase {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-40px) scale(1.05); }
}

/* Showcase Card - Stats highlight */
.showcase-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: auto;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    animation: fadeInScale 0.8s ease-out 0.3s backwards;
    z-index: 10;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.card-stat {
    animation: fadeInUp 0.8s ease-out backwards;
}

.card-stat:first-child {
    animation-delay: 0.4s;
}

.card-stat:last-child {
    animation-delay: 0.5s;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 600;
}

.card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
    margin: 16px 0;
}

/* Right Text Content */
.right-text-content {
    width: 100%;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out 0.55s backwards;
}

.right-text-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.right-text-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0 0 20px 0;
}

/* Content Highlights - Dot list */
.content-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Accent Shapes */
.accent-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse-accent 4s ease-in-out infinite;
}

.accent-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    top: 30%;
    left: 10%;
    animation-delay: 0s;
}

.accent-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ec4899, #6366f1);
    bottom: 20%;
    right: 15%;
    animation-delay: 1s;
}

.accent-3 {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    top: 70%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes pulse-accent {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Visual Element Container */
.visual-element-container {
    position: relative;
    width: 100%;
    height: 280px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
    margin-bottom: 40px;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float-element 8s ease-in-out infinite;
}

.element-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.element-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    top: 100px;
    left: -30px;
    animation-delay: 1s;
}

.element-3 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #ec4899, #a78bfa);
    bottom: -60px;
    right: 20px;
    animation-delay: 2s;
}

.element-4 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    bottom: 40px;
    left: 30px;
    animation-delay: 1.5s;
}

@keyframes float-element {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

/* Bottom Right CTA Section */
.hero-cta-bottom-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
    padding-bottom: 20px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Animated Shapes */
.animated-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse-shape 4s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    bottom: -80px;
    left: -80px;
    animation-delay: 2s;
}

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

/* Enhanced glow elements */
.glow-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: glow-pulse 4s ease-in-out infinite;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    top: 10%;
    left: 20%;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    bottom: 10%;
    right: 15%;
    animation-delay: 2s;
}

@keyframes glow-pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.3; }
}

/* Animated Gradient Background */
.animated-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    animation: gradient-move 8s linear infinite;
    z-index: 0;
}

.gradient-2 {
    animation-delay: 4s;
}

@keyframes gradient-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-tertiary);
    font-size: 14px;
    z-index: 50;
    animation: fadeInUp 1s ease-out 1s backwards;
}

.scroll-arrow {
    font-size: 24px;
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* SVG Logo Styling */
.logo-svg {
    width: 40px;
    height: 40px;
    animation: logo-float 3s ease-in-out infinite;
}

.logo-main-shape {
    animation: shape-glow 2s ease-in-out infinite;
}

.logo-dot {
    animation: dot-orbit 6s linear infinite;
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes shape-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes dot-orbit {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    min-height: 100vh;
    padding: 120px 80px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-header {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 12px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-light);
    animation: fadeInUp 0.8s ease-out backwards;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;
    margin: 0;
    font-weight: 800;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s linear infinite;
    display: inline;
}

.hero-tagline {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    max-width: 520px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 36px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
}

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

.cta-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.3);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out;
}

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

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease-out;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 0;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.highlight-card:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
    transform: translateY(-16px);
    box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2);
}

.highlight-card:hover::before {
    left: 100%;
}

.card-content {
    padding: 60px 50px;
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 100%;
}

.card-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
    animation: float-card-icon 3s ease-in-out infinite;
}

@keyframes float-card-icon {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.card-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(139, 92, 246, 0.25);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: block;
}

.highlight-card p {
    font-size: 20px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0 0 32px 0;
    font-weight: 500;
}

.card-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
}


/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    padding: 40px 0;
    color: var(--text-secondary);
    font-size: 14px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
    position: relative;
    z-index: 10;
}

.scroll-arrow {
    font-size: 24px;
    animation: bounce 2s ease-in-out infinite;
    display: block;
    margin-top: 12px;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

/* Content Section */
.content-section {
    padding: 100px 80px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.content-block {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out backwards;
}

.content-block:nth-child(1) { animation-delay: 0.1s; }
.content-block:nth-child(2) { animation-delay: 0.2s; }
.content-block:nth-child(3) { animation-delay: 0.3s; }

.content-block h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.content-block p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 800px;
}

.content-block p:last-of-type {
    margin-bottom: 0;
}

.cta-large {
    padding: 16px 48px !important;
    font-size: 16px !important;
    margin-top: 24px;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}


/* Auth Modal */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 999;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.auth-modal-overlay.active {
    display: block;
}

.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    z-index: 1000;
    display: none;
    animation: scaleIn 0.3s ease-out;
}

.auth-modal.active {
    display: block;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-primary);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: rotate(90deg);
}

.auth-modal-content {
    animation: fadeInUp 0.3s ease-out;
}

.auth-modal-header h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-modal-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.auth-modal-form {
    margin-bottom: 20px;
}

.auth-modal-form .form-group {
    margin-bottom: 20px;
}

.auth-modal-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-modal-form input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.auth-modal-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
}

.auth-modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-switch {
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.auth-switch:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Landing Page */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 100px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 56px;
    }

    .highlight-card {
        min-height: 420px;
    }

    .card-content {
        padding: 50px 40px;
    }

    .about-section,
    .final-cta-section {
        padding: 80px 60px;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .about-section h2,
    .final-cta-section h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-buttons {
        gap: 8px;
    }

    .nav-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .bg-deco-1, .bg-deco-2, .bg-deco-3 {
        opacity: 0.2;
        filter: blur(60px);
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 30px;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.2;
    }

    .header-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .hero-tagline {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
    }

    .highlight-card {
        min-height: 380px;
        width: 100%;
    }

    .card-content {
        padding: 40px 30px;
    }

    .card-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }

    .card-badge {
        font-size: 12px;
        padding: 8px 16px;
    }

    .highlight-card p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .card-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .about-section,
    .final-cta-section {
        padding: 60px 30px;
    }

    .section-divider {
        width: 60px;
        margin-bottom: 30px;
    }

    .about-section h2,
    .final-cta-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .final-cta-section p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-large {
        padding: 14px 32px !important;
        font-size: 14px !important;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .reason-item {
        padding: 32px;
    }

    .reason-item h3 {
        font-size: 18px;
    }

    .reason-item p {
        font-size: 14px;
    }


    .auth-modal {
        width: 95%;
        max-width: 90vw;
        padding: 30px 20px;
    }

    .auth-modal-header h2 {
        font-size: 24px;
    }

    .modal-close-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .right-sidebar {
        display: none;
    }

    .main-app {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        max-height: 80px;
        padding: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-nav {
        flex-direction: row;
        flex: 1;
        margin-left: 20px;
    }

    .sidebar-footer {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .sidebar {
        max-height: 60px;
    }

    .nav-label {
        display: none;
    }

    .compose-container {
        max-width: 100%;
    }

    .page {
        padding: 15px;
    }

    .posts-grid,
    .writers-grid {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 12px;
        scroll-behavior: smooth;
    }

    .badges-grid,
    .memory-wall-grid {
        grid-template-columns: 1fr;
    }

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

    .conversations-panel {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .auth-card {
        width: 90%;
        padding: 30px 20px;
    }
}

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

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

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

/* Smooth transitions */
* {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ========================================
   RESPONSIVE DESIGN - LANDING PAGE
   ======================================== */

@media (max-width: 1200px) {
    .landing-container {
        gap: 40px;
        padding: 100px 40px;
    }

    .hero-title-main {
        font-size: 56px;
    }

    .hero-description {
        font-size: 16px;
    }

    .visual-container {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 90px 30px 60px 30px;
        min-height: auto;
    }

    .hero-content {
        gap: 24px;
    }

    .hero-title {
        font-size: 44px;
        line-height: 1.25;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .hero-description {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 28px;
        font-size: 15px;
        flex: 1;
    }

    .hero-visual {
        height: 400px;
    }

    .visual-card {
        width: 240px;
        height: 280px;
    }

    .card-emoji {
        font-size: 52px;
    }

    .card-content h3 {
        font-size: 20px;
    }

    .hero-minimal-features {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 28px;
    }

    .mini-feature {
        padding: 14px;
        gap: 12px;
    }

    .mini-icon {
        font-size: 24px;
    }

    .mini-text {
        font-size: 13px;
    }

    .mini-desc {
        font-size: 11px;
    }

    .visual-showcase {
        height: 380px;
    }

    .showcase-element-1 {
        width: 200px;
        height: 200px;
    }

    .showcase-element-2 {
        width: 180px;
        height: 180px;
    }

    .showcase-element-3 {
        width: 200px;
        height: 200px;
    }

    .showcase-element-4 {
        width: 150px;
        height: 150px;
    }

    .showcase-card {
        width: 240px;
        padding: 30px 20px;
    }

    .landing-nav-header {
        height: 70px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo-svg {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 20px;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Hero Section Mobile */
    .hero-left-content {
        gap: 24px;
    }

    .hero-title-main {
        font-size: 38px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-intro-text p {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-features {
        gap: 16px;
        margin-bottom: 30px;
    }

    .feature-item {
        gap: 12px;
        padding: 12px 0;
    }

    .feature-icon {
        font-size: 24px;
    }

    .feature-text h3 {
        font-size: 15px;
    }

    .feature-text p {
        font-size: 13px;
    }

    .hero-what-is-lyrii {
        padding: 20px;
        margin-bottom: 30px;
    }

    .hero-what-is-lyrii h2 {
        font-size: 20px;
    }

    .hero-what-is-lyrii p {
        font-size: 14px;
    }

    .hero-stats {
        gap: 40px;
        padding: 16px 0;
        margin-bottom: 24px;
    }

    .stat-number {
        font-size: 28px;
    }

    .hero-cta-buttons {
        flex-wrap: wrap;
        gap: 12px;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 15px;
        flex: 1;
        min-width: 150px;
    }

    .hero-stats {
        gap: 30px;
        margin-top: 10px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Right Side Mobile */
    .visual-container {
        height: 400px;
        margin-top: 30px;
    }

    .floating-card {
        padding: 24px;
        border-radius: 16px;
    }

    .card-1, .card-2, .card-3 {
        width: 160px;
    }

    .card-icon-large {
        font-size: 40px;
    }

    .card-title {
        font-size: 18px;
    }

    .card-text {
        font-size: 13px;
    }

    /* Shapes Mobile */
    .shape-1 {
        width: 200px;
        height: 200px;
        top: -50px;
        right: -50px;
    }

    .shape-2 {
        width: 180px;
        height: 180px;
        bottom: -40px;
        left: -40px;
    }

    .glow-1 {
        width: 250px;
        height: 250px;
        left: 10%;
    }

    .glow-2 {
        width: 200px;
        height: 200px;
        right: 10%;
    }

    /* Scroll Indicator */
    .scroll-indicator {
        bottom: 20px;
        font-size: 12px;
    }

    .scroll-arrow {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    /* New Landing Hero Mobile Styles */
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 60px 20px 40px 20px;
        min-height: auto;
    }

    .hero-content {
        gap: 20px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 15px;
    }

    .hero-description {
        font-size: 14px;
        max-width: 100%;
        line-height: 1.6;
    }

    .hero-buttons {
        gap: 10px;
        flex-wrap: wrap;
    }

    .btn-primary, .btn-secondary {
        padding: 11px 24px;
        font-size: 14px;
        flex: 1;
        min-width: 140px;
    }

    .hero-bottom-info {
        gap: 14px;
        margin-top: 12px;
    }

    .info-item {
        font-size: 13px;
        gap: 10px;
    }

    .info-icon {
        font-size: 20px;
    }

    .hero-visual {
        height: 320px;
        justify-content: center;
        align-items: center;
    }

    .visual-card {
        width: 220px;
        height: 260px;
        padding: 30px 15px;
    }

    .card-emoji {
        font-size: 48px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .card-content p {
        font-size: 12px;
    }

    .float-item {
        font-size: 36px;
    }

    .float-1 {
        top: 10px;
        right: 10px;
    }

    .float-2 {
        bottom: 60px;
        left: 10px;
    }

    .float-3 {
        bottom: 10px;
        right: 20px;
    }

    .blob-1, .blob-2, .blob-3 {
        filter: blur(60px);
        opacity: 0.08;
    }

    .blob-1 {
        width: 200px;
        height: 200px;
    }

    .blob-2 {
        width: 150px;
        height: 150px;
    }

    .blob-3 {
        width: 180px;
        height: 180px;
    }

    /* Old landing styles for backwards compatibility */
    .landing-container {
        padding: 75px 20px 50px 20px;
        gap: 30px;
    }

    .hero-title-main {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-visual-divider {
        width: 50px;
        margin-bottom: 14px;
    }

    .hero-description-short {
        font-size: 14px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-minimal-features {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .mini-feature {
        padding: 12px;
        gap: 10px;
        align-items: center;
    }

    .mini-icon {
        font-size: 22px;
    }

    .mini-text {
        font-size: 12px;
    }

    .mini-desc {
        font-size: 11px;
    }

    .visual-showcase {
        height: 300px;
    }

    .showcase-element-1 {
        width: 150px;
        height: 150px;
    }

    .showcase-element-2 {
        width: 130px;
        height: 130px;
    }

    .showcase-element-3 {
        width: 150px;
        height: 150px;
    }

    .showcase-element-4 {
        width: 110px;
        height: 110px;
    }

    .showcase-card {
        width: 200px;
        padding: 25px 15px;
    }

    .card-text-line {
        height: 6px;
        margin-bottom: 10px;
    }

    .landing-nav-header {
        height: 65px;
        padding: 0 15px;
    }

    .nav-container {
        padding: 0;
    }

    .logo-svg {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-buttons {
        gap: 10px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Hero Mobile Small */
    .hero-left-content {
        gap: 20px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 8px 14px;
    }

    .hero-title-main {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .hero-intro-text {
        margin-bottom: 20px;
    }

    .hero-intro-text p {
        font-size: 14px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-features {
        gap: 12px;
        margin-bottom: 20px;
    }

    .feature-item {
        gap: 10px;
        padding: 10px 0;
    }

    .feature-icon {
        font-size: 20px;
        min-width: 20px;
    }

    .feature-text h3 {
        font-size: 13px;
    }

    .feature-text p {
        font-size: 12px;
    }

    .hero-what-is-lyrii {
        padding: 18px;
        margin-bottom: 20px;
    }

    .hero-what-is-lyrii h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .hero-what-is-lyrii p {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 16px 0;
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    .hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .btn-arrow {
        display: inline;
    }

    .large-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 5px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Right Side - Hide on very small screens or adjust */
    .visual-container {
        height: 300px;
    }

    .floating-card {
        padding: 20px;
        width: 140px !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: translateX(-50%) !important;
    }

    .card-1 {
        left: 50% !important;
        top: 0 !important;
    }

    .card-2 {
        left: 50% !important;
        top: 100px !important;
    }

    .card-3 {
        left: 50% !important;
        bottom: 0 !important;
        transform: translateX(-50%);
    }

    .card-icon-large {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-text {
        font-size: 12px;
    }

    /* Background shapes - reduce on mobile */
    .floating-spark {
        opacity: 0.3;
    }

    .shape-1, .shape-2 {
        opacity: 0.05;
    }

    .glow-1, .glow-2 {
        opacity: 0.15;
    }
}

/* ========================================
   NEW FEED PAGE REDESIGN
   ======================================== */

.feed-header-new {
    padding: 40px 40px 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.03));
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 30px;
    border-radius: 16px 16px 0 0;
}

.feed-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 20px;
    flex-wrap: wrap;
}

.feed-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.feed-search-box {
    position: relative;
    flex: 1;
    max-width: 350px;
    min-width: 250px;
}

.feed-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.feed-search-input:focus {
    outline: none;
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.search-icon-feed {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0.6;
}

.feed-filters-new {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.filter-btn-new {
    padding: 10px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn-new:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.filter-btn-new.active {
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.feed-main {
    padding: 20px 40px 40px;
    min-height: calc(100vh - 300px);
}

.feed-container-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.3s ease-out;
}

/* Post Card Redesign */
.post-card-new {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    min-width: 320px;
    flex-shrink: 0;
}

.post-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #a78bfa, #ec4899);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card-new:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.15);
}

.post-card-new:hover::before {
    opacity: 1;
}

.post-card-header-new {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    cursor: pointer;
}

.post-author-avatar-new {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.post-author-avatar-new:hover {
    transform: scale(1.1);
}

.post-author-info-new {
    flex: 1;
}

.post-author-name-new {
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-size: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.post-author-name-new:hover {
    color: #8B5CF6;
}

.post-author-date-new {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 0;
}

.post-type-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(236, 72, 153, 0.15);
    border-radius: 12px;
    font-size: 11px;
    color: #ec4899;
    font-weight: 600;
}

.post-title-new {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.post-content-preview-new {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-images-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
    max-height: 200px;
    overflow: hidden;
}

.post-image-thumbnail-new {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
}

.post-stats-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    font-size: 13px;
    color: var(--text-tertiary);
}

.post-stat-item-new {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-rating-new {
    color: var(--primary-light);
    font-weight: 600;
}

.feed-empty {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px;
}

.empty-state {
    text-align: center;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.empty-state.hidden {
    display: none !important;
    visibility: hidden;
}

.empty-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.empty-state h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.empty-state p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

/* ========================================
   USER PROFILE MODAL REDESIGN
   ======================================== */

.user-profile-modal {
    max-width: 600px !important;
    max-height: 90vh;
    overflow-y: auto;
}

.user-profile-content {
    padding: 0;
}

.user-profile-header {
    position: relative;
    margin-bottom: 30px;
}

.user-profile-cover {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    border-radius: 16px 16px 0 0;
}

.user-profile-info {
    padding: 0 30px 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.user-profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    border: 4px solid var(--bg-primary);
    object-fit: cover;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
}

.user-details {
    flex: 1;
    padding-top: 30px;
}

.user-details h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.user-bio {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.user-profile-stats {
    display: flex;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-count {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-light);
}

.stat-name {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-profile-actions {
    display: flex;
    gap: 12px;
    padding: 0 30px 20px;
}

.user-profile-actions .btn {
    flex: 1;
}

.user-profile-section {
    padding: 0 30px 30px;
}

.user-profile-section h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 16px 0;
}

.user-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.user-post-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.user-post-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.12));
    border-color: rgba(139, 92, 246, 0.25);
    transform: translateY(-4px);
}

.user-post-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.user-post-type {
    font-size: 10px;
    color: var(--primary-light);
    font-weight: 600;
    margin-top: auto;
}

/* ========================================
   RESPONSIVE FEED REDESIGN
   ======================================== */

@media (max-width: 1024px) {
    .feed-header-new {
        padding: 30px 30px 0;
    }

    .feed-main {
        padding: 15px 30px 30px;
    }

    .post-card-new {
        padding: 20px;
    }

    .feed-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .feed-header-top {
        flex-direction: column;
    }

    .feed-search-box {
        max-width: none;
        width: 100%;
    }

    .feed-header-new {
        padding: 24px 20px 0;
    }

    .feed-main {
        padding: 15px 20px 30px;
    }

    .feed-filters-new {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .post-card-new {
        padding: 16px;
    }

    .feed-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .feed-header-new {
        padding: 20px 16px 0;
        margin-bottom: 20px;
    }

    .feed-header-top {
        gap: 12px;
    }

    .feed-title {
        font-size: 20px;
    }

    .feed-search-box {
        min-width: auto;
        max-width: none;
    }

    .feed-main {
        padding: 12px 16px 24px;
        min-height: auto;
    }

    .feed-container-new {
        gap: 12px;
    }

    .post-card-new {
        padding: 12px;
    }

    .post-title-new {
        font-size: 15px;
    }

    .post-content-preview-new {
        font-size: 13px;
    }

    .post-images-new {
        max-height: 120px;
    }

    .post-image-thumbnail-new {
        height: 80px;
    }

    .user-profile-modal {
        max-height: 95vh !important;
    }

    .user-profile-info {
        padding: 0 20px 20px;
    }

    .user-profile-avatar {
        width: 80px;
        height: 80px;
    }

    .user-details h2 {
        font-size: 18px;
    }

    .user-profile-actions,
    .user-profile-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .user-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   IMAGE UPLOAD REDESIGN
   ======================================== */

.image-upload-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.image-upload-area {
    position: relative;
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.03));
}

.image-upload-area:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.06));
    transform: translateY(-2px);
}

.image-upload-area.dragover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(236, 72, 153, 0.08));
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-icon {
    font-size: 36px;
    animation: float 3s ease-in-out infinite;
}

.upload-placeholder p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.upload-placeholder small {
    display: block;
    color: var(--text-tertiary);
    font-size: 12px;
    margin-top: 4px;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.image-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.05);
}

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

.image-remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.image-remove-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

@media (max-width: 768px) {
    .image-upload-area {
        padding: 30px 15px;
    }

    .upload-icon {
        font-size: 28px;
    }

    .image-preview-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}


/* ========================================
   NEW LANDING PAGE STYLES
   ======================================== */

.landing-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0f0118 0%, #1a0d2e 50%, #2d1b4e 100%);
    z-index: 0;
    overflow: hidden;
}

.mesh-gradient {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 0%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
    animation: meshShift 15s ease-in-out infinite;
}

@keyframes meshShift {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(2%, 2%); }
    50% { transform: translate(-1%, 1%); }
    75% { transform: translate(1%, -2%); }
}

.blur-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.blur-1 {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.3);
    top: -100px;
    left: -100px;
}

.blur-2 {
    width: 400px;
    height: 400px;
    background: rgba(236, 72, 153, 0.2);
    bottom: 100px;
    right: 100px;
    animation: float 8s ease-in-out infinite;
}

.blur-3 {
    width: 300px;
    height: 300px;
    background: rgba(99, 102, 241, 0.2);
    top: 50%;
    right: 20%;
    animation: float 10s ease-in-out infinite;
}

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

.landing-container {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 60px;
}

.hero-section {
    padding: 40px 0 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: var(--primary-light);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    width: fit-content;
    font-weight: 600;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
}

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

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary.btn-large {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-primary.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

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

.btn-outline.btn-large:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

.hero-right {
    display: grid;
    align-items: center;
    justify-items: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.feature-card {
    background: rgba(45, 27, 78, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: rgba(45, 27, 78, 0.8);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.features-section {
    padding: 40px 0;
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px;
    background: rgba(45, 27, 78, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(45, 27, 78, 0.6);
    border-color: var(--primary-color);
}

.feature-icon-large {
    font-size: 48px;
}

.feature-item h4 {
    font-size: 18px;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.cta-section {
    padding: 60px 30px;
    text-align: center;
    background: rgba(45, 27, 78, 0.3);
    border-radius: 20px;
    margin-bottom: 0;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cards-container {
        grid-template-columns: 1fr 1fr;
        max-width: 500px;
    }

    .hero-title {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .btn-large {
        width: 100%;
    }

    .cards-container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 20px;
    }
}

/* Verified Badge Styling - Cool Animated Design */
/* Modern Circular Verified Badge */
.verified-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: 8px;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    animation: badgeFloat 3s ease-in-out infinite;
}

/* Outer circle - rotating ring */
.verified-tick::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        from 0deg,
        #8B5CF6 0deg,
        #7C3AED 90deg,
        #EC4899 180deg,
        #8B5CF6 360deg
    );
    border-radius: 50%;
    padding: 2px;
    animation: rotateRing 4s linear infinite;
    z-index: 1;
}

/* Inner circle - solid gradient */
.verified-tick::after {
    content: '✓';
    position: absolute;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    color: white;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

.verified-tick:hover::before {
    animation: rotateRingFast 2s linear infinite;
}

.verified-tick:hover::after {
    animation: badgePulseHover 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

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

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

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }
}

@keyframes badgePulseHover {
    0% {
        transform: scale(0.8) rotate(-180deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15) rotate(-90deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Scrollbar Styling for Comments Section */
#ratingsCommentsList::-webkit-scrollbar {
    width: 8px;
}

#ratingsCommentsList::-webkit-scrollbar-track {
    background: transparent;
}

#ratingsCommentsList::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 4px;
}

#ratingsCommentsList::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}

/* ========================================
   MOBILE RESPONSIVE IMPROVEMENTS FOR FEED
   ======================================== */

@media (max-width: 768px) {
    /* Feed items improvements */
    .post-author-avatar {
        width: 36px;
        height: 36px;
    }

    .post-author-name {
        font-size: 13px;
    }

    .post-title {
        font-size: 15px;
    }

    .post-excerpt {
        font-size: 13px;
        line-height: 1.4;
    }

    .post-meta {
        font-size: 11px;
        gap: 8px;
    }

    .post-rating,
    .post-likes {
        font-size: 11px;
    }

    /* Modal improvements */
    .modal {
        padding: 10px;
    }

    .modal-content {
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 16px;
    }

    #modalPostTitle {
        font-size: 18px;
    }

    #modalPostContent {
        font-size: 13px;
        line-height: 1.6;
    }

    .rating-form textarea {
        font-size: 12px;
        min-height: 60px;
    }

    /* Tabs improvements */
    .admin-tabs {
        gap: 8px;
        margin-bottom: 16px;
    }

    .admin-tab-btn {
        padding: 10px 12px;
        font-size: 12px;
        flex: 1;
    }

    /* Table improvements */
    .admin-table {
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px;
    }

    .admin-table input[type="text"],
    .admin-table input[type="email"] {
        font-size: 11px;
        padding: 4px;
    }

    .admin-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    /* Feed items improvements */
    .post-author-avatar {
        width: 32px;
        height: 32px;
    }

    .post-author-name {
        font-size: 12px;
    }

    .post-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .post-excerpt {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .post-meta {
        font-size: 10px;
        gap: 6px;
        flex-wrap: wrap;
    }

    .post-rating,
    .post-likes {
        font-size: 10px;
    }

    .post-actions {
        gap: 4px;
    }

    .post-action-btn {
        padding: 6px 10px;
        font-size: 10px;
    }

    /* Modal improvements */
    .modal {
        padding: 0;
    }

    .modal-content {
        width: 100% !important;
        max-width: none;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 12px;
        overflow-y: auto;
    }

    .modal-close {
        top: 12px;
        right: 12px;
    }

    #modalPostTitle {
        font-size: 16px;
        margin-bottom: 8px;
    }

    #modalPostAuthor {
        font-size: 11px;
    }

    #modalPostContent {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .post-rating-value,
    .post-comments-count {
        font-size: 11px;
    }

    .rating-form {
        gap: 8px;
    }

    .rating-form textarea {
        font-size: 12px;
        min-height: 50px;
        padding: 8px;
    }

    .rating-form button {
        padding: 8px 12px;
        font-size: 11px;
    }

    .comments-list {
        max-height: 200px;
    }

    .comment-item {
        padding: 8px;
        margin-bottom: 8px;
    }

    .comment-author {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .comment-text {
        font-size: 11px;
        line-height: 1.4;
    }

    /* Admin page improvements */
    .admin-page {
        padding: 12px;
    }

    .admin-tabs {
        gap: 4px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }

    .admin-tab-btn {
        padding: 8px 10px;
        font-size: 11px;
        flex: 1;
        min-width: 60px;
    }

    .admin-tab-content {
        overflow-x: auto;
    }

    /* Table improvements */
    .admin-table {
        font-size: 11px;
        table-layout: auto;
    }

    .admin-table thead {
        font-size: 10px;
    }

    .admin-table th,
    .admin-table td {
        padding: 6px 4px;
    }

    .admin-table input[type="text"],
    .admin-table input[type="email"],
    .admin-table select {
        font-size: 10px;
        padding: 3px;
        width: 100%;
    }

    .admin-btn {
        padding: 4px 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    .status-badge {
        padding: 2px 6px;
        font-size: 9px;
    }

    /* Notifications improvements */
    .notification-item {
        padding: 10px;
        margin-bottom: 8px;
        font-size: 12px;
    }

    .notification-item strong {
        font-size: 11px;
        display: block;
        margin-bottom: 2px;
    }

    .notification-item p {
        font-size: 10px;
        margin: 0;
    }
}

/* ========================================
   BUY ME A COFFEE WIDGET FIX
   ======================================== */

/* Ensure BMC widget doesn't interfere with navigation */
#bmc-widget-frame {
    z-index: 500 !important;
}

/* Keep sidebar and navigation on top */
.app-sidebar {
    z-index: 1001;
}

.nav-badge {
    z-index: 1002;
}

/* Ensure chat panel is above widget */
.chat-panel {
    z-index: 600;
}

/* ============================================
   ENHANCED LANDING PAGE - NEW SECTIONS
   ============================================ */

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
    animation: slideInUp 0.6s ease-out;
}

.badge-dot {
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Info Items */
.hero-bottom-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px !important;
}

.info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(139, 92, 246, 0.12);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.info-emoji {
    font-size: 24px;
    flex-shrink: 0;
}

.info-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.info-text {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Enhanced Visual Card */
.visual-card {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    animation: slideInUp 0.8s ease-out 0.3s backwards;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.visual-card:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.card-icon-large {
    font-size: 56px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 12px 0;
}

.card-content > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.card-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}

.feature-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--primary-color);
}

/* Floating Cards */
.visual-floating {
    position: relative;
    height: 300px;
    margin-top: 40px;
}

.float-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.float-card:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
}

.float-1 {
    width: 140px;
    top: 0;
    left: 0;
    animation: float-up 4s ease-in-out infinite;
}

.float-2 {
    width: 140px;
    top: 80px;
    right: 0;
    animation: float-up 5s ease-in-out infinite 0.5s;
}

.float-3 {
    width: 140px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float-up 4s ease-in-out infinite 1s;
}

@keyframes float-up {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.float-emoji {
    font-size: 28px;
    margin-bottom: 8px;
}

.float-card p {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 80px 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 100%);
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-box {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideUpCard 0.6s ease-out both;
}

.feature-box:nth-child(1) { animation-delay: 0.1s; }
.feature-box:nth-child(2) { animation-delay: 0.15s; }
.feature-box:nth-child(3) { animation-delay: 0.2s; }
.feature-box:nth-child(4) { animation-delay: 0.25s; }
.feature-box:nth-child(5) { animation-delay: 0.3s; }
.feature-box:nth-child(6) { animation-delay: 0.35s; }

.feature-box:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(139, 92, 246, 0.2);
}

.feature-icon-box {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.feature-box p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
}

.feature-highlight {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
}

/* Stats Section */
.stats-section {
    padding: 80px 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    position: relative;
    z-index: 10;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
    animation: slideUpCard 0.6s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(139, 92, 246, 0.15);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
    padding: 80px 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.06) 100%);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.cta-section h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
}

/* Landing Footer */
.landing-footer {
    padding: 60px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.05) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.link-group h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-group a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 14px;
    margin: 0;
}

/* Mobile Responsiveness for Landing Page */
@media (max-width: 1024px) {
    .landing-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 40px;
    }

    .hero-visual {
        min-height: 400px;
    }

    .features-section, .stats-section, .cta-section {
        padding: 60px 40px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Landing Hero */
    .landing-hero {
        padding: 40px 16px;
    }

    .hero-content {
        padding: 0;
    }

    .hero-badge {
        padding: 8px 14px;
        font-size: 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero-tagline {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    /* Hero Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 24px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Hero Bottom Info */
    .hero-bottom-info {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }

    .info-item {
        padding: 12px 0;
        border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    }

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

    .info-emoji {
        font-size: 24px;
        margin-right: 12px;
    }

    .info-title {
        font-size: 13px;
        font-weight: 600;
    }

    .info-text {
        font-size: 12px;
    }

    /* Hero Visual */
    .hero-visual {
        min-height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .visual-card {
        padding: 24px;
        width: 100%;
        max-width: 280px;
    }

    .card-icon-large {
        font-size: 48px;
    }

    .card-content h3 {
        font-size: 18px;
    }

    .card-content > p {
        font-size: 13px;
    }

    /* Floating Cards - Stack Vertically on Mobile */
    .visual-floating {
        position: relative;
        height: auto;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .float-card {
        position: static !important;
        width: 100% !important;
        max-width: 250px !important;
        animation: none !important;
    }

    .float-1, .float-2, .float-3 {
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 250px !important;
        animation: none !important;
    }

    /* Features Section */
    .features-section {
        padding: 40px 16px;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .section-header h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .section-header p {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-box {
        padding: 20px 16px;
    }

    .feature-icon-box {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .feature-box h3 {
        font-size: 16px;
        margin: 8px 0;
    }

    .feature-box p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .feature-highlight {
        font-size: 11px;
        padding: 6px 10px;
    }

    /* Stats Section */
    .stats-section {
        padding: 40px 16px;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
        margin-top: 8px;
    }

    /* CTA Section */
    .cta-section {
        padding: 40px 16px;
    }

    .cta-content h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn-large {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }

    /* Footer */
    .landing-footer {
        padding: 40px 16px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 24px;
    }

    .footer-logo {
        margin-bottom: 8px;
    }

    .footer-logo .logo-text {
        font-size: 20px;
    }

    .footer-section p {
        font-size: 13px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .link-group h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .link-group a {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* Navigation Header */
    .landing-nav-header {
        padding: 12px 16px;
    }

    .nav-container {
        padding: 0;
    }

    .nav-logo .logo-text {
        font-size: 18px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Extra Small Screens (< 480px) */
@media (max-width: 480px) {
    /* Landing Hero */
    .landing-hero {
        padding: 30px 12px;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 12px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    /* Buttons */
    .btn-primary, .btn-secondary, .btn-large {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Hero Info Items */
    .info-item {
        padding: 10px 0;
    }

    .info-emoji {
        font-size: 20px;
    }

    .info-title {
        font-size: 12px;
    }

    .info-text {
        font-size: 11px;
    }

    /* Visual Card */
    .visual-card {
        padding: 20px;
        max-width: 100%;
    }

    .card-icon-large {
        font-size: 44px;
    }

    .card-content h3 {
        font-size: 16px;
    }

    .card-content > p {
        font-size: 12px;
    }

    /* Floating Cards */
    .float-card {
        max-width: 100% !important;
        padding: 12px !important;
    }

    .float-emoji {
        font-size: 32px;
    }

    .float-card p {
        font-size: 12px;
    }

    /* Features Section */
    .features-section {
        padding: 30px 12px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .section-header p {
        font-size: 12px;
    }

    .feature-box {
        padding: 16px 12px;
    }

    .feature-icon-box {
        font-size: 36px;
    }

    .feature-box h3 {
        font-size: 14px;
    }

    .feature-box p {
        font-size: 12px;
    }

    /* Stats Section */
    .stats-section {
        padding: 30px 12px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 14px 10px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* CTA Section */
    .cta-section {
        padding: 30px 12px;
    }

    .cta-content h2 {
        font-size: 20px;
    }

    .cta-content p {
        font-size: 12px;
    }

    /* Footer */
    .landing-footer {
        padding: 30px 12px 20px;
    }

    .footer-content {
        gap: 24px;
    }

    .footer-logo .logo-text {
        font-size: 18px;
    }

    .footer-section p {
        font-size: 12px;
    }

    .link-group h4 {
        font-size: 13px;
    }

    .link-group a {
        font-size: 12px;
    }

    .footer-bottom p {
        font-size: 11px;
    }

    /* Navigation */
    .landing-nav-header {
        padding: 10px 12px;
    }

    .nav-logo .logo-text {
        font-size: 16px;
    }

    .nav-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}
