/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #f8fafc;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --input: #ffffff;
    --primary: #0f172a;
    --primary-foreground: #f8fafc;
    --secondary: #f1f5f9;
    --secondary-foreground: #0f172a;
    --accent: #f1f5f9;
    --accent-foreground: #0f172a;
    --destructive: #ef4444;
    --destructive-foreground: #fef2f2;
    --ring: #94a3b8;
    --radius: 0.5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    font-size: 16px;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid var(--border);
    background-color: var(--background);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

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

.nav-brand h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--foreground);
}

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

.nav-link {
    text-decoration: none;
    color: var(--muted-foreground);
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link.active {
    color: var(--foreground);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
}

/* Main content */
.main-content {
    min-height: calc(100vh - 140px);
    padding: 3rem 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.content-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--muted-foreground) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

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

/* Policy sections */
.policy-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--muted);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.policy-section h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.5rem 0 0.75rem 0;
    color: var(--foreground);
}

.policy-section p {
    margin-bottom: 1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.contact-info {
    background-color: var(--accent);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.inline-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* Contact page specific styles */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info-section p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.contact-item p {
    color: var(--muted-foreground);
    margin-bottom: 0;
}

.contact-item ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.contact-item li {
    color: var(--muted-foreground);
    margin-bottom: 0.25rem;
}

/* Form styles */
.contact-form {
    background-color: var(--muted);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--input);
    color: var(--foreground);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

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

.form-select {
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    position: relative;
}

.submit-button:hover {
    background-color: #1e293b;
    transform: translateY(-1px);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.button-loading {
    display: none;
}

.error-message {
    display: block;
    color: var(--destructive);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    background-color: #dcfce7;
    border: 1px solid #86efac;
    color: #15803d;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.success-message h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* FAQ section */
.faq-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    background-color: var(--muted);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.faq-item h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.faq-item p {
    color: var(--muted-foreground);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    background-color: var(--muted);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    gap: 0.25rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--foreground);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--background);
        border: 1px solid var(--border);
        border-top: none;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        display: none;
        z-index: 1000;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 2rem;
        text-align: left;
        border-bottom: 1px solid var(--border);
        display: block;
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background-color: var(--accent);
        font-weight: 600;
    }

    .content-header h1 {
        font-size: 2.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .policy-section {
        padding: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .main-content {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-brand h2 {
        font-size: 1.25rem;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

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

    .policy-section {
        padding: 1rem;
        margin-bottom: 2rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .contact-container {
        gap: 1.5rem;
    }

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

    .submit-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}
