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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h2 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: #0088cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #229ed9;
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0088cc, #229ed9);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 136, 204, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: #f8f9fa;
    color: #0088cc;
    border: 2px solid #0088cc;
}

.btn-secondary:hover {
    background: #0088cc;
    color: white;
    text-decoration: none;
}

/* Header */
.header {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    border-bottom: 1px solid #e3f2fd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    color: #0088cc;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-links a:hover {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.nav-links a.active {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.15);
}

/* Main Content */
.main-content {
    padding: 40px 0 80px;
    background: #fff;
}

/* Legal Document Styles */
.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.document-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.document-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.document-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.document-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    color: #777;
}

.meta-item {
    padding: 4px 0;
}

.version {
    background: #f8fbff;
    padding: 8px 16px;
    border-radius: 20px;
    color: #0088cc;
    font-weight: 500;
    display: inline-block;
}

/* Document Sections */
.document-section {
    margin: 40px 0;
}

.document-section h2 {
    color: #1a1a1a;
    border-bottom: 2px solid #0088cc;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.subsection {
    margin: 20px 0;
    padding-left: 20px;
}

.subsection h3 {
    color: #0088cc;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* Lists */
ul, ol {
    margin: 16px 0;
    padding-left: 30px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    background: #f8fbff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #0088cc;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Document Intro */
.document-intro {
    background: #f8fbff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Info Block */
.info-block {
    background: #fff5f5;
    border: 2px solid #ff9999;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    font-weight: 500;
}

/* Important Note */
.important-note {
    background: #f0f8ff;
    border-left: 4px solid #0088cc;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.important-note p {
    margin-bottom: 0;
    font-weight: 500;
    color: #1a1a1a;
}

/* Pricing Section Specific Styles */
.pricing-section {
    margin: 40px 0;
}

.pricing-table {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.pricing-table th,
.pricing-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table th {
    background: #f8fbff;
    font-weight: 600;
    color: #1a1a1a;
}

.pricing-table .price {
    font-weight: 700;
    color: #0088cc;
    font-size: 1.1rem;
}

.pricing-table .highlighted {
    background: #f8fbff;
    border-left: 4px solid #0088cc;
}

.savings {
    display: block;
    margin-top: 8px;
    color: #16a085;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
}

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

.pricing-card.featured {
    border: 2px solid #0088cc;
    transform: scale(1.05);
}

.pricing-card .badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #0088cc;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0088cc;
    margin-bottom: 8px;
}

.pricing-card .period {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.savings-badge {
    background: #16a085;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: inline-block;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    text-align: left;
}

.pricing-card .features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.pricing-card .features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a085;
    font-weight: bold;
}

.pricing-card .features li:last-child {
    border-bottom: none;
}

/* Payment Steps */
.payment-steps {
    background: #f8fbff;
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid #0088cc;
}

.payment-steps li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* FAQ */
.faq {
    margin: 30px 0;
}

.faq-item {
    background: #f8fbff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid #0088cc;
}

.faq-item h3 {
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #555;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* Consent Template */
.consent-template {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    margin: 20px 0;
}

.consent-template h3 {
    color: #1a1a1a;
    margin-bottom: 12px;
}

.consent-template p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Effective Date */
.effective-date {
    background: #f8fbff;
    padding: 20px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 4px solid #0088cc;
}

.effective-date p {
    margin: 0;
    font-weight: 500;
    color: #1a1a1a;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0088cc;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .legal-document {
        padding: 20px;
        margin: 0 10px;
    }
    
    .document-header h1 {
        font-size: 2rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .document-meta {
        font-size: 0.85rem;
    }
    
    .subsection {
        padding-left: 10px;
    }
    
    ul, ol {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .document-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-document {
        padding: 16px;
        margin: 0 5px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .contact-info,
    .document-intro,
    .info-block,
    .important-note,
    .payment-steps,
    .faq-item,
    .consent-template,
    .effective-date {
        padding: 16px;
    }
}

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

/* Print styles */
@media print {
    .header,
    .footer,
    .btn {
        display: none !important;
    }
    
    .legal-document {
        box-shadow: none;
        padding: 0;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
    
    a {
        text-decoration: underline !important;
    }
}