/* Invisible Magnifier Guide - Complete Styles with Simplified Green Circle Demo */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --secondary-color: #137333;
    --warning-color: #ea8600;
    --error-color: #d93025;
    --success-color: #137333;
    --bg-light: #f8f9fa;
    --bg-dark: #202124;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --border-light: #e8eaed;
    --border-primary: #1a73e8;
    --shadow-light: 0 2px 8px rgba(60, 64, 67, 0.15);
    --shadow-heavy: 0 4px 12px rgba(60, 64, 67, 0.3);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Google Sans', 'Segoe UI', Roboto, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8f0fe 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e8eaed" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header .container {
    position: relative;
    z-index: 2;
}

.title-with-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.title-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.header h1 {
    font-size: 52px;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.header-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn, .demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    min-width: 200px;
    justify-content: center;
}

.download-btn.primary {
    background: var(--primary-color);
    color: white;
}

.download-btn.primary:hover {
    background: #1557b0;
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.demo-btn.secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.demo-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Navigation Menu */
.nav-menu {
    background: white;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 15px 0;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: #f8f9fa;
}

/* Demo Section */
.demo-section {
    padding: 80px 0;
    background: white;
}

.demo-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.demo-description {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 2px solid var(--border-light);
}

/* Fake Browser Interface */
.fake-browser {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
    position: relative;
}

.browser-toolbar {
    background: #f8f9fa;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.browser-controls {
    display: flex;
    gap: 8px;
}

.browser-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-button.close {
    background: #ff5f57;
}

.browser-button.minimize {
    background: #ffbd2e;
}

.browser-button.maximize {
    background: #28ca42;
}

.address-bar {
    flex: 1;
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    font-size: 14px;
}

.url {
    color: var(--text-secondary);
    font-family: 'Roboto Mono', monospace;
}

.browser-extensions {
    display: flex;
    gap: 8px;
}

/* SIMPLIFIED: Extension Icon */
.extension-icon {
    width: 32px;
    height: 32px;
    background-image: url('https://posadard.com/invisible_magnifier/icon16.png');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8f9fa;
    border: 1px solid #dadce0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
}

/* SIMPLIFIED: Extension Icon States */
.extension-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.25);
}

.extension-icon.activating {
    animation: activationPulse 0.8s ease-in-out;
}

.extension-icon.activated {
    background-color: #e8f5e8;
    border-color: #4caf50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

@keyframes activationPulse {
    0%, 100% { 
        transform: scale(1); 
        background-color: #f8f9fa;
    }
    50% { 
        transform: scale(1.1); 
        background-color: #4caf50;
    }
}

.demo-website {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    margin-bottom: 20px;
}

.demo-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    text-align: center;
}

.demo-header h3 {
    font-size: 18px;
    font-weight: 500;
}

.demo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 30px;
}

