/* ============================================
   USER GUIDE - MODERN DESIGN SYSTEM
   ============================================ */

/* Base Styles */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    background: #f8fafc;
    color: #2C3E50;
}

/* Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Public Page Layout */
.public-page {
    min-height: 100vh;
    background: #f8fafc;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: white;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    transition: margin-left 0.3s ease;
}

.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.mobile-brand img {
    height: 32px;
    width: auto;
}

.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-toggle,
.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A90E2;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover,
.theme-toggle-btn:hover {
    background: #f3f4f6;
    border-radius: 6px;
}

/* Privacy Mode Button */
.privacy-mode-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: #666;
    font-size: 1.2em;
}

.privacy-mode-btn:hover {
    background: #f3f4f6;
    color: #4A90E2;
}

.privacy-mode-btn.active {
    background: #e8f1ff;
    color: #4A90E2;
    border: 1px solid #4A90E2;
}

.privacy-mode-btn svg {
    width: 20px;
    height: 20px;
}

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

/* Sidebar Header and Logo */
.sidebar-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.sidebar-logo img {
    height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.sidebar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: var(--bg-hover);
    border-radius: 6px;
    color: var(--primary-blue);
}

.guide-header {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 12px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
    animation: slideDown 0.6s ease-out;
}

.guide-header h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.guide-header p {
    font-size: 1.2em;
    opacity: 0.95;
    font-weight: 300;
}

.toc {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    border-left: 6px solid #4A90E2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.toc h2 {
    color: #4A90E2;
    margin-bottom: 30px;
    font-size: 1.8em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.toc-item {
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    text-decoration: none;
    color: #4A90E2;
    font-weight: 600;
    font-size: 1.05em;
    display: block;
    text-align: center;
}

.toc-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px) scale(1.02);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.section {
    background: white;
    padding: 50px;
    margin-bottom: 40px;
    border-radius: 12px;
    border-left: 5px solid #4A90E2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-out;
}

.section h2 {
    color: #4A90E2;
    font-size: 2.2em;
    margin-bottom: 25px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f1ff;
}

.section h3 {
    color: #357ABD;
    font-size: 1.5em;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 600;
}

.section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.section ul {
    margin-left: 25px;
    margin-top: 15px;
}

.section ul li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05em;
}

.step {
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
    border-left-color: #764ba2;
}

.step strong {
    color: #667eea;
    font-size: 1.15em;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.step p {
    margin-top: 12px;
    color: #555;
    line-height: 1.7;
    font-size: 1em !important;
}

/* Override inline step styles */
.accordion-body .step[style] {
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%) !important;
    padding: 25px !important;
    margin: 25px 0 !important;
    border-radius: 12px !important;
    border-left: 5px solid #667eea !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-body .step[style]:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
}

.accordion-body .step[style] p {
    margin-top: 12px !important;
    color: #555 !important;
    line-height: 1.7 !important;
    font-size: 1em !important;
}

