:root {
    --bg: #0F0F1A;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --primary: #6C63FF;
    --secondary: #E040FB;
    --text: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.nav-links {
    display: flex;
    gap: clamp(1rem, 1.8vw, 1.8rem);
    list-style: none;
    align-items: center;
    flex-shrink: 0;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding: 10rem 0 5rem;
    background: radial-gradient(circle at 80% 20%, rgba(108, 99, 255, 0.15), transparent 40%),
                radial-gradient(circle at 10% 80%, rgba(224, 64, 251, 0.15), transparent 40%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--border);
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary-sm {
    background: var(--gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

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

/* Features */
.features {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* How it works */
.how-it-works {
    padding: 8rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.step-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(108, 99, 255, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-muted);
}

/* Mockup Visual */
.glass-mockup {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.mock-header {
    display: flex;
    gap: 6px;
    margin-bottom: 2rem;
    padding-left: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
}

.mock-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.drop-area {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 2.2rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.drop-area:hover,
.drop-area.drag-over {
    border-color: var(--primary);
    background: rgba(108, 92, 231, 0.08);
}

.drop-area.has-file {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    color: white;
}

.drop-area span.drop-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.6rem;
}

.file-size-tag {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.65rem;
    background: rgba(108, 92, 231, 0.25);
    border: 1px solid rgba(108, 92, 231, 0.4);
    border-radius: 6px;
    font-size: 0.78rem;
    color: #c4b5fd;
    font-weight: 500;
}

.password-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.input-real {
    height: 50px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 3rem 0 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    outline: none;
    cursor: pointer;
    font-size: 1.15rem;
    opacity: 0.6;
    transition: all 0.2s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.toggle-password:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.input-real:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.input-real::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.unlock-error-msg {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    line-height: 1.4;
    text-align: left;
}

.btn-mock {
    height: 50px;
    width: 100%;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    gap: 0.6rem;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    user-select: none;
}

.btn-mock:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(108, 92, 231, 0.4);
}

.btn-mock:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-mock-secondary {
    height: 50px;
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    user-select: none;
}

.btn-mock-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Unlocked success view */
.unlocked-header-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.85rem 1rem;
    border-radius: 12px;
}

.badge-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.unlocked-title {
    font-weight: 700;
    color: #6ee7b7;
    font-size: 0.98rem;
}

.unlocked-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    word-break: break-all;
}

.unlocked-preview-container {
    position: relative;
    width: 100%;
    min-height: 180px;
    max-height: 260px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.unlocked-preview-container canvas {
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    background: white;
}

.page-count-badge {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
}

.unlocked-office-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.office-big-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    animation: pulseIcon 2s infinite ease-in-out;
}

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

.office-big-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.02em;
}

.unlocked-actions {
    display: flex;
    gap: 0.75rem;
}

.unlocked-actions .btn-mock {
    flex: 1;
}

.unlock-another-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.3rem;
    text-align: center;
    transition: color 0.2s;
    font-family: inherit;
}

.unlock-another-link:hover {
    color: white;
    text-decoration: underline;
}

/* Download */
.download {
    padding: 8rem 0;
}

.cta-card {
    background: var(--gradient);
    padding: 5rem;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
}

.cta-card h2 {
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
    color: white;
}

.cta-card .gradient-text {
    background: white;
    -webkit-text-fill-color: white;
}

.cta-card p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.download-btns {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.download-btn {
    background: white;
    color: var(--bg);
    padding: 1rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn .icon {
    font-size: 2rem;
}

.btn-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.btn-text span {
    font-size: 0.8rem;
    opacity: 0.7;
}

.btn-text strong {
    font-size: 1.2rem;
}

footer {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

@media (max-width: 968px) {
    .hero .container, .how-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 { font-size: 3rem; }
    .hero-btns, .download-btns { flex-direction: column; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: radial-gradient(circle at bottom right, rgba(108, 99, 255, 0.05) 0%, transparent 50%);
}

.contact-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 4rem;
    text-align: center;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.contact-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.contact-icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.email-address {
    font-size: 1.1rem;
    color: white !important;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.contact-email-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.contact-email-link:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.contact-btn-wrap {
    margin-bottom: 1.4rem;
}

.btn-contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(108, 99, 255, 0.35);
    transition: all 0.25s ease;
}

.btn-contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.55);
}

.text-link-highlight {
    color: #818cf8;
    text-decoration: underline;
    font-weight: 600;
}

.text-link-highlight:hover {
    color: #a5b4fc;
}

.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.platform-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.7;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Download Pro Section */
.download-pro {
    padding: 8rem 0;
    background: radial-gradient(circle at top left, rgba(224, 64, 251, 0.05) 0%, transparent 50%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-card {
    background: var(--glass);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.process-card:hover {
    transform: translateY(-10px);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.process-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-platform {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.btn-platform:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
}

.macos-gatekeeper-hint {
    margin-top: 0.9rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: left;
}

.macos-gatekeeper-hint code {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: #a78bfa;
    font-size: 0.74rem;
}

/* ─── Nav Excel Link ─── */
.nav-excel-link {
    background: linear-gradient(135deg, #00C853, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700 !important;
}

/* ─── PDF to Excel Section ─── */
.pdf-excel-section {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.pdf-excel-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,200,83,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.pdf-excel-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pdf-excel-section .section-header h2 {
    font-size: 2.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pdf-excel-section .section-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.gradient-text-green {
    background: linear-gradient(135deg, #00C853, #00BCD4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.excel-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.e-pill {
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    background: rgba(0,200,83,0.08);
    border: 1px solid rgba(0,200,83,0.2);
    color: rgba(255,255,255,0.65);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ─── Converter Card ─── */
.excel-converter-card {
    max-width: 680px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Drop Zone */
.excel-drop-zone {
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 16px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    background: rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
}

.excel-drop-zone:hover,
.excel-drop-zone.drag-over {
    border-color: #00C853;
    background: rgba(0,200,83,0.06);
    box-shadow: 0 0 30px rgba(0,200,83,0.1);
}

.excel-drop-zone.has-file {
    border-color: rgba(0,200,83,0.5);
    border-style: solid;
    background: rgba(0,200,83,0.04);
}

.excel-drop-prompt {
    text-align: center;
    padding: 2rem;
}

.excel-drop-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

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

.excel-drop-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.3rem;
}

.excel-drop-sub {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
}

/* File Info State */
.excel-file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem 1.5rem;
}

.excel-file-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.excel-file-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    overflow: hidden;
}

.excel-file-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.excel-file-size {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.excel-change-btn {
    background: none;
    border: none;
    color: #00C853;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
    width: fit-content;
}

.excel-change-btn:hover { text-decoration: underline; }

.excel-remove-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    border-radius: 8px;
    width: 32px; height: 32px;
    cursor: pointer;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.2s;
}

.excel-remove-btn:hover {
    background: rgba(255,82,82,0.15);
    border-color: rgba(255,82,82,0.4);
    color: #FF5252;
}

/* Password Row */
.excel-password-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.excel-pw-wrap {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0 1rem;
    transition: border-color 0.25s;
}

.excel-pw-wrap:focus-within {
    border-color: rgba(0,200,83,0.4);
}

.excel-pw-icon { font-size: 1rem; }

.excel-pw-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    padding: 0.9rem 0;
    font-family: inherit;
}

.excel-pw-input::placeholder { color: rgba(255,255,255,0.3); }

.excel-pw-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.excel-pw-toggle:hover { opacity: 1; }

.excel-pw-note {
    font-size: 0.82rem;
    color: #FFB300;
    padding-left: 0.5rem;
}

/* Export Format Selector */
.export-format-selector {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0.25rem 0;
}

.export-format-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

.format-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.format-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.85rem 0.6rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-family: inherit;
    color: inherit;
    position: relative;
    user-select: none;
}

.format-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.format-card.active {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.18), rgba(0, 188, 212, 0.18));
    border: 1.8px solid #00C853;
    box-shadow: 0 0 16px rgba(0, 200, 83, 0.25);
}

.format-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.format-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.format-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.format-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
    transition: color 0.2s;
}

.format-card.active .format-sub {
    color: #00E676;
    font-weight: 600;
}

/* Convert Button */
.excel-convert-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00C853, #00BCD4);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0,200,83,0.35);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.excel-convert-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.25s;
}

.excel-convert-btn:hover::before { background: rgba(255,255,255,0.08); }

.excel-convert-btn:active { transform: scale(0.98); }

.excel-convert-btn:disabled {
    background: rgba(255,255,255,0.08);
    box-shadow: none;
    cursor: not-allowed;
}

/* Spinner */
.excel-spinner {
    width: 22px; height: 22px;
    border: 2.5px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* Status Card */
.excel-status {
    border-radius: 14px;
    overflow: hidden;
}

.excel-status-inner {
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.excel-status-inner.success {
    background: rgba(0,200,83,0.08);
    border: 1px solid rgba(0,200,83,0.3);
    border-radius: 14px;
}

.excel-status-inner.error {
    background: rgba(255,82,82,0.08);
    border: 1px solid rgba(255,82,82,0.3);
    border-radius: 14px;
}

.excel-status-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.excel-status-row.success-text { color: #00C853; }
.excel-status-row.error-text { color: #FF5252; }

.excel-stats {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.excel-stat-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0,200,83,0.12);
    border: 1px solid rgba(0,200,83,0.25);
    border-radius: 8px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    color: #00C853;
    font-weight: 500;
}

.excel-action-btns {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.excel-action-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.excel-action-btn.primary-btn {
    background: none;
    border: 1.5px solid #00C853;
    color: #00C853;
}

.excel-action-btn.primary-btn:hover {
    background: rgba(0,200,83,0.1);
    box-shadow: 0 4px 16px rgba(0,200,83,0.2);
}

.excel-action-btn.secondary-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.6);
}

.excel-action-btn.secondary-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

/* ─── Auth Navbar & User Badge ─── */
.nav-auth-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: #fff;
    padding: 0.5rem 1.1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.nav-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.45);
}

.user-badge {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.4rem 0.9rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.user-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.4);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6C63FF, #00C853);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    flex-shrink: 0;
}

.user-name-display,
.user-email-display {
    font-size: 0.88rem;
    font-weight: 600;
    color: #f1f5f9;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 1200px) {
    .user-name-display,
    .user-email-display {
        max-width: 280px;
    }
}

.user-badge-arrow {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease;
}

.user-badge:hover .user-badge-arrow {
    transform: rotate(180deg);
    color: #fff;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 230px;
    background: rgba(18, 18, 28, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 0.6rem;
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
    z-index: 1000;
}

.user-dropdown-header {
    padding: 0.5rem 0.75rem;
    text-align: left;
}

.dropdown-user-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

.dropdown-user-email {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    word-break: break-all;
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.3rem 0;
}

.user-badge:hover .user-dropdown-menu,
.user-dropdown-menu:hover {
    display: flex;
}

.user-dropdown-menu button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-dropdown-menu button:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

/* ─── Modal Overlay & Cards ─── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 12, 0.75);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-card {
    background: rgba(22, 22, 34, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    width: 100%;
    max-width: 440px;
    padding: 2.2rem;
    position: relative;
    animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-card-wide {
    max-width: 600px;
}

.modal-card-profile {
    max-width: 480px;
    padding: 2.2rem;
}

/* ─── Profile Modal Styling ─── */
.profile-hero {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(0, 200, 83, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.2rem;
    border-radius: 16px;
    margin-bottom: 1.2rem;
}

.profile-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-large {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #6C63FF, #00C853);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(108, 99, 255, 0.4);
}

.profile-hero-info {
    text-align: left;
    overflow: hidden;
}

.profile-name-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
    word-break: break-word;
}

.profile-email-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    word-break: break-all;
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.4rem;
}

.profile-stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.8rem 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: all 0.2s ease;
}

.profile-stat-box:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(108, 99, 255, 0.3);
}

.stat-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.stat-tier {
    font-size: 0.85rem;
    font-weight: 700;
    color: #34d399;
}

.stat-lbl {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.profile-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 1rem;
    text-align: left;
}

.input-hint {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.input-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02) !important;
}

.profile-password-accordion {
    margin-bottom: 1.2rem;
}

.btn-accordion-toggle {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-accordion-toggle:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.accordion-arrow {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.accordion-content {
    padding-top: 0.8rem;
}

.profile-actions-row {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.profile-actions-row button {
    flex: 1;
}

.success-msg {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header-row h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

/* ─── Auth Tabs & Form ─── */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 1.8rem;
}

.auth-tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(108, 99, 255, 0.3);
}

.auth-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.auth-sub {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    margin-bottom: 1.4rem;
}

.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.4rem;
}

.auth-msg {
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.error-msg {
    background: rgba(245, 0, 87, 0.15);
    border: 1px solid rgba(245, 0, 87, 0.35);
    color: #ff5252;
}

.auth-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.85rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.info-msg {
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.35);
    color: #a5b4fc;
}

.success-msg {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

/* Forgot password link */
.forgot-pw-link-wrap {
    text-align: center;
    margin-top: 0.75rem;
}

.forgot-pw-link {
    background: none;
    border: none;
    color: #a5b4fc;
    font-size: 0.84rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.forgot-pw-link:hover {
    color: #818cf8;
}


.wizard-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.wizard-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.step-num-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.step-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.wizard-step-node.active .step-num-badge {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px rgba(108, 99, 255, 0.5);
}

.wizard-step-node.active .step-title {
    color: #fff;
}

.wizard-step-node.completed .step-num-badge {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.wizard-step-node.completed .step-title {
    color: #10b981;
}

.wizard-step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    margin: -14px 8px 0;
    transition: all 0.3s ease;
}

.wizard-step-line.completed {
    background: #10b981;
}

/* ─── Wizard OTP & Custom Inputs ─── */
.otp-input {
    letter-spacing: 8px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    padding: 0.75rem !important;
}

.otp-input::placeholder {
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.2);
}

.wizard-links-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 0.5rem;
}

.link-btn {
    background: none;
    border: none;
    color: #818cf8;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    transition: color 0.2s;
}

.link-btn:hover:not(:disabled) {
    color: #a5b4fc;
    text-decoration: underline;
}

.link-btn:disabled {
    color: rgba(255, 255, 255, 0.35);
    cursor: not-allowed;
}

.link-btn.text-muted {
    color: rgba(255, 255, 255, 0.5);
}

.link-btn.text-muted:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* ─── Verified Email Chip (Step 3) ─── */
.verified-email-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 0.9rem;
    border-radius: 100px;
    font-size: 0.85rem;
    color: #e2e8f0;
    margin-bottom: 1.2rem;
}

.verified-check {
    background: #10b981;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
}

.verified-tag {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Dropdown Trial Badge ── */
.dropdown-trial-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.4rem;
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    color: #a5b4fc;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

/* ── Profile Upgrade Banner ── */
.profile-upgrade-banner {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2) 0%, rgba(236, 72, 153, 0.15) 100%);
    border: 1px solid rgba(108, 99, 255, 0.4);
    border-radius: 12px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.upgrade-banner-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.upgrade-banner-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.upgrade-banner-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.btn-upgrade-sm {
    background: linear-gradient(135deg, #6c63ff 0%, #ec4899 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.35);
}

.btn-upgrade-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(108, 99, 255, 0.5);
    color: #fff;
}

/* ── Trial Upgrade Modal ── */
.modal-card-upgrade {
    max-width: 480px;
    text-align: center;
    padding: 2.2rem 2rem;
    background: #111424;
    border: 1px solid rgba(108, 99, 255, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(108, 99, 255, 0.2);
}

.upgrade-modal-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.25), rgba(236, 72, 153, 0.25));
    border: 1px solid rgba(108, 99, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.3);
}

