@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-900: #1e3a8a;
    --navy: #0f172a;
    --navy-800: #1e293b;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --green: #10b981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.10);
    --shadow-blue: 0 8px 32px rgba(37,99,235,0.18);
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--navy-800);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.bn, .lang-bn { font-family: 'Hind Siliguri', sans-serif; }

h1,h2,h3,h4,h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1.15; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ─── NAVBAR ─────────────────────────────────────────── */
.main-header {
    position: sticky; top: 0; z-index: 1000;
    height: 72px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(203,213,225,0.5);
    transition: box-shadow 0.3s var(--ease);
}

.main-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 1.4rem; font-weight: 800; color: var(--navy);
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 38px; height: 38px;
    background: var(--blue-600);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.nav-menu { display: flex; align-items: center; gap: 0.25rem; }

.nav-item {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-500);
    transition: all 0.2s;
}

.nav-item:hover, .nav-item.active {
    color: var(--blue-600);
    background: var(--blue-50);
}

.has-dropdown { position: relative; }

.dropdown-box {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 240px;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
    opacity: 0; visibility: hidden;
    transition: all 0.25s var(--ease);
    pointer-events: none;
}

.has-dropdown:hover .dropdown-box {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.dropdown-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem; font-weight: 600;
    color: var(--navy-800);
    transition: all 0.15s;
}

.dropdown-link:hover { background: var(--blue-50); color: var(--blue-600); }

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

.lang-btn {
    padding: 0.45rem 1rem;
    border: 1.5px solid var(--slate-300);
    border-radius: 2rem;
    font-weight: 700; font-size: 0.78rem;
    cursor: pointer;
    background: white;
    color: var(--slate-500);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.lang-btn:hover {
    background: var(--blue-600); color: white;
    border-color: var(--blue-600);
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700; font-size: 0.9rem;
    cursor: pointer; border: none;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.btn-pill { border-radius: 50px; }

.btn-primary {
    background: var(--blue-600); color: white;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}

.btn-primary:hover {
    background: var(--blue-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--blue-600);
    color: var(--blue-600);
}

.btn-outline:hover {
    background: var(--blue-600); color: white;
    transform: translateY(-2px);
}

.btn-ghost {
    background: var(--slate-100);
    color: var(--navy-800);
}

.btn-ghost:hover { background: var(--slate-300); }

/* ─── HERO ─────────────────────────────────────────────── */
.hero-v2 {
    padding: 7rem 0 6rem;
    text-align: center;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,0.07) 0%, transparent 70%);
    overflow: hidden;
}

.hero-v2::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
    top: -200px; left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: var(--blue-50);
    color: var(--blue-600);
    border: 1px solid var(--blue-100);
    border-radius: 2rem;
    font-weight: 700; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 1.75rem;
}

.badge::before {
    content: '●';
    font-size: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-v2 h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--navy);
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto; margin-right: auto;
}

.hero-v2 h1 span {
    color: var(--blue-600);
    position: relative;
}

.hero-v2 h1 span::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--blue-100), var(--blue-200, #bfdbfe));
    border-radius: 2px;
    z-index: -1;
}

.hero-v2 > .container > p {
    font-size: 1.15rem;
    color: var(--slate-500);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
    display: flex; justify-content: center; align-items: center;
    gap: 1.5rem; margin-top: 3rem;
    font-size: 0.85rem; color: var(--slate-500); font-weight: 600;
    flex-wrap: wrap;
}

.hero-trust span {
    display: flex; align-items: center; gap: 0.35rem;
}

/* ─── SECTION LABELS ──────────────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.2px;
    color: var(--blue-600);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--navy);
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 560px;
}

/* ─── FEATURES ────────────────────────────────────────── */
.features-section {
    padding: 6rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.features-header { text-align: center; margin-bottom: 4rem; }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-100);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-500), var(--blue-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-100); }
.feature-card:hover::after { transform: scaleX(1); }

.icon-box {
    width: 56px; height: 56px;
    background: var(--blue-50);
    color: var(--blue-600);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s var(--ease);
}

.feature-card:hover .icon-box {
    background: var(--blue-600); color: white;
    transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--navy); }
.feature-card p { font-size: 0.92rem; color: var(--slate-500); line-height: 1.7; }

/* ─── STATS ───────────────────────────────────────────── */
.stat-section { padding: 5rem 0; }

