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

/* Default: dark mode */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e4e4e7;
    background-color: #1a1a1d;
}

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

/* Header and Navigation */
header {
    background-color: #0f1419;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo:hover {
    color: white;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: #36B0C0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #36B0C0 0%, #2A8A9A 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: #36B0C0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.cta-button--primary {
    background: linear-gradient(135deg, #36B0C0 0%, #2A8A9A 100%);
    color: white;
}

.cta-button--primary:hover {
    box-shadow: 0 5px 15px rgba(54, 176, 192, 0.4);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #36B0C0 0%, #2A8A9A 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

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

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    background-color: #1a1a1d;
}

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

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

.feature-card {
    padding: 2rem;
    background-color: #252529;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.feature-card h3 {
    color: #36B0C0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #a1a1aa;
    line-height: 1.8;
}

.feature-card .service-tagline {
    font-style: italic;
    color: #a1a1aa;
    margin-bottom: 0.75rem;
}

.feature-card .service-content {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.services-note {
    text-align: center;
    font-size: 1.1rem;
    color: #e4e4e7;
    margin-top: 2.5rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-bottom {
    text-align: center;
    margin-top: 2.5rem;
}

/* About Content */
.about-content {
    padding: 4rem 2rem;
    background-color: #1a1a1d;
}

.about-section {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.about-section p {
    color: #a1a1aa;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* FAQ Content */
.faq-content {
    padding: 4rem 2rem;
    background-color: #1a1a1d;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: #252529;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question-btn:hover {
    background-color: #2d2d32;
}

.faq-question {
    color: #36B0C0;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    flex: 1;
}

.faq-icon {
    color: #36B0C0;
    font-size: 1.8rem;
    font-weight: 300;
    margin-left: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(0deg);
}

.faq-item:not(.active) .faq-icon {
    transform: rotate(0deg);
}

.faq-answer {
    color: #a1a1aa;
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    margin: 0;
    font-size: 1.1rem;
}

.faq-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #3f3f46;
}

.faq-cta p {
    color: #a1a1aa;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* Contact Content */
.contact-content {
    padding: 4rem 2rem;
    background-color: #1a1a1d;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    color: #e4e4e7;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info p {
    color: #a1a1aa;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #3f3f46;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #e4e4e7;
}

/* Contact Form */
.contact-form {
    background-color: #252529;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #3f3f46;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #1a1a1d;
    color: #e4e4e7;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #36B0C0;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

.submit-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #36B0C0 0%, #2A8A9A 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 176, 192, 0.4);
}

/* Privacy Content */
.privacy-content {
    padding: 4rem 2rem;
    background-color: #1a1a1d;
}

.privacy-section {
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-section h2 {
    color: #e4e4e7;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.75rem;
}

.privacy-section h2:first-child {
    margin-top: 0;
}

.privacy-section p {
    color: #a1a1aa;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.privacy-section ul {
    color: #a1a1aa;
    margin-bottom: 1rem;
    margin-left: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

.privacy-section strong {
    color: #e4e4e7;
}

/* Footer */
footer {
    background-color: #0f1419;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin: 0;
}

footer a {
    color: white;
    text-decoration: underline;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #36B0C0;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

.theme-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
}

/* Light mode */
[data-theme="light"] body {
    background-color: #f5f5f5;
    color: #333;
}

[data-theme="light"] header {
    background-color: #2c3e50;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

[data-theme="light"] .features,
[data-theme="light"] .about-content,
[data-theme="light"] .faq-content,
[data-theme="light"] .contact-content,
[data-theme="light"] .privacy-content {
    background-color: white;
}

[data-theme="light"] .features h2,
[data-theme="light"] .about-section h2,
[data-theme="light"] .contact-info h2,
[data-theme="light"] .privacy-section h2,
[data-theme="light"] .privacy-section strong,
[data-theme="light"] .services-note {
    color: #2c3e50;
}

[data-theme="light"] .feature-card {
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

[data-theme="light"] .feature-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

[data-theme="light"] .feature-card p,
[data-theme="light"] .feature-card .service-tagline,
[data-theme="light"] .about-section p,
[data-theme="light"] .faq-answer p,
[data-theme="light"] .faq-cta p,
[data-theme="light"] .contact-info p,
[data-theme="light"] .privacy-section p,
[data-theme="light"] .privacy-section ul {
    color: #666;
}

[data-theme="light"] .feature-card .service-tagline {
    color: #555;
}

[data-theme="light"] .faq-item {
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

[data-theme="light"] .faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

[data-theme="light"] .faq-question-btn:hover {
    background-color: #e9ecef;
}

[data-theme="light"] .faq-cta,
[data-theme="light"] .contact-details {
    border-top-color: #e0e0e0;
}

[data-theme="light"] .contact-details p {
    color: #333;
}

[data-theme="light"] .contact-form {
    background-color: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

[data-theme="light"] .form-group label {
    color: #2c3e50;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background-color: white;
    border-color: #e0e0e0;
    color: #333;
}

[data-theme="light"] footer {
    background-color: #2c3e50;
}

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

    .logo-img {
        height: 40px;
    }

    .nav-links {
        gap: 1rem;
    }

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

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

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