:root {
    --bg: #030712;
    --bg2: #07111f;
    --card: #0b1220cc;
    --card2: #111827cc;
    --line: rgba(255, 255, 255, .10);
    --text: #f8fafc;
    --muted: #94a3b8;
    --muted2: #cbd5e1;
    --primary: #2563eb; 
    --secondary: #7c3aed;
    --cyan: #22d3ee;
    --success: #22c55e; 
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 24px 80px rgba(0, 0, 0, .38);
    --radius: 24px;
    --container: min(1180px, 92vw);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden
}

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

img {
    max-width: 100%;
    height: auto
}

.container {
    width: var(--container);
    margin: auto
}
.container-big {
    width: 90em;
    margin: auto
}

.text-gradient {
    background: linear-gradient(90deg, var(--cyan), #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.announcement {
    background: linear-gradient(90deg, #0ea5e9, #7c3aed, #db2777);
    color: white;
    text-align: center;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 14px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line)
}

.nav-wrap {
    width: var(--container);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0
}

.brand {
    font-size: clamp(24px, 3vw, 31px);
    font-weight: 900;
    letter-spacing: -1.4px
}

    .brand span {
        background: linear-gradient(90deg, var(--cyan), #a78bfa);
        -webkit-background-clip: text;
        color: transparent
    }

.nav {
    display: flex;
    align-items: center;
    gap: 23px
}

    .nav a {
        color: var(--muted2);
        font-weight: 700;
        font-size: 14px
    }

        .nav a:hover {
            color: white
        }

.nav-cta {
    padding: 10px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 36px rgba(124, 58, 237, .36);
    color: white !important
}

.menu-btn {
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .05);
    color: white;
    border-radius: 14px;
    padding: 9px 12px;
    font-size: 22px
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 62px;
    background: radial-gradient(circle at 80% 10%, rgba(124, 58, 237, .28), transparent 35%), radial-gradient(circle at 10% 30%, rgba(34, 211, 238, .18), transparent 30%)
}

    .hero:before {
        content: "";
        position: absolute;
        inset: -25%;
        background: linear-gradient(115deg, transparent 20%, rgba(37, 99, 235, .10), transparent 36%, rgba(124, 58, 237, .10), transparent 55%);
        animation: gradientMove 9s linear infinite;
        pointer-events: none
    }

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 48px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(34, 211, 238, .28);
    background: rgba(34, 211, 238, .10);
    color: #a5f3fc;
    border-radius: 999px;
    padding: 9px 15px;
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 22px
}

.hero h1 {
    font-size: clamp(2.35rem, 6vw, 50.7px);
    line-height: 1.04;
    letter-spacing: 0.2px;
    margin-bottom: 30px;
    max-width: 841px;
}

.hero p,
.lead {
    color: var(--muted2);
    font-size: clamp(1rem, 2vw, 1.15rch);
    max-width: 710px
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 22px;
    border-radius: 16px;
    font-weight: 900;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .25s
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 16px 48px rgba(124, 58, 237, .36);
    color: white
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, .06);
    color: white
}

.btn:hover {
    transform: translateY(-2px)
}

.glass {
    background: linear-gradient(180deg, rgba(15, 23, 42, .75), rgba(17, 24, 39, .48));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(22px);
    border-radius: var(--radius)
}

.ai-console {
    padding: 22px
}

.console-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted2);
    font-size: 13px;
    margin-bottom: 14px
}

.live-dot {
    color: var(--success);
    font-weight: 900
}

.comparison {
    position: relative;
    height: 320px;
    border-radius: 22px;
    overflow: hidden;
    background: #111827;
    border: 1px solid var(--line)
}

.compare-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    font-size: clamp(17px, 2vw, 24px);
    padding: 28px
}

.compare-before {
    background: url(/assetsweb/blur.png);
    color: #cbd5e1;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
}

.compare-after {
    background: url(/assetsweb/4k.png);
    clip-path: inset(0 0 0 50%);
    color: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, .8)
}

    .slider-handle:after {
        content: "↔";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: white;
        color: #111827;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900
    }

.ba-slider {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: ew-resize
}

.upload-zone {
    margin-top: 18px;
    border: 1px dashed rgba(34, 211, 238, .45);
    border-radius: 20px;
    padding: 18px;
    background: rgba(34, 211, 238, .07);
    display: flex;
    align-items: center;
    gap: 14px
}

.upload-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px
}

.upload-zone.dragover {
    border-color: white;
    background: rgba(124, 58, 237, .18)
}

