/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3c8dbc;
    --secondary-color: #00a65a;
    --accent-color: #f39c12;
    --danger-color: #dd4b39;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c6a8a 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

.section {
    padding: 60px 0;
}

.section-alt {
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header h2 i {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Content Wrapper */
.content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 40px;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.nav-list {
    list-style: none;
}

.nav-list .nav-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.nav-list .nav-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 20px;
}

/* Content */
.content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.content-block {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid var(--light-color);
}

.content-block:last-child {
    border-bottom: none;
}

.content-block h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block h4 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin: 30px 0 15px 0;
}

.content-block h5 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin: 20px 0 10px 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h4 {
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature-card ul {
    list-style: none;
    padding-left: 0;
}

.feature-card ul li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.feature-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.highlight-box i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Modules List */
.modules-list {
    margin-top: 30px;
}

.module-item {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
}

.module-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Highlight Features */
.highlight-features {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    background: var(--light-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.highlight-icon {
    font-size: 3rem;
    min-width: 80px;
    text-align: center;
}

.highlight-content h4 {
    margin-bottom: 10px;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.benefit-card {
    background: white;
    border: 2px solid var(--primary-color);
    padding: 25px;
    border-radius: 10px;
}

.benefit-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
}

.benefit-card ul li {
    padding: 8px 0;
}

/* Tech Section */
.tech-section {
    margin: 25px 0;
}

.tech-section h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.security-item {
    text-align: center;
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
}

.security-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.security-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.security-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Use Cases */
.use-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.use-case-tag {
    background: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
}

/* Manual Section */
.manual-toc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.toc-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
}

.toc-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.toc-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toc-card ul {
    list-style: none;
    margin-bottom: 20px;
}

.toc-card ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.toc-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-small {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-small:hover {
    background: var(--secondary-color);
}

/* Manual Content */
.manual-content-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 40px;
}

.manual-sidebar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.manual-sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.manual-nav {
    list-style: none;
}

.manual-nav li {
    margin-bottom: 10px;
}

.manual-nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 5px;
    transition: all 0.3s;
}

.manual-nav a:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 15px;
}

.manual-content {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.manual-block {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid var(--light-color);
}

.manual-block:last-child {
    border-bottom: none;
}

.manual-block h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Step by Step */
.step-by-step {
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--light-color);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

/* Code Block */
.code-block {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
}

.warning-box i {
    color: #ffc107;
    font-size: 1.5rem;
}

/* Info Box */
.info-box {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Example Box */
.example-box {
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Shortcuts Grid */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--light-color);
    padding: 15px;
    border-radius: 5px;
}

shortcut-item kbd {
    background: var(--dark-color);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Interface Element */
.interface-element {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.interface-element h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Reports List */
.reports-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.report-category {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.report-category h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.report-category ul {
    list-style: none;
    padding: 0;
}

.report-category ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.report-category ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* FAQ */
.faq-list {
    margin-top: 30px;
}

.faq-item {
    background: var(--light-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid var(--accent-color);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-light);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Required Badge */
.required {
    color: var(--danger-color);
}

/* Responsive */
@media (max-width: 968px) {
    .content-wrapper,
    .manual-content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar,
    .manual-sidebar {
        position: static;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .content,
    .manual-content {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .header,
    .nav,
    .sidebar,
    .manual-sidebar,
    .footer {
        display: none;
    }

    .content-wrapper,
    .manual-content-wrapper {
        grid-template-columns: 1fr;
    }
}

