/* LabelCropper Pro Premium Styling CSS */
:root {
    --primary: #7c3aed; /* Vibrant Purple */
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    
    --bg-grad-1: #f43f5e; /* Rose */
    --bg-grad-2: #3b82f6; /* Blue */
    --bg-grad-3: #7c3aed; /* Purple */
    
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --surface-sunken: #f1f5f9;
    
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 25px 50px -12px rgba(124, 58, 237, 0.15);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', -apple-system, sans-serif; }

/* ---------------------------------------------------- */
/* LANDING PAGE SPECIFIC STYLES                         */
/* ---------------------------------------------------- */
.landing-body {
    background: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header Navigation */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.landing-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-box {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.landing-nav {
    display: flex;
    gap: 2.5rem;
}

.landing-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

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

.landing-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-signin-btn {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

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

.nav-cta-btn {
    text-decoration: none;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
    transition: all 0.2s;
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

/* Hero Section */
.hero-section {
    padding: 5rem 2rem;
    background: radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 60%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trust-badge {
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.trust-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0px rgba(16, 185, 129, 0.4); }
    100% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-cta-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-btn-primary {
    text-decoration: none;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
    transition: all 0.2s;
}

.hero-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.hero-btn-secondary {
    text-decoration: none;
    background: white;
    color: var(--text-dark);
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.hero-btn-secondary:hover {
    background: var(--surface-hover);
    border-color: #cbd5e1;
}

.hero-trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-green { color: var(--success); }
.text-purple { color: var(--primary); }

.rating-stars {
    color: #f59e0b;
}

.rating-stars strong {
    color: var(--text-dark);
    margin-left: 0.25rem;
}

/* Browser Mockup on Right */
.hero-mockup {
    position: relative;
}

.browser-mockup {
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 30px 60px -15px rgba(124, 58, 237, 0.12), 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.browser-header {
    height: 40px;
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1.5rem;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.browser-address {
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: 0.2rem 1rem;
    flex: 1;
    text-align: center;
    font-family: monospace;
}

.mockup-body {
    height: 280px;
    display: flex;
}

.mock-sidebar {
    width: 60px;
    background: #f8fafc;
    border-right: 1px solid var(--border);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.mock-logo {
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.mock-nav-item {
    width: 24px;
    height: 24px;
    background: #e2e8f0;
    border-radius: 5px;
}

.mock-nav-item.active {
    background: var(--primary-light);
}

.mock-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mock-header-cards {
    display: flex;
    gap: 1rem;
}

.mock-card {
    height: 45px;
    flex: 1;
    background: #f1f5f9;
    border-radius: 8px;
}

.mock-dropzone {
    flex: 1;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
}

.mock-upload-icon {
    width: 32px;
    height: 32px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.85rem;
}

.mock-line-short {
    width: 60px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 4px;
}

.mock-line-long {
    width: 140px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
}

.counter-badge {
    position: absolute;
    bottom: 25px;
    right: -20px;
    background: white;
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 5;
}

.badge-icon {
    width: 35px;
    height: 35px;
    background: #ecfdf5;
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-info strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.badge-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Stats Strip */
.stats-strip {
    background: #0f172a;
    color: white;
    padding: 3rem 2rem;
}

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

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.stat-item h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #334155;
}

/* General Section Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.section-tag {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.8px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 7rem 2rem;
    background: #f8fafc;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.04);
}

.f-icon-bg {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.f-icon-bg.purple-bg { background: rgba(124, 58, 237, 0.08); color: var(--primary); }
.f-icon-bg.green-bg { background: rgba(16, 185, 129, 0.08); color: var(--success); }
.f-icon-bg.orange-bg { background: rgba(245, 158, 11, 0.08); color: var(--warning); }
.f-icon-bg.blue-bg { background: rgba(59, 130, 246, 0.08); color: var(--bg-grad-2); }
.f-icon-bg.pink-bg { background: rgba(236, 72, 153, 0.08); color: #ec4899; }
.f-icon-bg.chart-bg { background: rgba(124, 58, 237, 0.08); color: var(--primary); }

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 7rem 2rem;
    background: white;
}

.steps-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-num {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 7rem 2rem;
    background: #f8fafc;
}

.secure-badge {
    background: white;
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.price-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
}

.price-card.popular {
    background: #0f172a;
    color: white;
    border: 2px solid var(--primary);
    position: relative;
    box-shadow: 0 25px 40px -15px rgba(124, 58, 237, 0.2);
}

.popular-ribbon {
    position: absolute;
    top: 20px;
    right: 25px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.price-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price-card.popular h3 { color: white; }

.price-card .desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.price-card.popular .desc {
    color: #94a3b8;
}

.price-amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price-card.popular .price-amount {
    color: white;
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-card.popular .price-amount span {
    color: #94a3b8;
}

.price-card .limit {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.price-card.popular .limit {
    color: white;
}

.price-btn {
    text-decoration: none;
    display: block;
    text-align: center;
    background: var(--surface-sunken);
    color: var(--text-dark);
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 2.5rem;
    transition: all 0.2s;
}

.price-btn:hover {
    background: #cbd5e1;
}

.price-btn.popular-btn {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.price-btn.popular-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Testimonials */
.testimonials-section {
    padding: 7rem 2rem;
    background: white;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-stars {
    color: #f59e0b;
    margin-bottom: 1.25rem;
}

.review-stars i {
    font-size: 0.9rem;
}

.quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.reviewer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}

.reviewer-avatar.pn { background: #3b82f6; }
.reviewer-avatar.am { background: #10b981; }
.reviewer-avatar.sr { background: #ec4899; }

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.reviewer-details strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.reviewer-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Final CTA Section */
.final-cta-section {
    padding: 5rem 2rem;
    background: white;
}

.cta-gradient-box {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #3b82f6 100%);
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    color: white;
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.2);
}

.cta-gradient-box h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.cta-gradient-box p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.cta-buttons-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cta-btn-primary {
    text-decoration: none;
    background: white;
    color: var(--primary);
    padding: 1.1rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: all 0.2s;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.cta-lock-text {
    font-size: 0.9rem;
    color: white;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, background 0.2s;
}

.cta-lock-text:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

/* Footer Section */
.landing-footer {
    background: #0f172a;
    color: white;
    padding: 5rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-sub {
    font-size: 0.85rem;
    color: #94a3b8;
}

.copyright {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2rem;
}

.footer-right {
    display: flex;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-links a {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}


/* ---------------------------------------------------- */
/* LOGIN PAGE SPECIFIC STYLES                           */
/* ---------------------------------------------------- */
.login-body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-grad-1) 0%, var(--bg-grad-3) 50%, var(--bg-grad-2) 100%);
    position: relative;
    padding: 2rem;
}

.back-home-link {
    position: absolute;
    top: 2rem;
    left: 2rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
    z-index: 10;
}

.back-home-link:hover {
    opacity: 0.8;
}

.login-card-container {
    width: 100%;
    max-width: 440px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
}

.login-logo-circle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius-md);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
    margin-bottom: 2rem;
}

.login-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    text-align: center;
}

.login-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

.google-btn {
    width: 100%;
    background: white;
    border: 1px solid var(--border);
    color: var(--text-dark);
    padding: 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
}

.google-btn:hover {
    background: var(--surface-hover);
    border-color: #cbd5e1;
}

.login-separator {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
    line-height: 0.1em;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.login-separator span {
    background: white;
    padding: 0 1rem;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.1);
}

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

.forgot-link {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.submit-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.signup-prompt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.signup-prompt a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2rem;
}


/* ---------------------------------------------------- */
/* DASHBOARD PAGE SPECIFIC STYLES                       */
/* ---------------------------------------------------- */
.dashboard-body {
    min-height: 100vh;
    display: flex;
    background: var(--surface-hover);
    overflow: hidden;
}

.dashboard-shell {
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow: hidden;
    background: #f1f5f9;
}

/* Sidebar */
.sidebar {
    width: 80px;
    background: white;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    flex-shrink: 0;
}

.sidebar-logo {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
}

.sidebar-nav .nav-item {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-nav .nav-item:hover, .sidebar-nav .nav-item.active {
    color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
}

.sidebar-bottom .nav-item {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-bottom .nav-item:hover {
    color: var(--danger);
    background: #fef2f2;
}

/* Main Workspace layout */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    overflow: hidden;
}

/* Dashboard Top Header */
.top-header {
    height: 80px;
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    flex-shrink: 0;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    width: 320px;
    gap: 0.75rem;
    color: var(--text-muted);
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.acc-badge {
    background: #f3e8ff;
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.notification-bell {
    color: var(--text-muted);
    font-size: 1.25rem;
    position: relative;
    cursor: pointer;
}

.bell-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: var(--danger);
    border-radius: 50%;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 1px solid var(--border);
    padding-left: 1.5rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.profile-avatar {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

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

.user-info .u-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.user-info .u-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Workspace Scroll Content */
.scroll-area {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.welcome-text {
    margin-bottom: 2rem;
}

.current-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.welcome-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 0.25rem;
}

/* Premium Outer Dropzone Container */
.dropzone-outer {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.upload-section {
    flex: 1;
    border: 2px dashed #c7d2fe;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    min-height: 360px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2.5rem;
    box-shadow: inset 0 0 20px rgba(124, 58, 237, 0.02);
    /* Allow hovered cards to visually overflow without clipping */
    overflow: visible;
}

.upload-section:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(245, 243, 255, 0.9) 0%, rgba(238, 242, 255, 0.7) 100%);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.08), inset 0 0 25px rgba(124, 58, 237, 0.05);
    transform: translateY(-2px);
}

@keyframes border-pulse {
    0% { border-color: rgba(124, 58, 237, 0.5); }
    50% { border-color: rgba(124, 58, 237, 1); }
    100% { border-color: rgba(124, 58, 237, 0.5); }
}

/* Mini upload prompt displayed at the top of the dropzone when files exist */
.mini-upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    cursor: default;
}

.mini-cloud-icon {
    font-size: 2.4rem;
    color: #0b5394; /* Matching screenshot's dark blue icon */
}

.mini-prompt-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mini-prompt-text .browse-link {
    color: #3b82f6; /* Blue accent */
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.mini-prompt-text .browse-link:hover {
    text-decoration: underline;
}

/* Container for file cards — horizontal scroll with snapping */
.file-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: flex-start;
    width: 100%;
    margin-top: 0.5rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.75rem 0.25rem 1rem 0.25rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar on most browsers but keep scrollable */
    scrollbar-width: thin;
    scrollbar-color: rgba(124,58,237,0.3) transparent;
}

.file-grid::-webkit-scrollbar {
    height: 5px;
}
.file-grid::-webkit-scrollbar-track {
    background: transparent;
}
.file-grid::-webkit-scrollbar-thumb {
    background: rgba(124,58,237,0.3);
    border-radius: 10px;
}
.file-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(124,58,237,0.55);
}

/* Redesigned Glassmorphic File Card */
.file-card {
    position: relative;
    min-width: 230px;
    width: 230px;
    height: 210px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06),
                inset 0 1px 1px rgba(255, 255, 255, 0.8);
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center bottom;
    will-change: transform, box-shadow;
}

.file-card:hover {
    transform: scale(1.05) translateY(-5px);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.12),
                inset 0 1px 2px rgba(255, 255, 255, 1);
}

.file-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 0.75rem;
    z-index: 2;
}

.file-card-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    overflow: hidden;
}

.file-card-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.file-card-size {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

/* White close icon inside black/dark circular button in top right */
.file-card-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.08);
    border: none;
    color: var(--text-dark);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.file-card-close:hover {
    background: var(--danger);
    color: white;
    transform: scale(1.1) rotate(90deg);
}

/* Central portrait PDF page thumbnail */
.file-card-preview {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    margin: 0.5rem 0;
    height: 110px;
    width: 100%;
    z-index: 1;
}

.thumbnail-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
    max-height: 115px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.file-card-thumbnail {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease;
}

.file-card:hover .file-card-thumbnail {
    transform: scale(1.06);
}

/* Hover overlay on thumbnail showing "Click to view" */
.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(124, 58, 237, 0.72); /* Semi-transparent brand purple */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    transition: all 0.22s ease-in-out;
    pointer-events: none; /* Let clicks pass to parent */
}

.file-card:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    font-size: 1.15rem;
    transform: translateY(6px);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.file-card:hover .thumbnail-overlay i {
    transform: translateY(0);
}

.thumbnail-overlay span {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transform: translateY(4px);
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.file-card:hover .thumbnail-overlay span {
    transform: translateY(0);
}

.file-card-spinner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    animation: pulse 1.5s infinite ease-in-out;
}

.file-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 2;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    padding-top: 0.5rem;
}

.file-card-status-badge {
    font-size: 0.68rem;
    font-weight: 700;
    color: #15803d;
    background: #f0fdf4;
    padding: 3px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #bbf7d0;
}

/* Vertical drag handle pill on right side */
.file-card-handle {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px 8px;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 8px;
    cursor: grab;
    transition: background 0.2s;
}

.file-card-handle:hover {
    background: rgba(124, 58, 237, 0.08);
}

.file-card-handle span {
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
}


.upload-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
    transition: all 0.3s ease;
}

.upload-circle::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 2px solid rgba(124, 58, 237, 0.2);
    opacity: 1;
    animation: circle-pulse 2s infinite;
}

@keyframes circle-pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.upload-section:hover .upload-circle {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.45);
}

.upload-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--text-dark) 30%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desc-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 460px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.browse-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #6d28d9 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.browse-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, var(--primary-dark) 100%);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.45);
    transform: translateY(-1px);
}

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

