/* ================================
   Ultimate Medicine - Styles
   ================================ */

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

:root {
    /* Colors */
    --violet-50: #f5f3ff;
    --violet-100: #ede9fe;
    --violet-200: #ddd6fe;
    --violet-300: #c4b5fd;
    --violet-400: #a78bfa;
    --violet-500: #8b5cf6;
    --violet-600: #7c3aed;
    --violet-700: #6d28d9;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --indigo-700: #4338ca;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --white: #ffffff;

    /* Fonts */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--slate-50);
    color: var(--slate-800);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Effects */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.06);
    transition: all var(--transition-slow);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

.glass-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

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

@keyframes pulseSlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(2deg); }
    50% { transform: translateY(-15px) rotateY(-5deg) rotateX(2deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-float {
    animation: float 8s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Background Elements */
.bg-elements {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, var(--slate-50), var(--white), rgba(245, 243, 255, 0.3));
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    animation: pulseSlow 4s ease-in-out infinite;
}

.orb-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
}

.orb-2 {
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    animation-delay: 2s;
}

.orb-3 {
    top: 40%;
    left: 60%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    animation-delay: 3s;
}

/* Content Wrapper */
.content {
    position: relative;
    z-index: 10;
}

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

.header-inner {
    position: relative;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, var(--violet-600), var(--indigo-600));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.2);
}

.logo-icon span {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--slate-800);
}

.logo-subtitle {
    display: none;
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-left: 0.75rem;
}

@media (min-width: 768px) {
    .logo-text {
        flex-direction: row;
        align-items: center;
    }
    .logo-subtitle {
        display: inline;
    }
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

/* Mobile nav open state */
.nav.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.nav.nav-open .nav-link,
.nav.nav-open .nav-btn {
    width: 100%;
    text-align: center;
}

.nav.nav-open .nav-btn {
    display: block;
}

/* Hamburger animation */
.mobile-menu-btn.menu-open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.menu-open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.menu-open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
    .nav.nav-open {
        position: static;
        flex-direction: row;
        background: none;
        padding: 0;
        border: none;
        box-shadow: none;
    }
}

.nav-link {
    font-size: 0.875rem;
    color: var(--slate-500);
    text-decoration: none;
    transition: color var(--transition-normal);
}

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

.nav-btn {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    background: linear-gradient(to right, var(--violet-600), var(--indigo-600));
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.2);
    transition: all var(--transition-normal);
}

.nav-btn:hover {
    background: linear-gradient(to right, var(--violet-500), var(--indigo-500));
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--slate-600);
    transition: all var(--transition-normal);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--violet-600), var(--indigo-600));
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--violet-500), var(--indigo-500));
}

.btn-primary .btn-arrow {
    transition: transform var(--transition-normal);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: var(--white);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--violet-300);
    background: var(--violet-50);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: var(--violet-100);
    border: 1px solid var(--violet-200);
}

.badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--violet-500);
    animation: pulse 2s ease-in-out infinite;
}

.badge span {
    font-size: 0.875rem;
    color: var(--violet-700);
    font-weight: 500;
}

.badge-light {
    background: var(--violet-100);
    border: 1px solid var(--violet-200);
}

.badge-light span {
    color: var(--violet-700);
    font-weight: 500;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    opacity: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

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

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

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--slate-500);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 1rem;
}

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

.hero-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero Visual - Book */
.hero-visual {
    opacity: 0;
}

.book-wrapper {
    position: relative;
    max-width: 20rem;
    margin: 0 auto;
}

.book-glow {
    position: absolute;
    inset: 0;
    filter: blur(48px);
    opacity: 0.4;
}

.book-glow::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, var(--violet-400), var(--indigo-500));
    border-radius: 1.5rem;
}

.book {
    position: relative;
    perspective: 1000px;
}

.book-cover {
    position: relative;
    aspect-ratio: 3/4;
    background: linear-gradient(to bottom right, var(--violet-700), var(--violet-600), var(--indigo-700));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2), 0 0 120px rgba(139, 92, 246, 0.1);
    transform: rotateY(-5deg) rotateX(2deg);
    transform-style: preserve-3d;
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1.5rem;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
}

