/**
 * Documentation Page Styles - SVG Icons Edition
 * Modern documentation with blue theme and custom SVG icons
 * 
 * @package PriceWise Pro
 */

/* ==================== DOCUMENTATION HERO ==================== */

.docs-hero {
    background: linear-gradient(135deg, #001429 0%, #0a1929 50%, #001429 100%);
    padding: 180px 20px 80px;
    position: relative;
    overflow: hidden;
}

.docs-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 163, 255, 0.08) 0%, transparent 40%);
    animation: backgroundPulse 15s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.docs-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(0, 102, 255, 0.4), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 80% 10%, rgba(0, 163, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes particleFloat {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 100% 0%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 80% 20%, 20% 80%;
    }
}

.docs-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.docs-hero-content {
    text-align: center;
}

.docs-hero .section-label {
    display: inline-block;
    background: rgba(0, 102, 255, 0.2);
    color: #00A3FF;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.docs-hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.docs-hero-title .gradient-text {
    background: linear-gradient(135deg, #0066FF 0%, #00A3FF 50%, #0066FF 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.docs-hero-description {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== DOCUMENTATION MAIN ==================== */

.docs-main {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 100px 40px 120px;
}

.docs-main-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

/* ==================== SIDEBAR NAVIGATION ==================== */

.docs-sidebar {
    position: relative;
}

.docs-sidebar-sticky {
    position: sticky;
    top: 120px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 102, 255, 0.06);
    border: 2px solid rgba(0, 102, 255, 0.1);
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-sidebar-sticky:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 12px 40px rgba(0, 102, 255, 0.1);
}

/* Custom scrollbar for sidebar */
.docs-sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.docs-sidebar-sticky::-webkit-scrollbar-track {
    background: rgba(0, 102, 255, 0.05);
    border-radius: 10px;
}

.docs-sidebar-sticky::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.3);
    border-radius: 10px;
}

.docs-sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 255, 0.5);
}

.docs-sidebar-title {
    font-size: 16px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.docs-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-nav-list li {
    margin-bottom: 8px;
}

.docs-nav-link {
    display: block;
    padding: 14px 18px;
    color: #666;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.docs-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #0066FF;
    border-radius: 0 3px 3px 0;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-nav-link:hover,
.docs-nav-link.active {
    color: #0066FF;
    background: rgba(0, 102, 255, 0.08);
    transform: translateX(4px);
}

.docs-nav-link.active::before {
    height: 20px;
}

/* ==================== CONTENT AREA ==================== */

.docs-content {
    max-width: 900px;
}

/* Intro Card */
.docs-intro-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 40px;
    border-radius: 24px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    margin-bottom: 40px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 8px 32px rgba(0, 102, 255, 0.06);
}

.docs-intro-card h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 20px;
}

.docs-intro-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.docs-intro-card p:last-child {
    margin-bottom: 0;
}

/* Section Styling */
.docs-section {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.docs-section:nth-child(1) { animation-delay: 0.1s; }
.docs-section:nth-child(2) { animation-delay: 0.2s; }
.docs-section:nth-child(3) { animation-delay: 0.3s; }
.docs-section:nth-child(4) { animation-delay: 0.4s; }

.docs-section-title {
    font-size: 36px;
    font-weight: 900;
    color: #0a0a0a;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(0, 102, 255, 0.2);
    position: relative;
}

.docs-section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0066FF, #00A3FF);
}

.docs-section p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ==================== FEATURES GRID WITH SVG ICONS ==================== */

.docs-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.docs-feature-card {
    background: #0066FF;
    padding: 35px 30px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 220px;
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4);
}

.docs-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 16px 40px rgba(0, 102, 255, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

.docs-feature-card:hover::before {
    opacity: 1;
}

.docs-feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-feature-icon svg {
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-feature-card:hover .docs-feature-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05) rotate(-3deg);
}

.docs-feature-card:hover .docs-feature-icon svg {
    transform: scale(1.1);
    color: #ffffff;
}

