/* 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: 4rem 2rem;
    margin-bottom: 2rem;
}

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

.hero-divider {
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.hero-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .privacy-hero {
        padding: 3rem 1.5rem;
    }
}

.policy-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.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);
}

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

.policy-nav li {
    margin-bottom: 15px;
}

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

.policy-nav a:hover {
    background: #f7fafc;
    color: #2b6cb0;
}

.policy-main {
    flex: 1;
}

.policy-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.policy-section h2 {
    color: #1a365d;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

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

.styled-list li {
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
}

.styled-list li:last-child {
    border-bottom: none;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 8px;
}

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

    .policy-sidebar {
        width: 100%;
    }

    .policy-nav {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 80px 0 40px;
    }

    .policy-section {
        padding: 25px;
    }

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

.deletion-hero {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    padding: 80px 0 40px;
    margin-bottom: 40px;
}

.deletion-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

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

.deletion-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.deletion-warning {
    background: #fff5f5;
    border: 2px solid #fc8181;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
}

.warning-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.step-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: #dc2626;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.deletion-checklist {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #dc2626;
}

.deletion-action {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.deletion-form {
    max-width: 400px;
    margin: 20px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cancel {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    background: #e5e7eb;
    color: #374151;
    cursor: pointer;
    font-weight: 500;
}

.btn-delete {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    background: #dc2626;
    color: white;
    cursor: pointer;
    font-weight: 500;
}

.btn-delete:hover {
    background: #991b1b;
}

.deletion-support {
    text-align: center;
    padding: 30px;
    background: #f9fafb;
    border-radius: 8px;
}

.support-contact {
    margin-top: 20px;
}

.support-contact a {
    color: #dc2626;
    text-decoration: none;
    margin: 0 10px;
}

.support-contact span {
    color: #6b7280;
}

@media (max-width: 768px) {
    .deletion-hero {
        padding: 60px 0 30px;
    }

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

    .button-group {
        flex-direction: column;
    }

    .deletion-action {
        padding: 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}

.modal-icon {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 20px;
    background: #f0fdf4;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-content h2 {
    color: #1f2937;
    margin-bottom: 15px;
}

.modal-content p {
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-note {
    font-size: 0.9rem;
    color: #dc2626 !important;
    background: #fff5f5;
    padding: 10px;
    border-radius: 6px;
    margin: 20px 0;
}

.btn-ok {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-ok:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 25px;
        margin: 20px;
    }
}

/* 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;
}
