/* ============================================
   Design Tokens
   ============================================ */
:root {
    --bg-card: #1e293b;
    --bg-body: #0f172a;
    --bg-deep: #0a1120;
    --bg-elev: #172033;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #334155;
    --primary-color: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --radius-sm: 10px;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 15px 40px -12px rgba(16, 185, 129, 0.5);
    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Vazirmatn', system-ui, Tahoma, sans-serif;
    line-height: 1.9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

::selection {
    background: rgba(16, 185, 129, 0.35);
    color: #fff;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0b1220;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 99px;
    border: 2px solid #0b1220;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

.ltr {
    direction: ltr;
    text-align: left;
}

/* ============================================
   Bootstrap overrides
   ============================================ */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    border-width: 1px;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-color: #052e22;
    --bs-btn-hover-bg: var(--primary-light);
    --bs-btn-hover-border-color: var(--primary-light);
    --bs-btn-hover-color: #052e22;
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-active-color: #fff;
    box-shadow: var(--shadow-glow);
}

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

.btn-outline-brand {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline-brand:hover {
    border-color: var(--primary-color);
    color: var(--primary-light);
    background: rgba(16, 185, 129, 0.07);
}

/* ============================================
   Form controls
   ============================================ */
.form-label {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

.form-control, .form-select {
    background-color: var(--bg-elev);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    height: 42px;
    transition: var(--transition);
}

.form-control:hover, .form-select:hover {
    border-color: #475569;
}

.form-control:focus, .form-select:focus {
    background: var(--bg-elev);
    color: var(--text-primary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.18rem rgba(16, 185, 129, 0.15);
}

.form-control[readonly] {
    background-color: rgba(30, 41, 59, 0.5);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-position: left 0.75rem center;
    padding-left: 2.25rem;
}

.form-select option {
    background: var(--bg-elev);
    color: var(--text-primary);
}

/* ============================================
   Topbar
   ============================================ */
.topbar {
    background: var(--bg-deep);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.55rem 0;
}

.topbar a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.topbar a:hover {
    color: var(--primary-light);
}

.topbar .sep {
    color: #243247;
}

.topbar i {
    margin-left: 0.35rem;
}

/* ============================================
   Navbar
   ============================================ */
.site-nav {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    transition: var(--transition);
}

.site-nav.scrolled {
    padding: 0.45rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Container: mobile default (brand right / toggler left) */
.site-nav > .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(16, 185, 129, 0.4));
    flex-shrink: 0;
}

.brand-text{
    text-align: left;
}

.brand-text strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.2;
    color: var(--text-primary);
    font-weight: 800;
}

.brand-text small {
    display: block;
    color: var(--primary-light);
    font-size: 0.68rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.site-nav .nav-link {
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 0.5rem 0.95rem !important;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--primary-light);
    background: rgba(16, 185, 129, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.35rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i {
    font-size: 1.15rem;
}

/* Desktop: menu RIGHT, brand LEFT (logo left, text right of logo) */
@media (min-width: 992px) {
    .site-nav > .container {
        flex-wrap: nowrap;
    }

    .site-nav .navbar-brand {
        order: 3;
        margin: 0;
        flex-shrink: 0;
    }

    .site-nav .navbar-collapse {
        order: 2;
        display: flex !important;
        flex: 1;
        justify-content: flex-start;
    }

    .site-nav .navbar-nav {
        flex-direction: row;
        margin: 0;
        padding: 0;
    }

    .site-nav .navbar-toggler {
        display: none;
    }

    /* On desktop, brand becomes row-reverse: logo left, text right */
    .brand {
        flex-direction: row-reverse;
    }
}

/* ============================================
   Ticker
   ============================================ */
.ticker {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.02));
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    padding: 0.55rem 0;
    overflow: hidden;
}

.ticker-badge {
    background: var(--primary-color);
    color: #052e22;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 0.28rem 0.7rem;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.ticker-track {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    height: 24px;
}

.ticker-text {
    color: var(--text-secondary);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 24px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}

.ticker-text:hover {
    color: var(--primary-light);
}

.ticker-text.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
}

.ticker-text.is-entering {
    opacity: 0;
    transform: translateY(6px);
}

.ticker-dots {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
}

.ticker-dot.active {
    background: var(--primary-color);
    width: 18px;
    border-radius: 3px;
}

@media (max-width: 575.98px) {
    .ticker-dots {
        display: none;
    }
}
/* ============================================
   Hero — Layout
   ============================================ */
.hero {
    position: relative;
    padding: 4.5rem 0 4rem;
    background:
        radial-gradient(ellipse at 85% 0%, rgba(16, 185, 129, 0.14), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(5, 150, 105, 0.08), transparent 55%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(51, 65, 85, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 65, 85, 0.14) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
    pointer-events: none;
}
.hero .container {
    position: relative;
}

/* ============================================
   Hero — Content column
   ============================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-light);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    line-height: 1.5;
    margin-bottom: 1.1rem;
}
.hero h1 .grad {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    max-width: 560px;
    margin-bottom: 1.6rem;
}

.hero-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.hero-checks i {
    color: var(--primary-color);
    margin-left: 0.4rem;
}

.hero-outputs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.hero-outputs span {
    border: 1px solid var(--border-color);
    background: rgba(30, 41, 59, 0.6);
    border-radius: 999px;
    padding: 0.18rem 0.85rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.hero-outputs i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* ============================================
   Hero — Access panel (base, shared)
   ============================================ */
.access-panel {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    max-width: 460px;
    margin-inline: auto;
    padding: 1.75rem;
    overflow: hidden;
}

/* ============================================
   Hero — Guest state
   ============================================ */
.panel-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}
.panel-head-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-color);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.panel-head-text {
    min-width: 0;
}
.panel-head-text h2 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.15rem;
}
.panel-head-text p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.65;
}

