/* ==========================================
   RESET & BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/* ==========================================
   AUTHENTICATION PAGES - MODERN SPLIT LAYOUT
   ========================================== */
.auth-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #0d1117 100%);
    overflow: hidden;
}

/* Background Elements */
.auth-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(14, 198, 206, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 198, 206, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
    z-index: 1;
}

.auth-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
}

.auth-bg-glow-1 {
    top: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 198, 206, 0.2), transparent 70%);
}

.auth-bg-glow-2 {
    bottom: -15%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 198, 206, 0.12), transparent 70%);
}

/* Auth Layout - Split Screen */
.auth-layout {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Brand Side (Left) */
.auth-brand-side {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
}

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    transition: opacity 0.2s;
}

.auth-brand-logo:hover {
    opacity: 0.8;
}

.auth-brand-logo svg {
    color: #0EC6CE;
}

.auth-brand-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.auth-brand-content h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.auth-brand-content > p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 198, 206, 0.12);
    border: 1px solid rgba(14, 198, 206, 0.25);
    border-radius: 50px;
    color: #0EC6CE;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

/* Brand Features */
.auth-brand-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.auth-brand-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.auth-brand-feature .feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(14, 198, 206, 0.1);
    border: 1px solid rgba(14, 198, 206, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0EC6CE;
    flex-shrink: 0;
}

.auth-brand-feature .feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.auth-brand-feature .feature-text strong {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
}

.auth-brand-feature .feature-text span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Brand Quote */
.auth-brand-quote {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1.5rem;
}

.auth-brand-quote p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.auth-brand-quote .quote-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-brand-quote .quote-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-brand-quote .quote-info {
    display: flex;
    flex-direction: column;
}

.auth-brand-quote .quote-info strong {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
}

.auth-brand-quote .quote-info span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8125rem;
}

/* Form Side (Right) */
.auth-form-side {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Auth Box */
.auth-box {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.auth-header p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Alert */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}

.auth-alert svg {
    flex-shrink: 0;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-forgot-link {
    font-size: 0.8125rem;
    color: #0EC6CE;
    transition: color 0.2s;
}

.auth-forgot-link:hover {
    color: #0AA8AF;
}

/* Input Wrapper with Icon */
.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrapper svg {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: color 0.2s;
}

.auth-input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #ffffff;
    transition: all 0.2s;
}

.auth-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.auth-input-wrapper input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(14, 198, 206, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.1);
}

.auth-input-wrapper input:-webkit-autofill,
.auth-input-wrapper input:-webkit-autofill:hover,
.auth-input-wrapper input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px rgba(30, 35, 50, 1) inset;
    box-shadow: 0 0 0 1000px rgba(30, 35, 50, 1) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.auth-input-wrapper:focus-within svg {
    color: #0EC6CE;
}

/* Checkbox */
.auth-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.auth-form-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    accent-color: #0EC6CE;
}

.auth-form-checkbox label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.auth-form-checkbox label a {
    color: #0EC6CE;
    transition: color 0.2s;
}

.auth-form-checkbox label a:hover {
    color: #0AA8AF;
}

/* Error Messages */
.auth-form-group .invalid-feedback,
.auth-form-checkbox .invalid-feedback {
    display: block;
    color: #f87171;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

/* Buttons */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.9375rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.auth-btn-primary {
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    color: #000000;
    box-shadow: 0 4px 15px rgba(14, 198, 206, 0.3);
}

.auth-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(14, 198, 206, 0.4);
}

.auth-btn-primary svg {
    transition: transform 0.2s;
}

.auth-btn-primary:hover svg {
    transform: translateX(3px);
}

.auth-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.auth-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.75rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.8125rem;
}

/* Legal Text */
.auth-legal-text {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.auth-legal-text a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}

.auth-legal-text a:hover {
    color: #0EC6CE;
}

/* Info Box (for check email page etc) */
.auth-info-box {
    background: rgba(14, 198, 206, 0.08);
    border: 1px solid rgba(14, 198, 206, 0.2);
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1rem 0;
}

.auth-info-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
    margin: 0;
    text-align: center;
}

/* Legacy support for simpler auth pages */
.auth-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
}

.auth-container .auth-box {
    margin: 0 auto;
    text-align: center;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
    transition: opacity 0.2s;
}

.auth-logo:hover {
    opacity: 0.8;
}

.auth-logo svg {
    color: #0EC6CE;
}

.auth-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
    .auth-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 480px;
    }

    .auth-brand-side {
        display: none;
    }

    .auth-form-side {
        width: 100%;
    }

    .auth-box {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .auth-page {
        padding: 1rem;
    }

    .auth-box {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }

    .auth-form-row {
        grid-template-columns: 1fr;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }
}

/* ==========================================
   APPLICATION PAGES (Dashboard, New Project)
   ========================================== */

.app-page {
    min-height: 100vh;
    background: #000000;
    color: #ffffff;
}

/* App Navigation */
.app-nav {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.app-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-nav-brand:hover {
    transform: scale(1.02);
    color: #ffffff;
}

.app-nav-brand svg {
    color: #0EC6CE;
}

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

.admin-switcher-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    color: #818cf8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.admin-switcher-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: #818cf8;
    color: #a5b4fc;
    transform: translateY(-1px);
}

.admin-switcher-btn svg {
    flex-shrink: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #000000;
    text-decoration: none;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #ffffff;
}

.user-logout {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.user-logout:hover {
    color: #0EC6CE;
}

/* Main Content Area */
.app-content {
    padding: 1.5rem 2rem;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Email Verification Banner */
.verification-banner {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}

.verification-banner-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.verification-banner-content svg {
    color: #FFC107;
    flex-shrink: 0;
}

.verification-banner-content span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.verification-banner-link {
    color: #0EC6CE;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: auto;
    transition: color 0.2s;
}

.verification-banner-link:hover {
    color: #0AD6DE;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .verification-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .verification-banner-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Page Headers */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    gap: 2rem;
}

.app-header-centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.app-header-text {
    flex: 1;
    min-width: 0;
}
.app-header-text h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-header-text p,
.app-header-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Badges */
.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 198, 206, 0.1);
    border: 1px solid rgba(14, 198, 206, 0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0EC6CE;
    margin-bottom: 1.5rem;
}

.app-badge svg {
    color: #0EC6CE;
}

/* Buttons */
.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: inherit;
}

.app-btn-primary {
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    color: #000000;
    box-shadow: 0 4px 20px rgba(14, 198, 206, 0.3);
}

.app-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 198, 206, 0.4);
    color: #000000;
}

.app-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.app-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.app-btn:disabled,
.app-btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

.app-btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* Trial Banner */
.trial-banner {
    background: rgba(14, 198, 206, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(14, 198, 206, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.trial-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trial-icon svg {
    color: #0EC6CE;
}

.trial-content {
    flex: 1;
}

.trial-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.trial-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 1.5rem;
}

/* Project Card */
.project-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 198, 206, 0.3);
    box-shadow: 0 12px 40px rgba(14, 198, 206, 0.1);
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.project-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-status {
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: #FBB024;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-active {
    background: rgba(14, 198, 206, 0.1);
    color: #0EC6CE;
    border: 1px solid rgba(14, 198, 206, 0.2);
}

.status-completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.project-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.5rem 0;
    min-height: 4.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.or-card-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}

.or-card-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.or-card-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.or-card-stat-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.or-stat-ok {
    color: #22C55E;
}

.or-stat-unread {
    color: #fbbf24;
}

.or-stat-trial {
    color: #FBB024;
}

.or-stat-deadline {
    color: #ef4444;
}

.or-stat-reply-needed {
    color: #ef4444;
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.project-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.project-date svg {
    color: rgba(255, 255, 255, 0.3);
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0EC6CE;
    text-decoration: none;
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-link:hover {
    gap: 0.75rem;
    color: #0EC6CE;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.empty-icon {
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.empty-icon svg {
    color: #ffffff;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
}

.empty-state p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 2rem 0;
}

/* Form Card */
.form-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
}

/* Forms */
.app-form {
    width: 100%;
}

.app-form-group {
    margin-bottom: 1.75rem;
}

.app-form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.625rem;
}

.app-form-group input,
.app-form-group textarea,
.app-form-group select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-form-group input::placeholder,
.app-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.app-form-group input:focus,
.app-form-group textarea:focus,
.app-form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #0EC6CE;
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.1);
}

.app-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.app-form-group .invalid-feedback,
.app-form-group .form-error-message {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #EF4444;
}

/* Form Sections */
.form-section {
    margin-bottom: 2.5rem;
}

.form-section-header {
    margin-bottom: 1.75rem;
}

.form-section-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.form-section-header p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.form-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 2.5rem 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Help Card */
.help-card {
    background: rgba(14, 198, 206, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(14, 198, 206, 0.15);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.help-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 198, 206, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon svg {
    color: #0EC6CE;
}

.help-content {
    flex: 1;
}

.help-title {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.help-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.help-text a {
    color: #0EC6CE;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.help-text a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-nav-content {
        padding: 1rem 1.5rem;
    }

    .app-content {
        padding: 2rem 1.5rem;
    }

    .app-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .app-nav-brand span {
        display: none;
    }

    .user-info .user-name {
        display: none;
    }

    .user-info .user-logout {
        font-size: 0.8125rem;
    }

    .admin-switcher-btn span {
        display: none;
    }

    .admin-switcher-btn {
        padding: 0.5rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 2rem 1.5rem;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .app-btn {
        width: 100%;
        justify-content: center;
    }

    .help-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .app-nav-content {
        padding: 0.75rem 1rem;
    }

    .app-content {
        padding: 1.5rem 1rem;
    }

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

    .app-header-text h1 {
        font-size: 1.5rem;
    }

    .app-header-text p {
        font-size: 0.9375rem;
    }

    .app-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .app-btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .project-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .project-card-header h3 {
        font-size: 1.1rem;
    }

    .verification-banner {
        padding: 0.875rem 1rem;
    }

    .trial-banner {
        padding: 1rem 1.25rem;
    }

    .form-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }

    .edit-info-banner {
        padding: 1rem 1.25rem;
    }

    .empty-state {
        padding: 3rem 1.5rem;
    }
}

/* ==========================================
   NAVIGATION ENHANCED
   ========================================== */
.nav-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-enhanced.nav-scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

/* Brand/Logo */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s;
}

.nav-brand:hover {
    transform: scale(1.02);
}

.nav-brand-icon {
    color: #0EC6CE;
    flex-shrink: 0;
}

.nav-brand-text {
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.nav-brand-badge {
    padding: 0.25rem 0.5rem;
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0EC6CE;
}

/* Desktop Links */
.nav-links-wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link-item {
    position: relative;
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    padding: 0.5rem 0;
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0EC6CE;
    transition: width 0.3s;
}

.nav-link-item:hover {
    color: #ffffff;
}

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

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

/* Sign In Button (secondary) */
.nav-signin-btn {
    display: inline-flex;
    align-items: center;
    padding: calc(0.875rem - 1px) calc(1.75rem - 1px);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: all 0.2s;
}

.nav-signin-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

/* CTA Button */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    color: #000000;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(14, 198, 206, 0.25);
}

.nav-cta-mobile {
    display: none;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 198, 206, 0.35);
}

