* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --navy: #003580;
    --navy-dark: #001f4d;
    --navy-mid: #00469e;
    --saffron: #FF8C00;
    --saffron-light: #FFA733;
    --green-ind: #138808;
    --white: #ffffff;
    --off: #f5f7fc;
    --text: #1a1a2e;
    --muted: #5a6478;
    --border: #e0e7f3;
    --fssai: #1b5e20;
    --fssai-mid: #2e7d32;
    --fssai-light: #e8f5e9;
    --fssai-dark: #0a2e0a;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden
}

.tricolor {
    display: flex;
    height: 5px
}

.tricolor div {
    flex: 1
}

.ticker {
    background: var(--navy-dark);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 500
}

.ticker-inner {
    display: flex;
    animation: tick 30s linear infinite;
    white-space: nowrap
}

.ticker-item {
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 8px
}

.ticker-item::before {
    content: '✦';
    color: var(--saffron);
    font-size: 0.7rem
}

@keyframes tick {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 5vw
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 700
}

.logo-emblem {
    width: 36px;
    height: 36px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color .2s
}

.nav-links a:hover,
.nav-links a.active-nav {
    color: var(--navy)
}

.nav-cta {
    background: var(--saffron);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600 !important
}

.nav-phone {
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 8px;
    z-index: 1100
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    transform-origin: center
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    opacity: 0;
    transition: opacity .3s
}

.nav-overlay.show {
    opacity: 1
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 80%;
    max-width: 300px;
    background: var(--white);
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 4px 0 32px rgba(0, 53, 128, 0.15);
    display: flex;
    flex-direction: column
}

.mobile-drawer.open {
    transform: translateX(0)
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border)
}

.drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--off);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center
}

.drawer-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0
}

.drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all .2s
}

.drawer-nav a:hover {
    background: var(--off);
    color: var(--navy);
    border-left-color: var(--navy)
}

.drawer-nav-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center
}

.drawer-cta {
    padding: 20px;
    border-top: 1px solid var(--border)
}

.drawer-cta a {
    display: block;
    text-align: center;
    background: var(--saffron);
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem
}

.drawer-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px 0;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
    text-decoration: none
}

.mobile-drawer.open .drawer-nav a {
    animation: slideInLink .3s ease forwards;
    opacity: 0
}

.mobile-drawer.open .drawer-nav a:nth-child(1) {
    animation-delay: .05s
}

.mobile-drawer.open .drawer-nav a:nth-child(2) {
    animation-delay: .10s
}

.mobile-drawer.open .drawer-nav a:nth-child(3) {
    animation-delay: .15s
}

@keyframes slideInLink {
    from {
        opacity: 0;
        transform: translateX(-18px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

/* ── HERO ── */
.tool-hero {
    background: linear-gradient(135deg, var(--fssai-dark) 0%, var(--fssai) 55%, var(--fssai-mid) 100%);
    padding: 40px 5vw 48px;
    position: relative;
    overflow: hidden
}

.tool-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}

.tool-hero::after {
    content: '';
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, transparent 70%)
}

.tool-hero-inner {
    max-width: 1350px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5)
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none
}

.breadcrumb a:hover {
    color: #fff
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.25)
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 140, 0, 0.35);
    border-radius: 100px;
    padding: 4px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 12px
}

.tool-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px
}

.tool-hero h1 em {
    color: #A5F3C8;
    font-style: normal
}

.tool-hero-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 20px
}

.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    padding: 4px 12px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500
}

.hero-visual {
    width: 110px;
    height: 110px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0
}

/* ── LAYOUT ── */
.tool-layout {
    padding: 48px 5vw 72px;
    background: var(--off)
}

.tool-inner {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start
}

/* ── FINDER CARD ── */
.finder-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden
}

.finder-header {
    background: linear-gradient(135deg, var(--fssai-dark), var(--fssai-mid));
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.finder-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff
}

.finder-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-top: 3px
}

