:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #0ea5e9;
    --accent-color: #8b5cf6;
    --background: #f8fafc;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

body {
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--accent-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.danger {
    color: #ef4444;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at top right,
        rgba(99, 102, 241, 0.15) 0%,
        transparent 50%
    );
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(to right, #818cf8, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a5b4fc;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.feature-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    font-size: 2.5rem;
    background: linear-gradient(to right, #818cf8, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #e0e7ff;
}

.feature-item p {
    color: #a5b4fc;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #818cf8;
    color: #818cf8;
}

.cta-button.secondary:hover {
    background: rgba(129, 140, 248, 0.1);
    transform: translateY(-2px);
}

/* Benefits Section */
.benefits {
    padding: 8rem 2rem;
    background: #f8fafc;
    position: relative;
}

.benefits::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.03), transparent);
}

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

.benefits-content h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -1px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

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

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #1e1b4b;
    color: white;
    padding: 4rem 2rem;
}

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

.footer-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(to right, #818cf8, #c7d2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: #a5b4fc;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    color: #a5b4fc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }

    .nav-content {
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeIn 0.6s ease-out forwards;
}

.feature-item {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

/* Page Container */
.page-container {
    max-width: 1000px;
    margin: 7rem auto 4rem;
    padding: 0 2rem;
}

/* Delete Account Styles */
.delete-account-container {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.warning-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.delete-header h1 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-light);
}

.warning-box {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.warning-box h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-box ul {
    list-style: none;
}

.warning-box li {
    color: #991b1b;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.warning-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ef4444;
}

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

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

.delete-form input[type="email"],
.delete-form input[type="password"],
.delete-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.delete-form input[type="email"]:focus,
.delete-form input[type="password"]:focus,
.delete-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
}

.delete-button {
    width: 100%;
    padding: 1rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.delete-button:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Privacy and Terms Styles */
.policy-container,
.terms-container {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.policy-container h1,
.terms-container h1 {
    color: var(--text);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-light);
    margin-bottom: 3rem;
}

.policy-section,
.terms-section {
    margin-bottom: 3rem;
}

.policy-section h2,
.terms-section h2 {
    color: var(--text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.policy-section h2 i,
.terms-section h2 i {
    color: var(--primary-color);
}

.policy-list,
.terms-list {
    list-style: none;
    margin: 1rem 0;
}

.policy-list li,
.terms-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.policy-list li::before,
.terms-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Privacy Policy Additional Styles */
.policy-intro {
    margin-bottom: 3rem;
    color: var(--text);
    line-height: 1.7;
}

.policy-section h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.emphasis {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 0.25rem;
    color: var(--text);
    font-weight: 500;
}

.contact-list {
    list-style: none;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.contact-list li {
    margin-bottom: 0.75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-list li:last-child {
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-container {
        padding: 0 1rem;
        margin-top: 5rem;
    }

    .delete-account-container,
    .policy-container,
    .terms-container {
        padding: 2rem;
    }

    .policy-container h1,
    .terms-container h1 {
        font-size: 2rem;
    }

    .policy-section h2 {
        font-size: 1.3rem;
    }

    .policy-section h3 {
        font-size: 1.1rem;
    }
}

/* Child Safety Styles */
.safety-container {
    background: white;
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.safety-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.safety-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text);
    line-height: 1.7;
}

.safety-section {
    margin-bottom: 3rem;
}

.policy-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.safety-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.safety-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.enforcement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.enforcement-item {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.enforcement-item:hover {
    transform: translateY(-5px);
}

.enforcement-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.enforcement-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.enforcement-item p {
    color: var(--text-light);
}

.reporting-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.emergency-box {
    background: #fee2e2;
    border: 1px solid #fecaca;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-top: 3rem;
}

.emergency-box h3 {
    color: #dc2626;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.emergency-box ul {
    list-style: none;
    margin-top: 1rem;
}

.emergency-box li {
    margin-bottom: 0.5rem;
    color: #991b1b;
    padding-left: 1.5rem;
    position: relative;
}

.emergency-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #dc2626;
}

@media (max-width: 768px) {
    .enforcement-grid,
    .reporting-steps {
        grid-template-columns: 1fr;
    }

    .safety-container {
        padding: 2rem;
    }
}

/* Additional Child Safety Styles */
.highlight-section {
    background: linear-gradient(135deg, #4f46e510 0%, #8b5cf610 100%);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    margin-bottom: 3rem;
}

.definition-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.definition-box.warning {
    background: #fff5f5;
    border-color: #fed7d7;
}

.warning-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 0.5rem;
    color: #dc2626;
}

.warning-note i {
    font-size: 1.5rem;
}

.grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.grid-item {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item i {
    font-size: 2rem;
    color: #dc2626;
    margin-bottom: 1rem;
}

.measures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.measure-item {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.measure-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.check-list {
    list-style: none;
    margin: 1rem 0;
}

.check-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.enforcement-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.report-box {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.report-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.emergency-contact {
    background: #fee2e2;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
}

.emergency-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #dc2626;
}

.emergency-header i {
    font-size: 2rem;
}

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

.emergency-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.emergency-item h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .grid-box,
    .measures-grid,
    .enforcement-steps,
    .report-steps,
    .emergency-content {
        grid-template-columns: 1fr;
    }
}
