:root {
    /* Exact Colors from aktion-barrierefreiheit.org */
    --primary: #E93B7F; /* Vibrant pink from their buttons */
    --primary-dark: #d12a6a; /* Darker pink for hover */
    --primary-light: #f05a9a; /* Lighter pink */
    --secondary: #2299dd; /* Their blue accent */
    --accent: #E93B7F;
    --success: #10b981; /* emerald-500 */
    --warning: #f59e0b; /* amber-500 */
    --error: #ef4444; /* red-500 */
    
    /* Zinc Color Palette (from their CSS) */
    --zinc-50: #fafafa;
    --zinc-100: #f4f4f5;
    --zinc-200: #e4e4e7;
    --zinc-300: #d4d4d8;
    --zinc-400: #a1a1aa;
    --zinc-500: #71717a;
    --zinc-600: #52525b;
    --zinc-700: #3f3f46;
    --zinc-800: #27272a;
    --zinc-900: #18181b;
    
    /* Background Colors - Light theme like aktion-barrierefreiheit.org */
    --bg-primary: #ffffff;
    --bg-secondary: var(--zinc-50);
    --bg-tertiary: var(--zinc-100);
    --dark: var(--zinc-900);
    --dark-light: var(--zinc-800);
    --gray: var(--zinc-500);
    --gray-light: var(--zinc-300);
    --light: var(--zinc-50);
    --white: #ffffff;
    
    /* Text Colors */
    --text-primary: var(--zinc-900);
    --text-secondary: var(--zinc-600);
    --text-tertiary: var(--zinc-500);
    
    /* Professional Gradients - Matching their style */
    --gradient-1: linear-gradient(135deg, #E93B7F 0%, #d12a6a 100%);
    --gradient-2: linear-gradient(135deg, #2299dd 0%, #1e88d1 100%);
    --gradient-3: linear-gradient(135deg, #E93B7F 0%, #2299dd 100%);
    --gradient-hero: linear-gradient(135deg, #E93B7F 0%, #d12a6a 50%, #2299dd 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

body {
    font-family: 'Atkinson Hyperlegible', 'Atkinson Hyperlegible Next', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    /* Improved contrast for accessibility */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip Links for Keyboard Navigation - BFSG Compliance */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    border-radius: 0 0 8px 0;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

/* Screen Reader Only Content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only:focus {
    position: static;
    width: auto;
    height: auto;
    padding: inherit;
    margin: inherit;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--zinc-200);
    box-shadow: var(--shadow-sm);
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
    pointer-events: auto;
    user-select: none;
}

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

.lang-btn:hover:not(.active) {
    color: var(--primary);
    background: var(--bg-secondary);
}

.lang-btn:active {
    transform: scale(0.95);
}

.lang-btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Enhanced Focus Indicators for All Interactive Elements - BFSG Compliance */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure sufficient color contrast for text */
.nav-menu a,
.mobile-nav-menu a,
.footer-links a {
    color: var(--text-primary);
}

.nav-menu a:hover,
.mobile-nav-menu a:hover {
    color: var(--primary);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--zinc-200);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-content {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu-content {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--zinc-200);
}

.mobile-nav-menu a {
    display: block;
    padding: 1rem 0;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--primary);
}

.mobile-menu-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid var(--zinc-200);
}

.language-switcher.mobile {
    width: 100%;
    justify-content: center;
    display: none;
}

.mobile-menu-overlay.active .language-switcher.mobile {
    display: flex;
}

.mobile-cta {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
    stroke: currentColor;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(233, 59, 127, 0.1);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(34, 153, 221, 0.08);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(209, 42, 106, 0.1);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-analyze-form {
    max-width: 800px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease 0.3s both;
    position: relative;
    z-index: 10;
}

.hero-analyze-form .analyze-form {
    position: relative;
    z-index: 10;
}

.analyze-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.hero-analyze-form .analyze-input-cta {
    flex: 1;
    padding: 1.75rem 2rem;
    background: var(--white);
    border: 3px solid var(--zinc-300);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
    pointer-events: auto;
    cursor: text;
}

.analyze-submit-btn {
    padding: 1.75rem 3rem;
    white-space: nowrap;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 16px;
    background: var(--gradient-hero);
    border: none;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.analyze-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.analyze-submit-btn:active {
    transform: translateY(0);
}

.hero-analyze-form .analyze-input-cta:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(233, 59, 127, 0.15), var(--shadow-xl);
    transform: translateY(-2px);
}

.hero-analyze-form .analyze-input-cta::placeholder {
    color: var(--zinc-400);
    font-weight: 400;
}

.hero-analyze-form .results-container {
    margin-top: 2rem;
    background: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--zinc-200);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.hero-analyze-form .loading-indicator {
    margin-top: 2rem;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--zinc-300);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--zinc-50);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.5s both;
}

/* Single stat styling */
.hero-stats .stat {
    flex: 0 0 auto;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--zinc-200);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: var(--primary);
    border-left-width: 6px;
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
    flex-shrink: 0;
    stroke: currentColor;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Analyze Section */
.analyze {
    padding: 2rem 0 4rem;
    background: var(--bg-primary);
}

.analyze-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.analyze-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analyze-input-cta {
    width: 100%;
    padding: 1.75rem 2rem;
    background: var(--white);
    border: 3px solid var(--zinc-300);
    border-radius: 16px;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.analyze-input-cta:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(233, 59, 127, 0.15), var(--shadow-lg);
    transform: translateY(-2px);
}

.analyze-input-cta::placeholder {
    color: var(--zinc-400);
    font-weight: 400;
}

.input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--zinc-300);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(233, 59, 127, 0.1);
}

.input-group input::placeholder {
    color: var(--zinc-400);
}

.btn-analyze {
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-analyze:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.email-option label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.email-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.email-option input[type="email"] {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--zinc-300);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-option input[type="email"]:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(233, 59, 127, 0.1);
}

.loading-indicator {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--zinc-200);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.results-container {
    margin-top: 2rem;
    background: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--zinc-200);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

/* General Info Section */
.result-general-info {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 2px solid var(--zinc-200);
}

.result-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.result-explanation-text {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

/* Priority Issues Section */
.result-priority-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--zinc-200);
    box-shadow: var(--shadow-md);
}

