/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background-color: #ffffff;
    --background-alt: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* Layout */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: 3rem;
}

/* Header & Navigation */
.main-header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    display: block;
    width: 32px;
    height: 32px;
}

.logo span {
    line-height: 1;
}

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

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 6rem 1rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

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

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

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

.tools-grid h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.tool-icon {
    font-size: 2.5rem;
    color: #007AFF;
    margin-bottom: 1rem;
}

.tool-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tool-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #555;
}

.tool-features i {
    color: #007AFF;
}

/* iOS Apps Section */
.ios-apps {
    padding: 4rem 2rem;
    text-align: center;
    background: #f8f9fa;
}

.ios-apps h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.apps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.app-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.app-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
}

.app-content {
    text-align: center;
    width: 100%;
}

.app-content h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.app-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.app-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.app-features i {
    color: #3498db;
}

.app-card .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .ios-apps {
        padding: 3rem 1rem;
    }

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

    .app-card {
        padding: 1.5rem;
    }

    .app-icon {
        width: 100px;
        height: 100px;
    }
}

/* Footer */
.main-footer {
    background-color: var(--text-color);
    color: white;
    padding: 4rem 1rem 2rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--text-light);
    text-align: center;
    color: var(--text-light);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Tool Page Styles */
.tool-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/tool-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 1rem;
    text-align: center;
}

.tool-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-content {
    padding: 4rem 1rem;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto 4rem;
}

.upload-box {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px dashed var(--border-color);
    transition: var(--transition);
}

.upload-box.highlight {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.1);
}

.upload-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-form {
    margin-top: 1.5rem;
}

.upload-form input[type="file"] {
    display: none;
}

.upload-box label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.upload-box label:hover {
    background-color: var(--secondary-color);
}

