/* ===========================================================
   Tutorial Suporte TI & Facilities — Tradetek
   Design clean e discreto
   =========================================================== */

:root {
    /* Paleta oficial Tradetek */
    --td-yellow:      #fbb712;
    --td-blue-dark:   #00538d;
    --td-blue-light:  #63bce0;
    --td-blue-deep:   #001727;
    --td-white:       #fcfcfc;
    --td-black:       #000001;

    /* Aplicação semântica */
    --primary:        var(--td-blue-dark);
    --primary-light:  #eaf2f8;
    --accent:         var(--td-yellow);
    --text:           #1f2937;
    --text-muted:     #6b7280;
    --bg:             #f7f9fb;
    --surface:        var(--td-white);
    --border:         #e2e8ef;
    --border-soft:    #eef2f6;

    --shadow-sm:      0 1px 2px rgba(0, 23, 39, 0.04);
    --shadow:         0 2px 8px rgba(0, 23, 39, 0.06);

    --radius:         10px;
    --radius-sm:      6px;
    --transition:     0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15.5px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--td-blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ====== HEADER ====== */
.site-header {
    background: var(--td-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand-logo-img {
    height: 38px;
    width: auto;
    display: block;
}
.brand-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
}
.brand-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--td-blue-deep);
    line-height: 1.2;
}
.brand-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ====== BUTTONS ====== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none !important;
    white-space: nowrap;
    font-family: inherit;
}
.btn-primary {
    background: var(--td-blue-dark);
    color: var(--td-white);
}
.btn-primary:hover {
    background: var(--td-blue-deep);
}
.btn-ghost {
    background: transparent;
    color: var(--td-blue-dark);
    border-color: var(--td-blue-dark);
}
.btn-ghost:hover {
    background: var(--td-blue-dark);
    color: var(--td-white);
}
.btn-lg {
    padding: 12px 22px;
    font-size: 15px;
}

/* ====== HERO ====== */
.hero {
    background: var(--td-blue-deep);
    color: var(--td-white);
    padding: 56px 0 64px;
    border-bottom: 3px solid var(--td-yellow);
}
.hero-bg-shapes { display: none; } /* removido — design clean */

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--td-blue-light);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}
.hero-tag i { color: var(--td-yellow); font-size: 12px; }

.hero-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
    max-width: 780px;
    color: var(--td-white);
    letter-spacing: -0.01em;
}

.hero-text {
    font-size: 16px;
    max-width: 680px;
    color: #c8d3df;
    margin-bottom: 28px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.hero .btn-primary {
    background: var(--td-yellow);
    color: var(--td-blue-deep);
}
.hero .btn-primary:hover {
    background: #e0a40e;
}
.hero .btn-ghost {
    border-color: rgba(252, 252, 252, 0.35);
    color: var(--td-white);
}
.hero .btn-ghost:hover {
    background: var(--td-white);
    color: var(--td-blue-deep);
    border-color: var(--td-white);
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(252, 252, 252, 0.12);
}
.stat { color: var(--td-white); }
.stat-number {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: var(--td-yellow);
}
.stat-label {
    font-size: 12.5px;
    color: #a8b6c4;
    margin-top: 6px;
}

/* ====== TUTORIAL LAYOUT ====== */
.tutorial-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    padding: 48px 24px;
}

/* ====== SIDEBAR ====== */
.sidebar { position: relative; }
.sidebar-card {
    position: sticky;
    top: 88px;
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.sidebar-title {
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-title i { color: var(--td-blue-dark); font-size: 11px; }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none !important;
}
.nav-item:hover {
    background: var(--primary-light);
    color: var(--td-blue-dark);
}
.nav-item.active {
    background: var(--primary-light);
    color: var(--td-blue-dark);
    font-weight: 600;
}
.nav-item.active .nav-num {
    background: var(--td-blue-dark);
    color: var(--td-white);
}
.nav-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--border-soft);
    color: var(--text-muted);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all var(--transition);
}

.progress-wrap {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-soft);
}
.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 7px;
}
.progress-label span:last-child {
    color: var(--td-blue-dark);
    font-weight: 600;
}
.progress-bar {
    height: 4px;
    background: var(--border-soft);
    border-radius: 999px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--td-blue-dark);
    width: 0%;
    transition: width 0.3s ease;
}

/* ====== CONTENT ====== */
.content { min-width: 0; }