.btn-login {
    padding: 0.9rem 1rem;
    font-weight: 700;
    font-size: 1rem;
}

.panel-signup-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    padding: 0.5rem 0.8rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 10px;
    transition: 0.25s ease;
}
.panel-signup-link:hover {
    color: var(--primary-light);
    background: rgba(16, 185, 129, 0.06);
}
.panel-signup-link i {
    font-size: 0.72rem;
}

.access-panel-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: 1.1rem;
    padding: 0.8rem 1rem;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 10px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.75;
}
.access-panel-note i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}
.access-panel-note strong {
    color: var(--primary-light);
}

/* ============================================
   Hero — Authenticated state
   ============================================ */
.access-panel--authed {
    padding: 1.5rem;
}

.panel-welcome {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}
.panel-welcome-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #052e22;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.panel-welcome-text {
    min-width: 0;
    flex: 1;
}
.panel-welcome-greet {
    display: block;
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.panel-welcome-text h2 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.panel-action {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.8rem 0.95rem;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    text-align: start;
    cursor: pointer;
    text-decoration: none;
    transition: 0.25s ease;
}
.panel-action:hover {
    color: var(--text-primary);
    border-color: var(--primary-color);
    background: rgba(16, 185, 129, 0.05);
    transform: translateX(-3px);
}
.panel-action:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

.panel-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
    display: grid;
    place-items: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: 0.25s ease;
}
.panel-action:hover .panel-action-icon {
    background: rgba(16, 185, 129, 0.18);
    color: var(--primary-color);
}

.panel-action-body {
    flex: 1;
    min-width: 0;
}
.panel-action-body strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--text-primary);
}
.panel-action-body small {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.panel-action-arrow {
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: 0.25s ease;
}
.panel-action:hover .panel-action-arrow {
    color: var(--primary-light);
    transform: translateX(-4px);
}

/* Primary action (companies) */
.panel-action--primary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(5, 150, 105, 0.06));
    border-color: rgba(16, 185, 129, 0.4);
}
.panel-action--primary .panel-action-icon {
    background: var(--primary-color);
    color: #052e22;
}
.panel-action--primary .panel-action-body strong {
    color: var(--primary-light);
}
.panel-action--primary:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
}
.panel-action--primary:hover .panel-action-icon {
    background: var(--primary-light);
    color: #052e22;
}

/* Danger action (logout) */
.panel-action--danger {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.22);
}
.panel-action--danger .panel-action-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}
.panel-action--danger .panel-action-body strong {
    color: #fca5a5;
}
.panel-action--danger:hover {
    border-color: rgba(239, 68, 68, 0.5);
    background: rgba(239, 68, 68, 0.09);
}
.panel-action--danger:hover .panel-action-icon {
    background: #dc2626;
    color: #fff;
}
.panel-action--danger:hover .panel-action-body strong {
    color: #fecaca;
}
.panel-action--danger:hover .panel-action-arrow {
    color: #f87171;
}

/* ============================================
   Hero — Responsive
   ============================================ */
