/* ===== DESIGN SYSTEM VARIABLES ===== */
:root {
    --primary: #0066cc;
    --primary-dark: #003d99;
    --secondary: #00d4ff;
    --success: #10b981;
    --warning: #f59e0b;
    --text-dark: #0f172a;
    --text-muted: #475569;
    --bg-light: #f8fafc;
    --bg-lighter: #f0f4f8;
    --border-light: #e2e8f0;
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GENERAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 25px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    color: white;
    text-decoration: none;
}

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

.btn-light {
    background: white;
    border: none;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition);
}

.btn-light:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    color: var(--primary);
    text-decoration: none;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 25px;
}

.fw-bold {
    font-weight: 700;
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: 15px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-body {
    padding: 2rem;
}

/* ===== SECTIONS BASE ===== */
/* section {
    padding: 5.5rem 0;
} */

section.bg-white {
    background: white;
}

section.bg-gradient-light {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

section.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    display: flex !important;
    flex-direction: column !important;
}

.section-title h2 {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-size: clamp(1.875rem, 5vw, 2.5rem);
    border-bottom: 2px solid var(--primary);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-title p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== GRADIENT BACKGROUNDS ===== */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== UTILITIES ===== */
.text-white {
    color: white !important;
}

.text-primary {
    color: var(--primary);
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: #6b7280;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

/* ===== HERO SECTION (PARA VIDEO BG CON ODOO HERO) ===== */
.hero-coworking {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 700px;
}

.hero-title {
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.hero-subtitle {
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-size: 1.1rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-hero-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.btn-hero-primary:hover {
    background: #f8fafc;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

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

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* ===== STATS SECTION ===== */
.stat-box {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.5;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

/* ===== PLANS SECTION ===== */
.plan-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.plan-card.featured {
    border-color: var(--primary);
    position: relative;
    transform: scale(1.06);
}

.plan-card.featured:hover {
    transform: scale(1.08) translateY(-16px);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 0.6rem 1.75rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.plan-header {
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
}

.plan-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 1.25rem 0;
}

.plan-price small {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plan-features {
    flex-grow: 1;
    padding: 2rem;
}

.plan-feature {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.plan-feature:last-child {
    border-bottom: none;
}

.plan-feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.plan-feature-x {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.plan-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-light);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--primary);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.2em;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

/* ===== REUSABLE COMPONENT CARDS ===== */
/* Platform features cards (No es solo una plataforma) */
.platform-card {
    border: 1.5px solid var(--border-light);
    border-radius: 16px;
    padding: 2.25rem 1.75rem;
    text-align: center;
    background: white;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.12);
    transform: translateY(-6px);
}

.platform-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.platform-card-title {
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.platform-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Feature video cards (3 Features section) */
.feature-video-card {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: white;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.feature-video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.feature-video-img {
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

.feature-video-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-video-card:hover .feature-video-img img {
    transform: scale(1.08);
}

.feature-video-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-video-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-video-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Impact stat cards */
.stat-impact-card {
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: white;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.stat-impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.stat-impact-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
}

.stat-impact-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Use case cards */
.use-case-card {
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background: white;
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.use-case-body {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.use-case-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.use-case-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Icon with text feature rows */
.icon-feature-row {
    display: flex;
    align-items: flex-start;
}

.icon-feature-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-feature-content {
    margin-left: 1rem;
}

.icon-feature-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.icon-feature-desc {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .platform-card {
        margin-bottom: 1.5rem;
    }

    .feature-video-card {
        margin-bottom: 2rem;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-coworking {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }
}