.nav-cta-btn svg {
    transition: transform 0.2s;
}

.nav-cta-btn:hover svg {
    transform: translateX(3px);
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.3);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav-mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.nav-mobile-menu {
    position: fixed;
    top: 77px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
}

.nav-mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-mobile-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-mobile-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s;
}

.nav-mobile-link svg {
    color: rgba(255, 255, 255, 0.5);
}

.nav-mobile-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 198, 206, 0.3);
    color: #ffffff;
}

.nav-mobile-link:hover svg {
    color: #0EC6CE;
}

.nav-mobile-link--whatsapp {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.25);
    background: rgba(37, 211, 102, 0.1);
}

.nav-mobile-link--whatsapp svg {
    color: #25D366;
}

.nav-mobile-link--whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25D366;
}

.nav-mobile-link--whatsapp:hover svg {
    color: #25D366;
}

.nav-mobile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1rem 0;
}

.nav-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    color: #000000;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 8px 30px rgba(14, 198, 206, 0.3);
}

/* Scroll Progress Bar */
.nav-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0EC6CE, #0AA8AF);
    width: 0%;
    transition: width 0.1s linear;
}

/* ==========================================
   HERO ENHANCED
   ========================================== */
.hero-enhanced {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 6rem;
    overflow: hidden;
    background: #000000;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem;
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 50px;
    color: #0EC6CE;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(14, 198, 206, 0.2);
}

.hero-badge svg {
    flex-shrink: 0;
}

/* Headline */
.hero-headline {
    font-size: clamp(2.75rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: #ffffff;
}

.hero-break-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hero-break-mobile {
        display: block;
    }
}

.hero-highlight {
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #0EC6CE;
}

/* Subtitle */
.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle-emphasis {
    color: #ffffff;
    font-weight: 600;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.0625rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    color: #000000;
    box-shadow: 0 4px 30px rgba(14, 198, 206, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(14, 198, 206, 0.6);
}

.hero-btn-primary svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-btn-primary:hover svg {
    transform: translateX(4px);
}

.hero-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.4);
    color: #0EC6CE;
}

.hero-btn-ghost svg {
    fill: #0EC6CE;
}

/* Stats Section */
/* Hero Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 720px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 16px 48px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(14, 198, 206, 0.06);
}

.hero-metric {
    position: relative;
    padding: 1.75rem 1.5rem;
    text-align: center;
    background: rgba(10, 12, 20, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    transition: background 0.3s ease;
}

.hero-metric:hover {
    background: rgba(10, 12, 20, 0.5);
}

.hero-metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    opacity: 0.8;
}

.hero-metric--cyan::before {
    background: #0EC6CE;
    box-shadow: 0 0 12px rgba(14, 198, 206, 0.5);
}

.hero-metric--green::before {
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.hero-metric--purple::before {
    background: #a855f7;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.hero-metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.hero-metric--cyan .hero-metric-number {
    background: linear-gradient(135deg, #0EC6CE, #0eded8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-metric--green .hero-metric-number {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-metric--purple .hero-metric-number {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-metric-unit {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.25rem;
}

.hero-metric-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.625rem;
    line-height: 1.3;
}

/* Trust Strip */
.hero-trust-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 760px;
    margin: 0 auto;
}

.hero-trust-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.hero-trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-trust-dot--cyan {
    background: #0EC6CE;
    box-shadow: 0 0 8px rgba(14, 198, 206, 0.5);
}

.hero-trust-dot--green {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}

.hero-trust-dot--purple {
    background: #a855f7;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.hero-trust-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* Background Elements */
.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(14, 198, 206, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 198, 206, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: 1;
}

.hero-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.hero-bg-glow-1 {
    top: 20%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 198, 206, 0.3), transparent 70%);
}

.hero-bg-glow-2 {
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2), transparent 70%);
}

/* ==========================================
   BUTTONS V2 (Reusable)
   ========================================== */