@media (max-width: 991.98px) {
    .hero {
        padding: 3rem 0 2.5rem;
    }
    .access-panel {
        margin-top: 2.5rem;
    }
}
@media (max-width: 575.98px) {
    .hero {
        padding: 2.5rem 0 2rem;
    }
    .hero h1 {
        font-size: 1.55rem;
    }
    .hero-lead {
        font-size: 0.95rem;
    }
    .hero-checks {
        font-size: 0.85rem;
        gap: 0.4rem 1.1rem;
    }
    .access-panel {
        padding: 1.25rem;
    }
    .access-panel--authed {
        padding: 1.25rem;
    }
    .panel-head {
        margin-bottom: 1.1rem;
        padding-bottom: 1rem;
    }
    .panel-head-icon {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
    .panel-welcome {
        padding-bottom: 1rem;
        margin-bottom: 1rem;
    }
    .panel-welcome-avatar {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }
    .panel-welcome-text h2 {
        font-size: 0.95rem;
    }
    .panel-action {
        padding: 0.72rem 0.85rem;
        gap: 0.7rem;
    }
    .panel-action-icon {
        width: 36px;
        height: 36px;
        font-size: 0.88rem;
    }
    .panel-action-body strong {
        font-size: 0.86rem;
    }
    .panel-action-body small {
        font-size: 0.7rem;
    }
}
/* ============================================
   Access Panel — horizontal head layout
   ============================================ */
.access-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 440px;
    margin-inline: auto;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

.access-panel::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15), transparent 70%);
    pointer-events: none;
}

.access-panel > * {
    position: relative;
    z-index: 1;
}

/* Horizontal head: icon on right, text on left */
.panel-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: right;
}

.panel-head-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(5, 150, 105, 0.15));
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--primary-light);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.panel-head-text {
    flex: 1;
    min-width: 0;
}

.panel-head-text h2 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
    line-height: 1.4;
}

.panel-head-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

.access-panel .btn-login {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.access-panel-note {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px dashed var(--border-color);
    font-size: 0.81rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.access-panel-note i {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.access-panel-note strong {
    color: var(--primary-light);
}
/* ============================================
   Inner Header (breadcrumb + page title)
   ============================================ */
.inner-header {
    position: relative;
    padding: 3rem 0 2.5rem;
    background:
        radial-gradient(ellipse at 85% 0%, rgba(16, 185, 129, 0.14), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(5, 150, 105, 0.08), transparent 55%),
        var(--bg-body, #0f172a);
    border-bottom: 1px solid var(--border-color, #334155);
    overflow: hidden;
}
.inner-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(51, 65, 85, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 65, 85, 0.14) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 40%, #000 15%, transparent 70%);
    pointer-events: none;
}
.inner-header .container {
    position: relative;
}

/* --- Eyebrow badge --- */
.inner-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--primary-light, #34d399);
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.9rem;
}

/* --- Title --- */
.inner-header-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    line-height: 1.45;
    margin: 0 0 0.6rem;
    color: var(--text-primary, #f1f5f9);
}

/* --- Subtitle --- */
.inner-header-subtitle {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.95rem;
    line-height: 1.9;
    margin: 0;
    max-width: 640px;
}

/* --- Breadcrumb --- */
.inner-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}
.inner-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.inner-breadcrumb a {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    transition: color 0.2s ease;
}
.inner-breadcrumb a:hover {
    color: var(--primary-light, #34d399);
}
.inner-breadcrumb .is-current span {
    color: var(--text-primary, #f1f5f9);
    font-weight: 600;
}
.inner-breadcrumb .sep {
    color: var(--text-muted, #64748b);
    font-size: 0.65rem;
}

/* --- Desktop: breadcrumb aligned left of its column --- */
@media (min-width: 992px) {
    .inner-breadcrumb {
        text-align: left;
    }
    .inner-breadcrumb ol {
        justify-content: flex-end;
    }
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .inner-header {
        padding: 2rem 0 1.75rem;
    }
    .inner-header-title {
        font-size: 1.35rem;
    }
    .inner-header-subtitle {
        font-size: 0.9rem;
    }
}
/* ============================================
   Section base
   ============================================ */
.section {
    padding: 4.5rem 0;
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    margin-bottom: 0.75rem;
}

.section-sub {
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

.section-eyebrow {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-light);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.85rem;
}

/* ============================================
   Service cards
   ============================================ */
.svc {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    height: 100%;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.svc::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 70%);
    pointer-events: none;
}

.svc:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.7);
}

.svc-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}

.svc-ico {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.12));
    color: var(--primary-light);
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.svc-head-text {
    flex: 1;
    min-width: 0;
}

.svc-num {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.svc h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.svc-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
    line-height: 1.85;
}

.svc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.svc-features li {
    padding: 0.28rem 0;
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
}

.svc-features i {
    color: var(--primary-color);
    font-size: 0.72rem;
    margin-top: 6px;
    flex-shrink: 0;
}

.svc-actions {
    margin-top: auto;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid rgba(51, 65, 85, 0.5);
}

/* Signup banner */
.signup-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(5, 150, 105, 0.04));
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
}

.signup-banner::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -10%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 70%);
    pointer-events: none;
}

.signup-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.signup-banner h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
}

.signup-banner p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.75;
}

.signup-banner .btn {
    flex-shrink: 0;
    padding: 0.65rem 1.5rem;
    font-size: 0.94rem;
}

/* ============================================
   Stats
   ============================================ */