.drag-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.badge-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.file-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.file-badge:nth-child(1) {
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.file-badge:nth-child(2) {
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.file-badge:nth-child(3) {
    background: rgba(236, 72, 153, 0.08);
    color: #db2777;
    border: 1px solid rgba(236, 72, 153, 0.15);
}

.size-limit-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-weight: 500;
}

/* Status Panel */
.status-panel {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
    width: 100%;
}

.status-left {
    flex: 1;
    border-right: 1px dashed var(--border);
    padding-right: 1.5rem;
}

.status-left h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.status-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.file-list {
    max-height: 140px;
    overflow-y: auto;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--surface-hover);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
}

.file-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
    font-weight: 500;
}

.file-item-remove {
    color: var(--danger);
    cursor: pointer;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.2s;
}

.primary-btn {
    background: var(--text-dark);
    color: white;
    border: none;
    width: 100%;
    padding: 0.9rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.primary-btn:hover:not(:disabled) {
    background: black;
}

.primary-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

.debug-pane {
    background: #f8fafc;
    color: var(--primary);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: 600;
    max-height: 80px;
    overflow-y: auto;
    border: 1px solid var(--border);
}

/* Right Settings Panel */
.right-panel {
    width: 340px;
    background: white;
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.right-panel .right-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.header-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-icon-bg {
    width: 36px;
    height: 36px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.settings-title-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
}

.settings-title-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.settings-scroll {
    padding: 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.settings-group {
    margin-bottom: 1.5rem;
    background: transparent;
    padding: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.settings-group:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.group-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.group-title::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.group-title.purple-dot::before { background: var(--primary); }
.group-title.orange-dot::before { background: var(--warning); }
.group-title.blue-dot::before { background: var(--bg-grad-2); }
.group-title.brand-dot::before { background: #ec4899; }

.toggle-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    cursor: pointer;
}

.toggle-switch .label-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.toggle-switch input {
    display: none;
}

.toggle-switch .slider {
    position: relative;
    width: 38px;
    height: 20px;
    background-color: #cbd5e1;
    border-radius: 20px;
    transition: 0.2s;
}

.toggle-switch .slider::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.toggle-switch input:checked + .slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(18px);
}

/* Recent Crops History Card */
.recent-crops-card {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

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

.recent-info h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.recent-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.view-all-link {
    font-size: 0.75rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.crops-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.crop-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.crop-item-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.pdf-icon-bg {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #fef2f2;
    color: var(--danger);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.crop-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.crop-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.crop-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.status-done-badge {
    background: #ecfdf5;
    color: var(--success);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Glass toast styles */
.glass-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: white;
    border: 1px solid #fecaca;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1000;
}

.glass-toast i {
    color: var(--danger);
    font-size: 1.5rem;
}

.toast-content strong {
    font-size: 0.85rem;
    display: block;
    color: var(--text-dark);
}

.toast-content p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Analytics View Styles */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all 0.25s ease;
}

.stat-icon.purple {
    background: rgba(124, 58, 237, 0.15);
    color: var(--primary);
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.stat-icon.orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.stat-card:hover .stat-icon.purple {
    background: var(--primary);
    color: white;
}

.stat-card:hover .stat-icon.green {
    background: var(--success);
    color: white;
}

.stat-card:hover .stat-icon.orange {
    background: #f97316;
    color: white;
}

.stat-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-details h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.trend-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.trend-badge.positive {
    background: #ecfdf5;
    color: var(--success);
}

.trend-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.5rem;
}

.chart-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

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

.chart-header-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.chart-header-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.chart-legend {
    display: flex;
    gap: 1.25rem;
}

.legend-item {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    display: inline-block;
}

.legend-dot.light {
    background: #ddd6fe;
}

.legend-dot.solid {
    background: var(--primary);
}

.chart-visual-container {
    padding-top: 1rem;
}

.chart-bars-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 220px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    gap: 8px;
}

.bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    cursor: pointer;
}

.bar-fill {
    width: 24px;
    border-radius: 6px 6px 0 0;
    background: #ddd6fe;
    transition: all 0.3s ease;
}

.bar-col:hover .bar-fill {
    background: #c4b5fd;
}

.bar-col.peak .bar-fill {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bar-col.peak:hover .bar-fill {
    opacity: 0.95;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Tooltip style */
.bar-tooltip {
    position: absolute;
    bottom: calc(100% - 10px);
    background: var(--text-dark);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(4px);
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 10;
}

.bar-col:hover .bar-tooltip {
    opacity: 1;
    transform: translateY(-4px);
}

/* Plan usage meter card */
.usage-status-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.usage-status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.usage-header-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.usage-header-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.upgrade-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
    transition: all 0.2s;
}

.upgrade-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.usage-numbers {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.usage-numbers strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
}

.usage-numbers span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.usage-progress-bar-container {
    width: 100%;
    height: 12px;
    background: var(--surface-sunken);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.usage-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    transition: width 0.5s ease;
}

.usage-footer-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

.hidden {
    display: none !important;
}

/* Rebuilt premium dropzone stacked document files styles */
.file-stack-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 90px;
    margin-bottom: 2rem;
    width: 100%;
}

.file-icon-item {
    position: absolute;
    font-size: 3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 0.4rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon-left {
    transform: rotate(-12deg) translate(-32px, 2px);
    color: var(--primary-light);
    z-index: 1;
}

.file-icon-right {
    transform: rotate(12deg) translate(32px, 2px);
    color: #818cf8;
    z-index: 1;
}

.file-icon-center {
    color: var(--primary);
    z-index: 2;
    font-size: 3.4rem;
    border-color: var(--primary-light);
    filter: drop-shadow(0 8px 16px rgba(124, 58, 237, 0.15));
}

.upload-section:hover .file-icon-left {
    transform: rotate(-18deg) translate(-42px, 0px);
}

.upload-section:hover .file-icon-right {
    transform: rotate(18deg) translate(42px, 0px);
}

.upload-section:hover .file-icon-center {
    transform: scale(1.05) translateY(-2px);
}

.upload-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.upload-title .highlight {
    color: var(--primary);
}

.upload-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.upload-subtitle .browse-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.upload-subtitle .browse-link:hover {
    color: var(--primary-dark);
}

/* Dragover Active States styling */
.dragover-active-content {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.upload-section.dragover .dragover-active-content {
    display: flex;
    animation: dragover-fade-in 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.upload-section.dragover #drop-zone-content {
    display: none !important;
}

.upload-section.dragover #drop-zone-uploaded {
    display: none !important;
}

.upload-section.dragover {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    border: 2px dashed rgba(255, 255, 255, 0.75) !important;
    transform: scale(0.985) !important; /* Premium physical scale-down bounce on hover/drag */
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.32) !important;
}

/* Disable pointer events on all child elements when dragover class is active to avoid flickering */
.upload-section.dragover * {
    pointer-events: none !important;
}

@keyframes dragover-fade-in {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.upload-section.dragover .dragover-title {
    color: white !important;
    font-size: 1.75rem;
    font-weight: 800;
    margin-top: 1rem;
    letter-spacing: -0.5px;
}

.dragover-svg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

.dragover-scissors-g {
    animation: svg-scissors-cut 0.7s infinite alternate ease-in-out;
}

.dragover-arrow-l {
    animation: svg-arrow-bounce-l 0.8s infinite alternate ease-in-out;
}

.dragover-arrow-r {
    animation: svg-arrow-bounce-r 0.8s infinite alternate ease-in-out;
}

@keyframes svg-scissors-cut {
    0% { transform: translate(155px, 70px) rotate(-15deg); }
    100% { transform: translate(155px, 70px) rotate(5deg); }
}

@keyframes svg-arrow-bounce-l {
    0% { transform: translate(0, 0); }
    100% { transform: translate(4px, 4px); }
}

@keyframes svg-arrow-bounce-r {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-4px, 4px); }
}

/* Main Button Outer Card Action Styling */
.dropzone-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    width: 100%;
}

.primary-upload-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #6d28d9 100%);
    color: white;
    border: none;
    padding: 0.95rem 3.8rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.2px;
}