.upgrade-modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
}

.upgrade-modal-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.upgrade-modal-features {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.8rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upgrade-feature-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.upgrade-feature-row strong {
    color: #fff;
}

.upgrade-check {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
}

.upgrade-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-upgrade-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #6c63ff 0%, #ec4899 100%);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-upgrade-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(108, 99, 255, 0.6);
    color: #fff;
}

.btn-modal-dismiss {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    padding: 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-modal-dismiss:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

/* ============================================================
   ADMIN NAVBAR BUTTON & CHIP
   ============================================================ */
.nav-admin-btn {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(108, 99, 255, 0.2));
    border: 1px solid rgba(236, 72, 153, 0.5);
    color: #f472b6;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-admin-btn:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(108, 99, 255, 0.35));
    border-color: #ec4899;
    color: #fff;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
    transform: translateY(-1px);
}

/* ============================================================
   PAYMENT MODAL (UPI QR CODE & ACTIVATION)
   ============================================================ */
.modal-card-payment {
    max-width: 680px;
    width: 94%;
    padding: 2rem;
    background: #121422;
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(108, 99, 255, 0.15);
}

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

.payment-modal-badge {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.payment-modal-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-modal-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.payment-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 1.5rem;
    align-items: stretch;
}

@media (max-width: 650px) {
    .payment-modal-grid {
        grid-template-columns: 1fr;
    }
}

