/* 
 * InfiniTech How-To Guides - Professional Redesign
 * Optimized version with reduced whitespace and cleaner layout
 */

/* Guide Container & Layout */
.guide-container {
    display: grid;
    grid-template-columns: 260px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 110px;
    gap: 0;
}

/* Sidebar - Refined & Minimal */
.guide-sidebar {
    background: #fafbfc;
    border-right: 1px solid #e1e4e8;
    padding: 20px 18px;
    position: sticky;
    top: 90px;
    height: calc(100vh - 90px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #8b92a0;
    margin-bottom: 10px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 1px;
}

.sidebar-nav a {
    display: block;
    padding: 7px 12px;
    font-size: 13px;
    color: #586069;
    text-decoration: none;
    border-left: 2px solid transparent;
    transition: all 0.15s ease;
    font-weight: 500;
}

.sidebar-nav a:hover {
    background: #ffffff;
    border-left-color: #6bc3d4;
    color: #0f172a;
}

.sidebar-nav a.active {
    background: #ffffff;
    border-left-color: #6bc3d4;
    color: #6bc3d4;
    font-weight: 600;
}

.sidebar-meta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e1e4e8;
}

.sidebar-meta-item {
    font-size: 12px;
    color: #6a737d;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.sidebar-meta-item svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* Main Content - Tight & Professional */
.guide-content {
    padding: 0 42px 28px 42px;
    max-width: 1000px;
}

/* Header - Minimal & Impactful */
.guide-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #0f172a;
}

.guide-badge {
    display: inline-block;
    background: #6bc3d4;
    color: white;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.guide-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 0 0 10px 0;
    letter-spacing: -0.03em;
}

.guide-intro {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
    max-width: 720px;
}

/* Sections - Clean Hierarchy */
.section {
    margin-top: 22px;
}

.section:first-of-type {
    margin-top: 0;
}

.section-title {
    font-size: 23px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.section-intro {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.55;
    margin: 0 0 12px 0;
}

/* Steps - Card-Based Design */
.step-container {
    display: flex;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #6bc3d4;
    padding: 12px 16px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.step-container:hover {
    border-left-width: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: #6bc3d4;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.step-description {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.55;
    margin: 0 0 6px 0;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0 0;
}

.step-list li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 4px;
    color: #1f2937;
    line-height: 1.55;
    font-size: 14.5px;
}

.step-list li:before {
    content: "•";
    position: absolute;
    left: 5px;
    color: #6bc3d4;
    font-weight: 700;
    font-size: 16px;
}

.step-list li strong {
    color: #0f172a;
    font-weight: 600;
}

/* Alert Boxes */
.warning-box {
    background: #fef3c7;
    border-left: 3px solid #f59e0b;
    padding: 10px 14px;
    margin: 14px 0;
}

.warning-box strong {
    color: #92400e;
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
}

.warning-box p {
    color: #78350f;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

.tip-box {
    background: #dbeafe;
    border-left: 3px solid #3b82f6;
    padding: 10px 14px;
    margin: 14px 0;
}

.tip-box strong {
    color: #1e40af;
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 700;
}

.tip-box p {
    color: #1e3a8a;
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
}

/* CTA Section */
.guide-cta {
    background: linear-gradient(135deg,#6bc3d4 0%,#4db8c9 100%);
    padding: 28px 24px;
    text-align: center;
    margin-top: 32px;
}

.guide-cta h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0 0 6px 0;
}

.guide-cta p {
    font-size: 14px;
    color: rgba(255,255,255,0.95);
    margin: 0 0 16px 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.cta-btn-white {
    background: white;
    color: #6bc3d4;
}

.cta-btn-white:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

.cta-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-btn-outline:hover {
    background: white;
    color: #6bc3d4;
}

/* Mobile Responsive */
@media (max-width: 968px) {

    .guide-container {
        grid-template-columns: 1fr;
        padding-top: 90px;
    }

    .guide-sidebar {
        display: none;
    }

    .guide-content {
        padding: 0 18px 28px 18px;
    }

    .guide-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 20px;
    }

    .step-container {
        padding: 10px 14px;
    }

    .step-number {
        min-width: 26px;
        height: 26px;
        font-size: 13px;
    }
}