/* c:\xampp\htdocs\clinical-suite\css\landing.css */
:root {
    --color-primary: #862633; /* The Valley Burgundy */
    --color-primary-light: #a52a2a;
    --color-secondary: #2c3e50; /* Dark Blue-Gray */
    --color-accent: #ffc72c; /* The Valley Gold */
    --color-bg: #f4f6f8;
    --color-surface: #ffffff;
    --color-text: #2c3e50;
    --color-text-light: #6c757d;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.landing-header {
    background-color: var(--color-surface);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #4a151c 100%);
    color: white;
    padding: 8rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../graphics/BigQ_nobackground.png') no-repeat center center;
    background-size: contain;
    opacity: 0.35;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 199, 44, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    animation: fadeInDown 0.8s ease-out forwards;
}

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

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    color: #f1f5f9;
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Tenant Portals */
.tenant-section {
    padding: 2rem 5% 5rem;
    max-width: 1100px;
    margin: -4rem auto 0;
    position: relative;
    z-index: 20;
}

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

.tenant-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tenant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--color-accent);
    transition: height 0.3s ease;
}

.tenant-card.primary::before {
    background: var(--color-primary);
}

.tenant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1);
    background: rgba(255, 255, 255, 1);
}

.tenant-card:hover::before {
    height: 10px;
}

.tenant-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.tenant-card:hover .tenant-icon {
    transform: scale(1.1);
}

.tenant-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
    font-weight: 700;
}

.tenant-card p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

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

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

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

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

/* Features */
.features-section {
    padding: 6rem 5%;
    background-color: var(--color-surface);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-secondary);
}

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

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

.feature-icon {
    width: 64px;
    height: 64px;
    background-color: #eff6ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.feature-item p {
    color: var(--color-text-light);
}

/* Footer */
.landing-footer {
    background-color: var(--color-secondary);
    color: #94a3b8;
    text-align: center;
    padding: 3rem 5%;
}

.landing-footer p {
    margin-bottom: 0;
}