.stats {
    padding: 28px 0 72px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.stat-card {
    text-align: center;
    padding: 24px 16px
}

    .stat-card h3 {
        font-size: clamp(1.8rem, 4vw, 2.6rch);
        line-height: 1;
        color: #fff
    }

    .stat-card p {
        color: var(--muted);
        font-weight: 700;
        margin-top: 8px
    }

.section {
    padding: 78px 0
}

.section-alt {
    background: #050b16
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px
}

    .section-head h2 {
        font-size: clamp(1.85rem, 4vw, 3.05rch);
        line-height: 1.1;
        letter-spacing: -1.4px;
        margin-bottom: 16px
    }

    .section-head p {
        color: var(--muted);
        font-size: clamp(.98rem, 2vw, 1.1rch)
    }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.card {
    padding: 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(15, 23, 42, .86), rgba(15, 23, 42, .50));
    border: 1px solid var(--line);
    transition: .25s
}

    .card:hover {
        transform: translateY(-6px);
        border-color: rgba(34, 211, 238, .42)
    }

.icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    margin-bottom: 18px
}

.card h3 {
    font-size: clamp(1.15rem, 2vw, 1.38rch);
    margin-bottom: 9px
}

.card p,
.card li {
    color: var(--muted);
    font-size: 15px
}

.card ul {
    list-style: none;
    margin-top: 14px
}

.card li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch
}

.example-panel {
  
    padding: 30px
}

.example-list {
    list-style: none;
    margin-top: 12px
}

    .example-list li {
        padding: 12px 0;
        color: var(--muted2);
        border-bottom: 1px solid rgba(255, 255, 255, .07)
    }

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 14px
}

.pricing-calc {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px
}

.range-row {
    margin: 18px 0
}

    .range-row label {
        display: flex;
        justify-content: space-between;
        font-weight: 800
    }

    .range-row input {
        width: 100%;
        margin-top: 12px;
        accent-color: var(--secondary)
    }

.calc-total {
    font-size: clamp(2rem, 5vw, 3.6rch);
    font-weight: 900;
    margin: 10px 0
}

.pill {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .10);
    color: #a5f3fc;
    border: 1px solid rgba(34, 211, 238, .25);
    font-size: 13px;
    font-weight: 900
}

.testimonial {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.stars {
    color: #fbbf24;
    letter-spacing: 2px
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900
}

.person {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto
}

.cta {
    padding: 86px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(124, 58, 237, .32), transparent 45%), linear-gradient(135deg, #030712, #07111f)
}

    .cta h2 {
        font-size: clamp(2rem, 4vw, 3.3rch);
        letter-spacing: -1.5px
    }

.footer {
    background: #020617;
    border-top: 1px solid var(--line);
    padding: 48px 0 24px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(4, 1fr);
    gap: 26px
}

.footer h4 {
    margin-bottom: 12px
}

.footer a,
.footer p {
    display: block;
    color: var(--muted);
    font-size: 14px;
    margin: 7px 0
}

.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 30px;
    padding-top: 18px;
    color: var(--muted);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.page-hero {
    padding: 13px 0px 5px 0px; background: radial-gradient(circle at 80% 0%, rgba(124, 58, 237, .26), transparent 34%)
}

    .page-hero h1 {
        font-size: clamp(2.15rem,5vw,3.15rch);
        line-height: 1.08;
        letter-spacing: -2px;
        margin: 12px 0
    }

.breadcrumb {
    color: var(--muted);
    font-weight: 800;
    font-size: 14px
}

.form-wrap {
    max-width: 520px;
    margin: auto
}

.form-card {
    padding: 32px
}

.field {
    margin-bottom: 16px
}

    .field label {
        display: block;
        font-weight: 800;
        margin-bottom: 7px
    }

    .field input,
    .field textarea,
    .field select {
        width: 100%;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, .06);
        color: white;
        border-radius: 14px;
        padding: 14px 15px;
        font: inherit
    }

    .field textarea {
        min-height: 130px
    }

.social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0
}

.social-btn {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    padding: 12px;
    text-align: center;
    font-weight: 900
}

.legal-content {
    max-width: 900px
}

    .legal-content h2 {
        margin: 30px 0 10px
    }

    .legal-content p,
    .legal-content li {
        color: var(--muted2);
        margin: 10px 0
    }

    .legal-content ul {
        padding-left: 20px
    }

