/* child_safety.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    background: linear-gradient(180deg, #f8fafc 0%, #fef2f2 100%);
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    line-height: 1.7;
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(239, 68, 68, 0.06), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.06), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.cs-wrapper {
    min-height: 100vh;
    padding-top: 80px;
}

.cs-header {
    background: linear-gradient(135deg, #991b1b 0%, #ef4444 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(153, 27, 27, 0.2);
}

.cs-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08), transparent 50%);
    pointer-events: none;
}

.cs-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cs-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.cs-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.8s ease-out;
}

.cs-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin: 0 0 0.75rem 0;
    animation: fadeInUp 0.8s ease-out 0.15s backwards;
}

.cs-last-updated {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.cs-main {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cs-container {
    padding: 0 1rem;
}

.cs-intro {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.08);
    border-left: 5px solid #ef4444;
    animation: fadeInUp 0.6s ease-out;
}

.cs-intro-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #475569;
    margin: 0;
}

.cs-grid {
    display: grid;
    gap: 2rem;
}

.cs-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.cs-card:nth-child(1) { animation-delay: 0.1s; }
.cs-card:nth-child(2) { animation-delay: 0.2s; }
.cs-card:nth-child(3) { animation-delay: 0.3s; }
.cs-card:nth-child(4) { animation-delay: 0.4s; }
.cs-card:nth-child(5) { animation-delay: 0.5s; }
.cs-card:nth-child(6) { animation-delay: 0.6s; }
.cs-card:nth-child(7) { animation-delay: 0.7s; }
.cs-card:nth-child(8) { animation-delay: 0.8s; }

.cs-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
}

.cs-card-header {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    padding: 2rem 2.5rem;
    border-bottom: 2px solid rgba(239, 68, 68, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cs-section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #991b1b 0%, #ef4444 100%);
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
    flex-shrink: 0;
}

.cs-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.5px;
}

.cs-card-body {
    padding: 2.5rem;
}

.cs-section-intro {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

.cs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.04) 0%, rgba(220, 38, 38, 0.04) 100%);
    border-radius: 12px;
    border-left: 4px solid #ef4444;
    transition: all 0.3s ease;
}

.cs-list li:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.08) 100%);
    transform: translateX(8px);
    border-left-color: #991b1b;
}

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

.cs-list-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #991b1b 0%, #ef4444 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
    color: #ffffff;
}

.cs-list-content {
    flex: 1;
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}

.cs-list-content strong {
    color: #1e293b;
    font-weight: 600;
}

.cs-contact-card {
    background: linear-gradient(135deg, #991b1b 0%, #ef4444 100%);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.3);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out 0.9s backwards;
}

.cs-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 50%);
    pointer-events: none;
}

.cs-contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.cs-contact-icon {
    font-size: 2.5rem;
}

.cs-contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
}

.cs-contact-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 2rem 0;
    position: relative;
}

.cs-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cs-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.cs-contact-item:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cs-contact-label {
    font-size: 1rem;
}

.cs-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: #ffffff;
    color: #991b1b;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
}

.cs-contact-btn:hover {
    background: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.cs-btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.cs-contact-btn:hover .cs-btn-arrow {
    transform: translateX(5px);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .cs-title { font-size: 3rem; }
    .cs-section-title { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .cs-wrapper { padding-top: 60px; }
    .cs-header { padding: 3rem 1.5rem; }
    .cs-title { font-size: 2.5rem; }
    .cs-subtitle { font-size: 1.05rem; }
    .cs-last-updated { font-size: 1rem; }
    .cs-main { padding: 2rem 1rem; }
    .cs-intro { padding: 2rem; margin-bottom: 2rem; }
    .cs-intro-text { font-size: 1rem; }
    .cs-card-header { padding: 1.5rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
    .cs-section-num { width: 45px; height: 45px; font-size: 1.1rem; }
    .cs-section-title { font-size: 1.4rem; }
    .cs-card-body { padding: 1.5rem; }
    .cs-list li { padding: 1rem; flex-direction: column; align-items: flex-start; }
    .cs-contact-card { padding: 2rem 1.5rem; }
    .cs-contact-title { font-size: 1.8rem; }
    .cs-contact-sub { font-size: 1rem; }
    .cs-contact-btn { width: 100%; justify-content: center; padding: 1rem 2rem; }
}

@media (max-width: 576px) {
    .cs-title { font-size: 2rem; }
    .cs-intro { padding: 1.5rem; }
    .cs-card-header { padding: 1.25rem; }
    .cs-section-title { font-size: 1.25rem; }
    .cs-card-body { padding: 1.25rem; }
    .cs-section-intro { font-size: 0.95rem; }
    .cs-list-content { font-size: 0.95rem; }
    .cs-contact-card { padding: 1.5rem 1rem; }
    .cs-contact-header { flex-direction: column; gap: 0.5rem; }
    .cs-contact-title { font-size: 1.5rem; }
}
