@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ============================
   CSS CUSTOM PROPERTIES
   ============================ */
:root {
    /* Dark Railway Theme */
    --bg-base:        #080c14;
    --bg-surface:     #0d1424;
    --bg-card:        rgba(15, 23, 42, 0.85);
    --bg-card-hover:  rgba(20, 30, 55, 0.95);
    --bg-input:       rgba(255, 255, 255, 0.05);

    /* Borders */
    --border-subtle:  rgba(255, 255, 255, 0.06);
    --border-mid:     rgba(255, 255, 255, 0.12);
    --border-glow:    rgba(249, 115, 22, 0.4);

    /* Brand — Indian Railways Orange/Saffron */
    --brand:          #f97316;
    --brand-light:    #fb923c;
    --brand-dark:     #ea580c;
    --brand-glow:     rgba(249, 115, 22, 0.25);
    --brand-glow-lg:  rgba(249, 115, 22, 0.15);

    /* Accent — Deep Blue */
    --accent:         #3b82f6;
    --accent-light:   #60a5fa;
    --accent-glow:    rgba(59, 130, 246, 0.2);

    /* Success Green */
    --green:          #10b981;
    --green-light:    #34d399;
    --green-glow:     rgba(16, 185, 129, 0.2);

    /* Text */
    --text-100:       #f8fafc;
    --text-200:       #cbd5e1;
    --text-300:       #94a3b8;
    --text-400:       #64748b;

    /* Radii */
    --r-sm:   6px;
    --r-md:   12px;
    --r-lg:   18px;
    --r-xl:   24px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm:   0 2px 12px rgba(0,0,0,0.4);
    --shadow-md:   0 8px 32px rgba(0,0,0,0.5);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.6);
    --shadow-brand: 0 8px 32px rgba(249, 115, 22, 0.35);

    /* Typography */
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;

    /* Transitions */
    --t-fast:   0.15s ease;
    --t-normal: 0.25s ease;
    --t-slow:   0.4s ease;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-100);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Animated background grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* Radial glow blob top */
body::after {
    content: '';
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(249, 115, 22, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-badge {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-brand);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.logo-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%);
    border-radius: inherit;
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-100);
    display: block;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-300);
    display: block;
    letter-spacing: 0.01em;
}

.nav-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green-light);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--green);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ============================
   MAIN CONTENT
   ============================ */
.main-content {
    flex: 1;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.5rem auto;
    position: relative;
}

.hero-badges-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.85rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.25);
    color: var(--brand-light);
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 30%, var(--brand-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: var(--text-300);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================
   SEARCH BOX CARD
   ============================ */
.search-box-card {
    background: var(--bg-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-xl);
    padding: 1.75rem;
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: border-color var(--t-normal), box-shadow var(--t-normal);
    text-align: left;
}

.search-box-card:focus-within {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(249, 115, 22, 0.15), inset 0 1px 0 rgba(255,255,255,0.05);
}

.search-form {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.1rem;
    color: var(--brand);
    pointer-events: none;
    flex-shrink: 0;
    opacity: 0.8;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem 2.75rem 1rem 3rem;
    background: var(--bg-input);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-lg);
    color: var(--text-100);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-mono);
    outline: none;
    transition: all var(--t-normal);
    letter-spacing: 0.05em;
}

.input-wrapper input:focus {
    border-color: var(--brand);
    background: rgba(249, 115, 22, 0.06);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.input-wrapper input::placeholder {
    color: var(--text-400);
    font-weight: 400;
    letter-spacing: 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.clear-btn {
    position: absolute;
    right: 0.85rem;
    background: none;
    border: none;
    color: var(--text-400);
    font-size: 1.3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem;
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background var(--t-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-btn:hover {
    color: var(--text-100);
    background: rgba(255,255,255,0.1);
}

.form-actions {
    flex-shrink: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 1.75rem;
    border-radius: var(--r-lg);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
    box-shadow: var(--shadow-brand);
    white-space: nowrap;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    border-radius: inherit;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.5);
    filter: brightness(1.05);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255,255,255,0.06);
    color: var(--text-200);
    border: 1px solid var(--border-mid);
    padding: 0.6rem 1.2rem;
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--t-fast);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.35);
    color: var(--brand-light);
}

/* ============================
   SUGGESTIONS ROW
   ============================ */
.suggestions-row {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.suggestions-label {
    font-size: 0.78rem;
    color: var(--text-400);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.pill-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    padding: 0.35rem 0.75rem;
    border-radius: var(--r-full);
    color: var(--text-300);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--t-fast);
    font-family: var(--font-sans);
}