.payment-qr-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
}

.payment-qr-card {
    background: #fff;
    padding: 0.65rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.payment-qr-img {
    width: 170px;
    height: 170px;
    display: block;
    border-radius: 6px;
}

.payment-qr-scan-hint {
    font-size: 0.72rem;
    color: #4b5563;
    font-weight: 600;
    margin-top: 0.3rem;
}

.payment-upi-id-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    width: 100%;
}

.upi-id-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.upi-id-val {
    font-family: monospace;
    font-size: 0.82rem;
    color: #a78bfa;
    font-weight: 700;
}

.btn-copy-upi {
    background: rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.4);
    color: #c4b5fd;
    padding: 0.2rem 0.5rem;
    font-size: 0.72rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-upi:hover {
    background: var(--primary);
    color: #fff;
}

.payment-price-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-price-pill .price-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #34d399;
}

.payment-price-pill .price-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
}

.payment-form-col {
    display: flex;
    flex-direction: column;
}

.payment-steps-banner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    background: rgba(108, 99, 255, 0.08);
    border: 1px solid rgba(108, 99, 255, 0.2);
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    margin-bottom: 1.1rem;
}

.payment-step-item {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.payment-step-item .step-num {
    background: var(--primary);
    color: #fff;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
}

.payment-feedback {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.payment-feedback.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.payment-feedback.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.btn-submit-payment {
    width: 100%;
    padding: 0.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.4rem;
}

/* ============================================================
   ADMIN DASHBOARD MODAL & TABLES
   ============================================================ */
.modal-card-admin {
    max-width: 940px;
    width: 95%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 2rem;
    background: #0d1117;
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 50px rgba(108, 99, 255, 0.15);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.admin-shield-icon {
    font-size: 2rem;
}

.admin-title {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: #fff;
}

.admin-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.6rem;
}

.admin-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.65);
    padding: 0.55rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.admin-tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.35);
}