.docs-feature-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.docs-feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

/* ==================== STEPS ==================== */

.docs-steps {
    margin-top: 40px;
}

.docs-step {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
}

.docs-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.3), rgba(0, 102, 255, 0.1));
}

.docs-step:last-child::before {
    display: none;
}

.docs-step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066FF, #0052CC);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 
        0 4px 16px rgba(0, 102, 255, 0.3),
        0 8px 32px rgba(0, 102, 255, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-step:hover .docs-step-number {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 
        0 8px 24px rgba(0, 102, 255, 0.4),
        0 12px 40px rgba(0, 102, 255, 0.3);
}

.docs-step-content {
    flex: 1;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-step:hover .docs-step-content {
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateX(8px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 12px 40px rgba(0, 102, 255, 0.1);
}

.docs-step-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.docs-step-content p {
    margin-bottom: 15px;
}

.docs-step-content p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.docs-info-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(0, 163, 255, 0.08));
    border-left: 4px solid #0066FF;
    padding: 25px 30px;
    border-radius: 12px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.1);
}

.docs-info-box strong {
    display: block;
    font-size: 18px;
    color: #0066FF;
    margin-bottom: 12px;
    font-weight: 800;
}

.docs-info-box p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.docs-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-info-box li {
    padding: 8px 0;
    color: #666;
    font-size: 15px;
}

.docs-info-box li strong {
    display: inline;
    color: #0a0a0a;
    margin-right: 5px;
}

/* ==================== TIP BOXES WITH SVG ICONS ==================== */

.docs-tip-box {
    background: linear-gradient(135deg, #E8F3FF, #CCE5FF);
    border: 2px solid #0066FF;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: start;
}

.docs-tip-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.15);
    border-radius: 12px;
}

.docs-tip-icon svg {
    width: 28px;
    height: 28px;
    color: #0066FF;
}

.docs-tip-content strong {
    display: block;
    color: #0052CC;
    font-size: 18px;
    margin-bottom: 10px;
}

.docs-tip-content p {
    color: #0a1929;
    margin: 0;
}

.docs-warning-box {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #ef4444;
    border-radius: 16px;
    padding: 25px;
    margin: 30px 0;
    display: flex;
    gap: 20px;
    align-items: start;
}

.docs-warning-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 12px;
}

.docs-warning-icon svg {
    width: 28px;
    height: 28px;
    color: #ef4444;
}

.docs-warning-content strong {
    display: block;
    color: #991b1b;
    font-size: 18px;
    margin-bottom: 10px;
}

.docs-warning-content p {
    color: #7f1d1d;
    margin: 0;
}