.pill-btn:hover {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.35);
    color: var(--brand-light);
    transform: translateY(-1px);
}

.pill-code {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--brand);
    font-size: 0.78rem;
}

.pill-desc {
    color: var(--text-400);
    font-size: 0.72rem;
}

/* ============================
   SPINNER
   ============================ */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

/* ============================
   RESULT SECTION
   ============================ */
.result-section {
    margin-bottom: 3.5rem;
    animation: slideUp 0.35s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.result-header {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(234, 88, 12, 0.05) 100%);
    border-bottom: 1px solid rgba(249, 115, 22, 0.15);
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.factory-brand-area {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.factory-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--r-lg);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-brand);
    flex-shrink: 0;
}

.factory-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-100);
    line-height: 1.2;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.factory-location {
    color: var(--brand-light);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.match-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
}

.match-badge {
    padding: 0.4rem 1rem;
    border-radius: var(--r-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.match-badge.scraped {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green-light);
}

/* ============================
   RESULT BODY
   ============================ */
.result-body {
    padding: 2rem;
}

/* Coach Primary Banner */
.coach-primary-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.coach-metric {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 1rem;
    border-left: 1px solid var(--border-subtle);
}

.coach-metric:first-child {
    border-left: none;
    padding-left: 0;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-400);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-100);
    letter-spacing: -0.01em;
}

.metric-value.highlight {
    font-family: var(--font-mono);
    color: var(--brand);
    font-size: 1.6rem;
}

/* Specs Section */
.specs-section-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-400);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.spec-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--r-md);
    padding: 1rem 1.25rem;
    transition: border-color var(--t-fast), background var(--t-fast);
}

.spec-item:hover {
    border-color: var(--border-mid);
    background: rgba(255,255,255,0.05);
}

.spec-key {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-400);
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    letter-spacing: 0.06em;
}

.spec-val {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-100);
}

/* ============================
   VERIFICATION BOX
   ============================ */
.verification-box {
    background: rgba(249, 115, 22, 0.07);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: var(--r-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.verification-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-100);
    margin-bottom: 0.2rem;
}

.verification-info p {
    font-size: 0.85rem;
    color: var(--text-300);
}

.verification-actions {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-verify {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #ffffff;
    padding: 0.6rem 1.25rem;
    border-radius: var(--r-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: all var(--t-fast);
    font-family: var(--font-sans);
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
    filter: brightness(1.08);
}

/* ============================
   FACTORIES SECTION
   ============================ */
.factories-section {
    margin-bottom: 4rem;
    position: relative;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-100);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-400);
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-mid);
    border-radius: var(--r-xl);
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--t-normal), border-color var(--t-normal), box-shadow var(--t-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--t-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(249, 115, 22, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    position: relative;
    z-index: 1;
}

.stat-data {
    position: relative;
    z-index: 1;
    width: 100%;
}

.stat-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-100);
    display: block;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.stat-sub {
    font-size: 0.78rem;
    color: var(--text-400);
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    position: relative;
    z-index: 1;
    background: rgba(8, 12, 20, 0.9);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    margin-top: auto;
    text-align: center;
    backdrop-filter: blur(12px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-400);
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-300);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--t-fast);
}

.footer-links a:hover {
    color: var(--brand-light);
}

/* ============================
   SCROLLBAR
   ============================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-400); }

/* ============================
   SELECTION
   ============================ */
::selection {
    background: rgba(249, 115, 22, 0.3);
    color: var(--text-100);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 700px) {
    .main-content {
        padding: 2.5rem 1rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .search-form {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
        padding: 1rem;
    }

    .result-header {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .match-badge-wrap {
        align-items: flex-start;
    }

    .result-body {
        padding: 1.25rem;
    }

    .coach-primary-banner {
        grid-template-columns: 1fr 1fr;
    }

    .coach-metric {
        border-left: none;
        padding-left: 0;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--border-subtle);
    }

    .coach-metric:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .verification-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .brand-subtitle {
        display: none;
    }

    .hero-badges-row {
        gap: 0.35rem;
    }

    .hero-pill-tag {
        font-size: 0.68rem;
    }
}

@media (max-width: 480px) {
    .coach-primary-banner {
        grid-template-columns: 1fr;
    }

    .factory-info h2 {
        font-size: 1.3rem;
    }

    .factory-avatar {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }
}