.table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px
}

    .table th,
    .table td {
        padding: 14px;
        border-bottom: 1px solid var(--line);
        text-align: left;
        color: var(--muted2)
    }

    .table th {
        color: white;
        background: rgba(255, 255, 255, .06)
    }

@keyframes gradientMove {
    0% {
        transform: translateX(-15%) rotate(0deg)
    }

    100% {
        transform: translateX(15%) rotate(360deg)
    }
}

@media(max-width:980px) {
    .nav {
        display: none;
        position: absolute;
        left: 4vw;
        right: 4vw;
        top: 70px;
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
        border-radius: 22px;
        background: rgba(3, 7, 18, .96);
        border: 1px solid var(--line)
    }

        .nav.open {
            display: flex
        }

    .menu-btn {
        display: block
    }

    .hero {
        padding: 62px 16px 42px
    }

    .hero-grid,
    .example-grid,
    .pricing-calc {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .stats-grid,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .grid-3 {
        grid-template-columns: 1fr
    }

    .comparison {
        height: 280px
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero h1 {
        letter-spacing: -1.6px
    }

    .upload-zone {
        align-items: flex-start
    }
}

@media(max-width:560px) {
    .container {
        width: 92vw
    }

    .hero-actions,
    .social-row {
        grid-template-columns: 1fr;
        display: grid
    }

    .btn {
        width: 100%
    }

    .stats-grid,
    .grid-4,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .comparison {
        height: 240px
    }

    .card,
    .example-panel,
    .form-card,
    .ai-console {
        padding: 21px
    }

    .announcement {
        font-size: 12px
    }

    .nav-wrap {
        padding: 13px 0
    }

    .footer-bottom {
        display: block
    }

        .footer-bottom div {
            margin: 7px 0
        }
}

.dash-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    width: 100%;
}
.side-nav {
    position: sticky;
    top: 94px;
    padding: 18px
}

    .side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted2);
    padding: 11px 13px;
    border-radius: 14px;
    font-weight: 800;
    margin: 7px;
}

        .side-nav a:hover,
        .side-nav a.active {
            background: rgba(37, 99, 235, .18);
            color: white
        }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.metric-card {
    padding: 22px
}

    .metric-card small {
        color: var(--muted);
        font-weight: 800
    }

    .metric-card h2 {
        font-size: clamp(1.6rem, 3vw, 2.4rch);
        margin-top: 8px
    }

.status-badge {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900
}

.status-success {
    background: rgba(34, 197, 94, .14);
    color: #86efac
}

.status-warning {
    background: rgba(245, 158, 11, .14);
    color: #fcd34d
}

.status-info {
    background: rgba(34, 211, 238, .14);
    color: #67e8f9
}

.status-danger {
    background: rgba(239, 68, 68, .14);
    color: #fca5a5
}

.progress-stack {
    display: grid;
    gap: 14px
}

.progress-step {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04)
}

.progress-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(148, 163, 184, .18);
    font-weight: 900
}

.progress-step.done .progress-dot {
    background: rgba(34, 197, 94, .2);
    color: #86efac
}

.progress-step.active {
    border-color: rgba(34, 211, 238, .45);
    box-shadow: 0 0 30px rgba(34, 211, 238, .10)
}

    .progress-step.active .progress-dot {
        background: linear-gradient(135deg, var(--cyan), var(--secondary));
        color: white
    }

.queue-card {
    padding: 26px
}

.queue-number {
    font-size: clamp(3rem, 8vw, 5rch);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(90deg, var(--cyan), #a78bfa);
    -webkit-background-clip: text;
    color: transparent
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.payment-option {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .04);
    cursor: pointer
}

    .payment-option.active {
        border-color: rgba(34, 211, 238, .6);
        background: rgba(34, 211, 238, .10)
    }

.wallet-amount {
    font-size: clamp(2.4rem, 6vw, 4rch);
    font-weight: 900
}

.transaction-list {
    display: grid;
    gap: 12px
}

.transaction {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04)
}

.before-after-large {
    position: relative;
    height: 420px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111827
}

    .before-after-large .compare-after {
        clip-path: inset(0 0 0 52%)
    }

.dropzone.big {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer
}

.file-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    margin-top: 12px
}

.mini-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
    margin-top: 10px
}

    .mini-bar span {
        display: block;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, var(--cyan), var(--secondary))
    }

.calc-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.calc-box {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04)
}

.notification-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    margin-bottom: 12px
}

.email-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none
}