.primary-upload-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, var(--primary-dark) 100%);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}

.primary-upload-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.primary-upload-btn:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* PDF Preview Modal styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: auto;
}

.modal-overlay.show {
    opacity: 1;
}

.modal-container {
    width: 90%;
    max-width: 840px;
    height: 85%;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 1.25rem 2rem;
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pdf-modal-icon-bg {
    width: 42px;
    height: 42px;
    background: #fee2e2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-icon {
    font-size: 1.4rem;
    color: var(--danger);
}

.modal-file-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modal-file-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}

.modal-file-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.modal-page-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(124, 58, 237, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
}

.modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--surface-sunken);
    border: none;
    color: var(--text-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #f1f5f9;
    color: var(--danger);
    transform: scale(1.1);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 2.5rem 2rem;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    scroll-behavior: smooth;
}

/* PDF Page Canvas styling */
.pdf-page-canvas-wrapper {
    position: relative;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    max-width: 100%;
    margin-bottom: 0.5rem;
}

.pdf-page-canvas-wrapper canvas {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.pdf-page-number-label {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Loader */
.modal-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 200px;
    color: var(--primary);
    font-weight: 500;
    width: 100%;
}

.modal-loader i {
    font-size: 2.2rem;
}

/* User Profile Header Dropdown Menu (mockup matching topsss946) */
.profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 16px -8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    display: none;
    overflow: hidden;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-dropdown.active {
    display: block;
}

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

keyframe dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-dropdown-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    color: #ffffff;
}