.book-top {
    position: relative;
    z-index: 1;
}

.book-author {
    color: rgba(221, 214, 254, 0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.book-title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.book-tagline {
    margin-top: 0.75rem;
    color: rgba(245, 243, 255, 0.8);
    font-size: 0.875rem;
    font-style: italic;
    font-family: var(--font-display);
}

.book-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.pillar-symbol {
    position: relative;
    width: 8rem;
    height: 8rem;
}

.pillar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ring-outer {
    inset: 0;
}

.ring-middle {
    inset: 0.5rem;
    border-color: rgba(255, 255, 255, 0.3);
}

.ring-inner {
    inset: 1rem;
    border-color: rgba(255, 255, 255, 0.4);
}

.pillar-glow {
    position: absolute;
    inset: 2rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), transparent);
}

.pillar-dot {
    position: absolute;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    top: 50%;
    left: 50%;
    transform: rotate(var(--deg)) translateY(-3.5rem) translate(-50%, -50%);
}

.book-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.book-year,
.book-category {
    color: rgba(221, 214, 254, 0.6);
    font-size: 0.75rem;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
}

.stats-card {
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

.stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 3rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-700);
    font-weight: 500;
}

.stat-sublabel {
    font-size: 0.75rem;
    color: var(--slate-400);
    margin-top: 0.25rem;
}

/* Section Styles */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    margin-bottom: 6rem;
}

.section-header {
    max-width: 48rem;
    margin-bottom: 4rem;
}

.section-label {
    color: var(--violet-600);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
}

/* Pillars Section */
.pillars {
    padding: 6rem 0;
}

.pillars-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.pillar-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 1rem;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.pillar-card.active {
    background: linear-gradient(to bottom right, var(--violet-600), var(--indigo-600));
    box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.2);
}

.pillar-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--violet-200);
    transition: color var(--transition-normal);
}

.pillar-card.active .pillar-number {
    color: rgba(255, 255, 255, 0.3);
}

.pillar-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: var(--slate-800);
    transition: color var(--transition-normal);
}

.pillar-card.active .pillar-name {
    color: var(--white);
}

.pillar-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--slate-500);
    transition: color var(--transition-normal);
}

.pillar-card.active .pillar-description {
    color: var(--violet-100);
}

/* Innovations Section */
.innovations {
    padding: 6rem 0;
}

.innovations-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .innovations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.innovation-card {
    padding: 2rem;
    border-radius: 1rem;
}

.innovation-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.innovation-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, var(--violet-600), var(--indigo-600));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.2);
    flex-shrink: 0;
}

.innovation-icon span {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.875rem;
}

.innovation-line {
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, var(--violet-300), transparent);
}

.innovation-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
}

.innovation-subtitle {
    color: var(--violet-600);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.innovation-description {
    color: var(--slate-600);
    line-height: 1.7;
}

/* Outcomes Section */
.outcomes {
    padding: 6rem 0;
}

.outcomes-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(to bottom right, var(--violet-600), var(--violet-700), var(--indigo-700));
}

.outcomes-grid {
    display: grid;
    gap: 3rem;
    padding: 2.5rem;
}

@media (min-width: 768px) {
    .outcomes-grid {
        padding: 4rem;
    }
}

