/* ========================================
   Variables y Reset
   ======================================== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========================================
   Header / Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.nav__logo--highlight {
    color: var(--primary-color);
}

.nav__menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav__link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    margin-left: 1rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn--outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn--outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--block {
    display: block;
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    margin-top: 80px;
    padding: 5rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero__title--highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero__stat {
    display: flex;
    flex-direction: column;
}

.hero__stat--number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.hero__stat--label {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

.hero__mockup {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.mockup__window {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.mockup__bar {
    background: #f3f4f6;
    padding: 1rem;
    display: flex;
    gap: 0.5rem;
}

.mockup__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
}

.mockup__dot:nth-child(1) { background: #ef4444; }
.mockup__dot:nth-child(2) { background: #f59e0b; }
.mockup__dot:nth-child(3) { background: #10b981; }

.mockup__content {
    padding: 2rem;
}

.mockup__header {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.mockup__calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    height: 300px;
}

.mockup__calendar::before {
    content: '';
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0.5rem;
    opacity: 0.8;
}

/* ========================================
   Section Headers
   ======================================== */
.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section__subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    padding: 5rem 0;
    background: var(--bg-white);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature__card {
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature__description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   Professionals Section
   ======================================== */
.professionals {
    padding: 5rem 0;
    background: var(--bg-light);
}

.professionals__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.professional__card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.professional__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.professional__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.professional__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.professional__description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    padding: 5rem 0;
    background: var(--bg-white);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing__card {
    position: relative;
    padding: 2.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    transition: all 0.3s;
}

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

.pricing__card--featured {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, white 100%);
}

.pricing__badge {
    position: absolute;
    top: -15px;
    right: 2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing__header {
    margin-bottom: 2rem;
}

.pricing__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.pricing__price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.pricing__currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.pricing__amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.pricing__period {
    font-size: 1rem;
    color: var(--text-light);
    margin-left: 0.5rem;
}

.pricing__description {
    color: var(--text-light);
}

.pricing__features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing__feature {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    color: var(--text-dark);
}

.pricing__feature--disabled {
    color: var(--text-light);
    opacity: 0.6;
}

.pricing__check {
    margin-right: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.pricing__feature--disabled .pricing__check {
    color: var(--text-light);
}

.pricing__note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: white;
}

.cta__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta__description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact__item {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.contact__icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact__text {
    color: var(--text-light);
}

.contact__form {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form__input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 3rem 0 1.5rem;
    background: var(--text-dark);
    color: white;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer__logo--highlight {
    color: var(--primary-light);
}

.footer__description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

.footer__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 0.5rem;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer__link:hover {
    color: white;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 968px) {
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        box-shadow: var(--shadow-lg);
    }

    .nav__menu.active {
        left: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

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

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

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

@media (max-width: 640px) {
    .hero__title {
        font-size: 2rem;
    }

    .section__title {
        font-size: 2rem;
    }

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

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

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