.profile-dropdown-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.profile-dropdown-avatar i {
    color: #ffffff;
}

.profile-dropdown-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.profile-dropdown-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-email {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}

.profile-dropdown-body {
    padding: 1.25rem;
    background: #ffffff;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.notifications-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.notifications-title i {
    color: var(--primary);
    font-size: 1.05rem;
}

.mark-all-read-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease;
}

.mark-all-read-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.notifications-empty {
    padding: 1.75rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.profile-dropdown-footer {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.9rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-dropdown-footer .profile-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.profile-dropdown-footer .profile-link:hover {
    color: var(--primary);
}

.profile-dropdown-footer .logout-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s ease;
}

.profile-dropdown-footer .logout-btn:hover {
    color: #dc2626;
}

/* Profile Panel Styles */
.profile-meta-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.profile-meta-content h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.profile-meta-content .profile-user-email {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.profile-meta-content .profile-renew-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
}

.profile-meta-content .highlight-date {
    color: var(--primary-dark);
    font-weight: 700;
}

.profile-meta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
}

.badge-active-plan {
    background: #ecfdf5;
    color: var(--success);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.btn-edit-details {
    background: none;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-edit-details:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.15);
}

.section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 2rem 0 1.25rem 0;
}

.validity-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.plan-validity-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
}

