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

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    background: #6366f1;
    border-radius: 25px;
    padding: 3px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.lang-btn {
    background: none;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    min-width: 40px;
}

.lang-btn.active {
    background: white;
    color: #6366f1;
}

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #6366f1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo svg {
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: #6366f1;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu span {
    width: 22px;
    height: 2px;
    background: #333;
    margin: 2px 0;
    transition: 0.3s;
}

/* Modal Styles - Mobile Optimized */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    max-width: 500px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.5s ease;
    margin-bottom: 20px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #e2e8f0;
    transform: rotate(90deg);
}

.modal-close svg {
    width: 16px;
    height: 16px;
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.header-icon {
    margin-bottom: 0.5rem;
}

.header-icon svg {
    width: 40px;
    height: 40px;
}

.modal-header h2 {
    color: #6366f1;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.modal-header p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Language Switch for Forms */
.language-switch {
    display: flex;
    gap: 0.3rem;
    justify-content: center;
    margin: 1rem 0 0 0;
}

.lang-switch-btn {
    padding: 0.4rem 0.8rem;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    min-width: 60px;
}

.lang-switch-btn.active {
    border-color: #6366f1;
    background: #6366f1;
    color: white;
}

/* Form Language Switching */
.lang-form {
    display: none;
}

.lang-form.active {
    display: block;
}

/* Form Styles - Mobile Optimized */
.evaluation-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group label svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
}

/* Button Styles - Mobile Optimized */
.btn-primary, .btn-secondary {
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 48px; /* Touch-friendly height */
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    border: 2px solid #6366f1;
    color: #6366f1;
}

.btn-secondary:hover {
    background: #6366f1;
    color: white;
}

.btn-secondary.small {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    width: auto;
    min-height: auto;
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

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

/* Results Styles - Mobile Optimized */
.results-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.results-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    text-align: center;
}

.results-header h3 {
    color: #6366f1;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.results-header h3 svg {
    width: 20px;
    height: 20px;
}

.result-tab-nav {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.6rem 0.8rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.8rem;
    min-height: 44px; /* Touch-friendly */
}

.tab-btn svg {
    width: 14px;
    height: 14px;
}

.tab-btn.active {
    color: #6366f1;
    border-bottom-color: #6366f1;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.knowledge-item, .project-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-left: 3px solid #6366f1;
}

.knowledge-item h4, .project-item h4 {
    color: #333;
    margin-bottom: 0.4rem;
    font-size: 1rem;
    line-height: 1.3;
}

.knowledge-item .priority {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.priority.high {
    background: #fee2e2;
    color: #dc2626;
}

.priority.medium {
    background: #fef3c7;
    color: #d97706;
}

.priority.low {
    background: #ecfdf5;
    color: #059669;
}

.difficulty {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    background: #e0e7ff;
    color: #3730a3;
}

.strategy-content {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

.strategy-content h4 {
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1rem;
}

.results-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #f1f5f9;
}

/* Main content styles */
.main-content {
    transition: filter 0.5s ease, pointer-events 0.3s ease;
}

.main-content.active {
    filter: none !important;
    pointer-events: auto !important;
}

/* Hero Section - Mobile Optimized */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.4;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Compact Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

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

.stat-number {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Hero CTA - Mobile Optimized */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    min-height: 48px; /* Touch-friendly */
    justify-content: center;
}

.cta-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cta-button.primary {
    background: white;
    color: #6366f1;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Compact Section Headers */
.section-header-compact {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header-compact h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.section-header-compact p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Compact Pillars Section */
.pillars-section {
    padding: 60px 0;
    background: #f8fafc;
}

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

.pillar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.pillar-card.featured {
    border-color: #6366f1;
    transform: scale(1.02);
}

.pillar-icon {
    margin-bottom: 1rem;
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #333;
}

.pillar-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.pillar-link {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.pillar-link:hover {
    color: #4f46e5;
}

/* Compact Program Overview */
.program-overview {
    padding: 60px 0;
    background: white;
}

.process-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    max-width: 200px;
    flex: 1;
    min-width: 180px;
}

.step-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
    font-size: 1.1rem;
}

.process-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.process-step p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.flow-arrow {
    color: #6366f1;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0.5rem;
}

/* Compact Learning Tracks */
.tracks-section {
    padding: 60px 0;
    background: #f8fafc;
}

.tracks-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.track-compact {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.track-compact:hover {
    transform: translateY(-5px);
}

.track-compact.featured {
    border-color: #6366f1;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #6366f1;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.track-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.track-header h3 {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.track-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #6366f1;
}

.track-compact p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.track-duration {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Compact Metrics Section */
.metrics-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.metric-item {
    padding: 1rem;
}

.metric-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Compact CTA Section */
.cta-section-compact {
    padding: 50px 0;
    background: #1f2937;
    color: white;
    text-align: center;
}

.cta-content-compact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content-compact p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons-compact {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Language Content */
.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* Page-specific styles */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.gray-bg {
    background: #f8fafc;
}

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.section-header p {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Human Alignment Page Styles */
.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.capability-section h3.section-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.section-title.green {
    color: #10b981;
    border-bottom-color: #10b981;
}

.section-title.orange {
    color: #f59e0b;
    border-bottom-color: #f59e0b;
}

.capability-cards {
    display: grid;
    gap: 1rem;
}

.capability-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.capability-card:hover {
    transform: translateY(-3px);
}

.capability-icon {
    margin-bottom: 1rem;
}

.capability-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.capability-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Framework Steps */
.framework-steps {
    max-width: 900px;
    margin: 0 auto;
}

.framework-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.step-letter {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.step-content ul {
    list-style: none;
    padding-left: 0;
}

.step-content li {
    padding: 0.25rem 0;
    color: #666;
    font-size: 0.9rem;
}

.step-content li::before {
    content: '→';
    color: #6366f1;
    margin-right: 0.5rem;
}

/* Skills Mastery */
.skills-mastery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #6366f1;
}

.skill-items {
    display: grid;
    gap: 1rem;
}

.skill-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
}

.skill-icon {
    flex-shrink: 0;
}

.skill-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.skill-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* AI Learning Page Styles */
.hero-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.demo-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.demo-icon {
    margin-bottom: 1rem;
}

.demo-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.demo-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Methodology Grid */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.method-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
}

.method-number {
    position: absolute;
    top: -12px;
    left: 1.5rem;
    background: #6366f1;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
}

.method-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #333;
    margin-top: 0.75rem;
}

.method-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.method-benefits {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.benefit-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Tutor Features */
.tutor-features {
    margin-top: 2rem;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.feature-showcase.reverse {
    direction: rtl;
}

.feature-showcase.reverse > * {
    direction: ltr;
}

.showcase-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.showcase-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.4rem 0;
    color: #666;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    color: #10b981;
    margin-right: 0.75rem;
    font-weight: bold;
}

/* Interface Mockups */
.tutor-interface, .progress-dashboard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 1.25rem;
}

.interface-header, .dashboard-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.ai-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #6366f1;
}

.interface-content {
    display: grid;
    gap: 0.75rem;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 85%;
    font-size: 0.85rem;
    line-height: 1.5;
}

.ai-message {
    background: #f3f4f6;
    color: #333;
    justify-self: start;
}

.user-message {
    background: #6366f1;
    color: white;
    justify-self: end;
}

.progress-metrics {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #6366f1;
}

.metric-label {
    font-size: 0.75rem;
    color: #666;
}

.progress-chart {
    display: flex;
    gap: 0.4rem;
    align-items: end;
    height: 50px;
    justify-content: center;
}

.chart-bar {
    width: 12px;
    background: #6366f1;
    border-radius: 2px;
    min-height: 8px;
}

/* Acceleration Techniques */
.acceleration-techniques {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.technique-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-5px);
}

.technique-icon {
    margin-bottom: 1rem;
}

.technique-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.technique-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.technique-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.stat {
    text-align: center;
}


.stat-label {
    font-size: 0.75rem;
    color: #666;
}

/* Learning Outcomes */
.outcomes-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.outcome-metric {
    text-align: center;
}

.metric-visual {
    margin-bottom: 1rem;
}

.metric-circle {
    position: relative;
    display: inline-block;
}

.metric-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.outcome-metric h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.outcome-metric p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

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

/* Mobile-Specific Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        gap: 0;
    }

    .nav-links li {
        padding: 0.8rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    /* Language toggle positioning */
    .language-toggle {
        top: 10px;
        right: 10px;
        padding: 2px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 35px;
    }

    /* Modal adjustments */
    .modal {
        padding: 5px;
    }

    .modal.active {
        padding-top: 10px;
    }

    .modal-content {
        padding: 1.2rem;
        border-radius: 12px;
        max-height: calc(100vh - 20px);
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-header p {
        font-size: 0.9rem;
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 28px;
        height: 28px;
    }

    /* Hero section mobile */
    .hero {
        padding: 80px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
        margin: 1.5rem 0;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-text {
        font-size: 0.85rem;
    }

    /* Page hero mobile */
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    /* Sections mobile */
    .section {
        padding: 50px 0;
    }

    .pillars-section,
    .program-overview,
    .tracks-section {
        padding: 50px 0;
    }

    .section-header h2,
    .section-header-compact h2 {
        font-size: 1.6rem;
    }

    .section-header p,
    .section-header-compact p {
        font-size: 0.95rem;
    }

    /* Pillars mobile */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pillar-card.featured {
        transform: none;
    }

    .pillar-card {
        padding: 1.5rem;
    }

    /* Process flow mobile */
    .process-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    .process-step {
        max-width: 100%;
    }

    /* Tracks mobile */
    .tracks-compact {
        grid-template-columns: 1fr;
    }

    .track-compact.featured {
        transform: none;
    }

    /* Metrics mobile */
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .metric-number {
        font-size: 2rem;
    }

    /* CTA mobile */
    .cta-content-compact h2 {
        font-size: 1.6rem;
    }

    .cta-buttons-compact {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    /* Form mobile optimizations */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .form-group textarea {
        min-height: 70px;
    }

    /* Results mobile */
    .results-header {
        gap: 0.8rem;
    }

    .results-header h3 {
        font-size: 1.2rem;
    }

    .tab-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }

    .tab-btn svg {
        width: 12px;
        height: 12px;
    }

    .knowledge-item, .project-item {
        padding: 0.8rem;
    }

    .knowledge-item h4, .project-item h4 {
        font-size: 0.95rem;
    }

    .strategy-content {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    /* Human alignment mobile */
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .framework-step {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.25rem;
    }

    .skills-mastery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    /* AI Learning mobile */
    .hero-demo {
        grid-template-columns: 1fr;
    }

    .methodology-grid {
        grid-template-columns: 1fr;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-showcase.reverse {
        direction: ltr;
    }

    .acceleration-techniques {
        grid-template-columns: 1fr;
    }

    .technique-stats {
        gap: 1rem;
    }

    .outcomes-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    nav {
        padding: 0.8rem 1rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo svg {
        width: 20px;
        height: 20px;
    }

    .modal-content {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2,
    .section-header-compact h2 {
        font-size: 1.4rem;
    }

    .pillar-card,
    .track-compact {
        padding: 1.25rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-step {
        min-width: auto;
    }

    .step-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .cta-content-compact h2 {
        font-size: 1.4rem;
    }

    .cta-button {
        font-size: 0.85rem;
        padding: 0.8rem 1.2rem;
    }

    .pillars-section,
    .program-overview,
    .tracks-section {
        padding: 40px 0;
    }
}

/* Landscape mode on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .modal-content {
        max-height: calc(100vh - 10px);
    }

    .modal.active {
        padding-top: 5px;
    }
}

/* Touch-specific improvements */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .cta-button:hover {
        transform: none;
    }

    .pillar-card:hover,
    .track-compact:hover,
    .method-card:hover,
    .technique-card:hover,
    .capability-card:hover,
    .skill-item:hover {
        transform: none;
    }

    /* Increase touch targets */
    .tab-btn {
        min-height: 48px;
        padding: 0.8rem 1rem;
    }

    .lang-switch-btn {
        min-height: 44px;
        padding: 0.6rem 1rem;
    }
}

/* Program Selection Styles */
.program-selection {
    display: block;
}

.program-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.program-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.program-option:hover {
    border-color: #6366f1;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.program-option:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.program-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f0f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.program-option:hover .program-icon {
    background: #e0e7ff;
    transform: scale(1.05);
}

.program-info {
    flex: 1;
}

.program-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #333;
    font-weight: 600;
}

.program-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.program-info p:last-child {
    margin-bottom: 0;
}

.program-arrow {
    color: #6366f1;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.program-option:hover .program-arrow {
    transform: translateX(5px);
}

/* Program Form Styles */
.program-form {
    display: none;
}

.program-form.active {
    display: block;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.back-button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f1f5f9;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #6366f1;
    transition: all 0.3s ease;
    z-index: 5;
}

.back-button:hover {
    background: #e2e8f0;
    transform: translateX(-2px);
}

/* Enhanced Track Styles */
.track-features-compact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.track-features-compact span {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.track-features-compact span:hover {
    background: #c7d2fe;
    transform: translateY(-1px);
}

.track-age {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8b5cf6;
    background: #f3e8ff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid #e9d5ff;
}

.track-focus {
    color: #6366f1;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0.75rem 0 0.5rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid #f1f5f9;
}

.tracks-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.tracks-cta p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Tab Styles */
.contact-content {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.contact-content h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-content h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #6366f1;
    border-radius: 2px;
}

.contact-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #6366f1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    background: #e0e7ff;
    transform: scale(1.05);
}

.contact-details {
    flex: 1;
}

.contact-details h5 {
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-details p {
    color: #6366f1;
    font-weight: 600;
    margin: 0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-details p:hover {
    color: #4f46e5;
}

/* Enhanced Form Select Styles */
select {
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
    width: 100%;
    background: white;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

select option {
    padding: 0.5rem;
    background: white;
    color: #333;
}

/* Enhanced Animation Effects */
.program-selection.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

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

/* Loading States */
.program-option.loading {
    pointer-events: none;
    opacity: 0.7;
}

.program-option.loading .program-arrow {
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* Enhanced Tab Navigation */
.result-tab-nav {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 6px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
    min-height: 44px;
    flex: 1;
    justify-content: center;
}

.tab-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.tab-btn.active {
    background: white;
    color: #6366f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.tab-btn.active svg {
    transform: scale(1.1);
}

/* Enhanced Results Actions */
.results-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.results-actions .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
}

.results-actions .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .program-option {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .program-icon {
        width: 40px;
        height: 40px;
    }
    
    .program-info h3 {
        font-size: 1.1rem;
    }
    
    .program-info p {
        font-size: 0.8rem;
    }
    
    .program-arrow {
        font-size: 1.2rem;
    }
    
    .back-button {
        position: relative;
        margin-bottom: 1rem;
        top: auto;
        left: auto;
        width: auto;
        display: inline-block;
    }
    
    .track-features-compact {
        justify-content: center;
    }
    
    .tracks-cta {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-methods {
        gap: 0.75rem;
    }
    
    .contact-method {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .result-tab-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 0.25rem 0.25rem 0;
    }
    
    .tab-btn {
        flex: none;
        min-width: 120px;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .results-actions {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .program-option {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .program-icon {
        width: 36px;
        height: 36px;
    }
    
    .program-info h3 {
        font-size: 1rem;
    }
    
    .program-info p {
        font-size: 0.75rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .tracks-cta {
        padding: 1.25rem;
    }
    
    .track-features-compact span {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .tab-btn {
        min-width: 100px;
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .tab-btn svg {
        width: 12px;
        height: 12px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .program-option,
    .contact-method,
    .tab-btn,
    .back-button,
    .track-features-compact span {
        transition: none;
    }
    
    .program-option:hover,
    .contact-method:hover {
        transform: none;
    }
    
    .program-form.active {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .program-option {
        border-width: 3px;
    }
    
    .program-option:hover {
        border-color: #000;
        background: #f0f0f0;
    }
    
    .contact-method {
        border-width: 2px;
    }
    
    .tab-btn.active {
        border: 2px solid #000;
    }
}

/* Print Styles */
@media print {
    .program-selection,
    .back-button,
    .modal-close,
    .language-switch,
    .results-actions {
        display: none;
    }
    
    .modal-content {
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .contact-method {
        break-inside: avoid;
    }
}

/* Focus Styles for Better Accessibility */
.program-option:focus,
.back-button:focus,
.contact-method:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.tab-btn:focus {
    outline: 2px solid #6366f1;
    outline-offset: -2px;
}

/* Selection State for Program Options */
.program-option.selected {
    border-color: #6366f1;
    background: #f0f0ff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.program-option.selected .program-icon {
    background: #6366f1;
    color: white;
}

.program-option.selected .program-arrow {
    color: #059669;
}

/* Enhanced Loading State for Forms */
.evaluation-form.loading {
    pointer-events: none;
    opacity: 0.7;
}

.evaluation-form.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Improved Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group.error label {
    color: #dc2626;
}

.error-message {
    animation: slideInDown 0.3s ease;
}

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

/* Success State */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Tooltip Styles (if needed for additional help text) */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Ensure proper form display states */
.program-form {
    display: none;
}

.program-form.active {
    display: block;
}

.lang-form {
    display: none;
}

.lang-form.active {
    display: block;
}

/* Ensure smooth transitions */
.program-form {
    transition: opacity 0.3s ease;
}

.program-form.active {
    opacity: 1;
}