.finder-reset {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s
}

.finder-reset:hover {
    background: rgba(255, 255, 255, 0.22)
}

/* ── PROGRESS ── */
.progress-wrap {
    padding: 20px 28px 0
}

.progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px
}

.progress-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted)
}

.progress-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fssai)
}

.prog-bar-bg {
    height: 6px;
    background: var(--off);
    border-radius: 100px;
    overflow: hidden
}

.prog-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--fssai), var(--fssai-mid));
    border-radius: 100px;
    transition: width .4s cubic-bezier(.4, 0, .2, 1)
}

.step-dots {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

.sdot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    transition: all .3s;
    background: var(--white)
}

.sdot.done {
    background: var(--fssai);
    border-color: var(--fssai);
    color: #fff
}

.sdot.active {
    background: var(--fssai);
    border-color: var(--fssai);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.15)
}

/* ── QUESTIONS ── */
.question-area {
    padding: 24px 28px
}

.q-block {
    display: none;
    animation: fadeUp .3s ease
}

.q-block.active {
    display: block
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.q-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--fssai-light);
    color: var(--fssai);
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    letter-spacing: .06em;
    text-transform: uppercase
}

.q-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 6px
}

.q-hint {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px
}

/* OPTIONS */
.opts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px
}

.opt {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all .25s;
    background: var(--white);
    position: relative;
    text-align: left;
    width: 100%;
    font-family: 'DM Sans', sans-serif
}

.opt:hover {
    border-color: var(--fssai);
    background: var(--fssai-light)
}

.opt.sel {
    border-color: var(--fssai);
    background: var(--fssai-light);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.09)
}

.opt-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: var(--off);
    transition: background .2s
}

.opt.sel .opt-icon {
    background: var(--fssai)
}

.opt-body {
    flex: 1
}

.opt-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
    transition: color .2s
}

.opt.sel .opt-title {
    color: var(--fssai)
}

.opt-sub {
    font-size: 0.77rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.5
}

.opt-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all .2s
}

.opt.sel .opt-check {
    background: var(--fssai);
    border-color: var(--fssai);
    color: #fff;
    font-size: 0.75rem
}

/* TURNOVER INPUT */
.turnover-wrap {
    margin-bottom: 20px
}

.turnover-input-row {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all .2s
}

.turnover-input-row:focus-within {
    border-color: var(--fssai);
    box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.08)
}

.tinp-prefix {
    padding: 0 14px;
    background: var(--off);
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    border-right: 1.5px solid var(--border)
}

.tinp {
    flex: 1;
    padding: 14px 16px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    outline: none;
    background: var(--white)
}

.quick-btns {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 10px
}

.quick-btn {
    padding: 6px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.74rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--white);
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    transition: all .2s
}

.quick-btn:hover {
    border-color: var(--fssai);
    color: var(--fssai)
}

/* NAV BUTTONS */
.q-nav {
    display: flex;
    gap: 10px
}

.btn-back {
    flex: 0;
    padding: 12px 20px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--white);
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    transition: all .2s
}

.btn-back:hover {
    border-color: var(--fssai);
    color: var(--fssai)
}

.btn-next {
    flex: 1;
    padding: 13px;
    border: none;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--fssai), var(--fssai-mid));
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.25)
}

.btn-next:disabled {
    opacity: .42;
    cursor: not-allowed;
    transform: none;
    box-shadow: none
}

/* ── RESULT ── */
.result-area {
    display: none;
    padding: 24px 28px 28px;
    animation: fadeUp .4s ease
}

.result-area.show {
    display: block
}

/* VERDICT */
.verdict-banner {
    border-radius: 18px;
    padding: 26px 24px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden
}

.verdict-banner.basic {
    background: linear-gradient(135deg, #0d47a1, #1565c0)
}

.verdict-banner.state {
    background: linear-gradient(135deg, var(--fssai-dark), var(--fssai))
}

.verdict-banner.central {
    background: linear-gradient(135deg, #7b1fa2, #9c27b0)
}

.verdict-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px
}

.verdict-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem
}

