/* =========================================================
   GST Consent Letter - Shared UI
   Minimal, responsive styles for public, auth, panel and NOC views.
   ========================================================= */

:root {
    --bg: #f6f7fb;
    --surface: #ffffff;
    --surface-soft: #f9fafb;
    --text: #18181b;
    --muted: #6b7280;
    --muted-2: #9ca3af;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-soft: #eff6ff;
    --dark: #111827;
    --danger: #dc2626;
    --danger-soft: #fef2f2;
    --success: #16a34a;
    --success-soft: #f0fdf4;
    --warning: #d97706;
    --warning-soft: #fffbeb;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 70px rgba(15, 23, 42, 0.10);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 28px;
    --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; }

/* ---------- Top navigation ---------- */
.topbar {
    min-height: 68px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.brand,
.panel-brand {
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: -0.04em;
}

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

.nav-links a,
.link-btn {
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    color: #374151;
    padding: 10px 12px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.link-btn:hover { background: #f3f4f6; color: var(--text); }

.nav-pill {
    background: var(--dark) !important;
    color: #ffffff !important;
    padding: 10px 17px !important;
    box-shadow: var(--shadow-sm);
}

.inline-form { display: inline; }

.link-btn {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 11px;
    font-size: 18px;
    cursor: pointer;
}

/* ---------- Landing page ---------- */
.landing-page {
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.12), transparent 30%),
        radial-gradient(circle at 88% 24%, rgba(16, 185, 129, 0.10), transparent 28%),
        var(--bg);
}

.landing-hero {
    min-height: calc(100vh - 68px);
    padding: 86px 20px 60px;
    display: flex;
    align-items: center;
}

.landing-inner {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid #dbeafe;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 18px;
}

.landing-copy h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.01;
    letter-spacing: -0.065em;
}

.landing-copy p {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.hero-actions,
.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.landing-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

.landing-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #10b981);
}

.landing-card-icon,
.result-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--success-soft);
    color: var(--success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 18px;
}

.landing-card h3,
.simple-feature h3 {
    margin: 0 0 10px;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.landing-card p,
.simple-feature p { margin: 0; color: var(--muted); }

.landing-checks {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.landing-checks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #374151;
    font-weight: 700;
}

.landing-checks li::before { content: "✓"; color: var(--success); font-weight: 900; }

.simple-features {
    max-width: var(--max);
    margin: 0 auto 72px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.simple-feature {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

/* ---------- Pages and cards ---------- */
.page {
    min-height: calc(100vh - 68px);
    padding: 34px 16px;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
}

.container.narrow { max-width: 960px; }

.header,
.page-heading,
.panel-title {
    margin-bottom: 22px;
}

.header.center { text-align: center; }

.header h1,
.page-heading h1,
.panel-title h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.header p,
.page-heading p,
.panel-title p {
    color: var(--muted);
    margin: 8px 0 0;
    font-size: 15px;
}

.card,
.result-card,
.table-card,
.stat-card,
.hero-card,
.feature-card,
.form-card,
.panel-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card-body,
.form-card-body,
.panel-card-body { padding: 22px; }

.card-header,
.form-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.card-header h2,
.form-card-header h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.025em;
}

.card-header p,
.form-card-header p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Forms ---------- */
.form-stack { display: grid; gap: 18px; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-group { margin: 0; }
.form-group.full { grid-column: 1 / -1; }

label,
.field-label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 900;
    color: #1f2937;
}

.required,
.field-error { color: var(--danger); }

.field-error { margin-top: 6px; font-size: 12px; font-weight: 700; }

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border-dark);
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
    color: var(--text);
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea { min-height: 96px; resize: vertical; }

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

input[readonly],
textarea[readonly] {
    background: var(--surface-soft);
    color: #4b5563;
}

.hint,
.muted { color: var(--muted); font-size: 12px; margin-top: 7px; }

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    font-weight: 800;
}

.check-row input { width: auto; margin-top: 4px; }

.section-title {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.section-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
}

