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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background: #1f2937;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.company-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: white;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: white;
}

.internal-link {
    background: #6366f1;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.internal-link:hover {
    background: #5b21b6;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.lang-toggle {
    width: 44px;
    height: 44px;
    border: 2px solid #6366f1;
    background: transparent;
    color: #6366f1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    position: relative;
}

.lang-toggle:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px) scale(1.05);
}

.lang-display {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.lang-toggle i {
    font-size: 0.7rem;
    opacity: 0.7;
}

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

.lang-content.hidden {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #fbbf24;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background: #5b21b6;
}

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

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

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 4rem;
    opacity: 0.8;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f1f5f9;
}

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

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

/* Mission Statement */
.mission-statement {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.mission-content {
    position: relative;
    z-index: 1;
}

.mission-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.mission-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mission-text-en {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .mission-statement {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .mission-content h3 {
        font-size: 1.5rem;
    }
    
    .mission-text {
        font-size: 1rem;
    }
    
    .mission-text-en {
        font-size: 0.9rem;
    }
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
}

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

.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #eef2ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #6366f1;
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

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

.service-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-point i {
    margin-top: 0.2rem;
    color: #10b981;
    font-size: 1.1rem;
}

.service-point p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: #f8fafc;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    margin-bottom: 2rem;
}

.profile-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.profile-photo:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.team-info h3 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-info h4 {
    color: #6366f1;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.team-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

.team-highlights {
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-left: 3px solid #6366f1;
    padding-left: 1rem;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    border-radius: 0 8px 8px 0;
}

.highlight-item i {
    color: #6366f1;
    font-size: 1rem;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.highlight-item span {
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.specialty-tag {
    background: linear-gradient(135deg, #eef2ff 0%, #f1f5f9 100%);
    color: #4338ca;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #c7d2fe;
    transition: all 0.3s ease;
}

.specialty-tag:hover {
    background: linear-gradient(135deg, #4338ca 0%, #6366f1 100%);
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f1f5f9;
}

.contact-form-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form {
    max-width: 600px;
    width: 100%;
}



/* Form Styles */
.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111827;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.field-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.required {
    color: #dc2626;
    font-weight: 700;
}

.optional {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group select option {
    color: #374151;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 2rem 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .company-name {
    color: white;
}



/* Internal Page Styles */
.internal-body {
    background: #f8fafc;
    min-height: 100vh;
}

.internal-nav {
    background: #1f2937;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.internal-nav .company-name {
    color: white;
}

.internal-nav .nav-link {
    color: #cbd5e1;
}

.internal-nav .nav-link:hover {
    color: white;
}

.internal-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

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

.security-notice {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    animation: pulse-security 3s infinite;
    border: 2px solid #065f46;
}

.security-notice i {
    font-size: 16px;
}

@keyframes pulse-security {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 6px 12px rgba(16, 185, 129, 0.4);
    }
}

.internal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.internal-header p {
    font-size: 1.1rem;
    color: #64748b;
}

/* Upload Section */
.upload-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

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

.upload-card {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.upload-card:hover {
    border-color: #6366f1;
    background: #f1f5f9;
}

.upload-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.upload-header i {
    font-size: 1.5rem;
    color: #6366f1;
}

.upload-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.upload-area {
    position: relative;
    cursor: pointer;
}

.upload-placeholder {
    text-align: center;
    padding: 2rem 1rem;
}

.upload-placeholder i {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.upload-placeholder p {
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.upload-hint {
    font-size: 0.9rem;
    color: #9ca3af;
}

.uploaded-file {
    padding: 1rem;
    background: #eef2ff;
    border-radius: 8px;
    border: 1px solid #6366f1;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-info i {
    font-size: 1.5rem;
    color: #6366f1;
}

.file-name {
    flex: 1;
    font-weight: 500;
    color: #312e81;
}

.remove-file {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Options Section */
.options-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 12px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-group label {
    font-weight: 500;
    color: #374151;
}

.option-group select {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
}

/* Generate Section */
.generate-section {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-generate {
    font-size: 1.1rem;
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.generate-status {
    margin-top: 1rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Output Section */
.output-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.output-header h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
}

.output-actions {
    display: flex;
    gap: 12px;
}

.email-preview {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.email-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.email-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-field label {
    font-weight: 500;
    color: #374151;
}

.email-field input {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.email-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.email-content label {
    font-weight: 500;
    color: #374151;
}

.email-content textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
}

.email-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f1f5f9;
    border-radius: 12px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
}

.stat-item i {
    color: #2563eb;
}

/* Match Score Styling */
.stat-item:has(#match-score) {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #bae6fd;
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-item:has(#match-score):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

#match-score {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Match Score Color Coding */
#match-score[data-score="high"] {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

#match-score[data-score="medium"] {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

#match-score[data-score="low"] {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* History Section */
.history-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.history-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.history-item:hover {
    background: #f1f5f9;
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-date {
    font-size: 0.9rem;
    color: #6b7280;
}

.history-subject {
    font-weight: 500;
    color: #1e293b;
}

.history-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    background: #e5e7eb;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(31, 41, 55, 0.95);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-link {
        display: block;
        margin: 1rem 0;
        padding: 0.5rem 1rem;
        color: white;
    }
    
    .nav-menu .language-switcher {
        justify-content: center;
        margin: 1rem 0;
        margin-left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    

    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .upload-grid {
        grid-template-columns: 1fr;
    }
    
    .options-section {
        grid-template-columns: 1fr;
    }
    
    .email-header {
        grid-template-columns: 1fr;
    }
    
    .output-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .email-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        align-self: flex-start;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-card {
        padding: 2rem;
    }
    
    .profile-placeholder {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .profile-photo {
        width: 100px;
        height: 100px;
    }
    
    .team-specialties {
        justify-content: flex-start;
    }
    
    .highlight-item {
        margin-bottom: 0.5rem;
        padding: 0.4rem 0;
        padding-left: 0.8rem;
    }
    
    .highlight-item span {
        font-size: 0.85rem;
    }
}

/* Session Information Page Styles */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.info-content {
    margin-top: 1rem;
}

.info-content ul, .info-content ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.info-content li {
    margin: 0.5rem 0;
    color: #4b5563;
}

.logout-action, .site-links {
    margin-top: 1rem;
    text-align: center;
}

.tips-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tips-section h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tip-item i {
    font-size: 1.5rem;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.tip-item h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
}

.tip-item p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Session Timer */
.session-timer {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin-right: 15px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.session-timer i {
    margin-right: 5px;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
}

.notification-content i {
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

.notification-content span {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.notification-success {
    background: #10b981;
    color: white;
}

.notification-error {
    background: #ef4444;
    color: white;
}

.notification-info {
    background: #3b82f6;
    color: white;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Session warning modal styles */
.session-warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.session-warning-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.warning-icon {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 20px;
}

.session-warning-content h3 {
    color: #374151;
    margin-bottom: 15px;
    font-size: 20px;
}

.session-warning-content p {
    color: #6b7280;
    margin-bottom: 25px;
    line-height: 1.5;
}

.warning-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.warning-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Add new styles for file selection and PDF preview */

.file-selection {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.file-selection label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.file-selection select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    color: #374151;
    margin-bottom: 10px;
}

.file-selection select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.selection-divider {
    display: block;
    text-align: center;
    color: #6b7280;
    font-size: 12px;
    font-style: italic;
    margin: 8px 0;
}

.company-name-input {
    margin-top: 15px;
    padding: 15px;
    background: #fef3c7;
    border-radius: 8px;
    border: 1px solid #f59e0b;
}

.company-name-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #92400e;
}

.company-name-input input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    color: #374151;
}

.company-name-input input:focus {
    outline: none;
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.company-required-notice {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    margin-bottom: 15px;
}

.company-required-notice i {
    margin-right: 10px;
    font-size: 18px;
}

.company-required-notice p {
    margin: 0;
    font-size: 14px;
}

.pdf-preview {
    margin-top: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.pdf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.pdf-title {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.pdf-toggle {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.pdf-toggle:hover {
    background: #e5e7eb;
    color: #374151;
}

.pdf-viewer {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    background: #f8fafc;
    border-radius: 0 0 8px 8px;
}

.pdf-viewer:loading {
    background: #f8fafc url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjE4IiBmaWxsPSJub25lIiBzdHJva2U9IiNjY2MiIHN0cm9rZS13aWR0aD0iMiIvPgogICAgPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMTgiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzMzNzNkYyIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtZGFzaGFycmF5PSI1Ni41IiBzdHJva2UtbGluZWNhcD0icm91bmQiPgogICAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiB2YWx1ZXM9IjAgMjAgMjA7MzYwIDIwIDIwIiBkdXI9IjJzIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIvPgogICAgPC9jaXJjbGU+Cjwvc3ZnPg==') no-repeat center center;
}

.upload-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.upload-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.btn-generate:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-generate:disabled:hover {
    background: #9ca3af;
    border-color: #9ca3af;
    transform: none;
    box-shadow: none;
}

/* Responsive design for file selection */
@media (max-width: 768px) {
    .pdf-viewer {
        height: 300px;
    }
    
    .file-selection {
        padding: 12px;
    }
    
    .company-name-input {
        padding: 12px;
    }
} 