.verdict-badge-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 100px;
    padding: 5px 16px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .06em;
    text-transform: uppercase
}

.verdict-type {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px
}

.verdict-full-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 400;
    margin-bottom: 10px
}

.verdict-reason {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 300;
    line-height: 1.65
}

.verdict-deco {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04)
}

/* KEY DETAILS GRID */
.key-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px
}

.key-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    text-align: center
}

.key-icon {
    font-size: 1.4rem;
    margin-bottom: 6px
}

.key-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 4px
}

.key-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text)
}

.key-note {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 300;
    margin-top: 2px
}

/* SECTION HEADING */
.res-sec-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.res-sec-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

/* DOCS LIST */
.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 20px
}

.doc-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: var(--text);
    font-weight: 400;
    line-height: 1.45
}

.doc-item::before {
    content: '📄';
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 1px
}

/* PROCESS STEPS */
.process-steps {
    position: relative;
    margin-bottom: 20px
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--fssai), var(--fssai-light));
    z-index: 0
}

.ps {
    display: flex;
    gap: 16px;
    position: relative;
    z-index: 1;
    padding-bottom: 20px
}

.ps:last-child {
    padding-bottom: 0
}

.ps-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fssai);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--fssai)
}

.ps-body {
    padding-top: 5px
}

.ps-title {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px
}

.ps-sub {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.55
}

.ps-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--fssai);
    font-weight: 600;
    margin-top: 5px;
    background: var(--fssai-light);
    padding: 2px 9px;
    border-radius: 100px
}

/* RESULT ACTIONS */
.res-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px
}

.ra-btn {
    flex: 1;
    min-width: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    transition: all .2s;
    text-decoration: none
}

.ra-btn:hover {
    border-color: var(--fssai);
    color: var(--fssai);
    background: var(--fssai-light)
}

.ra-btn.green {
    background: var(--fssai);
    color: #fff;
    border-color: var(--fssai)
}

.ra-btn.green:hover {
    background: var(--fssai-dark)
}

.ra-btn.saffron {
    background: var(--saffron);
    color: #fff;
    border-color: var(--saffron)
}

.ra-btn.saffron:hover {
    background: var(--saffron-light)
}

/* RESTART */
.restart-wrap {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid var(--off)
}

.restart-btn {
    background: none;
    border: none;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s
}

.restart-btn:hover {
    color: var(--fssai)
}

/* BOX */
.box {
    border-radius: 10px;
    padding: 13px 16px;
    margin: 12px 0;
    font-size: 0.84rem;
    line-height: 1.65;
    font-weight: 400
}

.box.green {
    background: var(--fssai-light);
    border-left: 3px solid var(--fssai);
    color: var(--fssai-dark)
}

.box.amber {
    background: #fff8e1;
    border-left: 3px solid #f9a825;
    color: #5d4037
}

.box.blue {
    background: #eef3ff;
    border-left: 3px solid var(--navy);
    color: var(--navy-dark)
}

.box.red {
    background: #fff5f5;
    border-left: 3px solid #e53935;
    color: #b71c1c
}

/* ── SIDEBAR ── */
.tool-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px
}

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px
}

.ic-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px
}

.ic-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

/* LICENSE COMPARE */
.lic-compare {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.lic-row {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    background: var(--off);
    border-radius: 10px;
    border: 1px solid var(--border);
    align-items: flex-start
}

.lic-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 100px;
    flex-shrink: 0;
    margin-top: 2px
}

.lic-badge.basic {
    background: #e3f2fd;
    color: #0d47a1
}

.lic-badge.state {
    background: var(--fssai-light);
    color: var(--fssai)
}

.lic-badge.central {
    background: #f3e5f5;
    color: #7b1fa2
}

.lic-info h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px
}

.lic-info p {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.5
}