.alert-danger { background: var(--danger-soft); border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: var(--success-soft); border: 1px solid #bbf7d0; color: #166534; }

.mini-status { display: none; margin-top: 7px; font-size: 13px; font-weight: 800; }
.mini-status.success { color: var(--success); }
.mini-status.error { color: var(--danger); }

.address-suggestions {
    display: none;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
}
.address-suggestions.active { display: block; }
.suggestion-title { font-size: 12px; color: var(--muted); font-weight: 900; margin-bottom: 8px; }
.suggestion-list { display: flex; flex-wrap: wrap; gap: 8px; }
.suggestion-chip {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

/* ---------- Upload and crop UI ---------- */
.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.upload-box {
    border: 1.5px dashed #b9c7da;
    border-radius: 18px;
    padding: 16px;
    background: #fbfdff;
}
.upload-box.hidden { display: none; }
.upload-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 10px; }
.upload-title strong { font-size: 15px; }
.upload-badge { padding: 4px 9px; border-radius: 999px; background: #e0f2fe; color: #0369a1; font-size: 11px; font-weight: 900; }
.crop-area,
.cropped-preview { display: none; margin-top: 14px; border: 1px solid var(--border); border-radius: 16px; background: #ffffff; overflow: hidden; }
.crop-image-wrap { width: 100%; max-height: 430px; background: #111827; text-align: center; }
.crop-image-wrap img { display: block; max-width: 100%; }
.crop-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.tool-btn { border: 1px solid var(--border); background: #ffffff; border-radius: 999px; padding: 9px 12px; font-size: 13px; font-weight: 900; cursor: pointer; }
.tool-btn.primary { background: var(--primary); color: #ffffff; border-color: var(--primary); }
.cropped-preview-header { padding: 10px 12px; font-size: 13px; font-weight: 900; color: var(--success); border-bottom: 1px solid var(--border); background: var(--success-soft); }
.cropped-preview img { width: 100%; max-height: 240px; object-fit: contain; background: #f9fafb; }
.file-meta { padding: 10px 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border); }
.quality-note { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--warning-soft); border: 1px solid #fed7aa; color: #92400e; font-size: 13px; font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    min-height: 48px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #ffffff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-light { background: #eef2f7; color: #111827; }
.btn-dark { background: var(--dark); color: #ffffff; width: 100%; }
.btn-outline { border: 1px solid var(--border-dark); background: #ffffff; width: 100%; margin-top: 12px; }
.btn-danger-soft { background: var(--danger-soft); color: #991b1b; }

/* ---------- Auth pages ---------- */
.auth-body { background: #ffffff; }
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at 50% 0%, #f3f7ff, #ffffff 42%); }
.auth-card { width: 100%; max-width: 470px; border: 1px solid var(--border); border-radius: 24px; padding: 38px; text-align: center; box-shadow: var(--shadow-lg); background: #ffffff; }
.auth-mark,
.auth-logo { width: 36px; height: 36px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; color: #9a8652; font-size: 28px; }
.auth-card h1 { margin: 6px 0 12px; font-size: 34px; line-height: 1.16; letter-spacing: -0.055em; }
.auth-copy,
.auth-card p { color: var(--muted); margin: 0 auto; max-width: 360px; }
.auth-form { display: grid; gap: 14px; margin-top: 26px; }
.input-icon { display: flex; align-items: center; gap: 10px; background: #f5f5f5; border: 1px solid transparent; border-radius: 14px; padding: 0 14px; }
.input-icon:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08); }
.input-icon span { width: 22px; color: #555555; font-weight: 900; }
.input-icon input { border: 0; background: transparent; box-shadow: none; }
.auth-divider { margin: 24px 0 10px; border-top: 1px solid var(--border); }
.auth-divider span { background: #ffffff; padding: 0 12px; position: relative; top: -13px; font-weight: 800; }
.auth-link { display: inline-block; margin-top: 18px; font-weight: 900; text-decoration: none; color: var(--primary); }
.auth-footer { margin-top: 22px; color: var(--muted-2); }

/* ---------- Panel layout ---------- */
.panel-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; background: var(--bg); }
.sidebar { position: sticky; top: 0; height: 100vh; background: #0f172a; color: #ffffff; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.panel-brand { color: #ffffff; padding: 10px 10px 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.sidebar a,
.sidebar-logout { color: rgba(255,255,255,0.82); text-decoration: none; padding: 11px 12px; border-radius: 12px; background: transparent; border: 0; text-align: left; cursor: pointer; font-weight: 800; }
.sidebar a:hover,
.sidebar-logout:hover { background: rgba(255, 255, 255, 0.09); color: #ffffff; }
.sidebar hr { width: 100%; border: 0; border-top: 1px solid rgba(255,255,255,0.10); margin: 10px 0; }
.panel-main { padding: 30px; }
.panel-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.panel-kicker { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 900; margin-bottom: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.stat-card { padding: 18px; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 900; }
.stat-card strong { display: block; margin-top: 8px; font-size: 30px; letter-spacing: -0.05em; }
.table-card { overflow: hidden; }
.table-scroll { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th,
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { background: #f9fafb; color: #4b5563; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 900; }
.deleted-row { opacity: 0.55; }
.small-link,
.small-danger { border: 0; background: transparent; color: var(--primary); font-weight: 900; cursor: pointer; padding: 0; text-decoration: none; font-size: 14px; }
.small-danger { color: var(--danger); margin-left: 10px; }
.badge-soft { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; background: #f3f4f6; color: #374151; font-size: 12px; font-weight: 900; }
.badge-green { background: var(--success-soft); color: #166534; }
.badge-red { background: var(--danger-soft); color: #991b1b; }

/* ---------- Result page ---------- */
.result-page { min-height: calc(100vh - 68px); padding: 34px 16px; display: flex; align-items: center; justify-content: center; }
.result-container { width: 100%; max-width: 920px; }
.result-card { overflow: hidden; }
.result-hero { padding: 30px 28px; background: linear-gradient(180deg, #ffffff, #fbfdff); border-bottom: 1px solid var(--border); text-align: center; }
.result-hero h1 { margin: 0; font-size: 30px; letter-spacing: -0.04em; }
.result-subtitle { margin: 8px auto 0; max-width: 620px; color: var(--muted); font-size: 15px; }
.result-body { padding: 28px; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.info-box { border: 1px solid var(--border); border-radius: 16px; padding: 15px; background: #ffffff; }
.info-box.full { grid-column: 1 / -1; }
.info-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 900; margin-bottom: 5px; }
.info-value { font-size: 15px; font-weight: 800; word-break: break-word; }
.record { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; }
.note { margin-top: 18px; color: var(--muted); font-size: 13px; }

/* ---------- PDF classes are kept for mPDF template ---------- */
.pdf-body { font-family: dejavusans, sans-serif; font-size: 10.8pt; line-height: 1.45; color: #111111; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .landing-inner,
    .simple-features,
    .panel-shell,
    .form-grid,
    .upload-grid,
    .stats-grid,
    .summary-grid { grid-template-columns: 1fr; }
    .sidebar { position: relative; height: auto; }
    .panel-main { padding: 20px; }
}

@media (max-width: 760px) {
    .topbar { align-items: flex-start; padding: 14px 16px; }
    .mobile-nav-toggle { display: inline-flex; }
    .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; position: absolute; top: 68px; left: 0; padding: 14px 16px; background: #ffffff; border-bottom: 1px solid var(--border); }
    .topbar.nav-open .nav-links { display: flex; }
    .landing-hero { min-height: auto; padding: 56px 18px 40px; }
    .landing-copy h1 { font-size: 42px; }
    .auth-card { padding: 30px 22px; border-radius: 20px; }
    .auth-card h1 { font-size: 30px; }
    .panel-top { flex-direction: column; }
    .data-table { min-width: 680px; }
    .actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
}

/* =========================================================
   Landing refresh + animated brand
   ========================================================= */
   .brand-gradient {
    background: linear-gradient(
        270deg,
        #111827,
        #2563eb,
        #16a34a,
        #0f766e,
        #111827
    );
    background-size: 420% 420%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    animation: brandGradientMove 5s ease infinite;
}

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

    50% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.landing-refresh {
    background:
        radial-gradient(circle at 10% 10%, rgba(37, 99, 235, 0.12), transparent 28%),
        radial-gradient(circle at 90% 12%, rgba(22, 163, 74, 0.10), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 58%, #f8fafc 100%);
    min-height: calc(100vh - 68px);
}

.landing-hero-v2 {
    padding: 96px 22px 70px;
}

.landing-inner-v2 {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.74fr);
    gap: 70px;
    align-items: center;
}

.landing-copy-v2 {
    max-width: 690px;
}

.eyebrow-v2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.09);
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
}

.landing-copy-v2 h1 {
    margin: 0;
    color: #101114;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.94;
    letter-spacing: -0.075em;
    font-weight: 950;
}

.landing-copy-v2 p {
    margin: 24px 0 0;
    color: #667085;
    font-size: 19px;
    line-height: 1.65;
    max-width: 660px;
}

.landing-copy-v2 .hero-actions {
    margin-top: 30px;
}

.landing-note-row {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-note-row span {
    padding: 8px 11px;
    border-radius: 999px;
    background: #ffffff;
    color: #475467;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.landing-preview-card {
    position: relative;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(209, 213, 219, 0.82);
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.landing-preview-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #06b6d4, #22c55e);
}

.preview-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 24px;
}

.preview-logo-dot {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 24px;
    font-weight: 950;
}

.preview-card-top strong {
    display: block;
    font-size: 19px;
    color: #111827;
    letter-spacing: -0.03em;
}

.preview-card-top span {
    display: block;
    margin-top: 2px;
    color: #667085;
    font-size: 14px;
}

.mini-doc {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 22px;
}

.mini-doc-line {
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(90deg, #dbeafe, #e5e7eb);
    margin-bottom: 12px;
}

.mini-doc-line.title-line {
    height: 18px;
    width: 72%;
    background: linear-gradient(90deg, #1d4ed8, #22c55e);
}


.mini-doc-line.short {
    width: 44%;
}

.mini-doc-line.medium {
    width: 68%;
}

.mini-doc-gap {
    height: 18px;
}

.mini-proof {
    margin-top: 18px;
    border: 1px dashed #94a3b8;
    border-radius: 16px;
    height: 92px;
    display: grid;
    place-items: center;
    color: #475467;
    font-weight: 900;
    background: #ffffff;
}

.landing-features-v2 {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 8px 22px 74px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card-v2 {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.feature-card-v2 span {
    color: #2563eb;
    font-size: 13px;
    font-weight: 950;
}

.feature-card-v2 h3 {
    margin: 12px 0 8px;
    color: #111827;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.feature-card-v2 p {
    margin: 0;
    color: #667085;
    line-height: 1.6;
}

.coming-soon-v2 {
    width: min(1120px, calc(100% - 44px));
    margin: 0 auto 72px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    background: #111827;
    color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

.coming-soon-v2 .eyebrow-v2 {
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.10);
    color: #93c5fd;
}

.coming-soon-v2 h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.055em;
}

.coming-soon-v2 p {
    margin: 10px 0 0;
    max-width: 720px;
    color: #d1d5db;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .landing-hero-v2 {
        padding-top: 64px;
    }

    .landing-inner-v2 {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .landing-copy-v2 h1 {
        font-size: 52px;
    }

    .landing-features-v2 {
        grid-template-columns: 1fr;
    }

    .coming-soon-v2 {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
     .landing-hero-v2 {
        padding: 44px 16px 44px;
    }

    .landing-copy-v2 h1 {
        font-size: 42px;
        letter-spacing: -0.065em;
    }

    .landing-copy-v2 p {
        font-size: 16px;
    }

    .landing-preview-card,
    .feature-card-v2,
    .coming-soon-v2 {
        border-radius: 22px;
    }

    .coming-soon-v2 {
        width: calc(100% - 32px);
        padding: 24px;
    }

    .coming-soon-v2 h2 {
        font-size: 28px;
    }
}

/* =========================================================
   Modern NOC builder form
   Clean step-card form for GST consent letter generation.
   ========================================================= */
   .noc-builder-page {
    min-height: calc(100vh - 68px);
    background:
        radial-gradient(circle at 6% 4%, rgba(37, 99, 235, 0.09), transparent 26%),
        radial-gradient(circle at 95% 8%, rgba(20, 184, 166, 0.09), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 52%, #f8fafc 100%);
    padding: 44px 18px 72px;
}

.noc-builder-container {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.noc-builder-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    align-items: end;
    margin-bottom: 20px;
}

.noc-builder-hero h1 {
    margin: 0;
    max-width: 720px;
    color: #101114;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 0.98;
    letter-spacing: -0.065em;
    font-weight: 950;
}

.noc-builder-hero p {
    margin: 16px 0 0;
    max-width: 680px;
    color: #667085;
    font-size: 17px;
    line-height: 1.65;
}

.noc-builder-side-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.side-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #ecfdf3;
    color: #16a34a;
    font-size: 22px;
    font-weight: 950;
    margin-bottom: 12px;
}

.noc-builder-side-card strong {
    display: block;
    color: #111827;
    font-size: 18px;
    letter-spacing: -0.035em;
}

.noc-builder-side-card p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.noc-stepbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 24px 0;
}

.noc-stepbar span {
    padding: 11px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #475467;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.noc-form {
    display: grid;
    gap: 18px;
}

.noc-section-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.065);
    overflow: hidden;
}

.noc-section-head {
    padding: 22px 24px;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.96));
    border-bottom: 1px solid #eef2f7;
}

.noc-section-head h2 {
    margin: 6px 0 0;
    color: #111827;
    font-size: 22px;
    letter-spacing: -0.045em;
}

.noc-section-head p {
    margin: 6px 0 0;
    color: #667085;
    font-size: 14px;
}


.section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 28px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 950;
}

.noc-section-body {
    padding: 24px;
}

.modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.modern-field {
    display: grid;
    gap: 7px;
}

.modern-field.full {
    grid-column: 1 / -1;
}

.modern-field label {
    margin: 0;
    color: #111827;
    font-size: 13px;
    font-weight: 900;
}

.modern-field input,
.modern-field select,
.modern-field textarea {
    border-radius: 16px;
    min-height: 52px;
    border-color: #d8e0ea;
    background: #ffffff;
    font-size: 15px;
}

.modern-field textarea {
    min-height: 110px;
}

.modern-field input[readonly],
.modern-field textarea[readonly] {
    background: #f8fafc;
}

.soft-hint {
    margin: 0;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.5;
}

.modern-check {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    border-radius: 16px;
    cursor: pointer;
}

.modern-check input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #2563eb;
}

.modern-check span {
    color: #1e3a8a;
    font-size: 14px;
    font-weight: 850;
}

.modern-upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}


.modern-upload-box {
    border: 1.5px dashed #b8c6d9;
    border-radius: 24px;
    padding: 18px;
    background: #f8fbff;
}

.modern-upload-box.hidden {
    display: none;
}

.modern-upload-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
}

.modern-upload-head span {
    display: block;
    color: #2563eb;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.modern-upload-head strong {
    display: block;
    margin-top: 3px;
    color: #111827;
    font-size: 16px;
    letter-spacing: -0.025em;
}

.modern-upload-head em {
    font-style: normal;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #475467;
    font-size: 11px;
    font-weight: 900;
}

.modern-upload-box input[type="file"] {
    padding: 13px;
    background: #ffffff;
    border-radius: 16px;
}

.noc-submit-bar {
    position: sticky;
    bottom: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e5e7eb;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.noc-submit-bar strong {
    display: block;
    color: #111827;
    font-size: 15px;
}

.noc-submit-bar span {
    display: block;
    margin-top: 2px;
    color: #667085;
    font-size: 13px;
}

@media (max-width: 900px) {
     .noc-builder-hero {
        grid-template-columns: 1fr;
    }

    .noc-builder-side-card {
        max-width: 420px;
    }

    .modern-grid,
    .modern-upload-grid {
        grid-template-columns: 1fr;
    }

    .noc-stepbar {
        grid-template-columns: repeat(2, 1fr);
    }

    .noc-submit-bar {
        position: static;
        flex-direction: column;
        align-items: stretch;
    }

    .noc-submit-bar .actions {
        justify-content: stretch;
    }
}

@media (max-width: 560px) {
    .noc-builder-page {
        padding: 28px 12px 42px;
    }

    .noc-builder-hero h1 {
        font-size: 38px;
    }

    .noc-stepbar {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .noc-section-head,
    .noc-section-body {
        padding: 18px;
    }

     .noc-section-card,
    .modern-upload-box,
    .noc-submit-bar {
        border-radius: 20px;
    }
}