.step-section {
    margin-bottom: 56px;
    scroll-margin-top: 84px;
}
.step-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.step-badge {
    display: inline-block;
    background: transparent;
    color: var(--td-blue-dark);
    border: 1px solid var(--td-blue-dark);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.step-title {
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 8px;
    color: var(--td-blue-deep);
    letter-spacing: -0.01em;
}
.step-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 720px;
}

/* ====== STEP CARDS ====== */
.step-card {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color var(--transition);
}
.step-card:hover {
    border-color: #c7d3df;
}
.step-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fafbfd;
    border-bottom: 1px solid var(--border-soft);
}
.step-number {
    background: var(--td-blue-dark);
    color: var(--td-white);
    font-weight: 600;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 4px;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}
.step-card-head h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--td-blue-deep);
}
.step-card-body {
    padding: 20px 22px;
}
.step-card-body p { margin-bottom: 12px; }
.step-card-body p:last-child { margin-bottom: 0; }
.step-card-body strong { color: var(--td-blue-deep); font-weight: 600; }

/* ====== LINK BOX ====== */
.link-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: var(--primary-light);
    color: var(--td-blue-dark);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    margin: 12px 0;
    text-decoration: none !important;
    transition: background var(--transition);
}
.link-box:hover { background: #dde9f2; }
.link-box i:first-child { color: var(--td-blue-dark); }
.ml-auto { margin-left: auto; opacity: 0.5; font-size: 12px; }

/* ====== ALERTS ====== */
.alert {
    display: flex;
    gap: 11px;
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    margin: 14px 0;
    border-left: 3px solid;
    font-size: 14px;
    line-height: 1.55;
}
.alert i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.alert-info {
    background: #f0f6fa;
    border-color: var(--td-blue-light);
    color: #1f3a4a;
}
.alert-info i { color: var(--td-blue-light); }
.alert-warning {
    background: #fef9ec;
    border-color: var(--td-yellow);
    color: #5c4400;
}
.alert-warning i { color: var(--td-yellow); }
.alert-success {
    background: #f0f6fa;
    border-color: var(--td-blue-dark);
    color: #1f3a4a;
}
.alert-success i { color: var(--td-blue-dark); }

/* ====== SCREEN MOCKUPS ====== */
.screen-mockup {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 18px 0;
}
.screen-mockup figcaption {
    text-align: center;
    padding: 9px 12px;
    font-size: 12.5px;
    color: var(--text-muted);
    background: #fafbfd;
    border-top: 1px solid var(--border-soft);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    background: #f1f4f7;
    border-bottom: 1px solid var(--border-soft);
}
.browser-bar .dot {
    width: 10px; height: 10px; border-radius: 50%;
}
.dot.red { background: #d1d5db; }
.dot.yellow { background: #d1d5db; }
.dot.green { background: #d1d5db; }
.browser-url {
    flex: 1;
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 4px 11px;
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.browser-url i { color: var(--text-muted); font-size: 10px; }

/* Login screen */
.login-screen {
    background: #f4f7fa;
    padding: 32px 20px;
    display: grid;
    place-items: center;
}
.login-card {
    background: var(--td-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 26px 24px;
    width: 100%;
    max-width: 320px;
    text-align: center;
}
.login-logo {
    width: 48px; height: 48px;
    margin: 0 auto 12px;
    background: var(--td-blue-dark);
    color: var(--td-white);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 20px;
}
.login-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--td-blue-deep);
}
.login-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.login-card label {
    display: block;
    text-align: left;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    margin: 9px 0 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.input-mock {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 9px 11px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}
.input-mock i { color: var(--text-muted); font-size: 12px; }
.input-mock.filled {
    color: var(--text);
    border-color: #c7d3df;
}
.login-btn {
    background: var(--td-blue-dark);
    color: var(--td-white);
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13.5px;
    cursor: pointer;
    margin-top: 14px;
    font-family: inherit;
}
.forgot-link {
    display: block;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--td-blue-dark);
}
.highlight-target {
    box-shadow: 0 0 0 2px var(--td-yellow);
    border-color: var(--td-yellow) !important;
}

/* Email mockup */
.email-mockup { background: var(--td-white); }
.email-header {
    display: flex;
    gap: 11px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-soft);
    background: #fafbfd;
}
.email-header > i {
    color: var(--td-blue-dark);
    font-size: 22px;
}
.email-from { font-size: 12.5px; color: var(--text-muted); }
.email-subject {
    font-weight: 600;
    font-size: 14px;
    margin-top: 2px;
    color: var(--td-blue-deep);
}
.email-body { padding: 18px; font-size: 14px; color: var(--text); }
.email-body p { margin-bottom: 11px; }
.email-btn {
    display: inline-block;
    background: var(--td-blue-dark);
    color: var(--td-white);
    padding: 9px 18px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13.5px;
    border: none;
    cursor: pointer;
    margin: 4px 0 10px;
    font-family: inherit;
}
.email-small { font-size: 12px; color: var(--text-muted); }

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 18px 0;
}
.info-card {
    background: #fafbfd;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
}
.info-icon {
    width: 36px; height: 36px;
    background: var(--primary-light);
    color: var(--td-blue-dark);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 15px;
    margin-bottom: 11px;
}
.info-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--td-blue-deep);
}
.info-card p { font-size: 13.5px; margin-bottom: 10px; color: var(--text); }
.example-box {
    background: var(--td-white);
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    padding: 8px 11px;
    font-size: 12.5px;
}
.example-label {
    display: block;
    color: var(--td-blue-dark);
    font-weight: 600;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}