.plan-validity-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.12);
}

.plan-validity-card.popular {
    border: 2px solid var(--primary);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.08);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--danger);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
}

.plan-icon {
    font-size: 2rem;
    color: var(--primary);
}

.plan-days {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.plan-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
}

.plan-price .gst-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-action-btn {
    width: 100%;
    border: none;
    background: var(--primary);
    color: white;
    padding: 0.65rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.plan-action-btn:hover {
    background: var(--primary-dark);
}

.plan-action-btn.active {
    background: var(--success);
    cursor: default;
}

.plan-action-btn.active:hover {
    background: var(--success);
}

.order-history-container {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.order-history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.85rem;
    min-width: 800px;
}

.order-history-table th {
    padding: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.order-history-table td {
    padding: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border);
}

.order-history-table tr:last-child td {
    border-bottom: none;
}

.status-success {
    color: var(--success);
    font-weight: 700;
}

.status-failure {
    color: var(--danger);
    font-weight: 700;
}

.btn-invoice-download {
    color: var(--primary);
    font-size: 1.1rem;
    transition: color 0.15s ease;
}

.btn-invoice-download:hover {
    color: var(--primary-dark);
}


/* Custom Tagline & Ads Column Integration (v128) */
.aesthetic-tagline {
    font-size: 4rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

@media (min-width: 768px) {
    .aesthetic-tagline {
        font-size: 5rem;
        gap: 1.2rem;
    }
}

.tagline-word {
    display: inline-block;
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
}

.tagline-word:hover {
    transform: scale(1.08) translateY(-4px);
}

.tagline-word.crop {
    background-image: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.tagline-word.print {
    background-image: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
}

.tagline-word.ship {
    background-image: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

/* Dashboard Workspace Layout */
.dashboard-workspace-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.workspace-main-col {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.workspace-ads-col {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 1200px) {
    .dashboard-workspace-grid {
        grid-template-columns: 290px 1fr;
        gap: 2.5rem;
    }
    .workspace-main-col {
        order: 2;
    }
    .workspace-ads-col {
        order: 1;
    }
}

/* Aesthetic Sponsored Cards */
.sponsored-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.sponsored-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
}

.sponsored-card .ad-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sponsored-card .ad-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.1rem;
}

.sponsored-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    padding-right: 4.5rem;
    line-height: 1.3;
}

.sponsored-card p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.sponsored-card .ad-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.6rem;
    background: #f8fafc;
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s;
    margin-top: 0.4rem;
}

.sponsored-card:hover .ad-cta {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

/* Landing Page Partners Card */
.sponsors-card {
    background: white;
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.sponsors-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.03);
}

.partner-deal {
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.2s;
    background: #fafafb;
    text-align: left;
}

.partner-deal:hover {
    border-color: rgba(124, 58, 237, 0.2);
    background: #f8f6ff;
}

/* Mockup Cropping Animation (6s infinite loop) */
.mock-dropzone {
    position: relative;
    overflow: hidden;
}

.mock-default-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: defaultStateFade 6s infinite ease-in-out;
}

