/* 
   MediWeb Landing & Login Styles
   Design Style: Premium, Clinical Teal/Blue, Glassmorphism, Micro-animations
*/

.landing-body {
    background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.05) 0%, rgba(15, 118, 110, 0.05) 90.1%), var(--bg-app);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 24px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 48px;
    min-height: 75vh;
}

@media (max-width: 968px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
}

.hero-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-tag {
    align-self: flex-start;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 968px) {
    .hero-tag {
        align-self: center;
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
    }
}

.hero-graphics {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Simulated Medical Dashboard Preview Graphic */
.preview-card-mock {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    width: 380px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
}
.mock-dot:nth-child(1) { background: #ef4444; }
.mock-dot:nth-child(2) { background: #f59e0b; }
.mock-dot:nth-child(3) { background: #10b981; }

.mock-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mock-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-app);
    padding: 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
}

.mock-stat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-stat-details {
    display: flex;
    flex-direction: column;
}

.mock-stat-val {
    font-size: 16px;
    font-weight: 700;
}

.mock-stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
}

.mock-chart {
    height: 100px;
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
    padding-top: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.mock-bar {
    width: 25px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
}

.mock-bar:nth-child(even) {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.2), var(--success));
}

/* Features Grid */
.features-section {
    padding: 80px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-app);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Access / Login Section */
.access-section {
    padding: 100px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 450px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.login-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.login-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.login-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

/* Loader Animation for Login Button */
.btn-loader {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer Section */
footer.landing-footer {
    background: var(--bg-app);
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}