code {
    background: var(--primary-light);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12.5px;
    color: var(--td-blue-dark);
    font-family: 'SF Mono', Monaco, monospace;
}

/* Dashboard screen */
.dashboard-screen { background: #f4f7fa; min-height: 280px; }
.dash-topbar {
    background: var(--td-white);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-soft);
}
.dash-brand {
    font-weight: 600;
    font-size: 14px;
    color: var(--td-blue-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-brand i { color: var(--td-blue-dark); font-size: 13px; }
.dash-user {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 7px;
}
.dash-content {
    padding: 30px 20px;
    text-align: center;
}
.dash-content h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--td-blue-deep);
}
.dash-content > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}
.dash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
    max-width: 560px;
    margin: 0 auto;
}
.dash-card-ti, .dash-card-fc {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.dash-card-ti:hover, .dash-card-fc:hover {
    border-color: var(--td-blue-dark);
    box-shadow: var(--shadow);
}
.dash-card-ti i, .dash-card-fc i {
    font-size: 24px;
    color: var(--td-blue-dark);
}
.dash-card-ti strong, .dash-card-fc strong {
    font-size: 14px;
    color: var(--td-blue-deep);
}
.dash-card-ti span, .dash-card-fc span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 18px 0;
}
.category-card {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: border-color var(--transition);
}
.category-card:hover { border-color: var(--td-blue-dark); }

.category-icon {
    width: 44px; height: 44px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 19px;
    margin-bottom: 12px;
    background: var(--primary-light);
    color: var(--td-blue-dark);
}
.category-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--td-blue-deep);
}
.category-card > p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.category-card ul { list-style: none; }
.category-card ul li {
    padding: 5px 0;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
}
.category-card ul li i {
    color: var(--td-blue-dark);
    font-size: 10px;
}

/* Form Screen */
.form-screen { padding: 22px; background: #fafbfd; }
.form-screen h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--td-blue-deep);
}
.form-screen h3 i { color: var(--td-blue-dark); font-size: 14px; }
.form-row { margin-bottom: 12px; }
.form-row label {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
}
.form-row.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.select-mock {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 9px 11px;
    font-size: 13.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}
.select-mock i { font-size: 10px; color: var(--text-muted); }
.textarea-mock {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 11px;
    font-size: 13.5px;
    min-height: 70px;
    color: var(--text);
    line-height: 1.5;
}
.attach-mock {
    background: var(--td-white);
    border: 1px dashed var(--border);
    color: var(--text-muted);
    border-radius: 6px;
    padding: 9px 11px;
    font-size: 13.5px;
    text-align: center;
    cursor: pointer;
}
.attach-mock i { color: var(--td-blue-dark); margin-right: 4px; }
.submit-btn {
    background: var(--td-blue-dark);
    color: var(--td-white);
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 4px;
    font-family: inherit;
}