.result-priority-header {
    margin-bottom: 2rem;
    text-align: center;
}

.result-priority-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.result-priority-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.result-priority-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.result-priority-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--zinc-300);
    transition: all 0.3s ease;
}

.result-priority-item.error {
    border-left-color: #ef4444;
    background: #fef2f2;
}

.result-priority-item.warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.result-priority-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.result-priority-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
}

.result-priority-content {
    flex: 1;
}

.result-priority-header-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.result-priority-icon {
    flex-shrink: 0;
}

.result-priority-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.result-priority-item-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.result-priority-recommendation {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    margin-top: 0.5rem;
}

.result-priority-recommendation svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.result-priority-recommendation span {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.result-more-issues {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.result-more-issues p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Email Capture Section */
.result-email-capture {
    margin: 3rem 0;
    background: var(--gradient-3);
    border-radius: 20px;
    padding: 3rem;
    color: var(--white);
    text-align: center;
}

.email-capture-content {
    max-width: 600px;
    margin: 0 auto;
}

.email-capture-icon {
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.email-capture-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.email-capture-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.email-capture-form {
    margin-top: 2rem;
}

.email-capture-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.email-capture-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.email-capture-input:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.email-capture-input::placeholder {
    color: var(--zinc-400);
}

.email-capture-btn {
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.email-capture-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.email-capture-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.email-capture-note {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.email-capture-success {
    padding: 2rem;
}

.email-capture-success svg {
    color: var(--white);
    margin-bottom: 1rem;
}

.email-capture-success h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.email-capture-success p {
    color: var(--white);
    opacity: 0.9;
}

/* Detailed Results Section */
.result-detailed-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--zinc-200);
}

.result-detailed-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

/* New Results Design */
.result-header-new {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--zinc-200);
}

.result-score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    flex-shrink: 0;
    position: relative;
}

.result-score-number {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.result-score-label {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.7;
    margin-top: -0.25rem;
}

.result-header-content {
    flex: 1;
    position: relative;
}

.result-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.result-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.result-score-icon {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.2;
    width: 80px;
    height: 80px;
}

.result-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.result-summary-item {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--zinc-200);
    font-weight: 600;
    color: var(--text-primary);
}

.result-summary-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.result-items-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-item-new {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--zinc-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item-new::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.result-item-new:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.result-item-new:hover::before {
    width: 6px;
}

.result-item-new.success {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.result-item-new.success::before {
    background: var(--success);
}

.result-item-new.warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.result-item-new.warning::before {
    background: var(--warning);
}

.result-item-new.error {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.result-item-new.error::before {
    background: var(--error);
}

.result-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--white);
    border: 2px solid var(--zinc-200);
}

.result-item-new.success .result-item-icon {
    color: var(--success);
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.1);
}

.result-item-new.warning .result-item-icon {
    color: var(--warning);
    border-color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.result-item-new.error .result-item-icon {
    color: var(--error);
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.1);
}

.result-item-content {
    flex: 1;
}

.result-item-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.result-item-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.result-item-recommendation {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    margin-top: 1rem;
}

.result-item-recommendation svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.result-item-recommendation span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.send-email-btn-new {
    margin-top: 2rem;
    padding: 1.25rem 2rem;
    background: var(--gradient-3);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.send-email-btn-new svg {
    flex-shrink: 0;
}

.send-email-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Legacy styles for backwards compatibility */
.result-header {
    margin-bottom: 2rem;
}

.result-score {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

.result-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.result-item.success {
    border-left-color: var(--success);
}

.result-item.warning {
    border-left-color: var(--warning);
}

.result-item.error {
    border-left-color: var(--error);
}

.result-item h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.result-item p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.send-email-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: var(--gradient-3);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.send-email-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-point {
    display: flex;
    gap: 1.5rem;
    background: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--zinc-200);
    border-left: 4px solid var(--secondary);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.about-point:hover {
    transform: translateX(5px);
    background: var(--white);
    border-left-color: var(--primary);
    border-left-width: 6px;
    box-shadow: var(--shadow-md);
}

.point-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    flex-shrink: 0;
    stroke: currentColor;
}

.about-point h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.about-point p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--zinc-200);
    padding: 4rem 0 2rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-brand .logo-icon {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    color: var(--primary);
}

.footer-brand .logo-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li::before {
    content: '•';
    color: var(--text-primary);
    margin-right: 0.5rem;
    font-weight: 400;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #2299dd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--zinc-200);
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-desktop {
        gap: 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Ensure mobile menu language switcher is hidden when menu is closed */
    .language-switcher.mobile {
        display: none;
    }
    
    .mobile-menu-overlay.active .language-switcher.mobile {
        display: flex;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
        font-size: 1rem;
    }
    
    .hero-analyze-form {
        max-width: 100%;
        margin: 0 auto 2rem;
        padding: 0 1rem;
    }
    
    .analyze-input-wrapper {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-analyze-form .analyze-input-cta {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        border-width: 2px;
        width: 100%;
    }
    
    .analyze-submit-btn {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 1rem;
    }
    
    .hero-analyze-form .results-container {
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0;
        margin-top: 1.5rem;
        padding: 0 1rem;
        justify-content: center;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Results Mobile */
    .result-header-new {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .result-score-circle {
        width: 100px;
        height: 100px;
        border-width: 5px;
    }
    
    .result-score-number {
        font-size: 2.5rem;
    }
    
    .result-title {
        font-size: 1.75rem;
    }
    
    .result-subtitle {
        font-size: 0.95rem;
    }
    
    .result-summary {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .result-summary-item {
        min-width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .result-item-new {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .result-item-icon {
        width: 40px;
        height: 40px;
    }
    
    .result-item-content h4 {
        font-size: 1.1rem;
    }
    
    /* Features Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    /* About Section Mobile */
    .about {
        padding: 4rem 0;
    }
    
    .about-point {
        flex-direction: column;
        gap: 1rem;
    }
    
    .point-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Input Group Mobile */
    .input-group {
        flex-direction: column;
    }
    
    /* Container Mobile */
    .container {
        padding: 0 1rem;
    }
    
    /* Section Titles Mobile */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* About Page Styles */
.about-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
    text-align: center;
}

.about-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.about-main {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.about-section {
    margin-bottom: 5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.about-content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-content-text p {
    margin-bottom: 1.5rem;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.about-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    color: var(--text-secondary);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Timeline */
.about-timeline {
    margin: 3rem 0;
    position: relative;
    padding-left: 2rem;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-date {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.standard-card {
    background: var(--white);
    border: 1px solid var(--zinc-200);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.standard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.standard-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.standard-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.standard-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Participation Grid */
.participation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.participation-item {
    background: var(--bg-secondary);
    border: 1px solid var(--zinc-200);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--primary);
}

.participation-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.participation-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.benefit-item {
    background: var(--white);
    border: 1px solid var(--zinc-200);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.benefit-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Highlight Box */
.about-highlight {
    background: var(--bg-secondary);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
}

.about-highlight h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-highlight p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About CTA */
.about-cta {
    background: var(--gradient-3);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    margin-top: 5rem;
    color: var(--white);
}

.about-cta h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

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

.about-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.about-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Mobile Styles for About Page */
@media (max-width: 768px) {
    .about-hero {
        padding: 6rem 0 3rem;
    }
    
    .about-section {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }
    
    .standards-grid,
    .participation-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .about-cta {
        padding: 3rem 2rem;
        margin-top: 3rem;
    }
    
    /* Priority Issues Mobile */
    .result-priority-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .result-priority-title {
        font-size: 1.5rem;
    }
    
    .result-priority-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .result-priority-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .result-priority-header-item {
        flex-wrap: wrap;
    }
    
    .result-priority-item-title {
        font-size: 1.1rem;
    }
    
    .result-explanation {
        padding: 1.25rem;
    }
    
    .result-explanation-text {
        font-size: 1rem;
    }
    
    /* Email Capture Mobile */
    .result-email-capture {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .email-capture-title {
        font-size: 1.5rem;
    }
    
    .email-capture-text {
        font-size: 1rem;
    }
    
    .email-capture-input-group {
        flex-direction: column;
    }
    
    .email-capture-btn {
        width: 100%;
        justify-content: center;
    }
    
    .result-detailed-title {
        font-size: 1.5rem;
    }
    
    /* Resources Page Mobile */
    .resources-hero {
        padding: 4rem 1rem 2rem;
    }
    
    .resources-hero-title {
        font-size: 2rem;
    }
    
    .resource-category {
        margin: 3rem 0;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
}

/* Resources Page Styles */
.resources-hero {
    padding: 8rem 0 4rem;
    background: var(--bg-primary);
    text-align: center;
}

.resources-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.resources-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.resources-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

/* Table of Contents */
.resources-toc {
    background: var(--white);
    border: 2px solid var(--zinc-200);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.resources-toc-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.resources-toc-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.resources-toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.resources-toc-card {
    background: var(--bg-secondary);
    border: 2px solid var(--zinc-200);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.resources-toc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resources-toc-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px -4px rgba(233, 59, 127, 0.2);
}

.resources-toc-card:hover::before {
    transform: scaleX(1);
}

.resources-toc-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.resources-toc-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.resources-toc-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.resource-category {
    margin: 5rem 0;
    scroll-margin-top: 100px; /* Account for fixed navbar when scrolling */
}

/* Cross-Page Navigation */
.cross-nav {
    background: var(--bg-primary);
    padding: 5rem 0;
    border-top: 1px solid var(--zinc-200);
}

.cross-nav-content {
    text-align: center;
}

.cross-nav-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cross-nav-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cross-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cross-nav-card {
    background: var(--bg-secondary);
    border: 2px solid var(--zinc-200);
    border-radius: 16px;
    padding: 2.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cross-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.cross-nav-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 12px 24px -6px rgba(233, 59, 127, 0.25);
}

.cross-nav-card:hover::before {
    transform: scaleX(1);
}

.cross-nav-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.cross-nav-card:hover .cross-nav-icon {
    transform: scale(1.1) rotate(5deg);
}

.cross-nav-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cross-nav-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
}

.cross-nav-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cross-nav-card:hover .cross-nav-link {
    color: var(--secondary);
    transform: translateX(4px);
}

.resource-category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resource-category-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.resource-category-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.resource-category-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--zinc-200);
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.resource-card:hover::before {
    transform: scaleY(1);
}

.resource-card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233, 59, 127, 0.1);
    border-radius: 12px;
    padding: 0.75rem;
}

.resource-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.resource-card-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.resource-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.resource-card:hover .resource-card-link {
    gap: 0.75rem;
}

.resources-cta {
    margin-top: 6rem;
    padding: 4rem 2rem;
    background: var(--gradient-3);
    border-radius: 24px;
    text-align: center;
    color: var(--white);
}

.resources-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
}

.resources-cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.resources-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.resources-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Active nav link */
.nav-menu a.active,
.mobile-nav-menu a.active {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .resources-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .resources-hero-title {
        font-size: 2rem;
    }
    
    .resources-hero-subtitle {
        font-size: 1.1rem;
    }

    .resources-toc {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .resources-toc-title {
        font-size: 1.5rem;
    }

    .resources-toc-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .resources-toc-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .resources-toc-card {
        padding: 1.25rem;
    }

    .resources-toc-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }

    .resources-toc-card h3 {
        font-size: 1rem;
    }

    .resources-toc-card p {
        font-size: 0.85rem;
    }
    
    .resource-category {
        margin: 3rem 0;
    }
    
    .resource-category-title {
        font-size: 2rem;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .resources-cta {
        padding: 3rem 1.5rem;
        margin-top: 4rem;
    }
    
    .resources-cta-title {
        font-size: 2rem;
    }
    
    .resources-cta-text {
        font-size: 1.1rem;
    }

    .cross-nav {
        padding: 3rem 0;
    }

    .cross-nav-title {
        font-size: 2rem;
    }

    .cross-nav-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .cross-nav-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cross-nav-card {
        padding: 2rem 1.5rem;
    }

    .cross-nav-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1.25rem;
    }

    .cross-nav-card h3 {
        font-size: 1.3rem;
    }

    .cross-nav-card p {
        font-size: 0.95rem;
    }
}

/* Join Page Styles */
.join-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    background: var(--bg-primary);
}

.join-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.join-content {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.join-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.join-intro-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.join-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.join-form-container {
    background: var(--white);
    border-radius: 16px;
    padding: 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.join-form-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-align: center;
}

.join-form-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.join-form {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-section {
    border-bottom: 1px solid var(--zinc-200);
    padding-bottom: 2rem;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.form-section-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--zinc-200);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-input:focus,
.form-textarea:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(233, 59, 127, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.disability-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.disability-option {
    display: block;
    cursor: pointer;
}

.disability-checkbox {
    display: none;
}

.disability-card {
    background: var(--bg-secondary);
    border: 2px solid var(--zinc-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.disability-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 59, 127, 0.15);
}

.disability-checkbox:checked + .disability-card {
    border-color: var(--primary);
    background: rgba(233, 59, 127, 0.05);
    box-shadow: 0 4px 12px rgba(233, 59, 127, 0.2);
}

.disability-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.disability-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.disability-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.join-success {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin: 0 auto 1.5rem;
}

.join-success h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.join-success p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .join-hero {
        padding: 6rem 1rem 3rem;
    }

    .join-hero-title {
        font-size: 2rem;
    }

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

    .join-intro-title {
        font-size: 2rem;
    }

    .join-form-container {
        padding: 2rem 1.5rem;
    }

    .join-form-title {
        font-size: 1.5rem;
    }

    .disability-options {
        grid-template-columns: 1fr;
    }

    .disability-card {
        padding: 1.25rem;
    }
}