.btn-v2 {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-v2-primary {
    background: #0EC6CE;
    color: #000000;
}

.btn-v2-primary:hover {
    background: #0AA8AF;
    transform: translateY(-2px);
}

.btn-v2-ghost {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-v2-ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.btn-v2-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ==========================================
   PROBLEM/SOLUTION SECTION
   ========================================== */
.problem-solution-section {
    padding: 5rem 2rem;
    background: #0a0a0a;
}

.problem-solution-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
}

/* Problem Card */
.problem-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.problem-icon {
    width: 56px;
    height: 56px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.problem-icon svg {
    width: 28px;
    height: 28px;
    color: #ef4444;
}

/* Solution Card */
.solution-card {
    background: rgba(14, 198, 206, 0.05);
    border: 1px solid rgba(14, 198, 206, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
}

.solution-icon {
    width: 56px;
    height: 56px;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
    color: #0EC6CE;
}

/* Card Labels */
.card-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.card-label-solution {
    color: #0EC6CE;
}

/* Card Headlines */
.card-headline {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
}

/* Card Lists */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.list-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.item-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #ef4444;
}

.item-icon-solution {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
}

.item-content {
    flex: 1;
}

.item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.item-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* VS Divider */
.vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 6rem;
}

.vs-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.vs-text {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   PROCESS SECTION (Timeline)
   ========================================== */
.process-section {
    padding: 5rem 2rem;
    background: #000000;
}

.process-header {
    max-width: 700px;
    margin: 0 auto 4rem;
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #0EC6CE;
    margin-bottom: 1rem;
    padding: 0.375rem 0.875rem;
    background: rgba(14, 198, 206, 0.1);
    border: 1px solid rgba(14, 198, 206, 0.2);
    border-radius: 4px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* How It Works Steps */
.hiw-steps {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hiw-step {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hiw-step:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.hiw-step--blue:hover { border-color: rgba(96, 165, 250, 0.3); box-shadow: 0 8px 40px rgba(96, 165, 250, 0.08); }
.hiw-step--purple:hover { border-color: rgba(168, 85, 247, 0.3); box-shadow: 0 8px 40px rgba(168, 85, 247, 0.08); }
.hiw-step--cyan:hover { border-color: rgba(14, 198, 206, 0.3); box-shadow: 0 8px 40px rgba(14, 198, 206, 0.08); }

.hiw-step--final {
    background: rgba(14, 198, 206, 0.03);
    border-color: rgba(14, 198, 206, 0.15);
}

/* Left accent border */
.hiw-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.5rem;
    bottom: 1.5rem;
    width: 3px;
    border-radius: 0 3px 3px 0;
}

.hiw-step--blue::before { background: linear-gradient(to bottom, #60a5fa, rgba(96, 165, 250, 0.2)); }
.hiw-step--purple::before { background: linear-gradient(to bottom, #a855f7, rgba(168, 85, 247, 0.2)); }
.hiw-step--cyan::before { background: linear-gradient(to bottom, #0EC6CE, rgba(14, 198, 206, 0.2)); }

.hiw-step-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    padding: 2.5rem 2.5rem 2.5rem 2rem;
    align-items: start;
}

/* Large step number */
.hiw-step-number {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    opacity: 0.08;
    user-select: none;
    min-width: 80px;
    text-align: center;
    padding-top: 0.25rem;
}

.hiw-step--blue .hiw-step-number { color: #60a5fa; opacity: 0.15; }
.hiw-step--purple .hiw-step-number { color: #a855f7; opacity: 0.15; }
.hiw-step--cyan .hiw-step-number { color: #0EC6CE; opacity: 0.2; }

/* Content area */
.hiw-step-content {
    min-width: 0;
}

.hiw-step-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.625rem;
}

.hiw-step--blue .hiw-step-label { color: #60a5fa; }
.hiw-step--purple .hiw-step-label { color: #a855f7; }
.hiw-step--cyan .hiw-step-label { color: #0EC6CE; }

.hiw-step-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.hiw-step-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    max-width: 520px;
}

.hiw-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.hiw-step-tags span {
    display: inline-block;
    padding: 0.3125rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hiw-step--blue .hiw-step-tags span {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: rgba(96, 165, 250, 0.9);
}

.hiw-step--purple .hiw-step-tags span {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: rgba(168, 85, 247, 0.9);
}

.hiw-step--cyan .hiw-step-tags span {
    background: rgba(14, 198, 206, 0.1);
    border: 1px solid rgba(14, 198, 206, 0.2);
    color: rgba(14, 198, 206, 0.9);
}

/* Decorative icon */
.hiw-step-visual {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    opacity: 0.08;
    align-self: center;
}

.hiw-step-visual svg {
    width: 100%;
    height: 100%;
}

.hiw-step--blue .hiw-step-visual { color: #60a5fa; opacity: 0.15; }
.hiw-step--purple .hiw-step-visual { color: #a855f7; opacity: 0.15; }
.hiw-step--cyan .hiw-step-visual { color: #0EC6CE; opacity: 0.2; }

/* Connectors between steps */
.hiw-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 3rem;
    gap: 0;
}

.hiw-connector-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.12));
}

.hiw-connector-line:last-child {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
}

.hiw-connector-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews-section {
    padding: 8rem 2rem;
    background: #000000;
}

.reviews-header {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}

.reviews-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-weight: 500;
}

/* Reviews Grid */
.reviews-grid {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Review Cards */
.review-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(14, 198, 206, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* Stars */
.review-stars {
    display: flex;
    gap: 0.25rem;
}

.review-stars svg {
    color: #0EC6CE;
}

/* Review Text */
.review-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    flex: 1;
}

/* Author Section */
.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Avatar */
.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.author-avatar-1 {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.3), rgba(14, 198, 206, 0.1));
    color: #0EC6CE;
    border: 2px solid rgba(14, 198, 206, 0.5);
}

.author-avatar-2 {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(168, 85, 247, 0.1));
    color: #a855f7;
    border: 2px solid rgba(168, 85, 247, 0.5);
}

.author-avatar-3 {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(236, 72, 153, 0.1));
    color: #ec4899;
    border: 2px solid rgba(236, 72, 153, 0.5);
}

.author-avatar-4 {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1));
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.5);
}

.author-avatar-5 {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1));
    color: #22c55e;
    border: 2px solid rgba(34, 197, 94, 0.5);
}

.author-avatar-6 {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(251, 191, 36, 0.1));
    color: #fbbf24;
    border: 2px solid rgba(251, 191, 36, 0.5);
}

/* Author Info */
.author-info {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Review Avatar Image */
.review-avatar-wrap {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.review-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.review-avatar-fallback {
    font-size: 1.125rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
}

/* Review Verified Badge */
.review-verified-badge {
    vertical-align: middle;
    margin-left: 4px;
}

/* Review Meta (follower count + platform icon) */
.review-meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.review-meta-platform {
    display: flex;
    align-items: center;
}

.review-meta-platform svg {
    opacity: 0.5;
}

.review-meta-followers {
    white-space: nowrap;
}

/* Verified Badge */
.review-verified {
    width: 24px;
    height: 24px;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-verified svg {
    color: #0EC6CE;
    width: 14px;
    height: 14px;
}

/* Reviews Summary */
.reviews-summary {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    text-align: center;
}

.summary-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.summary-stars {
    display: flex;
    gap: 0.5rem;
}

.summary-stars svg {
    color: #0EC6CE;
}

.summary-score {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.summary-count {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================
   PRICING ENHANCED
   ========================================== */
.pricing-enhanced {
    padding: 8rem 2rem;
    background: #0a0a0a;
}

.pricing-header {
    max-width: 1400px;
    margin: 0 auto 5rem;
    text-align: center;
}

.pricing-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-weight: 500;
}

.pricing-grid {
    max-width: 1400px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 0;
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(14, 198, 206, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Featured Card */
.pricing-card-featured {
    background: rgba(14, 198, 206, 0.05);
    border-color: rgba(14, 198, 206, 0.3);
    box-shadow: 0 8px 32px rgba(14, 198, 206, 0.2);
}

.pricing-card-featured:hover {
    background: rgba(14, 198, 206, 0.08);
    border-color: rgba(14, 198, 206, 0.5);
    box-shadow: 0 20px 60px rgba(14, 198, 206, 0.3);
}

/* Badge */
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #0EC6CE, #0AA8AF);
    color: #000000;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(14, 198, 206, 0.4);
}

.pricing-badge svg {
    fill: currentColor;
    stroke: none;
}

/* Card Header */
.pricing-card-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

/* Icon */
.pricing-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}

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

.pricing-icon-free {
    background: rgba(14, 198, 206, 0.1);
    color: #0EC6CE;
}

.pricing-icon-featured {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.2), rgba(14, 198, 206, 0.05));
    color: #0EC6CE;
}

.pricing-icon-annual {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
}

/* Name */
.pricing-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

/* Price */
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 2rem;
    font-weight: 800;
    color: #0EC6CE;
}

.price-amount {
    font-size: 4.5rem;
    font-weight: 900;
    color: #0EC6CE;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Savings Badge */
.pricing-savings {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    color: #a855f7;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Description */
.pricing-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Features List */
.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    display: flex;
    gap: 1rem;
    padding: 1.125rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-start;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    flex-shrink: 0;
    color: #0EC6CE;
    margin-top: 0.125rem;
}

.pricing-features div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.pricing-features strong {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.pricing-features span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Pricing Buttons */
.pricing-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    align-self: end;
}

.pricing-btn-primary {
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    color: #000000;
    box-shadow: 0 4px 20px rgba(14, 198, 206, 0.3);
}

.pricing-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 198, 206, 0.5);
}

.pricing-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.pricing-btn-ghost:hover {
    background: rgba(14, 198, 206, 0.1);
    border-color: rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
}

.pricing-btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-btn:hover svg {
    transform: translateX(4px);
}

/* Trust Footer */
.pricing-trust {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.pricing-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    font-weight: 500;
}

.pricing-trust-item svg {
    color: #0EC6CE;
    flex-shrink: 0;
}

/* ==========================================
   FAQ V2
   ========================================== */
.faq-v2 {
    padding: 8rem 2rem;
    background: #000000;
}

.faq-v2-header {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.faq-v2-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-v2-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
}

.faq-v2-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-v2-question::-webkit-details-marker {
    display: none;
}

.faq-v2-question::after {
    content: '+';
    font-size: 2rem;
    color: #0EC6CE;
    transition: transform 0.3s;
}

.faq-v2-item[open] .faq-v2-question::after {
    transform: rotate(45deg);
}

.faq-v2-answer {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-top: 1rem;
}

/* ==========================================
   FINAL CTA ENHANCED
   ========================================== */
.final-cta-enhanced {
    position: relative;
    padding: 10rem 2rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.final-cta-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 5rem 4rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Badge */
.final-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 50px;
    margin-bottom: 2rem;
    color: #0EC6CE;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.final-cta-badge svg {
    flex-shrink: 0;
}

/* Headline */
.final-cta-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: #ffffff;
}

.final-cta-highlight {
    color: #0EC6CE;
    background: linear-gradient(135deg, #0EC6CE, #0AA8AF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Value Props */
.final-cta-subtitle {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* CTA Button */
.final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    color: #000000;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(14, 198, 206, 0.3);
    margin-bottom: 1.5rem;
}

.final-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 198, 206, 0.5);
}

.final-cta-btn-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Trust Indicator */
.final-cta-trust {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Background Circle */
.final-cta-bg-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 198, 206, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================
   FOOTER - CLEAN MINIMAL DESIGN
   ========================================== */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

/* Footer Main Row */
.footer-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.01em;
}

.footer-logo-link svg {
    color: #0EC6CE;
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-nav a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #0EC6CE;
}

/* Footer WhatsApp */
.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: 8px;
    color: #25D366;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    flex-shrink: 0;
}

.footer-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

/* Footer Divider */
.footer-divider-line {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 2rem 0 1.5rem;
}

/* Footer Bottom Row */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-company-info {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}

.footer-company-info a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-company-info a:hover {
    color: #0EC6CE;
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.footer-legal-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.2s;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .problem-solution-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .vs-divider {
        flex-direction: row;
        padding-top: 0;
        padding: 2rem 0;
    }

    .vs-line {
        width: 80px;
        height: 2px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    }

    .hiw-step-inner {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 1.5rem 2rem 1.25rem;
    }

    .hiw-step-number {
        font-size: 3rem;
        min-width: auto;
        text-align: left;
        position: absolute;
        top: 1.25rem;
        right: 1.25rem;
    }

    .hiw-step-visual {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }

    .pricing-card {
        display: flex;
        flex-direction: column;
        grid-row: auto;
    }

    .pricing-features {
        flex: 1;
    }

    .pricing-btn {
        margin-top: auto;
        align-self: auto;
    }

    .pricing-card-featured {
        transform: scale(1);
        padding-top: 3.5rem;
    }

    .pricing-badge {
        top: -12px;
        font-size: 0.65rem;
        padding: 0.5rem 1rem;
    }

    .pricing-trust {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .footer-main-row {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
        order: 3;
        width: 100%;
    }

    .footer-whatsapp {
        order: 2;
    }
}

@media (max-width: 1024px) {
    .nav-links-wrapper {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

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

    .nav-cta-desktop {
        display: none;
    }

    .nav-cta-mobile {
        display: inline-flex;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
    }

    .nav-mobile-menu {
        top: 61px;
    }

    .hero-enhanced {
        padding: 6rem 1.5rem 4rem;
        min-height: auto;
    }

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

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

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 320px;
        border-radius: 16px;
    }

    .hero-metric {
        padding: 1.25rem 1.5rem;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 0.75rem;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .hero-metric:last-child {
        border-bottom: none;
    }

    .hero-metric::before {
        display: none;
    }

    .hero-metric-number {
        font-size: 1.75rem;
        grid-row: 1 / 3;
        align-self: center;
    }

    .hero-metric-unit {
        margin-top: 0;
        font-size: 0.625rem;
    }

    .hero-metric-label {
        margin-top: 0;
        font-size: 0.75rem;
    }

    .hero-trust-strip {
        flex-direction: column;
        gap: 0.625rem;
    }

    .hero-trust-pill {
        padding: 0;
    }

    .hero-trust-divider {
        display: none;
    }

    .hero-bg-glow-1,
    .hero-bg-glow-2 {
        width: 400px;
        height: 400px;
    }

    .problem-solution-section,
    .process-section,
    .reviews-section,
    .pricing-enhanced,
    .faq-v2,
    .final-cta-enhanced {
        padding: 4rem 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 2rem 1.5rem;
    }

    .reviews-summary {
        padding: 2rem 1.5rem;
    }

    .pricing-card {
        padding: 2.5rem 2rem;
    }

    .pricing-icon {
        width: 64px;
        height: 64px;
    }

    .pricing-card-featured .pricing-icon {
        margin-top: 0.5rem;
    }

    .price-amount {
        font-size: 3.5rem;
    }

    .final-cta-container {
        padding: 3rem 2rem;
    }

    .final-cta-headline {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 2rem;
    }

    .final-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 1.125rem 2rem;
        font-size: 1rem;
    }

    .final-cta-bg-circle {
        width: 400px;
        height: 400px;
    }

    .problem-card,
    .solution-card {
        padding: 2rem;
    }

    .problem-icon,
    .solution-icon {
        width: 56px;
        height: 56px;
    }

    .hiw-step-inner {
        padding: 1.75rem 1.25rem 1.75rem 1rem;
    }

    .hiw-step-number {
        font-size: 2.5rem;
    }

    .hiw-step-title {
        font-size: 1.25rem;
    }

    .hiw-connector {
        height: 2rem;
    }

    .footer-container {
        padding: 2rem 1.5rem;
    }

    .footer-main-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .footer-nav {
        order: unset;
        width: auto;
    }

    .footer-whatsapp {
        order: unset;
        width: 100%;
        justify-content: center;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-legal-links {
        gap: 1rem;
    }

    .footer-company-info {
        font-size: 0.8125rem;
    }

    .footer-legal-links a {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-brand-text {
        font-size: 0.9375rem;
    }

    .nav-cta-mobile {
        width: 38px;
        height: 38px;
        padding: 0;
    }

    .nav-mobile-toggle {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .hero-enhanced {
        padding: 5rem 1.25rem 3rem;
    }

    .problem-solution-section,
    .process-section,
    .reviews-section,
    .pricing-enhanced,
    .faq-v2,
    .final-cta-enhanced {
        padding: 3rem 1.25rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .final-cta-container {
        padding: 2.5rem 1.5rem;
    }

    .nav-mobile-menu {
        top: 53px;
        padding: 1.5rem;
    }
}

/* ==========================================
   UTILITIES
   ========================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* ==========================================
   PROJECT VIEW PAGE
   ========================================== */

/* Back Navigation */
.project-back-nav {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
    transform: translateX(-4px);
}

.back-link svg {
    transition: transform 0.2s;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* Project Hero */
.project-hero {
    margin-bottom: 3rem;
}

.project-hero-content {
    margin-bottom: 2rem;
}

.project-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 50px;
    color: #0EC6CE;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.project-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.hero-meta-item svg {
    color: rgba(14, 198, 206, 0.6);
}

.hero-meta-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* Status Banner */
.project-status-banner {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-top: 2rem;
}

.status-banner-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.status-pending .status-banner-icon {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.status-building .status-banner-icon {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
}

.status-complete .status-banner-icon {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-banner-content {
    flex: 1;
}

.status-banner-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.status-banner-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.status-banner-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0EC6CE, #0AA8AF);
    border-radius: 50px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.status-banner-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.status-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s;
}

.status-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 198, 206, 0.4);
}

.status-action-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.status-action-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Content Grid */
.project-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

.project-main-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Content Sections */
.content-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 12px;
    color: #0EC6CE;
}

.section-title-group h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.section-title-group p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.section-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.project-goal-text {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.tech-requirements {
    font-size: 1rem;
    line-height: 1.7;
}

/* Build Timeline */
.build-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    position: relative;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    z-index: 2;
}

.timeline-item.completed .marker-dot {
    background: #0EC6CE;
    border-color: rgba(14, 198, 206, 0.3);
    box-shadow: 0 0 0 4px rgba(14, 198, 206, 0.15);
}

.timeline-item.active .marker-dot {
    background: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.marker-line {
    width: 2px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
    min-height: 60px;
}

.timeline-item.completed .marker-line {
    background: rgba(14, 198, 206, 0.3);
}

.timeline-card {
    flex: 1;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.timeline-item.completed .timeline-card {
    background: rgba(14, 198, 206, 0.05);
    border-color: rgba(14, 198, 206, 0.15);
}

.timeline-item.active .timeline-card {
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.2);
}

.timeline-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
}

.timeline-day {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0EC6CE;
    margin-bottom: 0.75rem;
}

.timeline-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.timeline-card p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.timeline-date {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.timeline-card-final {
    border-color: rgba(14, 198, 206, 0.2);
}

.timeline-complete-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    color: #22c55e;
    font-size: 0.875rem;
    font-weight: 700;
}

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

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 2rem;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

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

.sidebar-card-header .sidebar-card-title {
    margin-bottom: 0;
}

.sidebar-edit-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.sidebar-edit-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
}

.sidebar-edit-link svg {
    flex-shrink: 0;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s;
}

.sidebar-action:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
    transform: translateX(4px);
}

.sidebar-action svg {
    flex-shrink: 0;
    color: rgba(14, 198, 206, 0.7);
}

.sidebar-action-primary {
    background: rgba(14, 198, 206, 0.15);
    border-color: rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
}

.sidebar-action-primary:hover {
    background: rgba(14, 198, 206, 0.25);
}

/* Project Stats */
.sidebar-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: capitalize;
}

.status-badge.status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.status-badge.status-in_progress {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
}

.status-badge.status-completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

/* Help Card */
.sidebar-card-help {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.1) 0%, rgba(14, 198, 206, 0.05) 100%);
    border-color: rgba(14, 198, 206, 0.2);
    text-align: center;
}