@media (min-width: 1024px) {
    .outcomes-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.outcomes-label {
    color: var(--violet-200);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.outcomes-title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

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

.outcomes-description {
    color: var(--violet-100);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.outcomes-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.outcome-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.outcome-dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--violet-300);
    flex-shrink: 0;
}

.outcome-item span {
    font-size: 0.875rem;
    color: var(--violet-100);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.client-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.client-icon {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
}

.client-label {
    font-size: 0.875rem;
    color: var(--white);
}

/* Author Section */
.author {
    padding: 6rem 0;
}

.author-grid {
    display: grid;
    gap: 3rem;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .author-grid {
        grid-template-columns: 2fr 3fr;
    }
}

.author-image-wrapper {
    position: relative;
}

.author-image-container {
    aspect-ratio: 4/5;
    border-radius: 1rem;
    overflow: hidden;
}

.author-image-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, var(--violet-100), var(--indigo-100));
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-placeholder {
    text-align: center;
}

.author-placeholder-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(to bottom right, var(--violet-200), var(--indigo-200));
    border: 4px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.author-placeholder p {
    font-size: 0.875rem;
    color: var(--slate-400);
}

.author-image-decoration {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    border-radius: 1rem;
    border: 2px solid var(--violet-200);
    z-index: -1;
}

.author-info .section-title {
    margin-bottom: 1.5rem;
}

.author-bio-main {
    font-size: 1.125rem;
    color: var(--slate-700);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.author-bio {
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credential-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, var(--violet-600), var(--indigo-600));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(139, 92, 246, 0.2);
    flex-shrink: 0;
}

.credential-item span {
    color: var(--slate-700);
    font-size: 0.875rem;
}

/* Collaboration Section */
.collaboration {
    padding: 6rem 0;
}

.collaboration-card {
    border-radius: 1.5rem;
    padding: 2.5rem;
}

@media (min-width: 768px) {
    .collaboration-card {
        padding: 4rem;
    }
}

.collaboration-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.collaboration-content .badge {
    margin-bottom: 2rem;
}

.collaboration-title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 1.5rem;
}

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

.collaboration-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.collaboration-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: var(--white);
    border: 1px solid var(--violet-200);
    font-size: 0.875rem;
    color: var(--slate-700);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

.contact-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.contact-content .section-title {
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: inline-block;
    padding: 2rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.8;
}

.contact-info strong {
    color: var(--slate-800);
}

.contact-phone {
    color: var(--violet-600);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--slate-200);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-copyright {
    color: var(--slate-400);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-links a {
    color: var(--slate-500);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--violet-600);
}

.footer-separator {
    color: var(--slate-300);
}

/* Featured Credential (in Author section) */
.featured-credential {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.06) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
}

.featured-credential-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.featured-credential-content {
    flex: 1;
}

.featured-credential-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--violet-600);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.featured-credential-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--slate-800);
    line-height: 1.2;
}

.featured-credential-org {
    font-size: 0.875rem;
    color: var(--slate-600);
    margin-top: 0.125rem;
}

/* Recognition Section */
.recognition {
    padding: 4rem 0;
}

.recognition-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06) 0%, rgba(236, 72, 153, 0.04) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.recognition-badge {
    font-size: 4rem;
    line-height: 1;
    flex-shrink: 0;
}

.recognition-content {
    flex: 1;
}

.recognition-year {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, var(--violet-700), var(--violet-600));
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.recognition-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--slate-800);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.recognition-org {
    font-size: 1.125rem;
    color: var(--violet-600);
    font-weight: 500;
    margin: 0 0 1rem 0;
}

.recognition-description {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin: 0 0 1.25rem 0;
}

.recognition-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--violet-600);
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.recognition-link:hover {
    color: var(--violet-700);
}

@media (max-width: 640px) {
    .recognition-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .recognition-badge {
        font-size: 3rem;
    }

    .recognition-title {
        font-size: 1.5rem;
    }

    .featured-credential {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 1rem;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    color: var(--slate-700);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lang-current:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--violet-300);
}

.lang-current svg {
    transition: transform var(--transition-normal);
}

.lang-switcher:hover .lang-current svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    min-width: 120px;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 100;
    overflow: hidden;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all var(--transition-fast);
}

.lang-option:hover {
    background: var(--slate-50);
    color: var(--violet-600);
}

.lang-option.active {
    background: var(--violet-50);
    color: var(--violet-600);
    font-weight: 500;
}

@media (max-width: 768px) {
    .lang-switcher {
        position: absolute;
        right: 4rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* =========================================
   Site Credit - MontPC Standard
   ========================================= */
.site-credit {
    padding: 0.5rem 0;
    text-align: center;
    background-color: inherit;
}

.site-credit p {
    margin: 0;
    font-size: 0.625rem;
    font-weight: 300;
}

.site-credit a {
    color: #5b4a7a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-credit a:hover {
    color: #a78bfa;
}