.login-form {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.login-form h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label i {
    font-size: 16px;
    padding: 8px;
    background: #f1f3f4;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.form-group label i:hover {
    background: #e8f0fe;
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-login:hover {
    background: #0f5132;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.demo-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.nav-item:hover {
    background: #e8f0fe;
    border-color: var(--primary-color);
}

.nav-item i {
    font-size: 16px;
    color: var(--text-secondary);
}

/* NUEVO: Círculo Verde Simple Brillante */
.demo-magnifier {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #4caf50;
    border: 3px solid #2e7d32;
    border-radius: 50%;
    cursor: grab;
    z-index: 10;
    top: 100px;
    right: 50px;
    user-select: none;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 10px rgba(76, 175, 80, 0.6),
        0 0 20px rgba(76, 175, 80, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
    animation: greenGlow 2s ease-in-out infinite;
}

/* Estados del círculo */
.demo-magnifier.hidden {
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.demo-magnifier.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    animation: appearCircle 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), greenGlow 2s ease-in-out infinite 0.8s;
}

.demo-magnifier.dragging {
    cursor: grabbing;
    transform: scale(1.2);
    box-shadow: 
        0 0 15px rgba(76, 175, 80, 0.8),
        0 0 30px rgba(76, 175, 80, 0.6),
        0 6px 12px rgba(0, 0, 0, 0.3);
    animation: none;
}

.demo-magnifier.session-warning {
    background: #ff9800;
    border-color: #f57c00;
    box-shadow: 
        0 0 10px rgba(255, 152, 0, 0.6),
        0 0 20px rgba(255, 152, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.2);
    animation: warningPulse 1s ease-in-out infinite;
}

.demo-magnifier.found-element {
    animation: foundPulse 0.6s ease-in-out;
}

/* Animaciones del círculo */
@keyframes greenGlow {
    0%, 100% { 
        box-shadow: 
            0 0 10px rgba(76, 175, 80, 0.6),
            0 0 20px rgba(76, 175, 80, 0.4),
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% { 
        box-shadow: 
            0 0 20px rgba(76, 175, 80, 0.8),
            0 0 40px rgba(76, 175, 80, 0.6),
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

@keyframes appearCircle {
    0% { 
        opacity: 0; 
        transform: scale(0) rotate(-180deg); 
    }
    70% { 
        transform: scale(1.3) rotate(10deg); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg); 
    }
}

@keyframes warningPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 10px rgba(255, 152, 0, 0.6),
            0 0 20px rgba(255, 152, 0, 0.4),
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: scale(1.15);
        box-shadow: 
            0 0 20px rgba(255, 152, 0, 0.8),
            0 0 40px rgba(255, 152, 0, 0.6),
            0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

@keyframes foundPulse {
    0%, 100% { 
        transform: scale(1);
    }
    25% { 
        transform: scale(1.4);
        background: #66bb6a;
    }
    50% { 
        transform: scale(0.9);
        background: #4caf50;
    }
    75% { 
        transform: scale(1.2);
        background: #66bb6a;
    }
}

.demo-magnifier:hover:not(.dragging) {
    transform: scale(1.1);
    box-shadow: 
        0 0 15px rgba(76, 175, 80, 0.7),
        0 0 30px rgba(76, 175, 80, 0.5),
        0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Demo Tooltip */
.demo-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 20;
    display: none;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-heavy);
}

.tooltip-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-keyword {
    color: #aecbfa;
    font-weight: 500;
}

.tooltip-value {
    color: #81c995;
    font-weight: 600;
}

.tooltip-copy {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.tooltip-copy:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Enhanced demo status with more dynamic styling */
.demo-status {
    text-align: center;
    padding: 15px;
    background: #e8f0fe;
    color: #1557b0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid #aecbfa;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.demo-status.highlight::before {
    left: 100%;
}

.demo-status.success {
    background: #e6f4ea;
    color: #137333;
    border-color: #81c995;
}

.demo-status.magic {
    background: linear-gradient(135deg, #fef7e0 0%, #e8f0fe 100%);
    color: #b06000;
    border-color: #fcc934;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { 
        background: linear-gradient(135deg, #fef7e0 0%, #e8f0fe 100%);
    }
    50% { 
        background: linear-gradient(135deg, #e8f0fe 0%, #fef7e0 100%);
    }
}

/* Quick Help Section */
.quick-help {
    padding: 80px 0;
    background: white;
}

.quick-help h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.help-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    background: white;
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: translateY(-4px);
    transition: var(--transition);
}

.help-card.setup::before { background: var(--primary-color); }
.help-card.security::before { background: var(--success-color); }
.help-card.troubleshoot::before { background: var(--warning-color); }

.help-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.help-card:hover::before {
    transform: translateY(0);
}

.help-card i {
    font-size: 48px;
    margin-bottom: 25px;
    display: block;
}

.help-card.setup i { color: var(--primary-color); }
.help-card.security i { color: var(--success-color); }
.help-card.troubleshoot i { color: var(--warning-color); }

.help-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.help-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.help-btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.help-card.setup .help-btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.help-card.setup .help-btn:hover {
    background: var(--primary-color);
    color: white;
}

.help-card.security .help-btn {
    border-color: var(--success-color);
    color: var(--success-color);
}
.help-card.security .help-btn:hover {
    background: var(--success-color);
    color: white;
}

.help-card.troubleshoot .help-btn {
    border-color: var(--warning-color);
    color: var(--warning-color);
}
.help-card.troubleshoot .help-btn:hover {
    background: var(--warning-color);
    color: white;
}

/* Download Section */
.download-section {
    background: #e8f0fe;
    padding: 80px 0;
    text-align: center;
}

.download-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.version-info {
    color: var(--success-color);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 40px;
}

.download-buttons {
    margin-bottom: 40px;
}

.download-zip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 25px 45px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-heavy);
    min-width: 250px;
}

.download-zip:hover {
    background: #1557b0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 115, 232, 0.4);
}

.download-zip i {
    font-size: 24px;
}

.download-zip small {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.feature i {
    color: var(--success-color);
    font-size: 18px;
}

.feature span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

/* Setup Guide */
.setup-guide {
    padding: 80px 0;
    background: white;
}

.setup-guide h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.installation-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--bg-light);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    padding: 25px;
    border-radius: var(--border-radius);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.step:hover {
    box-shadow: var(--shadow-light);
    transform: translateY(-2px);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
    margin-right: 25px;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.step-content h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.step-content code {
    background: #f1f3f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.tip, .warning, .info, .success, .error {
    margin: 15px 0;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid;
    font-size: 14px;
}

.tip {
    background: #e8f0fe;
    border-color: var(--primary-color);
    color: #1557b0;
}

.warning {
    background: #fef7e0;
    border-color: var(--warning-color);
    color: #b06000;
}

.info {
    background: #e6f4ea;
    border-color: var(--success-color);
    color: var(--success-color);
}

.success {
    background: #e6f4ea;
    border-color: var(--success-color);
    color: var(--success-color);
}

.error {
    background: #fce8e6;
    border-color: var(--error-color);
    color: var(--error-color);
}

.verification-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-light);
}

.verification-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.verification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.verification-item {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    text-align: center;
}

.verification-item i {
    font-size: 36px;
    color: var(--success-color);
    margin-bottom: 15px;
}

.verification-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.verification-item p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.verification-item ul {
    text-align: left;
    color: var(--text-secondary);
    font-size: 14px;
}

.file-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.file {
    background: #f1f3f4;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    text-align: center;
}

/* User Guide */
.user-guide {
    padding: 80px 0;
    background: var(--bg-light);
}

.user-guide h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.guide-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.setup-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    overflow-x: auto;
    padding: 20px 0;
}

.flow-step {
    text-align: center;
    min-width: 180px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    border: 2px solid var(--border-light);
    position: relative;
}

.flow-step.critical {
    border-color: var(--error-color);
    background: #fce8e6;
}

.flow-number {
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

.flow-step.critical .flow-number {
    background: var(--error-color);
}

.flow-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.flow-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.flow-arrow {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: bold;
    flex-shrink: 0;
}

.recovery-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.method {
    background: var(--bg-light);
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    border: 1px solid var(--border-light);
}

.file-handling {
    margin: 10px 0;
}

.file-item {
    background: #f1f3f4;
    padding: 8px 12px;
    margin: 5px 0;
    border-radius: 4px;
    font-size: 13px;
    border-left: 3px solid var(--primary-color);
}

/* Workflow sections */
.workflow-section {
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.workflow-section h4 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.step-icon {
    font-size: 20px;
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.magnifier-usage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.usage-step {
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.usage-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.usage-step h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.usage-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.editing-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edit-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.edit-number {
    background: var(--success-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.edit-content strong {
    color: var(--text-primary);
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.edit-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Advanced sections */
.advanced-section {
    margin: 40px 0;
}

.advanced-section h4 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.strategy-card {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    text-align: center;
}

.strategy-card h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.strategy-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.examples {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.example {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.efficiency-tips {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.tip-item i {
    color: var(--primary-color);
    font-size: 24px;
    margin-top: 5px;
}

.tip-item strong {
    color: var(--text-primary);
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.tip-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.mapping-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.example-category {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.example-category h5 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
}

.mapping-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mapping {
    background: var(--bg-light);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: var(--text-primary);
    border-left: 3px solid var(--primary-color);
}

/* Security sections */
.security-sections {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.security-section {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.security-section h4 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-section h4 i {
    color: var(--primary-color);
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.security-do, .security-dont {
    padding: 20px;
    border-radius: var(--border-radius);
}

.security-do {
    background: #e6f4ea;
    border: 1px solid #81c995;
}

.security-dont {
    background: #fce8e6;
    border: 1px solid #f28b82;
}

.security-do h5 {
    color: var(--success-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.security-dont h5 {
    color: var(--error-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.security-do ul, .security-dont ul {
    list-style: none;
    padding-left: 0;
}

.security-do li, .security-dont li {
    padding: 5px 0;
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.security-do li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.security-dont li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: var(--error-color);
    font-weight: bold;
}

.session-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.session-type {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.session-icon {
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.session-icon.browsing {
    background: var(--primary-color);
    color: white;
}

.session-icon.editing {
    background: var(--success-color);
    color: white;
}

.session-details h5 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.session-details p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 3px 0;
}

.file-security {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-type {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.file-type strong {
    font-size: 16px;
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.file-type p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 5px 0;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.faq-categories {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.faq-category h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-primary);
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-primary);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    display: none;
    animation: slideDown 0.3s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Troubleshooting */
.troubleshooting {
    padding: 80px 0;
    background: white;
}

.troubleshooting h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.troubleshooting-categories {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.trouble-category h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.issues-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.issue {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid;
    transition: var(--transition);
}

.issue:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.issue.warning {
    background: #fef7e0;
    border-color: #fcc934;
}

.issue.error {
    background: #fce8e6;
    border-color: #f28b82;
}

.issue.success {
    background: #e6f4ea;
    border-color: #81c995;
}

.issue-icon {
    font-size: 28px;
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: 5px;
}

.issue.warning .issue-icon { color: var(--warning-color); }
.issue.error .issue-icon { color: var(--error-color); }
.issue.success .issue-icon { color: var(--success-color); }

.issue-content {
    flex: 1;
}

.issue-content h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.issue.warning h4 { color: #b06000; }
.issue.error h4 { color: var(--error-color); }
.issue.success h4 { color: var(--success-color); }

.solutions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.solution {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-left: 3px solid;
    font-size: 14px;
    line-height: 1.5;
}

.issue.warning .solution { border-left-color: var(--warning-color); }
.issue.error .solution { border-left-color: var(--error-color); }
.issue.success .solution { border-left-color: var(--success-color); }

.solution strong {
    color: var(--text-primary);
    font-weight: 600;
}

.diagnostic-section {
    margin-top: 60px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-light);
}

.diagnostic-section h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-primary);
    text-align: center;
}

.checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.checklist-item:hover {
    box-shadow: var(--shadow-light);
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--success-color);
}

.checklist-item label {
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1.4;
}

.diagnostic-result {
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    display: none;
}

.diagnostic-result.show {
    display: block;
}

.diagnostic-result.good {
    background: #e6f4ea;
    color: var(--success-color);
    border: 1px solid #81c995;
}

.diagnostic-result.issues {
    background: #fef7e0;
    color: var(--warning-color);
    border: 1px solid #fcc934;
}

.diagnostic-result.problems {
    background: #fce8e6;
    color: var(--error-color);
    border: 1px solid #f28b82;
}

/* Contact Section */
.contact-section {
    background: var(--primary-color);
    padding: 80px 0;
    color: white;
}

.contact-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-section > .container > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.contact-method {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-method i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.contact-method h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-method p {
    margin-bottom: 25px;
    opacity: 0.8;
    font-size: 15px;
}

.contact-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    min-width: 160px;
}

.contact-btn.primary {
    background: white;
    color: var(--primary-color);
}

.contact-btn.primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.contact-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.contact-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-btn.tertiary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-btn.tertiary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.support-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 14px;
}

.support-item i {
    font-size: 16px;
    opacity: 0.8;
    width: 20px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    padding: 5px 0;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.security-badges {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 40px;
    }

    .header .subtitle {
        font-size: 18px;
    }

    .header-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        gap: 20px;
        padding: 10px 0;
    }

    .nav-links a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .help-grid,
    .features-grid,
    .strategy-grid,
    .mapping-examples {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
    }

    .setup-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .workflow-steps {
        grid-template-columns: 1fr;
    }

    .magnifier-usage {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .faq-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .demo-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .demo-magnifier {
        top: 50px;
        right: 20px;
    }

    .checklist {
        grid-template-columns: 1fr;
    }

    .verification-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 60px 0 40px;
    }

    .header h1 {
        font-size: 32px;
    }

    .header .subtitle {
        font-size: 16px;
    }

    section {
        padding: 60px 0;
    }

    .download-zip {
        padding: 20px 30px;
        font-size: 16px;
    }

    .step {
        padding: 20px 15px;
    }

    .file-list {
        grid-template-columns: 1fr;
    }

    .support-checklist {
        grid-template-columns: 1fr;
    }

    .demo-magnifier {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}