.help-icon-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 16px;
    color: #0EC6CE;
    margin-bottom: 1rem;
}

.sidebar-card-help h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.sidebar-card-help p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.help-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(14, 198, 206, 0.2);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0EC6CE;
    transition: all 0.2s;
}

.help-button:hover {
    background: rgba(14, 198, 206, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .project-content-grid {
        grid-template-columns: 1fr;
    }

    .project-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .project-hero-title {
        font-size: 2rem;
    }

    .project-status-banner {
        flex-direction: column;
        gap: 1rem;
    }

    .status-banner-actions {
        flex-direction: column;
    }

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

/* ==========================================
   PROJECT ACTIVITY FEED PAGE
   ========================================== */

/* Header with Actions */
.project-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.project-header-left h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.project-goal-brief {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.project-header-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.project-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.2s;
}

.project-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.3);
    transform: translateY(-2px);
}

.project-action-primary {
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    border-color: transparent;
    color: #000000;
}

.project-action-primary:hover {
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(14, 198, 206, 0.4);
}

.project-action-danger {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.project-action-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* Click-to-copy snippet blocks */
.snippet-click-copy {
    position: relative;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.5rem 0.625rem;
    font-size: 0.625rem;
    color: #0EC6CE;
    overflow-x: auto;
    margin: 0;
    white-space: pre;
    font-family: 'SF Mono', 'Fira Code', monospace;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.snippet-click-copy:hover { background: rgba(14, 198, 206, 0.04); border-color: rgba(14, 198, 206, 0.15); }
.snippet-click-copy::after {
    content: 'Click to copy';
    position: absolute; top: 6px; right: 8px;
    font-size: 0.625rem; font-weight: 600;
    color: rgba(14, 198, 206, 0.5);
    opacity: 0; transition: opacity 0.2s;
    pointer-events: none;
}
.snippet-click-copy:hover::after { opacity: 1; }
.snippet-click-copy--copied { background: rgba(14, 198, 206, 0.08); border-color: rgba(14, 198, 206, 0.25); }
.snippet-click-copy--copied::after { content: 'Copied!'; opacity: 1; color: #0EC6CE; }

/* Sidebar tracking snippet */
.sidebar-snippet-summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sidebar-snippet-summary::-webkit-details-marker { display: none; }
.sidebar-snippet-body { margin-top: 0.75rem; }
.sidebar-snippet-hint {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.4);
    margin: 0 0 0.5rem 0;
}
.sidebar-snippet-hint code {
    font-size: 0.625rem;
}

/* Compact icon-only mode for crowded headers */
.project-header-actions--compact { gap: 0.5rem; }
.project-header-actions--compact .project-action-btn {
    padding: 0.625rem;
    gap: 0;
    position: relative;
}
.project-header-actions--compact .project-action-btn span {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.project-header-actions--compact .project-action-btn::after {
    content: attr(title);
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%); margin-top: 6px;
    background: rgba(0,0,0,0.9); color: #fff;
    padding: 4px 10px; border-radius: 6px;
    font-size: 0.6875rem; font-weight: 500;
    white-space: nowrap; pointer-events: none;
    opacity: 0; transition: opacity 0.15s;
    z-index: 10;
}
.project-header-actions--compact .project-action-btn:hover::after {
    opacity: 1;
}

/* Trial Status Banner */
.trial-status-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.trial-active {
    background: rgba(14, 198, 206, 0.1);
    border: 1px solid rgba(14, 198, 206, 0.3);
}

.trial-expired {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.trial-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.trial-active .trial-icon {
    background: rgba(14, 198, 206, 0.2);
    color: #0EC6CE;
}

.trial-expired .trial-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.trial-content {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

.trial-content strong {
    font-weight: 700;
    color: #ffffff;
}

.trial-upgrade-btn {
    padding: 0.625rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.2s;
}

.trial-upgrade-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Edit Info Banner */
.edit-info-banner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-radius: 10px;
}

.info-content {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.info-content strong {
    font-weight: 700;
    color: #ffffff;
}

/* Activity Feed Layout */
.activity-feed-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
    overflow: hidden;
}

.activity-feed-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

/* Activity Feed Header */
.activity-feed-header {
    margin-bottom: 1rem;
}

.activity-feed-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.activity-feed-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Activity Feed */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Activity Item */
.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s;
    animation: fadeInUp 0.5s ease-out;
}

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

.activity-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.activity-highlight {
    animation: activityPulse 2s ease-in-out 3;
    border-color: #0EC6CE !important;
    background: rgba(14, 198, 206, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.3), 0 0 30px rgba(14, 198, 206, 0.15) !important;
}

@keyframes activityPulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.3), 0 0 30px rgba(14, 198, 206, 0.15);
        background: rgba(14, 198, 206, 0.08);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(14, 198, 206, 0.15), 0 0 40px rgba(14, 198, 206, 0.25);
        background: rgba(14, 198, 206, 0.12);
    }
}

.activity-update {
    border-left: 3px solid #0EC6CE;
}

.activity-feedback {
    border-left: 3px solid rgba(139, 92, 246, 0.6);
}

/* Activity Avatar */
.activity-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
}

.activity-avatar-system {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
}

.activity-avatar-client {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
    font-size: 0.875rem;
}

/* Activity Content */
.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.activity-author {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
}

.activity-badge {
    padding: 0.25rem 0.75rem;
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0EC6CE;
    text-transform: uppercase;
}

.activity-badge-feedback {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.activity-badge-new {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
    animation: new-badge-pulse 2s ease-in-out 3;
}

@keyframes new-badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.activity-time {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.activity-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.activity-body {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    overflow-wrap: break-word;
    word-break: break-word;
}
.activity-body a,
.activity-reply-body a {
    color: #818CF8;
    text-decoration: none;
}
.activity-body a:hover,
.activity-reply-body a:hover {
    text-decoration: underline;
    color: #A5B4FC;
}
.activity-body hr,
.activity-reply-body hr {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 1rem 0;
}
.activity-body code,
.activity-reply-body code {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 0.875em;
}

/* Empty State */
.activity-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: rgba(14, 198, 206, 0.1);
    border-radius: 24px;
    color: #0EC6CE;
    margin-bottom: 1.5rem;
}

.activity-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.activity-empty-state p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto;
}

/* Feedback Form */
.feedback-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    min-width: 0;
}

.feedback-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #8b5cf6;
}

.feedback-form-title h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.feedback-form-title p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.feedback-title-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #ffffff;
    transition: all 0.2s;
    margin-bottom: 0.75rem;
}
.feedback-title-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.1);
}
.feedback-title-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.feedback-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: #ffffff;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.2s;
    margin-bottom: 1rem;
}

.feedback-textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.1);
}

.feedback-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.feedback-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.feedback-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.feedback-hint svg {
    flex-shrink: 0;
    color: #0EC6CE;
}

.feedback-submit-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s;
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 198, 206, 0.4);
}

.feedback-submit-btn svg {
    transition: transform 0.2s;
}

.feedback-submit-btn:hover svg {
    transform: translateX(4px);
}

