/* =========================================================
   TicketLine Guide
   Shared stylesheet for /guide/
   ========================================================= */

:root {
    --tl-blue: #2563eb;
    --tl-blue-dark: #1d4ed8;
    --tl-navy: #0f172a;
    --tl-text: #172033;
    --tl-muted: #64748b;
    --tl-border: #e2e8f0;
    --tl-bg: #f8fafc;
    --tl-white: #ffffff;
    --tl-purple: #7c3aed;
    --tl-orange: #ea580c;
    --tl-green: #059669;
    --tl-radius: 14px;
    --tl-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--tl-bg);
    color: var(--tl-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

.guide-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */

.guide-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--tl-border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand,
.footer-brand {
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eff6ff;
    font-size: 20px;
}

.brand-name {
    color: var(--tl-navy);
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.4px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 9px 14px;
    border-radius: 9px;
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: background .18s ease, color .18s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--tl-blue);
    background: #eff6ff;
}

.nav-link.nav-login {
    margin-left: 5px;
    color: var(--tl-white);
    background: var(--tl-blue);
    padding-left: 18px;
    padding-right: 18px;
}

.nav-link.nav-login:hover {
    color: var(--tl-white);
    background: var(--tl-blue-dark);
}

/* =========================
   HERO
   ========================= */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--tl-white);
    border-bottom: 1px solid var(--tl-border);
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: -260px;
    border-radius: 50%;
    background: #eff6ff;
    pointer-events: none;
}

.hero-inner {
    min-height: 470px;
    padding: 72px 0 76px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-kicker,
.card-label {
    color: var(--tl-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.hero h1 {
    margin: 10px 0 20px;
    color: var(--tl-navy);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -2.6px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--tl-blue);
}

.hero-copy > p {
    max-width: 640px;
    margin: 0;
    color: var(--tl-muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    min-height: 48px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

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

.btn-primary:hover {
    background: var(--tl-blue-dark);
}

.btn-secondary {
    color: var(--tl-blue);
    background: var(--tl-white);
    border: 1px solid #bfdbfe;
}

.btn-secondary:hover {
    background: #eff6ff;
}

/* Hero preview */

.hero-panel {
    width: 100%;
    max-width: 430px;
    justify-self: end;
    padding: 18px;
    background: var(--tl-white);
    border: 1px solid var(--tl-border);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .10);
}

.hero-panel-top {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 4px 15px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 700;
}

.panel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
}

.panel-label {
    margin-left: auto;
}

.guide-preview {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 13px;
}

.preview-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--tl-white);
    background: var(--tl-blue);
    font-size: 21px;
    font-weight: 800;
}

.guide-preview strong {
    display: block;
    color: var(--tl-navy);
    font-size: 17px;
}

.guide-preview p {
    margin: 2px 0 0;
    color: var(--tl-muted);
    font-size: 13px;
}

.preview-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.preview-mini {
    padding: 15px;
    border: 1px solid var(--tl-border);
    border-radius: 11px;
    background: #fff;
}

.preview-mini span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .8px;
}

.preview-mini strong {
    display: block;
    margin-top: 3px;
    color: #334155;
    font-size: 14px;
}

/* =========================
   GUIDE SECTIONS
   ========================= */

.guides-section {
    padding: 76px 0 90px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 26px;
}

.section-heading h2 {
    margin: 5px 0 5px;
    color: var(--tl-navy);
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -.7px;
}

.section-heading p {
    max-width: 650px;
    margin: 0;
    color: var(--tl-muted);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.guide-card {
    min-height: 225px;
    display: flex;
    gap: 18px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    background: var(--tl-white);
    border: 1px solid var(--tl-border);
    border-radius: var(--tl-radius);
    text-decoration: none;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.guide-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -45px;
    bottom: -50px;
    border-radius: 50%;
    background: #f8fafc;
    transition: transform .2s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: var(--tl-shadow);
}

.guide-card:hover::after {
    transform: scale(1.35);
}

.card-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 22px;
}

.blue-icon {
    color: #1d4ed8;
    background: #dbeafe;
}

.purple-icon {
    color: #6d28d9;
    background: #ede9fe;
}

.orange-icon {
    color: #c2410c;
    background: #ffedd5;
}

.green-icon {
    color: #047857;
    background: #d1fae5;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-label {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
}

.guide-card h3 {
    margin: 0 0 7px;
    color: var(--tl-navy);
    font-size: 20px;
    line-height: 1.3;
}

.guide-card p {
    margin: 0;
    color: var(--tl-muted);
    font-size: 14px;
    line-height: 1.65;
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--tl-blue);
    font-size: 14px;
    font-weight: 750;
}

.read-link span {
    transition: transform .18s ease;
}

.guide-card:hover .read-link span {
    transform: translateX(3px);
}

.employee-heading {
    margin-top: 72px;
}

.employee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================
   FUTURE MEDIA NOTICE
   ========================= */

.future-media {
    margin-top: 52px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid var(--tl-blue);
    border-radius: 12px;
}

.future-media-icon {
    font-size: 24px;
    line-height: 1.2;
}

.future-media h3 {
    margin: 0 0 3px;
    color: var(--tl-navy);
    font-size: 17px;
}

.future-media p {
    margin: 0;
    color: #475569;
    font-size: 14px;
}

/* =========================
   FOOTER
   ========================= */

.guide-footer {
    color: #cbd5e1;
    background: var(--tl-navy);
}

.footer-inner {
    min-height: 150px;
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    color: #fff;
    font-size: 19px;
    font-weight: 750;
}

.footer-inner p {
    margin: 6px 0 0;
    color: #94a3b8;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 58px;
    }

    .hero-panel {
        justify-self: start;
        max-width: 560px;
    }
}

@media (max-width: 680px) {
    .guide-container {
        width: min(100% - 28px, 1160px);
    }

    .header-inner {
        min-height: 64px;
    }

    .brand-name {
        font-size: 20px;
    }

    .header-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 7px 9px;
        font-size: 13px;
    }

    .nav-link:not(.nav-login) {
        display: none;
    }

    .hero-inner {
        min-height: auto;
        padding: 50px 0 58px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.8px;
    }

    .hero-copy > p {
        font-size: 16px;
        line-height: 1.65;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-panel {
        padding: 13px;
    }

    .guides-section {
        padding: 55px 0 65px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .guide-grid,
    .employee-grid {
        grid-template-columns: 1fr;
    }

    .guide-card {
        min-height: 0;
        padding: 21px;
    }

    .employee-heading {
        margin-top: 55px;
    }

    .future-media {
        padding: 19px;
    }

    .footer-inner {
        min-height: auto;
        padding: 30px 0;
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 37px;
    }

    .guide-card {
        gap: 13px;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 19px;
    }
}
.guide-preview {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-preview:hover {
    transform: translateY(-2px);
}