.admin-tab-badge {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.15rem 0.45rem;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
}

.admin-search-bar {
    margin-bottom: 1rem;
}

.form-input-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
}

.admin-table-container {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.25);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.85);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.025);
}

.table-empty {
    text-align: center;
    padding: 2.5rem 1rem !important;
    color: rgba(255, 255, 255, 0.45);
    font-style: italic;
}

/* Status Badges */
.badge-status {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-pending {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.badge-approved {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.badge-pro {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.3), rgba(236, 72, 153, 0.3));
    border: 1px solid rgba(236, 72, 153, 0.45);
    color: #f472b6;
    font-weight: 800;
}

.badge-free {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
}

/* Action buttons */
.admin-actions-cell {
    display: flex;
    justify-content: flex-end;
    gap: 0.45rem;
}

.btn-approve {
    background: #059669;
    border: none;
    color: #fff;
    padding: 0.35rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-approve:hover {
    background: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.btn-reject {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
    padding: 0.35rem 0.6rem;
    font-size: 0.76rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-reject:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
}

.btn-toggle-pro {
    background: rgba(108, 99, 255, 0.2);
    border: 1px solid rgba(108, 99, 255, 0.4);
    color: #c4b5fd;
    padding: 0.35rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-toggle-pro:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.4);
}

/* ─── Pricing Section ─── */
.pricing-section {
    padding: 6rem 0;
    position: relative;
    background: radial-gradient(circle at 50% 20%, rgba(108, 99, 255, 0.08) 0%, transparent 60%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 960px;
    margin: 3rem auto 0;
    align-items: stretch;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(16px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.free-card {
    border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card.free-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pricing-card.pro-card {
    background: linear-gradient(180deg, rgba(108, 99, 255, 0.12) 0%, rgba(224, 64, 251, 0.05) 100%), rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(108, 99, 255, 0.5);
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.2);
}

.pricing-card.pro-card:hover {
    box-shadow: 0 15px 50px rgba(108, 99, 255, 0.35);
    border-color: rgba(108, 99, 255, 0.8);
}

.popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.35rem 1.1rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    white-space: nowrap;
}

.pricing-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.free-badge {
    background: rgba(165, 180, 252, 0.12);
    color: #c7d2fe;
    border: 1px solid rgba(165, 180, 252, 0.25);
}

.pro-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.pricing-header .plan-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
}

.pricing-header .plan-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    min-height: 2.7rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-price .currency {
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.plan-price .amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
}

.pro-card .plan-price .amount {
    background: linear-gradient(135deg, #fff 40%, #c4b5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-price .period {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.4rem;
}

.pricing-features {
    flex-grow: 1;
    margin-bottom: 2.2rem;
}

.features-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.feature-list li .check {
    color: #34d399;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-list li .pro-check {
    color: #a78bfa;
}

.feature-list li .cross {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-list li.disabled {
    color: rgba(255, 255, 255, 0.35);
}

.feature-list li.highlight-feature {
    background: rgba(108, 99, 255, 0.1);
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border-left: 3px solid #6C63FF;
}

.feature-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 2px;
}

.pricing-action {
    margin-top: auto;
}

.btn-pricing-free {
    width: 100%;
    padding: 0.95rem 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-pricing-free:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-pricing-pro {
    width: 100%;
    padding: 1rem 1.4rem;
    background: linear-gradient(135deg, #6C63FF, #E040FB);
    border: none;
    color: #fff;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-pricing-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.55);
    filter: brightness(1.1);
}