/* Project Status Badge */
.project-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-planning {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.status-demo {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-building {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
    border: 1px solid rgba(14, 198, 206, 0.3);
}

.status-complete {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-awaiting {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Feedback Form Top Position */
.feedback-form-top {
    background: rgba(14, 198, 206, 0.03);
    border: 1px solid rgba(14, 198, 206, 0.15);
    margin-bottom: 0;
}

.feedback-form-top .feedback-form-footer {
    flex-wrap: wrap;
}

.feedback-form-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
}

.file-upload-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.feedback-hint-inline {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Activity Feed Header Updated */
.activity-feed-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.activity-feed-header h2 {
    width: 100%;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #ffffff;
}
.activity-feed-header .activity-feed-subfilters {
    margin-top: 0;
}

.activity-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
}

/* Timeline Design */
.activity-item {
    display: flex;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
}

.activity-item:hover {
    background: transparent;
    border-color: transparent;
}

.activity-timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 24px;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-dot-update {
    background: #0EC6CE;
    box-shadow: 0 0 0 4px rgba(14, 198, 206, 0.2);
}

.timeline-dot-feedback {
    background: #8b5cf6;
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

/* Activity Cards */
.activity-card {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.activity-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.activity-card-feedback {
    border-left: 3px solid rgba(139, 92, 246, 0.5);
}

.activity-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.activity-card-header .activity-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.75rem;
}

.activity-card-header .activity-meta {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.activity-card-header .activity-time {
    margin-left: auto;
}

.activity-badge-update {
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
}

/* Activity Files Improved */
.activity-files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.file-attachment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
    text-decoration: none;
}

.file-attachment:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
}

.file-attachment .file-icon {
    color: rgba(255, 255, 255, 0.5);
}

.file-attachment .file-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Empty State Improved */
.empty-illustration {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

/* Quick Stats */
.sidebar-stats-card {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(14, 198, 206, 0.2);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.quick-stat {
    padding: 0.5rem;
}

.quick-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.quick-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Sidebar Card Title with Icon */
.sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
}

.sidebar-card-title svg {
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-card-count {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

/* Sidebar File Download Icon */
.sidebar-file-download {
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
    flex-shrink: 0;
}

.sidebar-file-item:hover .sidebar-file-download {
    color: #0EC6CE;
}

/* Brief Section */
.brief-section {
    margin-bottom: 1.25rem;
}

.brief-section:last-child {
    margin-bottom: 0;
}

.brief-section h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.brief-section p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Activity Sidebar */
.activity-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.activity-sidebar .sidebar-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.activity-sidebar .sidebar-stats .stat-item:last-child {
    margin-bottom: 0;
}

.stat-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 8px;
    color: #0EC6CE;
}

.stat-details {
    flex: 1;
}

.activity-sidebar .stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.25rem;
}

.activity-sidebar .stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

/* Sidebar Files List */
.sidebar-files-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-file-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 198, 206, 0.3);
    transform: translateX(4px);
}

.sidebar-file-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 6px;
    color: #0EC6CE;
}

.sidebar-file-details {
    flex: 1;
    min-width: 0;
}

.sidebar-file-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-file-meta {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.125rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Project Brief */
.project-brief-content {
    color: rgba(255, 255, 255, 0.8);
    overflow-wrap: break-word;
    word-break: break-word;
}

.project-brief-content h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0EC6CE;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.project-brief-content h4:first-child {
    margin-top: 0;
}

.project-brief-content p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Help Card */
.help-icon-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 12px;
    color: #0EC6CE;
    margin-bottom: 1rem;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(14, 198, 206, 0.2);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0EC6CE;
    transition: all 0.2s;
}

.help-link:hover {
    background: rgba(14, 198, 206, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1200px) {
    .activity-feed-layout {
        grid-template-columns: 1fr 320px;
    }
}

@media (max-width: 1024px) {
    .activity-feed-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: stretch;
    }

    .activity-sidebar {
        display: contents;
    }

    .sidebar-countdown-card {
        order: -1;
    }

    .activity-feed-main {
        order: 0;
    }

    .activity-sidebar > *:not(.sidebar-countdown-card) {
        order: 1;
    }
}

@media (max-width: 768px) {
    .project-activity-header {
        flex-direction: column;
        gap: 1.5rem;
    }

    .project-header-left h1 {
        font-size: 2rem;
    }

    .project-header-actions {
        width: 100%;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .project-action-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        gap: 0.375rem;
    }

    .project-action-btn svg {
        width: 16px;
        height: 16px;
    }

    .project-header-actions--compact .project-action-btn {
        padding: 0.5rem;
    }

    .trial-status-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .trial-upgrade-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.25rem;
    }

    .demo-banner {
        flex-direction: column;
        gap: 0.75rem;
    }

    .activity-item {
        flex-direction: column;
    }

    .feedback-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

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

    .feedback-form-wrapper {
        padding: 1.25rem;
    }

    .feedback-form-header {
        gap: 0.75rem;
    }

    .feedback-form-title h3 {
        font-size: 1rem;
    }

    .feedback-hint-inline {
        font-size: 0.75rem;
    }

    .activity-card-header {
        flex-wrap: wrap;
    }

    .activity-card-header .activity-time {
        width: 100%;
        margin-left: 0;
        font-size: 0.75rem;
    }

    .activity-card {
        padding: 1.25rem;
    }

    .activity-item {
        padding: 1rem;
    }

    .activity-title {
        font-size: 1.1rem;
    }

    .file-attachment .file-name {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .project-header-left h1 {
        font-size: 1.5rem;
    }

    .project-goal-brief {
        font-size: 0.875rem;
    }

    .project-activity-header {
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .activity-feed-header h2 {
        font-size: 1.25rem;
    }

    .activity-count {
        font-size: 0.75rem;
    }

    .activity-item {
        padding: 0.875rem;
        border-radius: 12px;
    }

    .activity-card-header .activity-avatar {
        width: 32px;
        height: 32px;
    }

    .activity-avatar svg {
        width: 14px;
        height: 14px;
    }

    .activity-body {
        font-size: 0.9375rem;
    }

    .sidebar-card {
        padding: 1.25rem;
    }

    .sidebar-countdown-value {
        font-size: 1.5rem;
    }

    .trial-status-banner {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .trial-icon {
        width: 36px;
        height: 36px;
    }

    .trial-icon svg {
        width: 20px;
        height: 20px;
    }

    .demo-banner {
        padding: 1rem;
        font-size: 0.875rem;
    }

    .feedback-form-wrapper {
        padding: 1rem;
    }

    .feedback-textarea {
        font-size: 1rem;
    }

    .feedback-title-input {
        font-size: 1rem;
    }
}

/* ==========================================
   ADMIN INTERFACE
   ========================================== */

/* Sort Tabs */
.app-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.app-header-row p {
    margin: 0;
}
.sort-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}
.sort-tabs-label {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-right: 4px;
    white-space: nowrap;
}
.sort-tab {
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.sort-tab:hover {
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
.sort-tab--active {
    background: rgba(14,198,206,0.12);
    color: #0EC6CE;
    border-color: rgba(14,198,206,0.3);
}
.sort-tab--active:hover {
    background: rgba(14,198,206,0.18);
    color: #0EC6CE;
    border-color: rgba(14,198,206,0.4);
}
@media (max-width: 640px) {
    .app-header-row {
        flex-wrap: wrap;
    }
    .sort-tabs {
        margin-left: 0;
    }
    .sort-tabs-label { display: none; }
    .sort-tab { padding: 5px 10px; font-size: 11px; }
}

/* Admin Table */
/* Inline Search Bar */
.app-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 16px;
    padding: 0 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    transition: border-color 0.2s;
}
.app-search-bar:focus-within {
    border-color: rgba(14,198,206,0.4);
}
.app-search-bar svg {
    flex-shrink: 0;
    color: rgba(255,255,255,0.35);
}
.app-search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    padding: 14px 0;
}
.app-search-bar input::placeholder {
    color: rgba(255,255,255,0.3);
}
.app-search-no-results {
    text-align: center;
    padding: 48px 24px;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
.app-search-hidden { display: none !important; }

.admin-table-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.admin-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.admin-table td:last-child {
    white-space: nowrap;
}

.admin-table tbody tr.clickable-row {
    cursor: pointer;
}
.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.project-title-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.unread-badge {
    padding: 0.25rem 0.625rem;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fbbf24;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Project cell two-line layout */
.project-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.project-cell-top {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.project-cell-meta {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}
.project-cell-sep {
    margin: 0 0.25rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Feedback status counts */
.feedback-counts {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.feedback-count-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
}
.feedback-count-num {
    font-weight: 700;
}
.feedback-count-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}
.feedback-count-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.feedback-dot-queued {
    background: #f59e0b;
}
.feedback-dot-review {
    background: #0EC6CE;
}
.feedback-dot-completed {
    background: #22c55e;
}

/* Row urgency accents */
.admin-table tbody tr.row-needs-attention {
    border-left: 3px solid #f59e0b;
}
.admin-table tbody tr.row-overdue {
    border-left: 3px solid #ef4444;
}

.trial-days {
    color: #0EC6CE;
    font-weight: 600;
}

.paid-badge {
    padding: 0.25rem 0.625rem;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #22c55e;
}

.expired-badge {
    padding: 0.25rem 0.625rem;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ef4444;
}

.admin-action-link {
    padding: 0.375rem 0.75rem;
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0EC6CE;
    transition: all 0.2s;
    display: inline-block;
    line-height: 1.5;
    box-sizing: border-box;
    text-decoration: none;
    vertical-align: middle;
    margin-right: 0.375rem;
    white-space: nowrap;
}

.admin-action-link:last-child,
.admin-action-link:only-child {
    margin-right: 0;
}

.admin-action-link:hover {
    background: rgba(14, 198, 206, 0.25);
}

.admin-action-link--danger {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.5;
    margin-right: 0;
}

.admin-action-link--danger:hover {
    background: rgba(239, 68, 68, 0.22);
    color: #ef4444;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Admin Project Header */
.admin-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-project-header h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.admin-client-info {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

.admin-client-info strong {
    color: #0EC6CE;
    font-weight: 700;
}

.admin-project-meta {
    display: flex;
    gap: 0.75rem;
}

/* Post Update Card */
.admin-post-update-card {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.1) 0%, rgba(14, 198, 206, 0.05) 100%);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.admin-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 198, 206, 0.2);
    border-radius: 12px;
    color: #0EC6CE;
}

.admin-card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.admin-card-header p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Admin Form */
.admin-update-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-form-group label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.admin-form-group input,
.admin-form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    color: #ffffff;
    line-height: 1.6;
    transition: all 0.2s;
}

.admin-form-group textarea {
    resize: vertical;
    font-family: 'Courier New', monospace;
}

.admin-form-group input:focus,
.admin-form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(14, 198, 206, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.15);
}

.admin-form-group input::placeholder,
.admin-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.admin-form-actions {
    display: flex;
    gap: 1rem;
}

.admin-btn-primary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0EC6CE 0%, #0AA8AF 100%);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(14, 198, 206, 0.5);
}

/* Admin Activity Section */
.admin-activity-section {
    margin-bottom: 3rem;
}

.admin-activity-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Admin Project Details */
.admin-project-details {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.admin-project-details h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.detail-row {
    margin-bottom: 1.5rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0EC6CE;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.detail-row p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* File Upload UI */
.file-upload-area {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.file-upload-label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(14, 198, 206, 0.4);
}

.file-upload-label svg {
    color: rgba(255, 255, 255, 0.6);
}

.file-upload-label span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.file-upload-label small {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.file-input {
    display: none;
}

/* Activity Files Display */
.activity-files {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.file-attachment {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.2s;
    min-width: 200px;
    max-width: 300px;
}

.file-attachment:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.3);
    transform: translateY(-2px);
}

.file-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 198, 206, 0.15);
    border-radius: 8px;
    color: #0EC6CE;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.125rem;
}

/* Responsive Admin - compact tables on smaller desktops */
@media (max-width: 1366px) {
    .admin-table th {
        padding: 0.75rem 1rem;
    }

    .admin-table td {
        padding: 1rem;
    }
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
    }

    .admin-table {
        min-width: 600px;
    }

    .admin-table th {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .admin-table td {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .admin-project-header {
        flex-direction: column;
    }

    .project-header-actions {
        flex-direction: column;
        width: 100%;
    }

    .project-header-actions .project-action-btn {
        width: 100%;
        justify-content: center;
    }

    .project-header-actions--compact {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .project-header-actions--compact .project-action-btn {
        width: auto;
    }

    .user-project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .user-project-actions {
        width: 100%;
    }

    .user-project-actions .admin-action-link {
        flex: 1;
        text-align: center;
    }
}

/* ==========================================
   Flash Messages / Alerts
   ========================================== */
.flash-messages {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    width: 100%;
    pointer-events: none;
}

.flash-message {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-left: 4px solid;
    pointer-events: auto;
    animation: slideInRight 0.3s ease-out;
    backdrop-filter: blur(10px);
}

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

/* Success Messages */
.flash-success .flash-message {
    border-left-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.flash-success .flash-message::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Error Messages */
.flash-error .flash-message {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.flash-error .flash-message::before {
    content: '✕';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Warning Messages */
.flash-warning .flash-message {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.flash-warning .flash-message::before {
    content: '⚠';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f59e0b;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Info Messages */
.flash-info .flash-message {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.flash-info .flash-message::before {
    content: 'ℹ';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Message Text */
.flash-message {
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    .flash-messages {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }

    .flash-message {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}

/* Code Block Styling for Activity Feed */

/* Inline Code */
.activity-body code.inline-code,
.activity-reply-body code.inline-code {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 0.875em;
    font-weight: 500;
}

/* Multi-line Code Blocks */
.activity-body .code-block,
.activity-reply-body .code-block {
    margin: 1rem 0;
    background: #1a1a2e;
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
}

.code-language {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #818cf8;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
}

.code-copy-btn {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #818cf8;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: system-ui, -apple-system, sans-serif;
}

.code-copy-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: #818cf8;
}

.code-copy-btn.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

.code-block pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    background: transparent;
}

.code-block code {
    display: block;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #e8e8e8;
    white-space: pre;
    word-wrap: normal;
}

/* Scrollbar styling for code blocks */
.code-block pre::-webkit-scrollbar {
    height: 8px;
}

.code-block pre::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.code-block pre::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 4px;
}

.code-block pre::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* Responsive adjustments for code blocks */
@media (max-width: 768px) {
    .code-block pre {
        padding: 0.75rem;
    }

    .code-block code {
        font-size: 0.8125rem;
    }

    .code-block-header {
        padding: 0.4rem 0.75rem;
    }

    .code-language {
        font-size: 0.7rem;
    }

    .code-copy-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

/* ==========================================
   NEW FEATURE STYLES - Demo, Status, Feedback
   ========================================== */

/* Demo Project Card */
.project-card-demo {
    position: relative;
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(14, 198, 206, 0.25);
}
.project-card-demo:hover {
    border-color: rgba(14, 198, 206, 0.4);
}
.project-card-demo .demo-dismiss-form {
    position: absolute;
    top: 1rem;
    right: 1rem;
}
.demo-dismiss-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}
.demo-dismiss-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* Demo Banner in Project View */
.demo-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(14, 198, 206, 0.3);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.demo-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(14, 198, 206, 0.2);
    border-radius: 8px;
    color: #0EC6CE;
}
.demo-banner-content {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9375rem;
}
.demo-banner-content strong {
    color: #0EC6CE;
}

/* Admin Project Brief */
.admin-project-brief {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.brief-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.brief-header h2 {
    font-size: 1.25rem;
    color: #fff;
}
.btn-outline-small {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(14, 198, 206, 0.5);
    border-radius: 6px;
    color: #0EC6CE;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline-small:hover {
    background: rgba(14, 198, 206, 0.1);
    border-color: #0EC6CE;
}
.brief-content {
    display: grid;
    gap: 1rem;
}
.brief-section h4 {
    font-size: 0.8125rem;
    color: #0EC6CE;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.brief-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* Status Select */
.status-select {
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
}
.status-select:focus {
    outline: none;
    border-color: #0EC6CE;
}

/* Trial Badges */
.trial-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}
.trial-badge.trial-active {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
}
.trial-badge.trial-expired {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}
.trial-badge.trial-pending {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

/* Feedback Deadline */
.feedback-deadline-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}
.feedback-deadline-info svg {
    color: #0EC6CE;
}
.unlocked-count {
    color: #fbbf24;
}
/* Sidebar Countdown Timer */
.sidebar-countdown-card {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.12) 0%, rgba(14, 198, 206, 0.04) 100%);
    border: 1px solid rgba(14, 198, 206, 0.25);
}
.sidebar-countdown-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0EC6CE;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.sidebar-countdown-timer {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}
.sidebar-countdown-unit {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.625rem 0.5rem;
}
.sidebar-countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0EC6CE;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.sidebar-countdown-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.25rem;
}
.sidebar-countdown-card.countdown-urgent .sidebar-countdown-value {
    color: #f97316;
    animation: pulse-urgent 1s ease-in-out infinite;
}
.sidebar-countdown-card.countdown-urgent .sidebar-countdown-header {
    color: #f97316;
}
@keyframes pulse-urgent {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.sidebar-countdown-card.countdown-expired {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}
.sidebar-countdown-card.countdown-expired .sidebar-countdown-value {
    color: #fbbf24;
    animation: none;
}
.sidebar-countdown-card.countdown-expired .sidebar-countdown-header {
    color: #fbbf24;
}

/* Payment Activity Styles */
.timeline-dot-payment {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}
.activity-avatar-payment {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
}
.activity-card-payment {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.05);
}
.activity-badge-payment {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.activity-card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.activity-card-content .activity-body {
    flex: 1;
    min-width: 0;
}
.payment-manage-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    color: #22c55e;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.payment-manage-btn:hover {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.5);
}

/* Activity Locked/Pending Badges */
.activity-badge-locked {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #22c55e !important;
}
.activity-badge-pending {
    background: rgba(251, 191, 36, 0.15) !important;
    color: #fbbf24 !important;
}
.activity-locked {
    opacity: 0.85;
    border-left-color: rgba(34, 197, 94, 0.5) !important;
}

/* Trial Pending Banner */
.trial-status-banner.trial-pending {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}
.trial-status-banner.trial-pending .trial-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}
.trial-status-banner.trial-pending .trial-content strong {
    color: #fbbf24;
}

/* =====================================================
   Admin Project View Styles
   ===================================================== */
.admin-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}
.admin-control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-control-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}
.inline-form {
    display: inline-flex;
}
.admin-select {
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.875rem;
    cursor: pointer;
}
.admin-select:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
}
.admin-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.8);
}
.admin-info-badge svg {
    color: rgba(255, 255, 255, 0.5);
}
.badge-count {
    color: rgba(255, 255, 255, 0.5);
}
.admin-warning-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 0.875rem;
}
.admin-update-form-wrapper {
    border-color: rgba(99, 102, 241, 0.3);
}
.admin-avatar {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-avatar svg {
    color: #ffffff;
}
.admin-title-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s;
}
.admin-title-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
}
.admin-title-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.admin-submit-btn {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
}
.admin-submit-btn:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%) !important;
}