.docs-warning-content ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.docs-warning-content ul li {
    color: #7f1d1d;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ==================== COLOR SHOWCASE ==================== */

.docs-color-showcase {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    margin-top: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.docs-color-showcase h3 {
    font-size: 24px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.docs-color-showcase > p {
    color: #666;
    margin-bottom: 30px;
}

.docs-color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.docs-color-item {
    text-align: center;
}

.docs-color-swatch {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.docs-color-item span {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

/* ==================== METHODS ==================== */

.docs-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.docs-method-card {
    background: #ffffff;
    padding: 40px 45px;
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
    border-color: rgba(0, 102, 255, 0.3);
}

.docs-method-featured {
    border-color: #0066FF;
    background: linear-gradient(145deg, #ffffff, #F5FAFF);
}

.docs-method-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.docs-method-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.docs-method-card p {
    margin: 0;
}

.docs-methods ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.docs-methods ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #666;
    font-size: 14.5px;
    line-height: 1.6;
}

.docs-methods ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066FF;
    font-weight: 800;
    font-size: 16px;
}

/* ==================== HIGHLIGHT BOX ==================== */

.docs-highlight-box {
    background: linear-gradient(135deg, #F5FAFF, #E8F3FF);
    border: 2px solid #0066FF;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}

.docs-highlight-box p {
    color: #0a0a0a;
    margin-bottom: 15px;
}

.docs-highlight-box p:last-child {
    margin-bottom: 0;
}

/* ==================== CHECKLIST ==================== */

.docs-checklist {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.docs-checklist li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    color: #666;
    font-size: 16px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.docs-checklist li:last-child {
    border-bottom: none;
}

.docs-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 15px;
    width: 24px;
    height: 24px;
    background: #0066FF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

/* ==================== CODE BLOCK ==================== */

.docs-code-block {
    background: #001429;
    border: 2px solid #0066FF;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
    overflow-x: auto;
}

.docs-code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066FF, #00A3FF);
}

.docs-code-block code {
    color: #00A3FF;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    font-weight: 600;
    display: block;
    line-height: 1.6;
}

/* ==================== ACCORDION ==================== */

.docs-accordion {
    margin: 30px 0;
}

.docs-accordion-item {
    background: #ffffff;
    border: 2px solid rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-accordion-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
}

.docs-accordion-trigger {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-accordion-trigger:hover {
    background: rgba(0, 102, 255, 0.05);
}

.docs-accordion-icon {
    font-size: 24px;
    color: #0066FF;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-accordion-item.active .docs-accordion-icon {
    transform: rotate(45deg);
}

.docs-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-accordion-item.active .docs-accordion-content {
    max-height: 500px;
}

.docs-accordion-content ul {
    padding: 0 25px 25px 45px;
    margin: 0;
}

.docs-accordion-content p {
    padding: 0 25px 15px 25px;
    margin: 0;
}

.docs-accordion-content li {
    color: #666;
    padding: 8px 0;
    font-size: 15px;
}

/* ==================== TIPS GRID WITH SVG ICONS ==================== */

.docs-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.docs-tip-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-tip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15);
}

.docs-tip-emoji {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 163, 255, 0.1));
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-tip-emoji svg {
    width: 36px;
    height: 36px;
    color: #0066FF;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-tip-card:hover .docs-tip-emoji {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(0, 163, 255, 0.2));
    transform: scale(1.05) rotate(-3deg);
}

.docs-tip-card:hover .docs-tip-emoji svg {
    transform: scale(1.1);
    color: #0052CC;
}

.docs-tip-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 15px;
}

.docs-tip-card p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* ==================== EXAMPLE BOX ==================== */

.docs-example-box {
    background: #ffffff;
    border: 2px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.docs-example-step {
    margin-bottom: 30px;
}

.docs-example-step:last-child {
    margin-bottom: 0;
}

.docs-example-step strong {
    display: block;
    font-size: 20px;
    color: #0066FF;
    margin-bottom: 15px;
}

.docs-example-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-example-step li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
    font-size: 15px;
}

.docs-example-step li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #0066FF;
    font-weight: 800;
}

.docs-field-example,
.docs-formula-config,
.docs-formula-breakdown,
.docs-formula-example,
.docs-result-box {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #0066FF;
    border-radius: 8px;
}

.docs-field-example strong,
.docs-formula-config strong,
.docs-formula-breakdown strong,
.docs-formula-example strong,
.docs-result-box strong {
    color: #0066FF;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

/* ==================== REFERENCE GRID ==================== */

.docs-reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.docs-reference-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 35px 30px;
    border-radius: 20px;
    border: 2px solid rgba(0, 102, 255, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.docs-reference-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0a0a0a;
    margin-bottom: 20px;
}

.docs-reference-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-reference-card li {
    padding: 12px 0;
    color: #666;
    font-size: 15px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.docs-reference-card li:last-child {
    border-bottom: none;
}

.docs-reference-card strong {
    color: #0066FF;
    font-weight: 700;
    margin-right: 8px;
}

/* ==================== CTA BOX ==================== */

.docs-cta-box {
    background: linear-gradient(135deg, #0066FF, #0052CC);
    padding: 60px 50px;
    border-radius: 28px;
    text-align: center;
    margin-top: 60px;
    box-shadow: 0 16px 48px rgba(0, 102, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.docs-cta-box h2 {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
}

.docs-cta-box p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.docs-cta-box .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: #ffffff;
    color: #0066FF;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.docs-cta-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.docs-step-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 20px 0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

/* ==================== COMMON ISSUES SECTION ==================== */

.docs-issue-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-issue-card:hover {
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
    transform: translateY(-2px);
}

.docs-issue-critical {
    border-color: #ef4444;
    background: linear-gradient(to bottom, #fef2f2 0%, #fff 100%);
}

.docs-issue-header {
    margin-bottom: 20px;
}

.docs-issue-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.docs-badge-critical {
    background: #ef4444;
    color: white;
    animation: pulseAttention 2s ease-in-out infinite;
}

@keyframes pulseAttention {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.docs-issue-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0a1929;
    margin: 0;
    line-height: 1.3;
}

.docs-issue-content {
    color: #333;
    line-height: 1.7;
}

.docs-issue-content p {
    margin-bottom: 15px;
}

.docs-issue-content strong {
    color: #0a1929;
    font-weight: 700;
}

.docs-checklist-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border: 2px solid #0066FF;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-checklist-item:hover {
    border-color: #0052CC;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.2);
}

.docs-checklist-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066FF, #0052CC);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.docs-checklist-content {
    flex: 1;
}

.docs-checklist-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0a1929;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.docs-checklist-content p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

.docs-fix-steps {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #0066FF;
    border-radius: 8px;
}

.docs-fix-steps strong {
    color: #0066FF;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.docs-fix-steps ol {
    margin: 10px 0 0 20px;
    padding: 0;
}

.docs-fix-steps li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

.docs-still-stuck-box {
    background: linear-gradient(135deg, #CCE5FF, #E8F3FF);
    border: 2px solid #0066FF;
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
}

.docs-still-stuck-box h3 {
    color: #0a1929;
    font-size: 22px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.docs-still-stuck-box p {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}

.docs-still-stuck-box ul {
    margin: 15px 0 0 20px;
    padding: 0;
}

.docs-still-stuck-box li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1200px) {
    .docs-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .docs-tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .docs-main-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .docs-sidebar {
        order: 2;
    }
    
    .docs-content {
        order: 1;
    }
    
    .docs-sidebar-sticky {
        position: static;
    }
    
    .docs-nav-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .docs-hero {
        padding: 140px 20px 80px;
        min-height: 50vh;
    }
    
    .docs-hero-title {
        font-size: 42px;
    }
    
    .docs-hero-description {
        font-size: 18px;
    }
    
    .docs-main {
        padding: 60px 20px 80px;
    }
    
    .docs-section-title {
        font-size: 28px;
    }
    
    .docs-intro-card {
        padding: 30px 25px;
    }
    
    .docs-features-grid,
    .docs-tips-grid,
    .docs-methods {
        grid-template-columns: 1fr;
    }
    
    .docs-step {
        flex-direction: column;
        gap: 15px;
    }
    
    .docs-step::before {
        left: 29px;
        top: 70px;
    }
    
    .docs-cta-box {
        padding: 40px 30px;
    }
    
    .docs-cta-box h2 {
        font-size: 28px;
    }
    
    .docs-issue-card {
        padding: 20px;
    }
    
    .docs-issue-header h3 {
        font-size: 20px;
    }
    
    .docs-checklist-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .docs-checklist-number {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .docs-warning-box,
    .docs-tip-box {
        flex-direction: column;
        padding: 20px;
    }
    
    .docs-still-stuck-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .docs-hero {
        padding: 120px 15px 50px;
    }
    
    .docs-hero-title {
        font-size: 36px;
    }
    
    .docs-section-title {
        font-size: 24px;
    }
    
    .docs-sidebar-sticky {
        padding: 20px;
    }
    
    .docs-nav-list {
        grid-template-columns: 1fr;
    }
}