.crop-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    animation: animContainer 6s infinite ease-in-out;
}

.animated-doc {
    width: 110px;
    height: 110px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: visible;
    position: relative;
}

.animated-doc-label {
    height: 60px;
    background: white;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1.5px solid transparent;
    transition: all 0.3s;
    animation: labelTransform 6s infinite ease-in-out;
}

.animated-doc-invoice {
    height: 48px;
    background: #fdfdfd;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    border-top: 1px dashed var(--border);
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    animation: invoiceFall 6s infinite ease-in-out;
}

.mock-barcode {
    display: flex;
    gap: 2px;
    height: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 2px 4px;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
}

.mock-barcode .bar {
    height: 100%;
    background: var(--text-dark);
    border-radius: 0.5px;
}
.mock-barcode .bar.b1 { width: 3px; }
.mock-barcode .bar.b2 { width: 1px; }
.mock-barcode .bar.b3 { width: 4px; }
.mock-barcode .bar.b4 { width: 2px; }

.mock-doc-address {
    width: 65%;
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin-top: 2px;
}

.mock-invoice-line {
    width: 80%;
    height: 3px;
    background: #e2e8f0;
    border-radius: 1.5px;
}
.mock-invoice-line.short {
    width: 50%;
}

.animated-doc-cut-line {
    position: absolute;
    top: 59px;
    left: -10px;
    width: 128px;
    height: 1.5px;
    pointer-events: none;
    opacity: 0;
    animation: laserShow 6s infinite ease-in-out;
    z-index: 10;
}

