﻿p { color: #333; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.software-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    padding: 80px 15px;
    text-align: center;
    margin-top: 52px
}
.software-hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}
.software-hero .subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    opacity: 0.95;
    color: #fff;
}
.trust-badge {
    margin: 0 auto 30px;
    font-size: 0.95em;
    opacity: 0.9;
}
.trust-badge span {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 10px 20px;
    display: inline-block;
}

.res-bar {
    background: #2c3e50;
    padding: 0 20px;
    position: fixed;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 99;
    height: 52px;
    display: flex;
    align-items: center;
}

.res-bar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.res-bar-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.res-bar-label span {
    color: #b2d793;
    font-size: 1.1rem;
}

.res-hamburger {
    background: none;
    border: 2px solid #b2d793;
    border-radius: 8px;
    padding: 6px 9px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background 0.3s ease;
    z-index: 210;
    position: relative;
}

.res-hamburger:hover { background: #b2d793; }

.res-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    pointer-events: none;
}

.res-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.res-hamburger.open span:nth-child(2) { opacity: 0; }
.res-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop */
.res-backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 195;
    cursor: pointer;
}

.res-backdrop.open { display: block; }

/* Slide-in panel */
.res-panel {
    position: fixed;
    top: 152px;
    left: 0;
    width: 310px;
    height: 100vh;
    background: #2c3e50;
    border-right: 3px solid #34495e;
    border-bottom: 3px solid #34495e;
    z-index: 200;
    transform: translateX(-320px);
    transition: transform 0.3s ease;
    padding-top: 20px;
    padding-bottom: 120px;
    box-sizing: border-box;
    overflow: scroll;
}

.res-panel.open { transform: translateX(0); }

/* Overview direct link */
.res-panel-direct {
    background: #34495e;
    margin-bottom: 2px;
}

.res-panel-direct a {
    display: block;
    padding: 12px 20px;
    color: #b2d793 !important;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: none !important;
}

.res-panel-direct a:hover {
    background: #b2d793;
    color: #fff !important;
}

/* Category toggle headings */
.res-panel-toggle {
    background: #34495e;
    color: #b2d793;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 20px;
    margin-top: 2px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.2s ease;
}

.res-panel-toggle:hover { background: #3d566e; }

/* Animated arrow */
.res-arrow {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.4);
    transition: transform 0.3s ease, color 0.2s ease;
    display: inline-block;
    line-height: 1;
}

.res-panel-toggle.is-open .res-arrow {
    transform: rotate(90deg);
    color: #b2d793;
}

/* Collapsible body */
.res-dropdown-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.res-dropdown-body.is-open {
    max-height: 100%;
}

/* Links */
.res-panel a {
    display: block;
    padding: 16px 20px 12px 28px;
    color: rgba(255,255,255,0.82) !important;
    text-decoration: none;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s ease;
}

.res-panel a:hover {
    background: #92c666;
    color: #333 !important;
    padding: 16px 20px 12px 28px;
}

/* Scrollbar */
.res-panel::-webkit-scrollbar { width: 4px; }
.res-panel::-webkit-scrollbar-track { background: #2c3e50; }
.res-panel::-webkit-scrollbar-thumb { background: #85929e; border-radius: 4px; }

.res-bar-spacer { height: 52px; }

.res-panel-toggle span { pointer-events: none; }

.content-wrapper {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}

/* --- Tables --- */

.resource-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.resource-table th {
    background: #2c3e50;
    color: white;
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
}

.resource-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    vertical-align: top;
}

.resource-table tr:nth-child(even) td {
    background: #f8f9fa;
}

.resource-table tr:last-child td {
    border-bottom: none;
}

.intro-section {
    padding: 60px 15px;
    background: #f8fafc;
}
.intro-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #1e3a8a;
}
.intro-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    border-top: 4px solid #2563eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.intro-content p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #334155;
}
.intro-content p:last-child { margin-bottom: 0; }
.intro-content a { color: #2563eb; }

.showcase-section { padding: 60px 15px; }
.showcase-section:nth-of-type(odd)  { background: #ffffff; }
.showcase-section:nth-of-type(even) { background: #f8fafc; }
.showcase-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #1e3a8a;
}
.showcase-intro {
    text-align: center;
    font-size: 1.1em;
    color: #475569;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.example-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    border-left: 5px solid #2563eb;
}
.example-card h3 {
    color: #1e3a8a;
    font-size: 1.8em;
    margin-bottom: 20px;
}
.example-card p {
    font-size: 1.05em;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 15px;
}
.example-card a { color: #2563eb; }
.example-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.example-feature {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid #3b82f6;
}
.example-feature h4 {
    color: #1e3a8a;
    margin-bottom: 10px;
    font-size: 1.1em;
}
.example-feature ul {
    list-style: none;
    padding: 0;
}
.example-feature li {
    padding: 5px 0 5px 20px;
    position: relative;
    color: #334155;
}
.example-feature li:before {
    content: '✓';
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.demo-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}
/* ── Demo link buttons ────────────────────────────────────────────────────────
   Destination URLs live in data-dest attributes, not href, so crawlers and
   health-checkers never follow or score them.
   ─────────────────────────────────────────────────────────────────────────── */
.demo-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.demo-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.demo-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.30);
}

.demo-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.demo-btn-secondary {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}

.demo-btn-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    color: #1d4ed8;
    text-decoration: none;
}

.benefits-section {
    padding: 60px 15px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
}
.benefits-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 50px;
    color: #fff;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.benefit-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}
.benefit-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}
.benefit-icon { font-size: 3em; margin-bottom: 20px; }
.benefit-card h3 { color: #fff; margin-bottom: 15px; font-size: 1.3em; }
.benefit-card p { color: rgba(255,255,255,0.9); line-height: 1.6; }

.process-section {
    padding: 60px 15px;
    background: #f8fafc;
}
.process-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 50px;
    color: #1e3a8a;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.process-step {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.process-step h3 { color: #1e3a8a; margin-bottom: 15px; font-size: 1.1em; }
.process-step p { color: #475569; font-size: 0.95em; line-height: 1.6; }

.form-section {
    padding: 60px 15px;
    background: #fff;
}
.form-section h2 {
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 15px;
    color: #1e3a8a;
}
.form-intro {
    text-align: center;
    color: #475569;
    margin-bottom: 30px;
    font-size: 1.1em;
}
.form-container {
    max-width: 940px;
    margin: 0 auto;
}

@media (max-width: 968px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .example-features { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .software-hero { background: linear-gradient(to bottom, #1e3a8a 0%, #2563eb 100%); }
    .software-hero h1 { font-size: 2em; }
    .software-hero .subtitle { font-size: 1.1em; }
    .benefits-section { background: linear-gradient(to bottom, #1e3a8a 0%, #2563eb 100%); }
    .benefits-grid, .process-steps { grid-template-columns: 1fr; }
    .intro-content, .example-card { padding: 30px 20px; }
    h2 { font-size: 1.8em !important; }
    .demo-btn-wrap { flex-direction: column; }
    .demo-btn { text-align: center; }
    .hosp-nav-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}
@media (max-width: 480px) {
    .software-hero { padding: 60px 15px; }
    .showcase-section, .intro-section, .benefits-section, .process-section { padding: 40px 15px; }
}

.demo-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.demo-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.demo-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.30);
}

.demo-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.demo-btn-secondary {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}

.demo-btn-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    color: #1d4ed8;
    text-decoration: none;
}