.expiry-note {
    border: 1px solid rgba(245, 158, 11, .3);
    background: rgba(245, 158, 11, .08);
    color: #fde68a;
    padding: 14px 16px;
    border-radius: 16px;
    margin: 18px 0
}

.qr-box {
    width: 210px;
    height: 210px;
    margin: auto;
    border-radius: 20px;
    background: repeating-linear-gradient(45deg, #fff, #fff 8px, #111827 8px, #111827 16px);
    border: 10px solid white;
    position: relative
}

    .qr-box:after {
        content: 'UPI';
        position: absolute;
        inset: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: white;
        color: #111827;
        font-weight: 900;
        border-radius: 14px
    }

.app-alert {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: 360px;
    z-index: 9999;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 23, 42, .95);
    border: 1px solid var(--line);
    box-shadow: var(--shadow)
}



@media(max-width:980px) {
    .dash-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .side-nav {
        position: relative;
        width: 100%;
        top: 0;
    }

    /* Force grids to stack neatly on tablets */
    .metric-grid,
    .payment-options,
    .calc-panel,
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .before-after-large {
        height: 320px;
    }
}

@media(max-width:560px) {
    /* Force grids to stack into a single column on phones */
    .metric-grid,
    .payment-options,
    .calc-panel,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .progress-step {
        grid-template-columns: 38px 1fr;
    }

        .progress-step span:last-child {
            grid-column: 2;
        }

    .transaction {
        display: block;
    }

        .transaction strong {
            display: block;
            margin-top: 8px;
        }

    .before-after-large {
        height: 260px;
    }
}

/* Exact CSS from upload.html */
.upload-page {
    padding: 74px 0;
    background: radial-gradient(circle at 78% 0%,rgba(124,58,237,.30),transparent 34%),radial-gradient(circle at 12% 15%,rgba(34,211,238,.17),transparent 28%)
}

.upload-layout {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 28px;
    align-items: start
}

.upload-title h1 {
    font-size: clamp(2.15rem,5vw,3.15rch);
    line-height: 1.08;
    letter-spacing: -2px;
    margin: 12px 0
}

.upload-title p {
    color: var(--muted2);
    font-size: clamp(1rem,2vw,1.1rch);
    max-width: 760px
}

.dropzone {
    position: relative;
    margin-top: 28px;
    padding: 34px;
    border: 2px dashed rgba(34,211,238,.48);
    border-radius: 30px;
    background: linear-gradient(180deg,rgba(15,23,42,.76),rgba(17,24,39,.52));
    box-shadow: var(--shadow);
    text-align: center;
    transition: .25s;
    overflow: hidden
}

    .dropzone:before {
        content: "";
        position: absolute;
        inset: -45%;
        background: linear-gradient(115deg,transparent 25%,rgba(34,211,238,.12),transparent 42%,rgba(124,58,237,.12),transparent 60%);
        animation: gradientMove 10s linear infinite;
        pointer-events: none
    }

    .dropzone.dragover {
        border-color: white;
        background: rgba(37,99,235,.16);
        transform: translateY(-3px)
    }

.dropzone-inner {
    position: relative;
    z-index: 1
}

.drop-icon {
    width: 86px;
    height: 86px;
    margin: 0 auto 18px;
    border-radius: 28px;
    background: linear-gradient(135deg,var(--cyan),var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 20px 50px rgba(124,58,237,.34)
}

.dropzone h2 {
    font-size: clamp(1.5rem,3vw,2rch);
    margin-bottom: 8px
}

.dropzone p {
    color: var(--muted);
    margin-bottom: 22px
}

.file-input {
    display: none
}

.supported {
    display: flex;
    gap: 9px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px
}

.format-pill {
    font-size: 12px;
    font-weight: 900;
    color: #a5f3fc;
    border: 1px solid rgba(34,211,238,.24);
    background: rgba(34,211,238,.08);
    border-radius: 999px;
    padding: 7px 10px
}

.upload-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px
}

.upload-summary {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 20px
}

.summary-box {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    text-align: center
}

    .summary-box strong {
        display: block;
        font-size: clamp(1.35rem,3vw,2rch);
        line-height: 1;
        color: white
    }

    .summary-box span {
        font-size: 13px;
        color: var(--muted);
        font-weight: 800
    }

.file-list {
    margin-top: 24px;
    display: grid;
    gap: 14px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 5px;
}

    .file-list::-webkit-scrollbar {
        width: 6px;
    }

    .file-list::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
    }

.file-row {
    padding: 16px;
    border-radius: 20px;
    background: rgba(15,23,42,.82);
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center
}

