/* Page-specific styles for index2.php (new Alesis landing) */
:root {
    --primary-blue: #005A9C;
    --secondary-blue: #4DA8DD;
    --dark-navy: #003D6B;
    --primary-navy: #003D6B;
    --white: #ffffff;
    --light-gray: #F8FAFC;
    --medium-gray: #E2E8F0;
    --off-white: #F8FAFC;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-dark: #1A202C;
    --text-medium: #4A5568;
    --text-light: #718096;
    --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);
}

body.index2-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background: var(--off-white);
}

/* Navigation */
.index2-page nav {
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.index2-page .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.index2-page .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.index2-page .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.index2-page .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.index2-page .nav-links a:hover {
    color: var(--primary-blue);
}

.index2-page .cta-button {
    background: var(--primary-blue);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.index2-page .cta-button:hover {
    background: var(--dark-navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.index2-page .section-cta {
    text-align: center;
    padding: 2rem 0;
    background: var(--light-gray);
}

/* Hero Section */
.index2-page .hero {
    background-image: url('../sleepingbeauty.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: center;
}

.index2-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 61, 107, 0.55) 0%, rgba(0, 90, 156, 0.45) 100%);
    z-index: 0;
}

.index2-page .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.index2-page .hero h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

.index2-page .hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 800px;
    opacity: 0.95;
    font-weight: 400;
}

.index2-page .credentials {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.index2-page .credential-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.index2-page .credential-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.index2-page .credential-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Section Containers */
.index2-page .section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.index2-page .section-alt {
    background: var(--white);
}

.index2-page .container {
    max-width: 1200px;
    margin: 0 auto;
}

.index2-page .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.index2-page .section-label {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.index2-page .section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.index2-page .section-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Clinical Evidence */
.index2-page .evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.index2-page .evidence-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
}

.index2-page .evidence-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.index2-page .evidence-stat {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-blue);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin-bottom: 0.5rem;
}

.index2-page .evidence-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.index2-page .evidence-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mechanism of Action */
.index2-page .moa-container {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 2rem;
}

.index2-page .moa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.index2-page .moa-step {
    position: relative;
}

.index2-page .step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.index2-page .step-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.index2-page .step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Clinical Protocol */
.index2-page .protocol-box {
    background: var(--white);
    border-left: 4px solid var(--secondary-blue);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.index2-page .protocol-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.index2-page .protocol-list {
    list-style: none;
    padding: 0;
}

.index2-page .protocol-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.index2-page .protocol-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-weight: 700;
}

/* Comparison Table */
.index2-page .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.index2-page .comparison-table thead {
    background: var(--dark-navy);
    color: white;
}

.index2-page .comparison-table th {
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.index2-page .comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-secondary);
}

.index2-page .comparison-table tr:last-child td {
    border-bottom: none;
}

.index2-page .comparison-table tbody tr:hover {
    background: var(--off-white);
}

.index2-page .checkmark {
    color: var(--secondary-blue);
    font-weight: 700;
    font-size: 1.2rem;
}

.index2-page .cross {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Practice Integration */
.index2-page .integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.index2-page .integration-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--light-gray);
}

.index2-page .integration-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.index2-page .integration-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.index2-page .integration-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.index2-page .cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.index2-page .cta-section h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.index2-page .cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.index2-page .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.index2-page .button-primary {
    background: var(--secondary-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-block;
}

.index2-page .button-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.index2-page .button-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-block;
}

.index2-page .button-secondary:hover {
    background: white;
    color: var(--primary-blue);
}

/* Footer */
.index2-page footer {
    background: var(--dark-navy);
    color: white;
    padding: 3rem 2rem 2rem;
}

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

.index2-page .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.index2-page .footer-links {
    list-style: none;
}

.index2-page .footer-links li {
    margin-bottom: 0.75rem;
}

.index2-page .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.index2-page .footer-links a:hover {
    color: white;
}

.index2-page .footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .index2-page .hero h1 {
        font-size: 2.5rem;
    }

    .index2-page .hero-subtitle {
        font-size: 1.1rem;
    }

    .index2-page .section-title {
        font-size: 2rem;
    }

    .index2-page .nav-links {
        display: none;
    }

    .index2-page .credentials {
        gap: 2rem;
    }

    .index2-page .cta-buttons {
        flex-direction: column;
    }
}

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

.index2-page .fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}