.stat-box {
    background: var(--navy);
    border-radius: var(--radius-xl);
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 70%);
    top: -200px; right: -100px;
    pointer-events: none;
}

.stat-box::after {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
    bottom: -150px; left: 0;
    pointer-events: none;
}

.stat-item { text-align: center; position: relative; z-index: 1; }

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, white 40%, rgba(255,255,255,0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p { color: rgba(255,255,255,0.6); font-weight: 600; font-size: 0.9rem; }

/* ─── POLICY CARDS ────────────────────────────────────── */
.policy-section { padding: 6rem 0; }
.policy-header { text-align: center; margin-bottom: 3.5rem; }

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.policy-card {
    background: white;
    border: 1.5px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.policy-card:hover {
    border-color: var(--blue-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    background: var(--blue-50);
}

.policy-emoji {
    font-size: 2.75rem;
    display: block;
    margin-bottom: 1.25rem;
    transition: transform 0.3s var(--ease);
}

.policy-card:hover .policy-emoji { transform: scale(1.2) rotate(-5deg); }

.policy-card h3 {
    font-size: 1rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

/* ─── HOW IT WORKS ────────────────────────────────────── */
.steps-section {
    padding: 6rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
}

.steps-header { text-align: center; margin-bottom: 4rem; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    position: relative;
}

.step-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--slate-100);
    text-align: center;
    position: relative;
}

.step-number {
    width: 52px; height: 52px;
    background: var(--blue-600);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}

.step-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; color: var(--navy); }
.step-card p { font-size: 0.9rem; color: var(--slate-500); line-height: 1.7; }

/* ─── AD SLOTS ────────────────────────────────────────── */
.ad-slot {
    text-align: center;
    padding: 1rem 0;
    min-height: 90px;
    display: flex; align-items: center; justify-content: center;
}

/* ─── FOOTER ──────────────────────────────────────────── */
.luxury-footer {
    background: var(--navy);
    color: white;
    padding: 6rem 0 2.5rem;
    margin-top: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 2.5rem;
}

.footer-logo {
    font-size: 1.5rem; font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
    display: flex; align-items: center; gap: 0.6rem;
}

.footer-desc {
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    line-height: 1.75;
    max-width: 280px;
}

.footer-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-list { display: grid; gap: 0.85rem; }

.footer-list li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-list li a:hover { color: white; }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
}

/* ─── GENERATE PAGE ───────────────────────────────────── */
.generate-hero {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
    padding: 3rem 0;
    text-align: center;
}

.generate-hero h1 { font-size: 2.2rem; color: var(--navy); margin-bottom: 0.75rem; }
.generate-hero p { color: var(--slate-500); font-size: 1rem; }

.generate-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 3rem 0 5rem;
    align-items: start;
}

.form-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.form-title {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex; align-items: center; gap: 0.6rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
    display: block;
    font-size: 0.85rem; font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 0.5rem;
    letter-spacing: 0.2px;
}

.form-label span { color: #ef4444; }

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--slate-300);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--navy-800);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    appearance: none;
}

.form-control:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(59,130,246,0.1);
}

.form-control::placeholder { color: #94a3b8; }

select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.policy-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.policy-type-btn {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem; font-weight: 600;
    cursor: pointer; background: white;
    color: var(--navy-800);
    text-align: left;
    display: flex; align-items: center; gap: 0.5rem;
    transition: all 0.2s;
}

.policy-type-btn:hover, .policy-type-btn.selected {
    border-color: var(--blue-600);
    background: var(--blue-50);
    color: var(--blue-600);
}

.result-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.result-header {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex; justify-content: space-between; align-items: center;
    background: var(--slate-50);
}

.result-header h3 { font-size: 1rem; color: var(--navy); }

.result-actions { display: flex; gap: 0.6rem; }

.result-body {
    padding: 2rem;
    min-height: 400px;
    max-height: 70vh;
    overflow-y: auto;
    font-size: 0.88rem;
    line-height: 1.85;
    color: var(--navy-800);
}

.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center; justify-content: center;
    min-height: 350px;
    color: var(--slate-300);
    gap: 1rem;
}

.result-placeholder svg { width: 56px; height: 56px; opacity: 0.4; }
.result-placeholder p { font-size: 0.9rem; }