.step-number {
    display: inline-block;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.1em;
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.feature-card:hover {
    border-color: #4A90E2;
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
    transform: translateY(-5px);
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.feature-card h4 {
    color: #4A90E2;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1em;
}

.tip {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fc 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #00D4FF;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.1);
}

.tip strong {
    color: #00A8CC;
    font-size: 1.05em;
}

.warning {
    background: linear-gradient(135deg, #fff3cd 0%, #fffbf0 100%);
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #ffc107;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.1);
}

.warning strong {
    color: #ff9800;
    font-size: 1.05em;
}

.btn-primary {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2d5a99 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
}

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

/* Responsive Design */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop (1200px+) - Sidebar always visible */
@media (min-width: 1025px) {
    .sidebar {
        display: block !important;
        transform: translateX(0) !important;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
    
    .main-content {
        margin-left: 280px;
    }
    
    .mobile-header {
        display: none !important;
    }
    
    .guide-container {
        padding: 30px;
    }
    
    .guide-header {
        padding: 60px 40px;
    }
    
    .section {
        padding: 50px;
    }
}

/* Desktop (1200px+) */
@media (min-width: 1200px) {
    .guide-container {
        padding: 30px;
    }
    
    .guide-header {
        padding: 60px 40px;
    }
    
    .section {
        padding: 50px;
    }
}

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        margin-left: 250px;
    }
    
    .guide-header h1 {
        font-size: 2.2em;
    }
    
    .section {
        padding: 35px;
    }
    
    .guide-header {
        padding: 40px 30px;
    }
    
    .toc-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (481px - 767px) */
@media (max-width: 767px) {
    .sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-overlay {
        display: block;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .sidebar-header {
        padding: 0.75rem 1rem;
    }
    
    .sidebar-logo img {
        height: 32px;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .guide-header {
        padding: 30px 15px;
        margin-bottom: 25px;
        border-radius: 6px;
    }
    
    .guide-header h1 {
        font-size: 1.6em;
        margin-bottom: 8px;
    }
    
    .guide-header p {
        font-size: 0.95em;
    }
    
    .toc {
        padding: 20px;
        margin-bottom: 25px;
        border-radius: 6px;
    }
    
    .toc h2 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .toc-item {
        padding: 12px;
        border-radius: 6px;
    }
    
    .toc-item a {
        font-size: 0.95em;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 6px;
    }
    
    .section h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .section h3 {
        font-size: 1.1em;
        margin-top: 18px;
        margin-bottom: 12px;
    }
    
    .section p {
        font-size: 0.95em;
        line-height: 1.6;
    }
    
    .section ul li {
        font-size: 0.95em;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 15px 0;
    }
    
    .feature-card {
        padding: 18px;
        border-radius: 6px;
    }
    
    .feature-card h4 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    
    .feature-card p {
        font-size: 0.9em;
        line-height: 1.5;
    }
    
    .step {
        padding: 15px;
        margin: 12px 0;
        border-radius: 6px;
    }
    
    .step strong {
        font-size: 0.95em;
    }
    
    .step p {
        font-size: 0.9em;
        margin-top: 8px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        line-height: 32px;
        font-size: 0.85em;
        margin-right: 10px;
    }
    
    .tip {
        padding: 15px;
        margin: 15px 0;
        border-radius: 6px;
    }
    
    .tip strong {
        font-size: 0.95em;
    }
    
    .warning {
        padding: 15px;
        margin: 15px 0;
        border-radius: 6px;
    }
    
    .warning strong {
        font-size: 0.95em;
    }
    
    .guide-container {
        padding: 12px;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        max-width: 280px;
    }
    
    .sidebar-header {
        padding: 0.5rem 0.75rem;
    }
    
    .sidebar-logo img {
        height: 28px;
    }
    
    .mobile-header {
        padding: 10px 12px;
    }
    
    .mobile-brand img {
        height: 28px;
    }
    
    .mobile-header-actions {
        gap: 8px;
    }
    
    .sidebar-toggle,
    .theme-toggle-btn {
        padding: 6px;
    }
    
    .guide-header {
        padding: 20px 10px;
        margin-bottom: 20px;
        border-radius: 4px;
    }
    
    .guide-header h1 {
        font-size: 1.3em;
        margin-bottom: 6px;
        word-break: break-word;
    }
    
    .guide-header p {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .toc {
        padding: 15px;
        margin-bottom: 20px;
        border-radius: 4px;
        border-left: 3px solid #4A90E2;
    }
    
    .toc h2 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .toc-list {
        gap: 8px;
    }
    
    .toc-item {
        padding: 10px;
        border-radius: 4px;
    }
    
    .toc-item a {
        font-size: 0.9em;
        font-weight: 500;
    }
    
    .section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 4px;
        border-left: 3px solid #4A90E2;
    }
    
    .section h2 {
        font-size: 1.2em;
        margin-bottom: 12px;
        word-break: break-word;
    }
    
    .section h3 {
        font-size: 1em;
        margin-top: 15px;
        margin-bottom: 10px;
    }
    
    .section p {
        font-size: 0.9em;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .section ul {
        margin-left: 15px;
    }
    
    .section ul li {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    .feature-grid {
        gap: 10px;
        margin: 12px 0;
    }
    
    .feature-card {
        padding: 15px;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
    }
    
    .feature-card h4 {
        font-size: 1em;
        margin-bottom: 6px;
    }
    
    .feature-card p {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .step {
        padding: 12px;
        margin: 10px 0;
        border-radius: 4px;
        border-left: 3px solid #00D4FF;
    }
    
    .step strong {
        font-size: 0.9em;
        display: block;
        margin-bottom: 6px;
    }
    
    .step p {
        font-size: 0.85em;
        margin-top: 6px;
        line-height: 1.4;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 0.75em;
        margin-right: 8px;
        flex-shrink: 0;
    }
    
    .tip {
        padding: 12px;
        margin: 12px 0;
        border-radius: 4px;
        border-left: 3px solid #00D4FF;
        background: #f0f9ff;
    }
    
    .tip strong {
        font-size: 0.9em;
        display: block;
        margin-bottom: 4px;
    }
    
    .warning {
        padding: 12px;
        margin: 12px 0;
        border-radius: 4px;
        border-left: 3px solid #ffc107;
        background: #fffbf0;
    }
    
    .warning strong {
        font-size: 0.9em;
        display: block;
        margin-bottom: 4px;
    }
    
    .guide-container {
        padding: 10px;
    }
    
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9em;
        width: 100%;
        text-align: center;
    }
    
    .btn-primary:hover {
        transform: translateY(-1px);
    }
}

/* Extra Small Mobile (< 320px) */
@media (max-width: 319px) {
    .guide-header h1 {
        font-size: 1.1em;
    }
    
    .section h2 {
        font-size: 1em;
    }
    
    .section h3 {
        font-size: 0.95em;
    }
    
    .toc h2 {
        font-size: 1em;
    }
    
    .feature-card h4 {
        font-size: 0.95em;
    }
    
    .step-number {
        width: 26px;
        height: 26px;
        line-height: 26px;
        font-size: 0.7em;
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .sidebar-overlay,
    .mobile-header {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .guide-header {
        background: #4A90E2;
        color: black;
        page-break-after: avoid;
    }
    
    .section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .toc-item:hover {
        background: white;
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
}


/* Accordion Styles */
.accordion {
    margin-bottom: 40px;
}

.accordion-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.accordion-item:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.2);
    border-color: #4A90E2;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    border-left: 6px solid #4A90E2;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e8f1ff 0%, #f0f6ff 100%);
    border-left-color: #667eea;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.3em;
    font-weight: 700;
    color: #2C3E50;
}

.accordion-icon {
    font-size: 1.5em;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.accordion-toggle {
    font-size: 1.4em;
    color: #4A90E2;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.accordion-item.active .accordion-toggle,
.accordion-item.open .accordion-toggle {
    transform: rotate(180deg);
    color: #667eea;
}

.accordion-item.active .accordion-header,
.accordion-item.open .accordion-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-left-color: #764ba2;
}

.accordion-item.active .accordion-title,
.accordion-item.open .accordion-title {
    color: white;
}

.accordion-item.active .accordion-toggle,
.accordion-item.open .accordion-toggle {
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content,
.accordion-item.open .accordion-content {
    max-height: 5000px;
    display: block !important; /* Override bundle CSS */
}

.accordion-body {
    padding: 30px;
    background: white;
    line-height: 1.8;
}

.accordion-body h4 {
    color: #667eea;
    font-size: 1.3em;
    font-weight: 700;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e8f1ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion-body h4::before {
    content: '▸';
    color: #667eea;
    font-size: 1.2em;
}

/* Override inline h4 styles in accordion */
.accordion-body h4[style] {
    color: #667eea !important;
    margin: 25px 0 15px !important;
    padding-bottom: 10px;
    border-bottom: 3px solid #e8f1ff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3em;
    font-weight: 700;
}

.accordion-body h4[style]::before {
    content: '▸';
    color: #667eea;
    font-size: 1.2em;
}

.accordion-body p {
    color: #555;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Override inline paragraph styles */
.accordion-body p[style] {
    color: #555 !important;
    font-size: 1.05em !important;
    line-height: 1.8 !important;
    margin-bottom: 15px !important;
}

.accordion-body ul {
    margin-left: 25px;
    margin-top: 15px;
}

.accordion-body ul li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05em;
    position: relative;
    padding-left: 10px;
}

.accordion-body ul li::marker {
    color: #667eea;
    font-weight: bold;
}

/* Override inline ul styles */
.accordion-body ul[style] {
    margin-left: 25px !important;
    margin-top: 15px;
    list-style: none;
    padding-left: 0;
}

.accordion-body ul[style] li {
    margin-bottom: 12px !important;
    color: #555 !important;
    line-height: 1.8 !important;
    font-size: 1.05em !important;
    position: relative;
    padding-left: 30px;
}

.accordion-body ul[style] li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
}

/* TOC Grid */
.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.toc-grid .toc-item {
    padding: 18px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    text-decoration: none;
    color: #4A90E2;
    font-weight: 600;
    display: block;
    text-align: center;
    font-size: 1em;
}

.toc-grid .toc-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-5px) scale(1.05);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Quick Cards */
.quick-cards,
.accordion-body .quick-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.quick-card,
.accordion-body .quick-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
    cursor: pointer;
}

.quick-card:hover,
.accordion-body .quick-card:hover {
    background: linear-gradient(135deg, #e8f1ff 0%, #f0f6ff 100%);
    transform: translateY(-5px) scale(1.02);
    border-color: #4A90E2;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.25);
}

.quick-card-icon,
.accordion-body .quick-card-icon {
    font-size: 3em;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.quick-card:hover .quick-card-icon,
.accordion-body .quick-card:hover .quick-card-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 4px 8px rgba(74, 144, 226, 0.3));
}

.quick-card-title,
.accordion-body .quick-card-title {
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.quick-card-desc,
.accordion-body .quick-card-desc {
    color: #666;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Steps Compact */
.steps-compact,
.accordion-body .steps-compact {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.step-compact,
.accordion-body .step-compact {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-compact:hover,
.accordion-body .step-compact:hover {
    background: linear-gradient(135deg, #e8f1ff 0%, #f0f6ff 100%);
    transform: translateY(-5px);
    border-color: #4A90E2;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.2);
}

.step-compact-number,
.accordion-body .step-compact-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4em;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
}

.step-compact:hover .step-compact-number,
.accordion-body .step-compact:hover .step-compact-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.step-compact-text,
.accordion-body .step-compact-text {
    font-weight: 600;
    color: #2C3E50;
    font-size: 0.95em;
    line-height: 1.3;
}

/* Tips and Warnings */
.tip {
    background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 6px solid #4A90E2;
    color: #2C3E50;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.15);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.tip:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
}

.tip strong {
    color: #4A90E2;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Override inline tip styles */
.accordion-body .tip[style] {
    background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%) !important;
    padding: 20px 25px !important;
    border-radius: 12px !important;
    border-left: 6px solid #4A90E2 !important;
    color: #2C3E50 !important;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.15);
    margin: 20px 0 !important;
}

.accordion-body .tip[style]:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
}

.warning {
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 6px solid #ff9800;
    color: #2C3E50;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15);
    margin: 20px 0;
    transition: all 0.3s ease;
}

.warning:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.25);
}

.warning strong {
    color: #ff9800;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Override inline warning styles */
.accordion-body .warning[style] {
    background: linear-gradient(135deg, #fff8e1 0%, #fffbf0 100%) !important;
    padding: 20px 25px !important;
    border-radius: 12px !important;
    border-left: 6px solid #ff9800 !important;
    color: #2C3E50 !important;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.15);
    margin: 20px 0 !important;
}

.accordion-body .warning[style]:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.25);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin: 50px 0 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.3em;
    margin-bottom: 35px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background: white;
    color: #667eea;
}

.btn-white:hover {
    background: #f0f6ff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

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

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Footer */
.landing-footer {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-top: 2px solid #4A90E2;
    margin-top: 4rem;
    text-align: center;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .landing-footer {
        padding: 3rem 1rem 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-bottom {
        gap: 0.75rem;
        padding-top: 1.5rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .landing-footer {
        padding: 2rem 0.75rem 1rem;
        margin-top: 1.5rem;
    }
    
    .footer-bottom {
        gap: 0.5rem;
        padding-top: 1rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}

/* Old Footer (deprecated - keeping for backward compatibility) */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    border-top: 1px solid #e5e7eb;
    margin-top: 30px;
}

.footer p {
    margin: 5px 0;
}

.footer a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section for Public Pages */
.public-page .hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 72px; /* Account for fixed navbar */
}

.public-page .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.public-page .hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .public-page .hero {
        padding: 3rem 1.5rem;
        margin-top: 70px;
    }
    
    .public-page .hero h1 {
        font-size: 2rem;
    }
    
    .public-page .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .public-page .hero {
        padding: 2.5rem 1rem;
    }
    
    .public-page .hero h1 {
        font-size: 1.75rem;
    }
    
    .public-page .hero p {
        font-size: 0.95rem;
    }
}

/* Page Header */
.page-header {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    border-bottom: 1px solid #e5e7eb;
}

.page-title {
    font-size: 2.5em;
    color: #2C3E50;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2em;
    color: #666;
}

/* Responsive Accordion Adjustments */
@media (max-width: 767px) {
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-title {
        font-size: 1.05em;
    }
    
    .accordion-body {
        padding: 20px;
    }
    
    .quick-cards {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .steps-compact {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .step-compact {
        min-width: auto;
    }
    
    .cta {
        padding: 40px 20px;
    }
    
    .cta h2 {
        font-size: 1.8em;
    }
    
    .cta p {
        font-size: 1em;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .btn {
        flex: 1;
        max-width: 180px;
        text-align: center;
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .accordion-header {
        padding: 12px 15px;
    }
    
    .accordion-title {
        font-size: 0.95em;
        gap: 8px;
    }
    
    .accordion-icon {
        font-size: 1.1em;
    }
    
    .accordion-body {
        padding: 15px;
    }
    
    .quick-cards,
    .accordion-body .quick-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .quick-card,
    .accordion-body .quick-card {
        padding: 12px 8px;
    }
    
    .quick-card-icon,
    .accordion-body .quick-card-icon {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .quick-card-title,
    .accordion-body .quick-card-title {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .quick-card-desc,
    .accordion-body .quick-card-desc {
        font-size: 0.7em;
        line-height: 1.2;
    }
    
    .steps-compact,
    .accordion-body .steps-compact {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .step-compact,
    .accordion-body .step-compact {
        padding: 10px 5px;
        min-width: auto;
    }
    
    .step-compact-number,
    .accordion-body .step-compact-number {
        width: 32px;
        height: 32px;
        font-size: 1em;
        margin: 0 auto 6px;
    }
    
    .step-compact-text,
    .accordion-body .step-compact-text {
        font-size: 0.75em;
        line-height: 1.2;
    }
    
    .toc-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .toc-grid .toc-item {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .cta h2 {
        font-size: 1.5em;
    }
    
    .page-title {
        font-size: 2em;
    }
    
    .page-subtitle {
        font-size: 1em;
    }
}
