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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: #0B132A !important;
    background-color: #0B132A !important;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: none; /* Hide Kanji on privacy policy page */
}

/* Modern Blurred Blobs Background */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #6DFFE8;
    top: -150px;
    left: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #227B9E;
    top: 20%;
    right: -150px;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: #6DFFE8;
    bottom: -100px;
    left: 10%;
}

.blob-4 {
    width: 300px;
    height: 300px;
    background: #227B9E;
    bottom: -80px;
    right: -80px;
}

.blob-5 {
    width: 250px;
    height: 250px;
    background: #6DFFE8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.15;
}

.blob-6 {
    width: 450px;
    height: 450px;
    background: #227B9E;
    top: -200px;
    right: 15%;
    opacity: 0.2;
}

.blob-7 {
    width: 320px;
    height: 320px;
    background: #6DFFE8;
    bottom: 20%;
    left: -120px;
    opacity: 0.25;
}

.blob-8 {
    width: 400px;
    height: 400px;
    background: #000000;
    top: 30%;
    left: 20%;
    opacity: 0.4;
}

.blob-9 {
    width: 350px;
    height: 350px;
    background: #000000;
    top: 10%;
    right: 25%;
    opacity: 0.35;
}

.blob-10 {
    width: 300px;
    height: 300px;
    background: #000000;
    bottom: 15%;
    right: 30%;
    opacity: 0.3;
}

