/* ===== DOCTHOR LANDING PAGE CSS ===== */
/* Hereda el DNA visual de solucionessoftmatic.com con paleta médica propia */

:root {
    /* Paleta DocThor - identidad médica */
    --teal: #3CB4A3;
    --teal-light: #4ECDB8;
    --teal-dark: #2A9088;
    --teal-glow: rgba(60, 180, 163, 0.3);
    --teal-soft: rgba(60, 180, 163, 0.08);

    /* Acento de apoyo */
    --accent-blue: #00B4D8;
    --accent-green: #06d6a0;

    /* Base oscura (hereda Softmatic) */
    --bg-black: #000000;
    --bg-dark: #080e0d;
    --bg-elevated: #0f1e1c;
    --bg-card: rgba(60, 180, 163, 0.04);
    --text-white: #ffffff;
    --text-gray: #9ab0ac;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(60, 180, 163, 0.15);
    --border-glow: rgba(60, 180, 163, 0.4);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* ===== CURSOR (hereda estilo Softmatic) ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.15s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--teal);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    opacity: 0.5;
}

/* ===== PARTÍCULAS ===== */
#particlesCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-back:hover {
    color: var(--teal);
    border-color: var(--teal);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--teal-glow));
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.08) rotate(3deg);
}

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

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.4rem 0;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--accent-blue));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--teal-glow);
    transition: all 0.3s ease !important;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(60, 180, 163, 0.5) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--teal);
    transition: all 0.3s ease;
    display: block;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--teal-glow);
    transition: all 0.3s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(60, 180, 163, 0.5);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--teal);
    color: var(--text-white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--teal-glow);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: var(--teal-soft);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-sub {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO ===== */
.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 120px 6% 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(60, 180, 163, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 90%, rgba(6, 214, 160, 0.06) 0%, transparent 50%);
    animation: heroGrad 12s ease infinite;
}

@keyframes heroGrad {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.hero-medical-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(60, 180, 163, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(60, 180, 163, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.3rem;
    background: var(--teal-soft);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.badge-pulse {
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.title-static {
    color: var(--text-white);
    opacity: 0.9;
}

.title-gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--accent-blue) 60%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientFlow 4s ease infinite;
    display: block;
}

@keyframes gradientFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeIn 0.8s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--teal), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeIn 0.8s ease 1s backwards;
}

.hero-trust span {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.4s backwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dashboard-mockup {
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(60, 180, 163, 0.15);
    position: relative;
}

.mockup-bar {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-url {
    font-size: 0.72rem;
    color: var(--text-gray);
    margin-left: 0.5rem;
    font-family: 'Inter', monospace;
}

.mockup-img {
    width: 100%;
    display: block;
}

.mockup-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(60, 180, 163, 0.05), transparent);
    pointer-events: none;
}

/* Floating cards */
.floating-card {
    position: absolute;
    background: rgba(10, 25, 22, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    animation: floatCard 4s ease-in-out infinite;
    min-width: 200px;
}

.card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 60px;
    left: -30px;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: -15px;
    right: 30px;
    animation-delay: 0.8s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.fc-icon {
    font-size: 1.5rem;
}

.fc-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-white);
}

.fc-sub {
    font-size: 0.7rem;
    color: var(--teal);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: bounce 2s ease infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-gray);
}

.scroll-line {
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, var(--teal), transparent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

/* ===== PROBLEM / SOLUTION ===== */
.problem-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}

.problem-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.problem-card {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.before-card {
    border-color: rgba(231, 76, 60, 0.2);
}

.after-card {
    border-color: var(--glass-border);
    box-shadow: 0 0 40px var(--teal-glow);
}

.pc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pc-icon {
    font-size: 2rem;
}

.pc-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
}

.pc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pc-list li {
    font-size: 0.95rem;
    color: var(--text-gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 0 30px var(--teal-glow);
    flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features-section {
    padding: 100px 0;
    background: var(--bg-black);
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--teal);
    box-shadow: 0 20px 50px rgba(60, 180, 163, 0.2);
}

.feature-large {
    grid-column: span 2;
}

.feature-right {
    grid-column: 2 / span 2;
}

.feat-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature-card:hover .feat-glow {
    transform: translateX(0);
}

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

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.feat-tags span {
    font-size: 0.72rem;
    padding: 0.25rem 0.75rem;
    background: var(--teal-soft);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    color: var(--teal-light);
    font-weight: 500;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}

.steps-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: calc(33.33% - 1px);
    right: calc(33.33% - 1px);
    height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--accent-blue), var(--teal));
    z-index: 0;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    color: var(--teal);
    background: var(--bg-dark);
    border: 2px solid var(--teal);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px var(--teal-glow);
    flex-shrink: 0;
}

