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

:root {
    --primary-color: #0F172A;  /* Deep Navy Blue */
    --secondary-color: #1E293B; /* Midnight Blue */
    --accent-color: #6BC5D2;    /* Bright Teal from app */
    --text-primary: #1F1F1F;    /* Theme Dark Gray from app */
    --text-secondary: #B0B0B0;  /* Theme Light Gray from app */
    --bg-light: #0A0A0A;        /* Dark background */
    --bg-white: #1F1F1F;        /* Dark card background */
    --border-color: #2A2A2A;    /* Dark border */
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --error-color: #EF4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    min-height: 100vh;
}

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

/* Header and Navigation */
header {
    background: rgba(31, 31, 31, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color), #FFFFFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

nav a {
    text-decoration: none;
    color: #B0B0B0;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    background: rgba(31, 31, 31, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(107, 197, 210, 0.2);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.8);
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

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

.feature-card {
    background: rgba(31, 31, 31, 0.9);
    border: 1px solid rgba(107, 197, 210, 0.2);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(107, 197, 210, 0.2);
    border-color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.feature-card p {
    color: #B0B0B0;
    line-height: 1.7;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: rgba(31, 31, 31, 0.3);
}

.faq h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

.faq-item {
    background: rgba(31, 31, 31, 0.9);
    border: 1px solid rgba(107, 197, 210, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.faq-item p {
    color: #B0B0B0;
    line-height: 1.7;
}

.faq-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Troubleshooting Section */
.troubleshooting {
    padding: 4rem 0;
    background: rgba(10, 10, 10, 0.8);
}

.troubleshooting h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

.trouble-item {
    background: rgba(31, 31, 31, 0.9);
    border: 1px solid rgba(107, 197, 210, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.trouble-item h3 {
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.trouble-item ul {
    margin-left: 1.5rem;
    color: #B0B0B0;
}

.trouble-item li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background: rgba(31, 31, 31, 0.3);
}

.contact h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #FFFFFF;
}

.contact-info {
    text-align: center;
    margin-bottom: 2rem;
    color: #B0B0B0;
}

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

.contact-method {
    background: rgba(31, 31, 31, 0.9);
    border: 1px solid rgba(107, 197, 210, 0.1);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-method h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.contact-method a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-method p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #B0B0B0;
}

.contact-method ul {
    margin: 1rem 0 1rem 2rem;
    color: #B0B0B0;
}

/* Legal Pages Styles */
.legal-header {
    background: rgba(31, 31, 31, 0.5);
    backdrop-filter: blur(10px);
    color: white;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(107, 197, 210, 0.2);
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    opacity: 0.9;
    font-size: 0.95rem;
}

.legal-content {
    padding: 3rem 0;
    background: rgba(10, 10, 10, 0.8);
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(31, 31, 31, 0.9);
    border: 1px solid rgba(107, 197, 210, 0.1);
    border-radius: 8px;
}

.legal-section h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.legal-section h3 {
    color: #FFFFFF;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #B0B0B0;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    color: #B0B0B0;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.legal-section a {
    color: var(--accent-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: rgba(31, 31, 31, 0.95);
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(107, 197, 210, 0.2);
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

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

.footer-section p {
    color: #9CA3AF;
    line-height: 1.7;
}

.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(107, 197, 210, 0.2);
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

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

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .legal-section {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

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

    nav ul {
        font-size: 0.9rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), #FFFFFF);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 197, 210, 0.3);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