.results-box {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.results-box h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.result-card {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.result-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.placeholder-message {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}

.placeholder-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

.error-message {
    text-align: center;
    color: var(--error-color);
    padding: 2rem;
}

.error-message i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.features-section {
    margin: 4rem 0;
    text-align: center;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature {
    padding: 1.5rem;
}

.feature i {
    font-size: 2rem;
    color: #007AFF;
    margin-bottom: 1rem;
}

/* Responsive Design for Tool Page */
@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }

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

    .tool-header h1 {
        font-size: 2rem;
    }
}

/* Validation Results Styles */
.validation-summary {
    margin-bottom: 2rem;
}

.validation-status {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
}

.validation-status.valid {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.validation-status.invalid {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.validation-status i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.stat-item {
    background-color: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.validation-errors,
.validation-warnings {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.validation-errors h4,
.validation-warnings h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.validation-errors h4 {
    color: var(--error-color);
}

.validation-warnings h4 {
    color: #f59e0b;
}

.validation-errors ul,
.validation-warnings ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.validation-errors li,
.validation-warnings li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.validation-errors li:last-child,
.validation-warnings li:last-child {
    border-bottom: none;
}

.validation-errors li i {
    color: var(--error-color);
}

.validation-warnings li i {
    color: #f59e0b;
}

/* Converter Page Styles */
.conversion-options {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: white;
    border-radius: var(--border-radius);
}

.conversion-options h4 {
    margin-bottom: 1rem;
    text-align: center;
}

.format-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.format-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.format-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.format-option input[type="radio"] {
    display: none;
}

.format-option input[type="radio"]:checked + .format-icon {
    color: var(--primary-color);
}

.format-option input[type="radio"]:checked + .format-icon + .format-name {
    color: var(--primary-color);
    font-weight: 500;
}

.format-icon {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.format-name {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: var(--transition);
}

.conversion-results {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.conversion-results h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.conversion-results .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.conversion-results .download-btn i {
    font-size: 1.2rem;
}

/* Responsive Design for Converter Page */
@media (max-width: 768px) {
    .format-options {
        grid-template-columns: 1fr;
    }
}

/* Guides Page Styles */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.guide-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.guide-icon {
    font-size: 2.5rem;
    color: #007AFF;
    margin-bottom: 1rem;
}

.guide-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.guide-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #555;
}

.guide-features i {
    color: #007AFF;
}

.guide-categories {
    margin: 4rem 0;
    text-align: center;
}

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

.category {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.category i {
    font-size: 2rem;
    color: #007AFF;
    margin-bottom: 1rem;
}

.guide-cta {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .tools-grid,
    .guides-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .tool-card,
    .guide-card {
        padding: 1.5rem;
    }
}

/* Guide Page Styles */
.guide-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.guide-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 6rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.guide-header h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.guide-header .lead {
    font-size: 1.25rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.guide-meta {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.guide-meta span {
    margin: 0 1rem;
}

/* Guide Table Styles */
.guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guide-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e9ecef;
}

.guide-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.guide-table tr:last-child td {
    border-bottom: none;
}

.guide-table tr:hover {
    background: #f8f9fa;
}

.table-container {
    margin: 2rem 0;
    overflow-x: auto;
}

.guide-section {
    margin-bottom: 3rem;
}

.guide-section h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.guide-section h3 {
    color: #34495e;
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
}

/* Guide List Styles */
.guide-section ul,
.guide-section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.guide-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.guide-section ul li {
    list-style-type: disc;
}

.guide-section ol li {
    list-style-type: decimal;
}

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

.cause-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.cause-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.cause-card h3 {
    color: #2c3e50;
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

/* Symptoms List */
.symptoms-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.symptom {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.symptom h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.symptom h4 i {
    color: #e74c3c;
}

/* Repair Methods */
.repair-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.method {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.method h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.method pre {
    background: #2c3e50;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

.method ol {
    padding-left: 1.5rem;
}

.method li {
    margin-bottom: 0.5rem;
}

/* Prevention Tips */
.prevention-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tip i {
    font-size: 2rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.tip h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}

.warning-box i {
    font-size: 2rem;
    color: #856404;
}

.warning-box ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.warning-box li {
    margin-bottom: 0.5rem;
}

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

.resource-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

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

.resource-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.resource-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .guide-content {
        padding: 1rem;
    }

    .guide-header {
        padding: 4rem 1rem 3rem;
        margin-top: 0;
    }

    .guide-header h1 {
        font-size: 2rem;
        margin-top: 2rem;
    }

    .guide-meta span {
        display: block;
        margin: 0.5rem 0;
    }

    .causes-grid,
    .symptoms-list,
    .repair-methods,
    .prevention-tips,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .warning-box {
        flex-direction: column;
        text-align: center;
    }
}

/* About Page Styles */
.about-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.about-hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-hero .lead {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

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

.tool-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.tool-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.tool-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

.app-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
}

.app-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.app-info p {
    margin-bottom: 1rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1.5rem;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info h2,
.contact-form-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-faq {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-faq h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    background: #3498db;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background: #2980b9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .mission-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .app-card {
        flex-direction: column;
        text-align: center;
    }

    .about-hero,
    .contact-hero {
        padding: 2rem 1rem;
    }

    .about-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }
}

.tools-section {
    margin-bottom: 3rem;
    text-align: center;
    padding: 0 2rem;
    margin-top: 4rem;
}

.tools-section h2 {
    margin-bottom: 2rem;
}

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

/* iOS Apps Page Styles */
.app-section {
    margin: 3rem 0;
}

.app-section .app-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 2rem;
}

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

.app-section .app-content {
    padding: 0;
}

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

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
}

.app-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.8rem;
}

.app-features {
    margin: 2rem 0;
}

.app-features h3 {
    color: #333;
    margin-bottom: 1rem;
}

.app-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #555;
}

.app-features i {
    color: #007AFF;
    font-size: 1.2rem;
}

.screenshot-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.screenshot {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

.app-store-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.app-store-badge {
    height: 40px;
}

.privacy-link {
    color: #007AFF;
    text-decoration: none;
    font-size: 0.9rem;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Responsive Styles for Apps Page */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .app-logo {
        width: 100px;
        height: 100px;
    }

    .app-features ul {
        grid-template-columns: 1fr;
    }

    .screenshot-container {
        grid-template-columns: 1fr;
    }

    .app-store-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Contact Form Styles */
.contact-form-section {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0 auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #007AFF;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

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

.contact-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 0;
    }
}

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

.captcha-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.captcha-code {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    font-family: monospace;
    font-size: 1.25rem;
    letter-spacing: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.form-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.form-message.success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

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

.success-message i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-message h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.success-message .btn {
    display: inline-block;
}

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

.example-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.example-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.example-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.example-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 0.9rem;
    background: var(--background-alt);
    transition: var(--transition);
}

.example-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.example-input::placeholder {
    color: var(--text-light);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--background-color);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        gap: 1rem;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }

    .nav-links a:hover {
        background: var(--background-alt);
        color: var(--primary-color);
    }

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

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

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

    /* Ensure header stays on top */
    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    /* Add padding to body to account for fixed header */
    body {
        padding-top: 70px;
    }
}

/* Larger touch targets for mobile */
@media (max-width: 480px) {
    .nav-links a {
        padding: 1.25rem;
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        padding: 0.75rem;
    }

    .mobile-menu-btn span {
        width: 28px;
        height: 4px;
        margin: 6px 0;
    }
} 