/* Admin Note Styles */
.admin-note-details {
    width: 100%;
}
.admin-note-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    list-style: none;
}
.admin-note-toggle::-webkit-details-marker {
    display: none;
}
.admin-note-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
}
.admin-note-toggle svg {
    color: #f59e0b;
}
.admin-note-toggle .note-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: auto;
}
.admin-note-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
}
.admin-note-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
}
/* AI Summary Generating Overlay */
.ai-textarea-wrapper {
    position: relative;
}
.ai-generating-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 20, 0.92);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    z-index: 10;
}
.ai-generating-overlay.active {
    display: flex;
}
.ai-generating-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0EC6CE;
    letter-spacing: 0.03em;
}
.ai-generating-label svg {
    animation: aiSpin 1.5s linear infinite;
}
@keyframes aiSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.ai-shimmer-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 80%;
}
.ai-shimmer-line {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(14, 198, 206, 0.06), rgba(14, 198, 206, 0.18), rgba(14, 198, 206, 0.06));
    background-size: 200% 100%;
    animation: codeShimmer 1.5s ease-in-out infinite;
}
.ai-shimmer-line:nth-child(1) { width: 90%; }
.ai-shimmer-line:nth-child(2) { width: 70%; animation-delay: 0.15s; }
.ai-shimmer-line:nth-child(3) { width: 80%; animation-delay: 0.3s; }
.ai-shimmer-line:nth-child(4) { width: 55%; animation-delay: 0.45s; }
.ai-shimmer-line:nth-child(5) { width: 65%; animation-delay: 0.6s; }

.activity-avatar-note {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}
.timeline-dot-note {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}
.activity-badge-note {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}
.activity-card-note {
    border-left: 3px solid #f59e0b;
}

/* Admin Dashboard Table Countdown */
.admin-table-countdown .sidebar-countdown-timer {
    gap: 0.5rem;
}
.admin-table-countdown .sidebar-countdown-unit {
    min-width: 2.5rem;
}
.admin-table-countdown .sidebar-countdown-value {
    font-size: 1.25rem;
}
.admin-table-countdown .sidebar-countdown-label {
    font-size: 0.5625rem;
}
.admin-table-countdown.countdown-urgent .sidebar-countdown-value {
    color: #f97316;
    animation: pulse-urgent 1s ease-in-out infinite;
}
.admin-table-countdown.countdown-expired .sidebar-countdown-value {
    color: #6b7280;
    animation: none;
}
.no-deadline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Status Badge Styles (client-aligned) */
.status-pending {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}
.status-planning {
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #94a3b8;
}
.status-demo {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}
.status-awaiting {
    background: rgba(249, 115, 22, 0.15);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #f97316;
}
.status-building {
    background: rgba(14, 198, 206, 0.15);
    border: 1px solid rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
}
.status-complete {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}
.status-active {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.admin-payment-id {
    display: block;
    margin-top: 0.5rem;
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}
.admin-details-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.admin-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.admin-detail-row:last-child {
    border-bottom: none;
}
.detail-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}
.detail-value {
    font-size: 0.875rem;
    color: #ffffff;
    font-weight: 500;
}
.detail-mono {
    font-family: monospace;
    font-size: 0.75rem;
}
.flash-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}
.flash-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.flash-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* =====================================================
   Error Pages
   ===================================================== */
.error-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.error-icon-warning {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

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

.error-code {
    font-size: 5rem;
    font-weight: 800;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1.5rem 0;
    line-height: 1;
    letter-spacing: -0.05em;
}

.error-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.error-actions .auth-btn {
    width: 100%;
    white-space: nowrap;
}

.auth-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

.auth-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

@media (min-width: 480px) {
    .error-actions {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }

    .error-actions .auth-btn {
        flex: 1;
        width: auto;
        max-width: 180px;
    }
}

/* ==========================================
   WHAT YOU GET SECTION (Dashboard Features)
   ========================================== */
.what-you-get-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, rgba(14, 198, 206, 0.03) 0%, transparent 100%);
}

.what-you-get-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem;
}

.what-you-get-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.wyg-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}

.wyg-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(14, 198, 206, 0.25);
    transform: translateY(-3px);
}

.wyg-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 198, 206, 0.12);
    border-radius: 12px;
    color: #0EC6CE;
    margin-bottom: 1.25rem;
}

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

