:root {
    /* Paleta basada en la aplicaciÃ³n web Dentialix */
    --primary-color: #337aea;
    --primary-hover: #2768d0;
    --secondary-color: #edf5ff;
    --text-main: #25394c;
    --text-muted: #667b8c;
    --bg-light: #f1f3f9;
    --bg-white: #ffffff;
    --border-color: #e1e7ef;
    --brand-accent: #3182b4;
}

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

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 45px;
    display: block;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary-color); }

/* Botones */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.btn-secondary:hover {
    background-color: #d1eae6;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background: linear-gradient(120deg, #edf7fc, #f1f3f9 65%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container { grid-template-columns: 1fr 1fr; }
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 650;
}

@media (min-width: 768px) {
    .hero-content h1 { font-size: 3.5rem; }
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--brand-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Mockup UI Window */
.mockup-window {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.mockup-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.mockup-header i {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
}
.mockup-header i:nth-child(1) { background: #ef4444; }
.mockup-header i:nth-child(2) { background: #f59e0b; }
.mockup-header i:nth-child(3) { background: #10b981; }

.mockup-body {
    display: flex;
    height: 350px;
}

.mockup-sidebar {
    width: 80px;
    background: var(--bg-light);
    border-right: 1px solid var(--border-color);
}

.mockup-content {
    flex: 1;
    padding: 1.5rem;
}

.mockup-line {
    height: 12px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 100%;
}
.mockup-line.title {
    width: 40%;
    height: 24px;
    margin-bottom: 2rem;
    background: var(--secondary-color);
}

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

.mockup-card {
    height: 100px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
}

/* Features */
.features {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
    padding: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: 12px;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

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

/* CTA */
.cta {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}
.cta .btn-primary:hover {
    background-color: var(--bg-light);
}

/* Footer */
footer {
    background-color: #111827;
    color: #9ca3af;
    padding: 4rem 0 2rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-container { flex-direction: row; }
}

.footer-info p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-links { flex-direction: row; gap: 2rem; }
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}
