/* NeoMedic Coming Soon - Styles */

/* CSS Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: hsl(187, 100%, 42%);
    --secondary: hsl(210, 80%, 45%);
    --background: hsl(200, 20%, 98%);
    --foreground: hsl(210, 40%, 15%);
    --muted: hsl(210, 20%, 45%);
    --card-bg: hsla(200, 20%, 98%, 0.85);
    --glass-border: hsla(0, 0%, 100%, 0.3);
    --overlay-color: hsla(210, 40%, 15%, 0.5);
    
    /* Typography */
    --font-body: 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --container-padding: 1.5rem;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--foreground);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background */
.background {
    position: fixed;
    inset: 0;
    background: url('../images/medical-bg.jpg') center/cover no-repeat;
    z-index: -2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-color);
    z-index: -1;
}

/* Glass Effect */
.glass {
    background: hsla(0, 0%, 100%, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .logo img {
        height: 74px;
    }
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: hsla(210, 40%, 25%, 0.9);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-link span {
    display: none;
}

@media (min-width: 640px) {
    .nav-link span {
        display: inline;
    }
}

/* Main Content */
.main {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--container-padding);
}

.content {
    text-align: center;
}

.title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .title {
        font-size: 4.5rem;
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.125rem;
    color: hsla(210, 40%, 20%, 0.95);
    max-width: 42rem;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.75;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .subtitle {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .subtitle {
        font-size: 1.5rem;
    }
}

.highlight {
    color: var(--primary);
    font-weight: 500;
}

.divider {
    margin: 2rem auto 0;
    width: 6rem;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 9999px;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    opacity: 0.6;
}

.social-icon:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 4px 12px hsla(187, 100%, 42%, 0.2);
    background: hsla(0, 0%, 100%, 0.85);
}

.social-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: hsla(210, 30%, 30%, 0.9);
}

.footer span {
    font-weight: 300;
}

.footer a {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
}

.footer img,
.footer-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.4s;
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.divider {
    transform-origin: center;
    animation: scaleIn 1s ease-out 0.5s forwards;
    transform: scaleX(0);
}