/* QUICK FACTS */
.quick-facts {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 300
}

.fact-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--fssai-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0
}

/* RELATED TOOLS */
.related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--off);
    text-decoration: none;
    transition: opacity .2s
}

.related-link:last-child {
    border-bottom: none
}

.related-link:hover {
    opacity: .75
}

.rl-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    flex-shrink: 0
}

.rl-text {
    flex: 1
}

.rl-name {
    font-size: .83rem;
    font-weight: 600;
    color: var(--text)
}

.rl-cat {
    font-size: .72rem;
    color: var(--muted);
    font-weight: 300
}

.rl-arr {
    font-size: .75rem;
    color: var(--muted)
}

/* SERVICE CTA */
.svc-cta {
    background: linear-gradient(135deg, var(--fssai-dark), var(--fssai-mid));
    border-radius: 16px;
    padding: 22px
}

.svc-cta h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px
}

.svc-cta p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    line-height: 1.55;
    margin-bottom: 16px
}

.svc-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--saffron);
    color: #fff;
    padding: 11px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background .2s
}

.svc-cta-btn:hover {
    background: var(--saffron-light)
}

/* INFO SECTIONS */
.info-sections {
    margin-top: 28px
}

.info-sec {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px;
    margin-bottom: 18px
}

.info-sec h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px
}

.info-sec p {
    font-size: .87rem;
    color: var(--muted);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 10px
}

.info-sec p:last-child {
    margin-bottom: 0
}

.info-sec p strong {
    color: var(--text);
    font-weight: 600
}

.info-sec h3 {
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    margin: 16px 0 8px;
    padding-left: 10px;
    border-left: 3px solid var(--fssai)
}

/* PENALTY TABLE */
.pen-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    margin-top: 10px
}

.pen-table th {
    background: var(--fssai);
    color: #fff;
    padding: 9px 12px;
    text-align: left;
    font-size: .72rem;
    font-weight: 600
}

.pen-table td {
    padding: 9px 12px;
    border-bottom: 1px solid var(--off);
    color: var(--text);
    font-weight: 300;
    line-height: 1.5
}

.pen-table tr:last-child td {
    border-bottom: none
}

.pen-table tr:nth-child(even) td {
    background: var(--off)
}

/* FOOTER */
footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 5vw 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08)
}

.footer-grid {
    max-width: 1350px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.footer-brand .logo {
    color: #fff;
    display: inline-flex
}

.footer-brand p {
    font-size: .85rem;
    line-height: 1.7;
    max-width: 280px;
    font-weight: 300;
    margin-top: 12px
}

.footer-col h5 {
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .08em
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.footer-col ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: .85rem;
    transition: color .2s;
    font-weight: 300
}

.footer-col ul li a:hover {
    color: #fff
}

.footer-bottom {
    max-width: 1350px;
    margin: 0 auto;
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 10px
}

.fbl {
    display: flex;
    gap: 18px
}

.fbl a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none
}

.fbl a:hover {
    color: #fff
}

.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    background: #25D366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.6rem;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: all .2s
}

.wa-float:hover {
    transform: scale(1.1)
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: var(--text);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    border: 1px solid var(--border)
}

.wa-float:hover .wa-tooltip {
    opacity: 1
}

.toast {
    position: fixed;
    bottom: 100px;
    right: 28px;
    background: var(--text);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateY(12px);
    transition: all .3s;
    pointer-events: none
}

.toast.show {
    opacity: 1;
    transform: translateY(0)
}

@media(max-width:900px) {
    .tool-inner {
        grid-template-columns: 1fr
    }

    .tool-sidebar {
        position: static
    }

    .tool-hero-inner {
        grid-template-columns: 1fr
    }

    .hero-visual {
        display: none
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .key-grid {
        grid-template-columns: 1fr 1fr
    }

    .docs-grid {
        grid-template-columns: 1fr
    }

    .res-actions {
        flex-direction: column
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}