/* Checklist */
.checklist {
    list-style: none;
    margin: 14px 0;
}
.checklist li {
    padding: 7px 0;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.checklist li i {
    color: var(--td-blue-dark);
    font-size: 13px;
    margin-top: 4px;
}

/* Status grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin: 18px 0;
}
.status-card {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}
.status-card i {
    font-size: 20px;
    margin-bottom: 7px;
    display: block;
    color: var(--text-muted);
}
.status-card strong {
    display: block;
    font-size: 14px;
    margin-bottom: 3px;
    color: var(--td-blue-deep);
    font-weight: 600;
}
.status-card span {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}
.status-progress i { color: var(--td-blue-light); }
.status-wait i { color: var(--td-yellow); }
.status-done i { color: var(--td-blue-dark); }

/* Tickets table */
.tickets-screen { padding: 20px; background: var(--td-white); }
.tickets-screen h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--td-blue-deep);
}
.tickets-screen h3 i { color: var(--td-blue-dark); font-size: 14px; }
.tickets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.tickets-table th {
    text-align: left;
    background: #fafbfd;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 10px 11px;
    border-bottom: 1px solid var(--border);
}
.tickets-table td {
    padding: 11px;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text);
}
.tickets-table tr:last-child td { border-bottom: none; }
.tickets-table tr:hover td { background: #fafbfd; }
.badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-progress {
    background: #eaf2f8;
    color: var(--td-blue-dark);
}
.badge-done {
    background: var(--td-blue-dark);
    color: var(--td-white);
}
.badge-wait {
    background: #fef3d0;
    color: #5c4400;
}

/* Tips grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 20px 0;
}
.tip-card {
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color var(--transition);
}
.tip-card:hover {
    border-color: var(--td-blue-dark);
}
.tip-icon {
    width: 38px; height: 38px;
    background: var(--primary-light);
    color: var(--td-blue-dark);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 15px;
    margin-bottom: 12px;
}
.tip-card h4 {
    font-size: 14.5px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--td-blue-deep);
}
.tip-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Help banner */
.help-banner {
    background: var(--td-blue-deep);
    color: var(--td-white);
    padding: 28px;
    border-radius: var(--radius);
    margin: 28px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-left: 4px solid var(--td-yellow);
}
.help-icon {
    width: 50px; height: 50px;
    background: rgba(99, 188, 224, 0.15);
    color: var(--td-yellow);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}
.help-text { flex: 1; min-width: 220px; }
.help-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--td-white);
}
.help-text p {
    font-size: 14px;
    color: #c8d3df;
    line-height: 1.55;
}
.help-banner .btn-primary {
    background: var(--td-yellow);
    color: var(--td-blue-deep);
}
.help-banner .btn-primary:hover {
    background: #e0a40e;
}

/* Bottom nav */
.bottom-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 22px;
    background: var(--td-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Footer */
.site-footer {
    background: var(--td-white);
    color: var(--text-muted);
    padding: 28px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-logo {
    height: 36px;
    width: auto;
}
.footer-text { flex: 1; min-width: 240px; }
.footer-text p { margin-bottom: 3px; font-size: 13.5px; }
.footer-text strong {
    color: var(--td-blue-deep);
    font-weight: 600;
}
.footer-small {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px !important;
    opacity: 0.75;
}
.site-footer a {
    color: var(--td-blue-dark);
    font-weight: 500;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--td-blue-dark);
    color: var(--td-white);
    border: none;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 23, 39, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 99;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--td-blue-deep);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 980px) {
    .tutorial-layout {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 32px 20px;
    }
    .sidebar-card { position: static; }
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .nav-item { flex: 1; min-width: 130px; }
    .hero-stats { gap: 30px; }
}

@media (max-width: 640px) {
    .header-inner { padding: 12px 18px; gap: 10px; }
    .brand-logo-img { height: 32px; }
    .brand-divider { display: none; }
    .brand-title { font-size: 14px; }
    .brand-subtitle { display: none; }
    .header-inner .btn span { display: none; }
    .hero { padding: 40px 0 48px; }
    .hero-stats { gap: 24px; padding-top: 20px; }
    .stat-number { font-size: 22px; }
    .step-card-head { padding: 12px 16px; flex-wrap: wrap; }
    .step-card-body { padding: 18px; }
    .form-row.two-cols { grid-template-columns: 1fr; }
    .tickets-table { font-size: 12px; }
    .tickets-table th, .tickets-table td { padding: 8px 6px; }
    .help-banner { padding: 22px; }
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .back-to-top { width: 38px; height: 38px; bottom: 18px; right: 18px; }
}

@media (max-width: 480px) {
    .nav-item { flex: 1 1 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .help-banner .btn-primary { width: 100%; justify-content: center; }
}
