/**
 * Content4.AI Landing Page - Shared Styles
 * Used by both English and Spanish versions
 * Last Updated: January 24, 2026
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hide mobile menu by default on desktop */
.nav-backdrop {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px;
    z-index: 10002;
    position: relative;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.mobile-menu-toggle.active {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
    color: white;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Free Tool Section */
.free-tool {
    background: white;
    padding: 80px 0;
    margin-top: -50px;
    border-radius: 30px 30px 0 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tool-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.tool-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.tool-input {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: border-color 0.3s;
}

.tool-input:focus {
    outline: none;
    border-color: #667eea;
}

.analyze-button {
    padding: 18px 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.analyze-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.analyze-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Results Section */
.results {
    display: none;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.results.visible {
    display: block;
}

.score-display {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    margin-bottom: 30px;
}

.score-number {
    font-size: 72px;
    font-weight: 700;
    color: white !important;
    margin-bottom: 10px;
}

.score-label {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.comparison-panel {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
}

.comparison-panel h3 {
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comparison-panel pre {
    background: white;
    padding: 15px;
    border-radius: 8px;
    overflow-x: hidden;
    font-size: 13px;
    line-height: 1.5;
    max-height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.gain-metric {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    border-radius: 12px;
    color: white;
}

.gain-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.gain-label {
    font-size: 18px;
    opacity: 0.95;
}

/* Email Capture */
.email-capture {
    margin-top: 40px;
    padding: 40px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.email-capture h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.email-capture p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.email-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 18px 24px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
}

.email-submit {
    padding: 18px 40px;
    background: white;
    color: #f5576c;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.email-submit:hover {
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Phase 4: Enhanced UI Components */

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.loading-details {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

/* Enhanced Score Display */
.score-badge {
    display: inline-block;
    font-size: 36px;
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 30px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.score-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

/* Stats Grid Enhancement */
.stats-grid {
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Results Stats Grid - 2 column layout for Issues/Gain cards */
.results-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 30px auto 40px auto;
}

.stat-card {
    text-align: center;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Issues Section */
.issues-section,
.preview-section,
.two-column-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading .icon {
    font-size: 28px;
}

.count-badge {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-left: auto;
}

.badge-new {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Issue Cards */
.issues-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.issue-card {
    background: white;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    cursor: pointer;
}

.issue-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.issue-card.critical {
    border-left-color: #f5576c;
}

.issue-card.warning {
    border-left-color: #f39c12;
}

.issue-card.info {
    border-left-color: #3498db;
}

.issue-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.issue-icon {
    font-size: 24px;
}

.issue-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
}

.severity-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.severity-badge.critical {
    background: #ffe5e5;
    color: #f5576c;
}

.severity-badge.warning {
    background: #fff3e0;
    color: #f39c12;
}

.severity-badge.info {
    background: #e3f2fd;
    color: #3498db;
}

.issue-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.issue-impact {
    font-size: 14px;
    color: #999;
    font-style: italic;
}

.issue-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.issue-card.expanded .issue-details {
    max-height: 500px;
    margin-top: 15px;
}

.issue-recommendations {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.issue-recommendations h4 {
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
}

.issue-recommendations ul {
    margin: 0;
    padding-left: 20px;
}

.issue-recommendations li {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* Preview Cards */
.preview-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.preview-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-header:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a428f 100%);
}

.preview-toggle {
    font-size: 12px;
    opacity: 0.9;
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.preview-before,
.preview-after {
    padding: 20px;
}

.preview-before {
    border-right: 2px solid #e0e0e0;
}

.preview-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.preview-text {
    color: #333;
    line-height: 1.8;
    font-size: 14px;
}

.preview-card.collapsed .preview-content {
    display: none;
}

/* Enhanced Comparison Panels */
.comparison-panel h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-icon {
    font-size: 24px;
}

.view-badge {
    background: #ffc107;
    color: #333;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: auto;
}

.view-badge.full {
    background: #4caf50;
    color: white;
}

.content-preview {
    background: white;
    padding: 15px;
    border-radius: 8px;
    min-height: 200px;
    max-height: 350px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
}

.content-preview .placeholder {
    color: #999;
    text-align: center;
    padding: 60px 20px;
}

/* Gap Indicator */
.gap-indicator {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-align: center;
}

.gap-bar {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.gap-fill {
    height: 100%;
    background: linear-gradient(90deg, #f5576c 0%, #f093fb 100%);
    width: 0%;
    transition: width 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.gap-text {
    font-size: 16px;
    color: #333;
}

.gap-text strong {
    color: #f5576c;
    font-size: 18px;
}

/* Email Capture Enhancement */
.email-note {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.95;
}

.button-text {
    display: inline-block;
}

/* Dialog/Modal */
.dialog-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.dialog-overlay.active {
    display: flex;
}

.dialog-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.dialog-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.dialog-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.dialog-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.dialog-button {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.dialog-button:hover {
    transform: translateY(-2px);
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #333;
}

.about-content p {
    font-size: 20px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.stat-card {
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: white;
}

.faq h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.faq-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 1.1em;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.faq-question {
    font-size: 1.2em;
    color: #667eea;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-answer {
    color: #555;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    text-align: center;
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
}

.contact p {
    text-align: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
/* Mobile Navigation - Updated v2.0 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .features-grid,
    .footer-content,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .tool-input-group {
        flex-direction: column;
    }

    .email-form {
        flex-direction: column;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .dialog-box {
        padding: 30px 20px;
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 340px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 10001 !important;
        box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
        margin: 0 !important;
        padding: 100px 20px 60px 20px !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Ensure gradient is fully opaque */
    .nav-links::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%) !important;
        z-index: -1 !important;
    }

    .nav-links.mobile-active {
        left: 0 !important;
        display: flex !important;
    }

    .nav-links a {
        color: #ffffff !important;
        text-decoration: none !important;
        margin: 8px 0 !important;
        margin-left: 0 !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 18px 24px !important;
        border-radius: 12px !important;
        transition: all 0.2s ease !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2) !important;
        cursor: pointer !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        position: relative !important;
        z-index: 1 !important;
    }

    .nav-links a:hover,
    .nav-links a:active,
    .nav-links a:focus {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: translateX(8px) !important;
        opacity: 1 !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    }

    .nav-links a:active {
        transform: translateX(8px) scale(0.98) !important;
    }

    /* Mobile Navigation Backdrop */
    .nav-backdrop {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10000;
        opacity: 0;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-backdrop.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    /* Phase 4: Mobile Responsive Enhancements */
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 18px;
    }
    
    .tool-card {
        padding: 30px 20px;
    }
    
    .score-badge {
        font-size: 28px;
        padding: 8px 24px;
    }
    
    .score-number {
        font-size: 56px;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-heading {
        font-size: 20px;
    }
    
    .issue-title {
        font-size: 16px;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
    }
    
    .preview-before {
        border-right: none;
        border-bottom: 2px solid #e0e0e0;
    }
    
    .email-capture h3 {
        font-size: 24px;
    }
    
    .email-capture p {
        font-size: 16px;
    }
    
    .email-note {
        font-size: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h4 {
        margin-bottom: 15px;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 30px;
    }
}
