/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Navigation */
nav {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

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

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

.nav-links a:hover {
    color: #2563eb;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    padding: 8rem 2rem 6rem;
    text-align: center;
}

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

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

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

.cta-button {
    background: white;
    color: #2563eb;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: #f8fafc;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    text-align: center;
    background: white;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

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

.contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #1e293b;
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-content a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

/* Privacy Policy Page */
.privacy-hero {
    background: linear-gradient(135deg, #1a237e 0%, #303f9f 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.privacy-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.1;
}

.privacy-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.privacy-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.last-updated {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.policy-intro {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 800px;
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    gap: 3rem;
}

.policy-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.policy-nav {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.policy-nav ul {
    list-style: none;
    padding: 0;
}

.policy-nav li {
    margin-bottom: 1rem;
}

.policy-nav a {
    color: #1a237e;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.policy-nav a:hover {
    background: #f0f2ff;
    color: #303f9f;
}

.policy-main {
    flex: 1;
}

.privacy-content section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.privacy-content h2 {
    color: #1a237e;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.privacy-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.privacy-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.privacy-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.6;
}

.privacy-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 0.5rem;
    height: 0.5rem;
    background: #303f9f;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .privacy-content {
        flex-direction: column;
    }

    .policy-sidebar {
        width: 100%;
    }

    .policy-nav {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 6rem 1.5rem 3rem;
    }

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

    .policy-intro {
        font-size: 1.1rem;
    }

    .privacy-content {
        padding: 1.5rem;
    }

    .privacy-content section {
        padding: 1.5rem;
    }

    .privacy-content h2 {
        font-size: 1.5rem;
    }
}

/* Terms of Service Page */
.terms-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 2rem;
    margin-bottom: 2rem;
}

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

.terms-content .policy-section h2 {
    color: #1e40af;
}

.terms-list ul {
    list-style: none;
    padding-left: 0;
}

.terms-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 25px;
}

.terms-list li:before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.payment-info ul,
.ip-rights ul,
.liability-info ul {
    list-style: none;
    padding-left: 20px;
}

.payment-info li,
.ip-rights li,
.liability-info li {
    position: relative;
    padding: 8px 0;
    padding-left: 25px;
}

.payment-info li:before,
.ip-rights li:before,
.liability-info li:before {
    content: "✓";
    color: #3b82f6;
    position: absolute;
    left: 0;
}

.termination-info .styled-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .terms-hero {
        padding: 3rem 1.5rem;
    }

    .terms-content .policy-section {
        padding: 20px;
    }
}

/* Add these styles to the existing form styles */
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-weight: 500;
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    color: #374151;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.prominent-disclosure {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.disclosure-box {
    max-width: 800px;
    margin: 0 auto;
}

.disclosure-text {
    font-size: 16px;
    line-height: 1.6;
    color: #212529;
    margin-bottom: 15px;
}

.disclosure-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.disclosure-controls {
    background: #e9ecef;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.control-note {
    font-weight: 500;
    margin-bottom: 10px;
}

.consent-note {
    font-style: italic;
    color: #495057;
}

/* Permission Dialog Styles */
.permission-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    width: 480px;
    z-index: 1000;
}

.dialog-content h3 {
    margin-bottom: 16px;
    color: #212529;
}

.permission-explanation {
    margin-bottom: 20px;
}

.permission-note {
    color: #dc3545;
    font-weight: 500;
    margin: 12px 0;
}

.privacy-note {
    font-size: 14px;
    color: #6c757d;
    margin-top: 12px;
}

.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.btn-deny {
    padding: 8px 16px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: white;
    color: #212529;
}

.btn-allow {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #0d6efd;
    color: white;
    font-weight: 500;
}
