/* MedScribe Hub - Liquid Glass Design System */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #3b82f6;
    --primary-dark: #1e40af;
    --accent-cyan: #06b6d4;
    --glass-white: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Glass Morphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%) brightness(110%);
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(110%);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(30px) saturate(200%) brightness(115%);
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(115%);
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Navigation */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 1200px;
    padding: 1rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Content Wrapper */
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10rem 2rem 4rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Content Sections */
.content-section {
    padding: 3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.content-section ul {
    list-style: none;
    margin: 1.5rem 0;
}

.content-section li {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.content-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: bold;
    font-size: 1.2rem;
}

.disclaimer-box {
    background: rgba(251, 191, 36, 0.2) !important;
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid #fbbf24 !important;
}

/* Features Detail Page */
.features-detail {
    display: grid;
    gap: 2rem;
}

.feature-detail-card {
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon-large {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-detail-card h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-detail-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.feature-detail-card ul {
    list-style: none;
}

.feature-detail-card li {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
}

.feature-detail-card li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #60a5fa;
    font-weight: bold;
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-form {
    padding: 3rem;
}

.contact-form h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    padding: 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.contact-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin: 0.3rem 0;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    padding: 3rem 2rem;
    text-align: center;
    margin: 4rem auto;
    max-width: 1200px;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    nav {
        width: 95%;
        padding: 0.8rem 1.5rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-links a {
        padding: 0.4rem 0.6rem;
    }

    .content-wrapper {
        padding: 8rem 1rem 2rem;
    }

    .content-section,
    .contact-form {
        padding: 2rem;
    }

    .content-section h2,
    .feature-detail-card h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }

    .logo span:last-child {
        display: none;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}