.wyg-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.wyg-card p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 1024px) {
    .what-you-get-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .what-you-get-section {
        padding: 4rem 1.5rem;
    }

    .what-you-get-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   MARKETING TOOLS SECTION
   ========================================== */
.marketing-tools-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(14, 198, 206, 0.04) 50%, transparent 100%);
}

.marketing-tools-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.marketing-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

@media (max-width: 640px) {
    .marketing-tools-section {
        padding: 4rem 1.5rem;
    }

    .marketing-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   WHAT WE BUILD SECTION
   ========================================== */
.what-we-build-section {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.what-we-build-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.build-examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.build-example {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.build-example:hover {
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(14, 198, 206, 0.2);
    transform: translateY(-3px);
}

.build-example-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 198, 206, 0.1);
    border: 1px solid rgba(14, 198, 206, 0.15);
    border-radius: 12px;
    color: #0EC6CE;
}

.build-example-content {
    flex: 1;
    min-width: 0;
}

.build-example h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.build-example p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

@media (max-width: 900px) {
    .build-examples-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 600px) {
    .what-we-build-section {
        padding: 4rem 1.5rem;
    }

    .build-examples-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .build-example {
        padding: 1.5rem;
    }
}

/* ==========================================
   LEGAL PAGES (Privacy, Terms, Cookies)
   ========================================== */
.legal-page {
    min-height: 100vh;
    background: #0a0a0f;
    color: rgba(255, 255, 255, 0.85);
}

/* Legal Navigation */
.legal-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.legal-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-nav-brand:hover {
    opacity: 0.85;
}

.legal-nav-brand svg {
    color: #0EC6CE;
}

.legal-nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legal-nav-back:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* Legal Container */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

/* Legal Header */
.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.legal-updated {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Legal Content */
.legal-content {
    line-height: 1.75;
}

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

.legal-section h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(14, 198, 206, 0.3);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

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

.legal-section ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.legal-section ul li::marker {
    color: #0EC6CE;
}

.legal-section a {
    color: #0EC6CE;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #3dd8e0;
    text-decoration: underline;
}

.legal-section strong {
    color: #ffffff;
    font-weight: 600;
}

/* Legal Table */
.legal-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.legal-table thead {
    background: rgba(14, 198, 206, 0.12);
}

.legal-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-table td {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Legal Contact */
.legal-contact {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.legal-contact p {
    margin-bottom: 0.75rem;
}

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

/* Legal Footer Navigation */
.legal-footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-footer-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.legal-footer-nav a:hover {
    color: #ffffff;
    background: rgba(14, 198, 206, 0.12);
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-nav-content {
        padding: 1rem 1.5rem;
    }

    .legal-nav-brand span {
        display: none;
    }

    .legal-container {
        padding: 2rem 1.5rem 3rem;
    }

    .legal-header h1 {
        font-size: 1.875rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-section h3 {
        font-size: 1.0625rem;
    }

    .legal-table th,
    .legal-table td {
        padding: 0.75rem;
        font-size: 0.8125rem;
    }

    .legal-footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .legal-container {
        padding: 1.5rem 1rem 2.5rem;
    }

    .legal-header h1 {
        font-size: 1.625rem;
    }

    .legal-table-wrapper {
        font-size: 0.75rem;
    }
}

/* ==========================================
   Confirmation Modal
   ========================================== */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.confirm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.confirm-modal-overlay.active .confirm-modal {
    transform: scale(1);
}

.confirm-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(14, 198, 206, 0.1);
    color: #0EC6CE;
}

.confirm-modal-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.confirm-modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.confirm-modal-message {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.confirm-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.confirm-modal-actions button {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.confirm-modal-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.confirm-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.confirm-modal-confirm {
    background: #0EC6CE;
    border: 1px solid #0EC6CE;
    color: #000000;
}

.confirm-modal-confirm:hover {
    background: #0fb3ba;
}

.confirm-modal-confirm.danger {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.confirm-modal-confirm.danger:hover {
    background: #dc2626;
}

/* ========================================
   FEEDBACK UX IMPROVEMENTS
   ======================================== */

/* Expired Countdown Message */
.sidebar-countdown-expired-message {
    margin-top: 0.75rem;
}
.expired-msg-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}
.expired-msg-body {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0 0 0.5rem;
}
.expired-msg-hint {
    font-size: 0.75rem;
    color: rgba(14, 198, 206, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Locked Feedback Badge */
.activity-badge-locked {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
    color: rgba(251, 191, 36, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.activity-card-feedback.feedback-locked {
    border-left: 3px solid rgba(251, 191, 36, 0.3);
}

/* Building Card (in-progress indicator) */
.building-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.building-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(14, 198, 206, 0.1);
    border: 1px solid rgba(14, 198, 206, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: buildPulse 1.5s ease-in-out infinite;
    color: #0EC6CE;
}
@keyframes buildPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.building-card-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}
.building-card-text span {
    color: #0EC6CE;
}
.code-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.code-line {
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(14, 198, 206, 0.08), rgba(14, 198, 206, 0.15), rgba(14, 198, 206, 0.08));
    background-size: 200% 100%;
    animation: codeShimmer 1.5s ease-in-out infinite;
}
.code-line:nth-child(1) { width: 85%; }
.code-line:nth-child(2) { width: 65%; animation-delay: 0.2s; }
.code-line:nth-child(3) { width: 75%; animation-delay: 0.4s; }
.code-line:nth-child(4) { width: 50%; animation-delay: 0.6s; }
.building-card {
    background: rgba(14, 198, 206, 0.04);
    border: 1px solid rgba(14, 198, 206, 0.12);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
}
.building-card-main {
    flex: 1;
    min-width: 0;
}
.building-card-countdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding-left: 1.25rem;
    border-left: 1px solid rgba(14, 198, 206, 0.1);
}
.building-countdown-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.building-countdown-timer {
    display: flex;
    gap: 0.375rem;
}
@media (max-width: 768px) {
    .building-card {
        flex-direction: column;
    }
    .building-card-countdown {
        padding-left: 0;
        padding-top: 1rem;
        border-left: none;
        border-top: 1px solid rgba(14, 198, 206, 0.1);
    }
}
@keyframes codeShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* How It Works Sidebar Card */
.sidebar-how-it-works {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.06) 0%, rgba(14, 198, 206, 0.02) 100%);
    border-color: rgba(14, 198, 206, 0.12);
}
.sidebar-card-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.sidebar-collapse-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
}
.sidebar-collapse-toggle:hover {
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.05);
}
.sidebar-dismiss-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
}
.sidebar-dismiss-btn:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}
.sidebar-collapse-toggle svg {
    transition: transform 0.2s;
}
.sidebar-collapse-toggle.collapsed svg {
    transform: rotate(-90deg);
}
.how-it-works-body {
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}
.how-it-works-body.collapsed {
    max-height: 0;
    opacity: 0;
}
.how-it-works-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.how-it-works-steps li {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-left: 1rem;
    position: relative;
}
.how-it-works-steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0EC6CE;
}
.how-it-works-steps li strong {
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}
.how-it-works-steps li span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* Onboarding Tooltips */
.onboarding-tip {
    position: absolute;
    z-index: 5000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.94);
    display: none;
}
.onboarding-tip.show {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
    display: block;
}
.onboarding-tip-box {
    position: relative;
    background: rgba(8, 10, 22, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(14, 198, 206, 0.2);
    border-radius: 16px;
    padding: 1.25rem 1.5rem 1rem;
    max-width: 340px;
    min-width: 260px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(14, 198, 206, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}
.onboarding-tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(14, 198, 206, 0.5), rgba(139, 92, 246, 0.3), transparent);
}
.onboarding-tip-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}
.onboarding-tip-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.15), rgba(14, 198, 206, 0.06));
    border: 1px solid rgba(14, 198, 206, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.onboarding-tip-counter {
    font-size: 0.6875rem;
    font-weight: 700;
    color: rgba(14, 198, 206, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.onboarding-tip-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    margin-bottom: 1rem;
}
.onboarding-tip-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.onboarding-tip-dismiss {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.14), rgba(14, 198, 206, 0.06));
    border: 1px solid rgba(14, 198, 206, 0.25);
    border-radius: 10px;
    color: #0EC6CE;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.onboarding-tip-dismiss:hover {
    background: linear-gradient(135deg, rgba(14, 198, 206, 0.22), rgba(14, 198, 206, 0.1));
    border-color: rgba(14, 198, 206, 0.4);
    transform: translateY(-1px);
}
.onboarding-tip-skip {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border: none;
    background: none;
    font-family: inherit;
    transition: color 0.2s;
}
.onboarding-tip-skip:hover {
    color: rgba(255, 255, 255, 0.5);
}
.onboarding-tip-arrow {
    position: absolute;
    width: 14px;
    height: 14px;
    background: rgba(8, 10, 22, 0.96);
    border: 1px solid rgba(14, 198, 206, 0.2);
    transform: rotate(45deg);
    pointer-events: none;
}
.onboarding-tip-target {
    box-shadow: 0 0 0 2px rgba(14, 198, 206, 0.35), 0 0 30px rgba(14, 198, 206, 0.1) !important;
    transition: box-shadow 0.4s !important;
    animation: tipTargetPulse 2s ease-in-out infinite !important;
}
@keyframes tipTargetPulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(14, 198, 206, 0.35), 0 0 30px rgba(14, 198, 206, 0.1); }
    50% { box-shadow: 0 0 0 4px rgba(14, 198, 206, 0.2), 0 0 40px rgba(14, 198, 206, 0.15); }
}

/* Tooltip & building card mobile */
@media (max-width: 768px) {
    .onboarding-tip-box {
        max-width: calc(100vw - 2rem);
        min-width: 220px;
        padding: 1rem 1.25rem 0.875rem;
    }
    .onboarding-tip-text {
        font-size: 0.875rem;
    }
}