.file-type {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900
}

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

.file-meta {
    color: var(--muted);
    font-size: 13px
}

.remove-file {
    border: 1px solid rgba(239,68,68,.35);
    background: rgba(239,68,68,.10);
    color: #fecaca;
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    font-weight: 900
}

.progress-wrap {
    grid-column: 1/-1;
    height: 10px;
    background: #1e293b;
    border-radius: 999px;
    overflow: hidden;
    display: none;
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg,var(--cyan),var(--secondary));
    transition: width .25s
}

.progress-text {
    grid-column: 1/-1;
    color: var(--muted2);
    font-size: 13px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    display: none;
}

.side-panel {
    position: sticky;
    top: 100px;
    padding: 26px
}

    .side-panel h3 {
        font-size: 1.35rem;
        margin-bottom: 14px
    }

.select-service {
    display: grid;
    gap: 12px;
    margin: 16px 0 22px
}

.service-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.045);
    cursor: pointer
}

    .service-option.active {
        border-color: rgba(34,211,238,.45);
        background: rgba(34,211,238,.09)
    }

    .service-option input {
        margin-top: 4px;
        accent-color: var(--secondary);
        transform: scale(1.2)
    }

    .service-option strong {
        display: block
    }

    .service-option span {
        color: var(--muted);
        font-size: 13px
    }

.estimate-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(2,6,23,.55);
    border: 1px solid var(--line);
    margin-top: 16px
}

.estimate-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: var(--muted2)
}

    .estimate-line:last-child {
        border-bottom: none
    }

.estimate-total {
    font-size: clamp(1.9rem,4vw,2.8rch);
    font-weight: 900;
    background: linear-gradient(90deg,var(--cyan),#a78bfa);
    -webkit-background-clip: text;
    color: transparent;
    margin-top: 8px
}

.notice {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px
}

.upload-state {
    display: none;
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.25);
    color: #bbf7d0;
    font-weight: 800
}

    .upload-state.error {
        background: rgba(239,68,68,.10);
        border-color: rgba(239,68,68,.28);
        color: #fecaca
    }

.small-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px
}

@media(max-width:980px) {
    .upload-layout {
        grid-template-columns: 1fr
    }

    .side-panel {
        position: static
    }

    .upload-summary {
        grid-template-columns: 1fr 1fr 1fr
    }
}

@media(max-width:560px) {
    .dropzone {
        padding: 23px
    }

    .file-row {
        grid-template-columns: auto 1fr
    }

    .remove-file {
        grid-column: 1/-1
    }

    .upload-summary {
        grid-template-columns: 1fr
    }

    .upload-actions {
        display: grid
    }

        .upload-actions .btn {
            width: 100%
        }
}
/* Makes tables horizontally swipeable on mobile */
.dataTables_wrapper {
    color: white !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 10px;
}

    /* Prevents text from squishing together */
    .dataTables_wrapper table.dataTable {
        white-space: nowrap;
    }

/* Stacks the Search bar neatly on mobile */
@media (max-width: 560px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        text-align: left !important;
        float: none !important;
        margin-bottom: 15px;
    }

        .dataTables_wrapper .dataTables_filter input {
            width: 100%;
            margin-left: 0;
            margin-top: 8px;
            box-sizing: border-box;
        }
}
/* =========================================================
   PREMIUM UI/UX POLISH - INPUTS, CHECKBOXES & BUTTONS
   ========================================================= */

/* 1. Custom Sleek Select Dropdown */
.custom-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: white;
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    cursor: pointer;
    appearance: none; /* Hides default arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    transition: all 0.2s ease;
}

    .custom-select:hover, .custom-select:focus {
        border-color: rgba(34, 211, 238, 0.5);
        background: rgba(255, 255, 255, 0.08);
    }

    .custom-select option {
        background: var(--bg2);
        color: white;
    }

/* 2. Custom Sleek Checkboxes */
.calc-box label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 600;
    color: var(--muted2);
    transition: color 0.2s;
}

    .calc-box label:hover {
        color: white;
    }

.calc-box input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

    .calc-box input[type="checkbox"]:checked {
        background: var(--primary);
        border-color: var(--primary);
        box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
    }

        .calc-box input[type="checkbox"]:checked::after {
            content: '✔';
            position: absolute;
            color: white;
            font-size: 14px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

/* 3. Button Pulse Glow on Hover */
.btn-primary:not([disabled]):hover {
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}