.step-content {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.step-content:hover {
    border-color: var(--teal);
    box-shadow: 0 10px 30px var(--teal-glow);
}

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

.step-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-detail {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.step-detail span {
    font-size: 0.78rem;
    color: var(--teal);
    font-weight: 500;
}

/* ===== MODULES TABS ===== */
.modules-section {
    padding: 100px 0;
    background: var(--bg-black);
    position: relative;
    z-index: 1;
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.7rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-color: var(--teal);
    color: white;
    box-shadow: 0 5px 20px var(--teal-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
}

.tab-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.tab-info p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tab-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tab-features li {
    font-size: 0.9rem;
    color: var(--text-gray);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.tab-features li:hover {
    color: var(--text-white);
    padding-left: 0.5rem;
}

/* Tab Mockup */
.tab-mockup {
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    font-size: 0.85rem;
}

.tm-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.tm-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tm-label {
    color: var(--text-gray);
    font-size: 0.82rem;
}

.tm-val {
    color: var(--text-white);
    font-size: 0.82rem;
    font-weight: 500;
}

.tm-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tm-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: 20px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.tm-btn-outline {
    background: transparent;
    border: 1px solid var(--teal);
    color: var(--teal);
}

.tm-stats-row {
    display: flex;
    gap: 1rem;
    justify-content: space-around;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.tm-stat {
    text-align: center;
}

.tms-n {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    display: block;
}

.tms-l {
    font-size: 0.68rem;
    color: var(--text-gray);
}

.tm-cita {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.8rem;
}

.cita-hora {
    color: var(--text-gray);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    min-width: 40px;
}

.cita-pac {
    color: var(--text-white);
    flex: 1;
}

.cita-est {
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.cita-est.atendida {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.cita-est.en-sala {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.cita-est.pendiente {
    background: rgba(60, 180, 163, 0.15);
    color: var(--teal);
}

.tm-plantilla {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.82rem;
    color: var(--text-gray);
}

.tm-plantilla.active {
    color: var(--text-white);
}

.tm-plantilla strong {
    color: var(--teal);
}

.tm-plantilla small {
    font-size: 0.72rem;
}

.tm-audit {
    margin-top: 0.5rem;
}

.audit-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
}

.ar-user {
    color: var(--text-white);
    flex: 1;
    font-weight: 600;
}

.ar-action {
    padding: 0.15rem 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.68rem;
}

.ar-action.crear {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
}

.ar-action.login {
    background: rgba(60, 180, 163, 0.15);
    color: var(--teal);
}

.ar-action.editar {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
}

.ar-tab {
    color: var(--text-gray);
    font-size: 0.7rem;
}

/* ===== TECHNOLOGY ===== */
.tech-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}


.deploy-options h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: 2rem;
}

.deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.deploy-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.deploy-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
    box-shadow: 0 15px 40px var(--teal-glow);
}

.dep-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.deploy-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.deploy-card p {
    font-size: 0.88rem;
    color: var(--text-gray);
}

/* ===== ROLES ===== */
.roles-section {
    padding: 100px 0;
    background: var(--bg-black);
    position: relative;
    z-index: 1;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.role-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.role-featured {
    border-color: var(--teal);
    box-shadow: 0 0 50px rgba(60, 180, 163, 0.15);
}

.role-featured:hover {
    box-shadow: 0 20px 60px rgba(60, 180, 163, 0.3);
}

.role-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 15px var(--teal-glow);
}

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

.role-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.role-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.role-perms {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.role-perms li {
    font-size: 0.85rem;
    color: var(--text-gray);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ===== CTA / CONTACTO ===== */
.cta-section {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(60, 180, 163, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 60%);
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-align: center;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 4rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.cta-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.cf-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.cta-feature strong {
    display: block;
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cta-feature p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-btn.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.contact-btn.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateX(5px);
}

.contact-btn.email {
    background: var(--teal-soft);
    border: 1px solid var(--glass-border);
    color: var(--teal);
}

.contact-btn.email:hover {
    background: rgba(60, 180, 163, 0.15);
    transform: translateX(5px);
}

/* CTA Form */
.cta-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 0 60px rgba(60, 180, 163, 0.1);
}

.cta-form h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-white);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(60, 180, 163, 0.1);
    background: rgba(60, 180, 163, 0.05);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-field select {
    cursor: pointer;
    -webkit-appearance: none;
}

.form-field select option {
    background: #0a1a18;
    color: var(--text-white);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-top: 0.75rem;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--teal-glow));
}

.footer-slogan {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-parent {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.footer-parent a {
    color: var(--teal);
    text-decoration: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--teal);
    padding-left: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.footer-countries {
    display: flex;
    gap: 1rem;
}

.footer-countries span {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 130px 2rem 60px;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-large {
        grid-column: span 2;
    }

    .feature-right {
        grid-column: span 2;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .roles-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .steps-container {
        flex-direction: column;
    }

    .steps-container::before {
        display: none;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-back {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-large,
    .feature-right {
        grid-column: span 1;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deploy-grid {
        grid-template-columns: 1fr;
    }

    .tab-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .problem-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .vs-divider {
        transform: rotate(90deg);
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-num {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .cta-form-wrap {
        padding: 1.75rem;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}