.stats {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.09), rgba(5, 150, 105, 0.03));
    border-block: 1px solid var(--border-color);
    padding: 3.5rem 0;
}

.stat {
    text-align: center;
}

.stat b {
    display: block;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1.3;
}

.stat span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat i {
    display: block;
    color: var(--primary-color);
    opacity: 0.55;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

/* ============================================
   Calculator
   ============================================ */
.calc-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.calc-side {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.04));
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
}

.calc-side h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.calc-side p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.calc-side ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.calc-side li {
    padding: 0.3rem 0;
    display: flex;
    gap: 0.5rem;
}

.calc-side i {
    color: var(--primary-color);
    margin-top: 6px;
    font-size: 0.72rem;
}

/* ============================================
   Workflow
   ============================================ */
.flow-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

.flow-card:hover {
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-3px);
}

.flow-num {
    position: absolute;
    top: 1.25rem;
    left: 1.5rem;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(16, 185, 129, 0.13);
    line-height: 1;
}

.flow-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary-color);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}

.flow-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.flow-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Tutorials banner (inside workflow section) */
.tutorials-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.03));
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius);
    padding: 1.35rem 1.65rem;
}

.tutorials-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-light);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tutorials-banner strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.tutorials-banner p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   App download
   ============================================ */
.app-box {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-elev));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.app-box::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -15%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2), transparent 70%);
    pointer-events: none;
}

.app-box .app-phone-icon {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.55;
}

/* ============================================
   Blog section
   ============================================ */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1), transparent 70%);
    pointer-events: none;
}

.blog-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -20px rgba(0, 0, 0, 0.6);
    color: var(--text-primary);
}

.blog-card > * {
    position: relative;
    z-index: 1;
}

.blog-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-meta i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.blog-card h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 0.65rem;
    color: var(--text-primary);
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.8;
    margin-bottom: 1.15rem;
    flex: 1;
}

.blog-card-link {
    color: var(--primary-light);
    font-size: 0.83rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition);
}

.blog-card:hover .blog-card-link {
    gap: 0.6rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.footer-main {
    padding: 3.5rem 0 2.5rem;
}

.footer-logo {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-about {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
    max-width: 380px;
}

.footer-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.footer-links a::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 4px 4px 0;
    border-color: transparent var(--primary-color) transparent transparent;
    opacity: 0;
    transition: var(--transition);
}

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

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.95rem;
    font-size: 0.86rem;
    line-height: 1.8;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.social {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: grid;
    place-items: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social a:hover {
    background: var(--primary-color);
    color: #052e22;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.35rem 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.footer-bottom a {
    color: var(--primary-light);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Back-to-top */
.to-top {
    position: fixed;
    bottom: 22px;
    left: 22px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #052e22;
    display: none;
    place-items: center;
    z-index: 50;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
}

.to-top.show {
    display: grid;
}

.to-top:hover {
    background: var(--primary-light);
    color: #052e22;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1199.98px) {
    .svc {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .hero {
        padding: 3rem 0;
    }

    .section {
        padding: 3.2rem 0;
    }

    .calc-wrap {
        padding: 1.5rem;
    }

    .app-box {
        padding: 2rem 1.5rem;
    }

    .access-panel {
        margin-top: 2.5rem;
    }

    .signup-banner {
        padding: 1.5rem;
    }

    .footer-main {
        padding: 2.75rem 0 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero h1 {
        font-size: clamp(1.65rem, 5vw, 2.2rem);
    }

    .signup-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .signup-banner-inner .btn {
        width: 100%;
    }

    .footer-title {
        font-size: 0.92rem;
    }

    .tutorials-banner .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.85rem !important;
    }

    .tutorials-banner .btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .topbar {
        font-size: 0.78rem;
    }

    .hero {
        padding: 2.25rem 0;
    }

    .hero-checks {
        font-size: 0.82rem;
        gap: 0.35rem 1rem;
    }

    .access-panel {
        padding: 1.35rem;
    }

    .panel-head-icon {
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }

    .panel-head-text h2 {
        font-size: 1rem;
    }

    .panel-head-text p {
        font-size: 0.8rem;
    }

    .section {
        padding: 2.75rem 0;
    }

    .svc {
        padding: 1.35rem;
    }

    .calc-wrap {
        padding: 1.25rem;
    }

    .signup-banner {
        padding: 1.35rem;
    }

    .app-box {
        padding: 1.75rem 1.25rem;
    }

    .app-box .app-phone-icon {
        font-size: 5rem;
    }

    .footer-main {
        padding: 2.25rem 0 1.5rem;
    }

    .to-top {
        width: 40px;
        height: 40px;
        bottom: 16px;
        left: 16px;
    }

    .brand-logo-img {
        height: 34px;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-text small {
        font-size: 0.62rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}