/* --- Linear Integration --- */
.activity-badge-linear {
    background: rgba(99, 91, 255, 0.15);
    color: #8B83FF;
    border: 1px solid rgba(99, 91, 255, 0.25);
}
.activity-reply-actions {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.activity-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.activity-reply-btn:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
}
.activity-reply-form {
    margin-top: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    position: relative;
}
.latest-reply-preview {
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0 0;
    background: rgba(255,255,255,0.03);
    border-left: 2px solid rgba(14,198,206,0.3);
    border-radius: 0 6px 6px 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.5);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: baseline;
}
.reply-preview-author {
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    flex-shrink: 0;
}
.reply-preview-text {
    color: rgba(255,255,255,0.45);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.reply-preview-time {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    margin-left: auto;
}
.reply-posting-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    gap: 0.625rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.8125rem;
    font-weight: 600;
}
.reply-posting-overlay .posting-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(14, 198, 206, 0.3);
    border-top-color: #0EC6CE;
    border-radius: 50%;
    animation: reply-spin 0.6s linear infinite;
}
@keyframes reply-spin {
    to { transform: rotate(360deg); }
}
.activity-reply-textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.activity-reply-textarea:focus {
    outline: none;
    border-color: rgba(14, 198, 206, 0.5);
}
.activity-reply-textarea::placeholder {
    color: rgba(255,255,255,0.25);
}
.activity-reply-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.activity-reply-submit {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #000;
    background: #0EC6CE;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.activity-reply-submit:hover {
    opacity: 0.85;
}
.activity-reply-cancel {
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}
.activity-reply-cancel:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
}
.activity-replies {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.activity-reply-item {
    padding: 10px 12px;
    padding-left: 14px;
    border-left: 2px solid rgba(14, 198, 206, 0.3);
    background: rgba(255,255,255,0.02);
    border-radius: 0 6px 6px 0;
}
.activity-reply-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.activity-avatar-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.activity-avatar-small.activity-avatar-note {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
}
.activity-avatar-small.activity-avatar-client {
    background: rgba(99, 102, 241, 0.15);
    color: #818CF8;
    font-size: 8px;
    font-weight: 600;
}
.activity-reply-author {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}
.activity-reply-time {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-left: auto;
}
.activity-reply-body {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}
.activity-reply-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 6px;
    padding: 4px 8px;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
    width: fit-content;
}

/* ==========================================
   RICH TEXT TOOLBAR
   ========================================== */
.richtext-toolbar {
    position: absolute;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 4px 6px;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}

.richtext-toolbar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.richtext-toolbar-btn:hover {
    background: rgba(14, 198, 206, 0.15);
    color: #0EC6CE;
}

.richtext-toolbar-btn strong {
    font-weight: 700;
    font-size: 14px;
}

.richtext-toolbar-btn em {
    font-style: italic;
    font-size: 14px;
}

.richtext-toolbar-btn s {
    font-size: 14px;
}

.richtext-toolbar-btn code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 11px;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
}

.richtext-toolbar-btn svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.richtext-toolbar-separator {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 3px;
}

/* ==========================================
   RICH TEXT CONTENT (rendered markdown)
   ========================================== */
.activity-body ul,
.activity-body ol,
.activity-reply-body ul,
.activity-reply-body ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.activity-body li,
.activity-reply-body li {
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.activity-body ol,
.activity-reply-body ol {
    list-style-type: decimal;
}

.activity-body ul,
.activity-reply-body ul {
    list-style-type: disc;
}

.richtext-blockquote {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    border-left: 3px solid rgba(129, 140, 248, 0.4);
    background: rgba(129, 140, 248, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 0 6px 6px 0;
}

.richtext-task {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    padding: 0.15rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: inherit;
    line-height: 1.6;
}

.richtext-task-done {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
}

.richtext-image {
    max-width: 100%;
    border-radius: 8px;
    margin: 0.5rem 0;
    display: block;
}

/* ==========================================
   RICH TEXT EDITOR (contenteditable)
   ========================================== */
.richtext-editor {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
    font-family: inherit;
    line-height: 1.6;
    overflow-y: auto;
    outline: none;
    word-wrap: break-word;
    white-space: pre-wrap;
    cursor: text;
}

/* Match .feedback-textarea appearance */
.richtext-editor-feedback {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    margin-bottom: 1rem;
}
.richtext-editor-feedback:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 198, 206, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.1);
}

/* Match .activity-reply-textarea appearance */
.richtext-editor-reply {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 13px;
    transition: border-color 0.2s;
}
.richtext-editor-reply:focus {
    border-color: rgba(14, 198, 206, 0.5);
}

/* Placeholder */
.richtext-editor.is-empty::before {
    content: attr(data-placeholder);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    position: absolute;
}
.richtext-editor-reply.is-empty::before {
    color: rgba(255, 255, 255, 0.25);
}

/* Formatting inside the editor */
.richtext-editor strong,
.richtext-editor b {
    font-weight: 700;
}
.richtext-editor em,
.richtext-editor i {
    font-style: italic;
}
.richtext-editor s,
.richtext-editor strike,
.richtext-editor del {
    text-decoration: line-through;
}
.richtext-editor code {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 0.875em;
}
.richtext-editor a {
    color: #0EC6CE;
    text-decoration: underline;
    text-decoration-color: rgba(14, 198, 206, 0.4);
    text-underline-offset: 2px;
}
.richtext-editor a:hover {
    text-decoration-color: #0EC6CE;
}
.richtext-editor h3 {
    font-size: 1.05em;
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================
   RICH TEXT LINK MODAL
   ========================================== */
.richtext-link-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.richtext-link-overlay.active {
    opacity: 1;
    visibility: visible;
}
.richtext-link-modal {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}
.richtext-link-overlay.active .richtext-link-modal {
    transform: scale(1);
}
.richtext-link-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(14, 198, 206, 0.1);
    color: #0EC6CE;
}
.richtext-link-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}
.richtext-link-message {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.richtext-link-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: 1.5rem;
}
.richtext-link-input:focus {
    border-color: rgba(14, 198, 206, 0.5);
    box-shadow: 0 0 0 3px rgba(14, 198, 206, 0.1);
}
.richtext-link-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.richtext-link-actions {
    display: flex;
    gap: 0.75rem;
}
.richtext-link-actions button {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}
.richtext-link-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}
.richtext-link-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.richtext-link-confirm {
    background: #0EC6CE;
    border: 1px solid #0EC6CE;
    color: #000000;
}
.richtext-link-confirm:hover {
    background: #0fb3ba;
}

/* ==========================================
   FEEDBACK STATUS BADGES & DROPDOWN
   ========================================== */
.feedback-badge-queued {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}
.feedback-badge-in_review {
    background: rgba(14, 198, 206, 0.15);
    border-color: rgba(14, 198, 206, 0.3);
    color: #0EC6CE;
}
.feedback-badge-completed {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}
.feedback-badge-awaiting-reply {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Custom dropdown (admin) */
.feedback-status-dropdown {
    position: relative;
    flex-shrink: 0;
}
.feedback-status-trigger {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: opacity 0.15s;
    white-space: nowrap;
    line-height: 1.6;
}
.feedback-status-trigger:hover {
    opacity: 0.85;
}
.feedback-status-trigger.loading {
    opacity: 0.5;
    pointer-events: none;
}
.feedback-status-trigger svg {
    opacity: 0.6;
}
.feedback-status-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 50;
    min-width: 160px;
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.35rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.feedback-status-menu.open {
    display: block;
}
.feedback-status-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    transition: background 0.1s;
}
.feedback-status-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}
.feedback-status-option.active {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-weight: 600;
}
.feedback-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.feedback-dot-queued {
    background: #fbbf24;
}
.feedback-dot-in_review {
    background: #0EC6CE;
}
.feedback-dot-completed {
    background: #22c55e;
}
.feedback-dot-reply_needed {
    background: #ef4444;
}

/* Feedback status filter bar */
.activity-feed-filters {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.activity-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.activity-filter-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
}
.activity-filter-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}
.activity-filter-btn.active.activity-filter-queued {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.25);
}
.activity-filter-btn.active.activity-filter-in_review {
    color: #0EC6CE;
    background: rgba(14, 198, 206, 0.1);
    border-color: rgba(14, 198, 206, 0.25);
}
.activity-filter-btn.active.activity-filter-completed {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
}
.activity-filter-btn.active.activity-filter-new {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}
.activity-filter-btn.active.activity-filter-update {
    color: #0EC6CE;
    background: rgba(14, 198, 206, 0.1);
    border-color: rgba(14, 198, 206, 0.25);
}
.activity-filter-btn.active.activity-filter-feedback {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.25);
}
.activity-filter-btn.active.activity-filter-payment {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
}
.filter-count {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Feedback sub-filters (queued/in_review/completed row) */
.activity-search-bar {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}
.activity-search-bar .search-icon {
    position: absolute;
    left: 0.6rem;
    color: rgba(255,255,255,0.35);
    pointer-events: none;
}
.activity-search-bar .search-input {
    width: 100%;
    padding: 0.4rem 0.6rem 0.4rem 2rem;
    font-size: 0.8125rem;
    font-family: inherit;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    outline: none;
    transition: all 0.2s;
}
.activity-search-bar .search-input::placeholder {
    color: rgba(255,255,255,0.3);
}
.activity-search-bar .search-input:focus {
    border-color: rgba(14,198,206,0.4);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(14,198,206,0.1);
}
.activity-sort-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.sort-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.sort-btn {
    font-size: 0.75rem;
    font-family: inherit;
    color: rgba(255,255,255,0.45);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: all 0.15s;
}
.sort-btn:hover {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.05);
}
.sort-btn.active {
    color: #0EC6CE;
    background: rgba(14,198,206,0.1);
}
.activity-feed-subfilters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.activity-subfilter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.activity-subfilter-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
}
.activity-subfilter-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}
.activity-subfilter-btn.active[data-filter="queued"] {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.25);
}
.activity-subfilter-btn.active[data-filter="in_review"] {
    color: #0EC6CE;
    background: rgba(14, 198, 206, 0.1);
    border-color: rgba(14, 198, 206, 0.25);
}
.activity-subfilter-btn.active[data-filter="completed"] {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
}

/* ==========================================
   NOTIFICATION BELL & SIDEBAR
   ========================================== */
.notification-bell-wrapper {
    position: relative;
}
.notification-bell-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.15s;
    position: relative;
}
.notification-bell-btn:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
}
.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: #ef4444;
    border-radius: 8px;
    line-height: 1;
}
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
.notification-overlay.open {
    opacity: 1;
    visibility: visible;
}
.notification-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: #111118;
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification-sidebar.open {
    transform: translateX(0);
}
.notification-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.notification-sidebar-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.notification-sidebar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.notification-mark-read-btn,
.notification-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.15s;
}
.notification-mark-read-btn:hover,
.notification-close-btn:hover {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.08);
}
.notification-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}
.notification-sidebar-body::-webkit-scrollbar {
    width: 6px;
}
.notification-sidebar-body::-webkit-scrollbar-track {
    background: transparent;
}
.notification-sidebar-body::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}
.notification-sidebar-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}
.notification-loading,
.notification-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.8125rem;
}
.notification-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s;
}
.notification-item.clickable {
    cursor: pointer;
}
.notification-item.clickable:hover {
    background: rgba(255,255,255,0.04);
}
.notification-item.unread {
    background: rgba(14,198,206,0.05);
    border-left: 2px solid #0EC6CE;
}
.notification-item-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
}
.notification-item.unread .notification-item-icon {
    background: rgba(14,198,206,0.12);
    color: #0EC6CE;
}
.notification-item-content {
    flex: 1;
    min-width: 0;
}
.notification-item-title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    margin-bottom: 2px;
}
.notification-item-message {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.notification-item-time {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
}
@media (max-width: 480px) {
    .notification-sidebar {
        width: 100vw;
        max-width: 100vw;
    }
}

/* ==========================================
   RESPONSIVE: RICH TEXT EDITOR
   ========================================== */
@media (max-width: 768px) {
    .richtext-editor-feedback {
        font-size: 1rem;
    }
}