.laser-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary);
}

.scissors-icon {
    position: absolute;
    top: -8px;
    left: -10px;
    color: var(--primary);
    font-size: 0.85rem;
    animation: scissorCut 6s infinite ease-in-out;
    transform-origin: center;
}

.mock-success-badge {
    position: absolute;
    background: var(--success);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    opacity: 0;
    transform: scale(0.8);
    animation: successBadgeShow 6s infinite ease-in-out;
    z-index: 20;
}

/* Keyframes */
@keyframes defaultStateFade {
    0%, 15% { opacity: 1; transform: scale(1); }
    20%, 85% { opacity: 0; transform: scale(0.9); }
    90%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes animContainer {
    0%, 15% { opacity: 0; transform: translateY(-15px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
    85%, 100% { opacity: 0; transform: translateY(15px); }
}

@keyframes laserShow {
    0%, 25% { opacity: 0; }
    28%, 48% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes scissorCut {
    0%, 28% { left: -10px; transform: rotate(0deg); opacity: 1; }
    33% { transform: rotate(-15deg); }
    38% { transform: rotate(10deg); }
    43% { transform: rotate(-15deg); }
    48% { left: 100%; transform: rotate(0deg); opacity: 1; }
    50%, 100% { left: 100%; opacity: 0; }
}

@keyframes invoiceFall {
    0%, 50% { opacity: 1; transform: translateY(0) rotate(0deg); }
    58%, 80% { opacity: 0; transform: translateY(30px) rotate(8deg); }
    85%, 100% { opacity: 0; }
}

@keyframes labelTransform {
    0%, 50% { 
        transform: scale(1) translateY(0); 
        border-color: transparent;
        box-shadow: none;
    }
    56%, 70% { 
        transform: scale(1.08) translateY(24px); 
        border-color: var(--success);
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
        background: #f0fdf4;
    }
    76%, 80% {
        transform: translateY(120px) scale(0.9);
        opacity: 0;
    }
    85%, 100% {
        opacity: 0;
    }
}

@keyframes successBadgeShow {
    0%, 70% { opacity: 0; transform: scale(0.8); }
    74%, 85% { opacity: 1; transform: scale(1); }
    90%, 100% { opacity: 0; transform: scale(0.8); }
}

/* FAQ Section Styles */
.faq-section {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #fafafb;
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    padding-right: 2rem;
    line-height: 1.4;
}

.faq-question i {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    background: #fdfdfd;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Item Active State */
.faq-item.active {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.04);
}

.faq-item.active .faq-question {
    background: #faf9ff;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
    border-top: 1px solid rgba(124, 58, 237, 0.08);
    padding-top: 1rem;
}



