/**
 * Vreo.net - Estilos Base
 * CSS creado desde cero para el rediseño Odoo
 */

/* ===== VARIABLES ===== */
:root {
    --primary: #0066CC;
    --primary-dark: #004C99;
    --secondary: #2C3E50;
    --success: #28A745;
    --error: #DC3545;
    --text: #333;
    --text-light: #666;
    --bg: #FFF;
    --bg-light: #F8F9FA;
    --border: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --radius: 8px;
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 16px; color: var(--secondary); }
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
p { margin-bottom: 16px; }
a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--primary-dark); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-subtitle { font-size: 18px; color: var(--text-light); margin-top: 12px; }

/* ===== BOTONES ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary);
    color: white;
}
.btn-outline {
    background: transparent;
    color: var(--secondary);
    border-color: var(--border);
}
.btn-outline:hover {
    background: var(--bg-light);
    border-color: var(--secondary);
}
.btn-outline-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: #D1D5DB;
    font-size: 14px;
    padding: 10px 20px;
}
.btn-outline-secondary:hover {
    background: var(--bg-light);
    color: var(--secondary);
    border-color: var(--secondary);
}
.btn-white {
    background: white;
    color: var(--primary);
    border-color: white;
}
.btn-white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    transform: translateY(-2px);
}
.btn-large { padding: 16px 32px; font-size: 18px; }

/* ===== HERO SECTIONS ===== */
.hero, .demo-hero, .page-hero, .industry-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
}
.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: center; 
}
.hero .container { display: block; }
.hero-content h1, .demo-hero h1, .page-hero h1, .industry-hero h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
}
.hero-subtitle { font-size: 20px; opacity: 0.95; }
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 32px 0;
}
.feature-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.15);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
}
.hero-cta { display: flex; gap: 16px; margin-top: 32px; }
.hero-trust { margin-top: 24px; font-size: 14px; opacity: 0.9; }
.hero-image { position: relative; }

/* ===== DEMO PAGE ===== */
.demo-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.demo-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: var(--radius);
}
.demo-content { padding: 80px 0; }
.demo-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
}
.demo-topics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}
.topic {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}
.topic-icon { flex-shrink: 0; color: var(--primary); }
.demo-process { margin-top: 32px; }
.demo-process ol { padding-left: 24px; }
.demo-process li { margin-bottom: 12px; }
.demo-form-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.demo-trust { text-align: center; margin-top: 24px; }
.trust-text { color: var(--text-light); font-size: 14px; }
.demo-faq {
    background: var(--bg-light);
    padding: 80px 0;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.faq-item {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
}
.faq-item h3 { font-size: 18px; margin-bottom: 12px; }
.demo-alternative-contact { padding: 80px 0; }
.alternative-contact-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.contact-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.problem-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}
.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.problem-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF5F5;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.problem-icon svg { color: var(--error); }
.problem-card h3 { font-size: 20px; margin-bottom: 12px; }
.problem-card p { color: var(--text-light); }

/* ===== SOLUTION SECTION ===== */
.solution-section { padding: 80px 0; }
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
}
.solution-text h3 { font-size: 24px; margin-top: 32px; margin-bottom: 16px; }
.solution-text p { color: var(--text-light); margin-bottom: 20px; }
.solution-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.benefit-icon { flex-shrink: 0; color: var(--success); }
.benefit-item h4 { font-size: 18px; margin-bottom: 8px; }
.benefit-item p { color: var(--text-light); font-size: 14px; }

/* ===== INDUSTRY CONTENT ===== */
.industry-content { padding: 80px 0; }
.intro-section {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}
.problems-solutions-grid {
    display: grid;
    gap: 32px;
    margin: 48px 0;
}
.problem-solution-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.problem, .solution {
    padding: 20px;
    margin-bottom: 16px;
    border-radius: var(--radius);
}
.problem {
    background: #FFF5F5;
    border-left: 4px solid var(--error);
}
.solution {
    background: #F0FFF4;
    border-left: 4px solid var(--success);
}
.problem h4, .solution h4 {
    font-size: 18px;
    margin-bottom: 12px;
}
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
}
.module-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
}
.module-card h4 { font-size: 18px; margin-bottom: 12px; }
.workflow-diagram {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 48px 0;
    flex-wrap: wrap;
}
.workflow-step {
    flex: 1;
    min-width: 150px;
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 12px;
}
.workflow-arrow {
    font-size: 24px;
    color: var(--primary);
}

/* ===== SCREENSHOTS ===== */
.screenshots-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 48px;
}
.screenshot-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}
.screenshot-item:hover { transform: translateY(-8px); }
.screenshot-container {
    position: relative;
    background: #E9ECEF;
    border-radius: 12px;
    overflow: hidden;
}
.screenshot-container img {
    width: 100%;
    height: auto;
    display: block;
}
.screenshot-info { padding: 32px; }
.screenshot-info h3 { font-size: 22px; margin-bottom: 12px; }
.screenshot-info p { color: var(--text-light); margin-bottom: 16px; }
.screenshot-caption { padding: 16px; background: white; }
.link-arrow {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}
.link-arrow:hover { gap: 12px; }

/* ===== SOLUTIONS ===== */
.solutions-overview { padding: 80px 0; }
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.solution-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: all 0.3s;
}
.solution-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0,102,204,0.1);
}
.solution-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E3F2FD;
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.solution-icon svg { color: var(--primary); }
.solution-card h3 { font-size: 22px; margin-bottom: 16px; }
.solution-card > p { color: var(--text-light); margin-bottom: 20px; }
.solution-features {
    list-style: none;
    margin: 24px 0;
}
.solution-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-light);
}
.solution-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}
.solutions-cta, .solution-cta {
    text-align: center;
    margin-top: 48px;
}
.cta-box {
    background: var(--bg-light);
    padding: 48px;
    border-radius: var(--radius);
    text-align: center;
}

/* ===== CASE STUDIES ===== */
.case-studies-section {
    padding: 80px 0;
    background: var(--bg-light);
}
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    margin-top: 48px;
}
.case-study-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.case-study-image {
    position: relative;
    background: #E9ECEF;
    border-radius: 12px;
    overflow: hidden;
}
.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}
.case-study-content { padding: 32px; }
.case-study-industry {
    display: inline-block;
    background: #E3F2FD;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}
.case-study-content h3 { font-size: 24px; margin-bottom: 12px; }
.case-study-excerpt { color: var(--text-light); margin-bottom: 24px; }
.case-study-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.result-item { text-align: center; }
.result-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}
.result-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}
.case-studies-cta { text-align: center; margin-top: 32px; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 80px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.star { color: #FFC107; }
.testimonial-text {
    color: var(--text-light);
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.author-name {
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}
.author-title {
    font-size: 14px;
    color: #999;
}
.author-info { flex: 1; }

/* ===== FINAL CTA ===== */
.final-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}
.final-cta-content h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 16px;
}
.final-cta-content > p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 32px;
}
.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 32px 0;
}
.cta-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}
.cta-note {
    margin-top: 24px;
    font-size: 14px;
    opacity: 0.9;
}
.cta-note a {
    color: white;
    text-decoration: underline;
}

/* ===== ICONS ===== */
.icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