/* Main Container */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 60px;
    min-height: 100vh;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 70px;
    padding: 0 10px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.main-title {
    font-size: clamp(24px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    padding: 0 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.subtitle {
    font-size: clamp(14px, 1.2vw, 18px);
    color: #6DFFE8;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

/* Content */
.content {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.section {
    margin-bottom: 40px;
    padding: 35px 40px;
    background: rgba(9, 19, 42, 0.68);
    backdrop-filter: blur(18px);
    border-radius: 22px;
    border: 1px solid rgba(109, 255, 232, 0.12);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.35s ease;
}
.section:hover {
    border-color: rgba(109, 255, 232, 0.35);
    background: rgba(9, 19, 42, 0.82);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(109, 255, 232, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}
.section-header {
    display: flex;
    align-items: center;
    gap: 18px;
}
.section-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(109, 255, 232, 0.95) 0%, rgba(34, 123, 158, 0.95) 100%);
    border-radius: 18px;
    font-weight: 700;
    font-size: 22px;
    color: #041020;
    letter-spacing: 0.5px;
    box-shadow:
        0 15px 40px rgba(109, 255, 232, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    line-height: 1;
}
.section-title {
    font-size: clamp(22px, 2.4vw, 30px);
    color: #6DFFE8;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}
.section-content {
    margin-top: 24px;
}

.section-content p {
    margin-bottom: 16px;
    color: #e0e0e0;
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.8;
}

.section-content strong {
    color: #6DFFE8;
    font-weight: 600;
}

.section-content ul {
    margin-left: 20px;
    margin-top: 12px;
    margin-bottom: 12px;
    list-style: none;
}

.section-content li {
    margin-bottom: 10px;
    color: #e0e0e0;
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.8;
    position: relative;
    padding-left: 24px;
}

.section-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #6DFFE8;
    font-size: 16px;
    font-weight: bold;
}

/* Back Link */
.back-link-wrapper {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #6DFFE8 0%, #227B9E 100%);
    border-radius: 50px;
    border: 2px solid rgba(109, 255, 232, 0.4);
    box-shadow: 
        0 10px 30px rgba(109, 255, 232, 0.3),
        0 0 20px rgba(109, 255, 232, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.back-link:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(109, 255, 232, 0.5),
        0 0 30px rgba(109, 255, 232, 0.4);
    border-color: rgba(109, 255, 232, 0.7);
}

/* Last Updated */
.last-updated {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 900px) {
    body {
        background: #0B132A !important;
        background-color: #0B132A !important;
    }

    .container {
        padding: 50px 30px;
    }

    .header {
        margin-bottom: 50px;
        padding: 0 5px;
    }

    .main-title {
        font-size: clamp(20px, 5vw, 32px);
        line-height: 1.4;
        padding: 0 5px;
    }

    .section {
        padding: 25px 25px;
        margin-bottom: 35px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-number {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .section-content {
        margin-top: 18px;
    }

    /* Ensure background blobs are visible on mobile with soft gradient effect */
    .background-blobs {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1 !important;
    }

    .blob {
        display: block !important;
        visibility: visible !important;
        filter: blur(100px) !important;
        opacity: 0.2 !important;
        transition: opacity 0.3s ease;
    }

    /* Softer, more elegant blob positioning on mobile */
    .blob-1 {
        width: 400px !important;
        height: 400px !important;
        opacity: 0.15 !important;
        filter: blur(120px) !important;
    }

    .blob-2 {
        width: 350px !important;
        height: 350px !important;
        opacity: 0.18 !important;
        filter: blur(110px) !important;
    }

    .blob-3 {
        width: 300px !important;
        height: 300px !important;
        opacity: 0.15 !important;
        filter: blur(115px) !important;
    }

    .blob-4 {
        width: 280px !important;
        height: 280px !important;
        opacity: 0.16 !important;
        filter: blur(105px) !important;
    }

    .blob-5 {
        width: 220px !important;
        height: 220px !important;
        opacity: 0.12 !important;
        filter: blur(130px) !important;
    }

    .blob-6 {
        width: 380px !important;
        height: 380px !important;
        opacity: 0.14 !important;
        filter: blur(125px) !important;
    }

    .blob-7 {
        width: 270px !important;
        height: 270px !important;
        opacity: 0.13 !important;
        filter: blur(110px) !important;
    }

    .blob-8, .blob-9, .blob-10 {
        opacity: 0.25 !important;
        filter: blur(100px) !important;
    }

    #backgroundCanvas {
        display: none !important; /* Keep Kanji hidden on privacy policy page */
    }
}

@media (max-width: 600px) {
    body {
        background: #0B132A !important;
        background-color: #0B132A !important;
    }

    .container {
        padding: 40px 15px;
    }

    .header {
        padding: 0;
        margin-bottom: 40px;
    }

    .main-title {
        font-size: clamp(18px, 6vw, 28px);
        line-height: 1.5;
        padding: 0;
    }

    .section {
        padding: 20px 20px;
    }

    .section-header {
        gap: 10px;
    }

    .back-link {
        padding: 14px 30px;
        font-size: 13px;
    }

    .blob {
        filter: blur(110px) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 0.18 !important;
    }

    .background-blobs {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 1 !important;
    }

    /* Even softer blobs on small mobile for elegant gradient */
    .blob-1 {
        width: 350px !important;
        height: 350px !important;
        opacity: 0.12 !important;
        filter: blur(140px) !important;
    }

    .blob-2 {
        width: 300px !important;
        height: 300px !important;
        opacity: 0.14 !important;
        filter: blur(130px) !important;
    }

    .blob-3 {
        width: 280px !important;
        height: 280px !important;
        opacity: 0.12 !important;
        filter: blur(135px) !important;
    }

    .blob-4 {
        width: 250px !important;
        height: 250px !important;
        opacity: 0.13 !important;
        filter: blur(125px) !important;
    }

    .blob-5 {
        width: 200px !important;
        height: 200px !important;
        opacity: 0.1 !important;
        filter: blur(150px) !important;
    }

    .blob-6 {
        width: 330px !important;
        height: 330px !important;
        opacity: 0.11 !important;
        filter: blur(145px) !important;
    }

    .blob-7 {
        width: 240px !important;
        height: 240px !important;
        opacity: 0.1 !important;
        filter: blur(130px) !important;
    }

    .blob-8, .blob-9, .blob-10 {
        opacity: 0.2 !important;
        filter: blur(120px) !important;
    }

    #backgroundCanvas {
        display: none !important; /* Keep Kanji hidden on privacy policy page */
    }
}