/* ─── ADMIN PANEL ─────────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--slate-50);
}

.admin-sidebar {
    width: 260px;
    background: var(--navy);
    color: white;
    position: fixed;
    top: 0; left: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-logo {
    padding: 1.75rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex; align-items: center; gap: 0.6rem;
}

.sidebar-logo .logo-icon { width: 32px; height: 32px; border-radius: 8px; font-size: 0.9rem; }

.sidebar-nav { padding: 1.25rem 0.75rem; flex: 1; }

.sidebar-section-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.3);
    font-weight: 700;
    padding: 0 0.75rem;
    margin: 1.25rem 0 0.5rem;
}

.sidebar-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem; font-weight: 600;
    color: rgba(255,255,255,0.6);
    transition: all 0.2s;
    margin-bottom: 0.15rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255,255,255,0.08);
    color: white;
}

.sidebar-link.active {
    background: var(--blue-600);
    color: white;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}

.sidebar-link .icon { font-size: 1rem; width: 20px; text-align: center; }

.admin-main {
    margin-left: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: white;
    border-bottom: 1px solid var(--slate-100);
    padding: 0 2rem;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 50;
    box-shadow: var(--shadow-sm);
}

.topbar-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); }

.topbar-user {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.88rem; font-weight: 600; color: var(--slate-500);
}

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

.admin-content { padding: 2.5rem; flex: 1; }

/* Admin Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex; align-items: flex-start; gap: 1rem;
    transition: box-shadow 0.2s;
}

.stat-card:hover { box-shadow: var(--shadow-md); }

.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.stat-icon.blue { background: var(--blue-50); }
.stat-icon.green { background: rgba(16,185,129,0.1); }
.stat-icon.purple { background: rgba(139,92,246,0.1); }
.stat-icon.orange { background: rgba(245,158,11,0.1); }

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-info p { font-size: 0.82rem; color: var(--slate-500); font-weight: 600; }

/* Admin Table */
.data-table-wrap {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex; justify-content: space-between; align-items: center;
}

.table-header h3 { font-size: 1rem; color: var(--navy); }

table { width: 100%; border-collapse: collapse; }

thead th {
    padding: 0.85rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--slate-500);
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
}

tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.88rem;
    color: var(--navy-800);
    border-bottom: 1px solid var(--slate-50);
}

tbody tr:hover td { background: var(--slate-50); }
tbody tr:last-child td { border-bottom: none; }

/* Admin Form */
.admin-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.admin-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    padding-bottom: 1.25rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--slate-100);
    display: flex; align-items: center; gap: 0.5rem;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.admin-form-grid.full { grid-template-columns: 1fr; }

/* Badges/Tags */
.tag {
    display: inline-flex; align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem; font-weight: 700;
}

.tag-blue { background: var(--blue-50); color: var(--blue-600); }
.tag-green { background: rgba(16,185,129,0.1); color: #059669; }
.tag-red { background: rgba(239,68,68,0.1); color: #dc2626; }
.tag-gray { background: var(--slate-100); color: var(--slate-500); }

/* Login */
.login-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--slate-50);
    padding: 2rem;
}

.login-card {
    background: white;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-lg);
}

.login-logo {
    text-align: center; margin-bottom: 2.5rem;
}

.login-logo .logo-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.login-logo h1 { font-size: 1.5rem; color: var(--navy); }
.login-logo p { color: var(--slate-500); font-size: 0.9rem; margin-top: 0.25rem; }

/* Alert */
.alert {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem; font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.5rem;
}

.alert-error { background: rgba(239,68,68,0.08); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.alert-success { background: rgba(16,185,129,0.08); color: #059669; border: 1px solid rgba(16,185,129,0.2); }

/* Toggle Switch */
.toggle {
    position: relative;
    display: inline-block;
    width: 44px; height: 24px;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--slate-300);
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: white;
    left: 3px; top: 3px;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.toggle input:checked + .toggle-slider { background: var(--blue-600); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s var(--ease) forwards; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--slate-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--slate-500); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
    .nav-menu { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .generate-layout { grid-template-columns: 1fr; }
    .result-card { position: static; }
    .admin-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-v2 { padding: 4rem 0; }
    .hero-v2 h1 { font-size: 2.2rem; letter-spacing: -1px; }
    .stat-box { padding: 3rem 2rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
    .admin-content { padding: 1.5rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .policy-type-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: center; }
    .stats-grid { grid-template-columns: 1fr; }
    .hero-trust { flex-direction: column; gap: 0.75rem; }
}
