body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #0f1535 60%, #1ec6e6 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 32px 16px 0 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.robot-img {
    width: 160px;
    height: 160px;
    margin-bottom: 16px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-img img {
    animation: ai-float 2.2s ease-in-out infinite alternate;
}

@keyframes ai-float {
    0% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 2px 8px #ffa20044);
    }

    50% {
        transform: translateY(-12px) scale(1.04);
        filter: drop-shadow(0 8px 18px #ffa20066);
    }

    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 2px 8px #ffa20044);
    }
}

.title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffa200;
    text-align: left;
    width: 100%;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 24px;
    color: #fff;
    text-align: left;
    width: 100%;
    line-height: 1.2;
}

.card {
    background: rgba(20, 30, 60, 0.95);
    border-radius: 18px;
    padding: 20px 18px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.result-box {
    background: linear-gradient(135deg, #18213c 60%, #1ec6e6 100%);
    border-radius: 12px;
    padding: 64px 18px;
    max-width: 340px;
    margin: 60px auto;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.accuracy {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #fff;
}

.accuracy .percent {
    color: #ffa200;
    font-weight: bold;
    font-size: 1.3rem;
}

.desc {
    font-size: 1rem;
    color: #b8c6e0;
    margin-bottom: 6px;
}

.desc .highlight {
    color: #ffa200;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.input-group {
    width: 100%;
    margin-bottom: 18px;
}

.input-group input {
    width: 100%;
    padding: 14px 12px;
    border-radius: 8px;
    border: none;
    background: #232b45;
    color: #b8c6e0;
    font-size: 1rem;
    outline: none;
    margin-bottom: 0;
    box-sizing: border-box;
}

.btn {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-radius: 24px;
    background: linear-gradient(90deg, #1ec6e6 0%, #25a4e9 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    box-shadow: 0 2px 8px rgba(30, 198, 230, 0.18);
    animation: btn-breath 1.8s ease-in-out infinite;
}

@keyframes btn-breath {
    0% {
        box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0.25),
            0 2px 8px rgba(30, 198, 230, 0.18);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 4px 32px 0 rgba(30, 198, 230, 0.38),
            0 2px 16px rgba(30, 198, 230, 0.22);
        transform: scale(1.04);
    }

    100% {
        box-shadow: 0 2px 16px 0 rgba(30, 198, 230, 0.25),
            0 2px 8px rgba(30, 198, 230, 0.18);
        transform: scale(1);
    }
}

#chat-btn {
    animation: breath 1.6s ease-in-out infinite;
}

@keyframes breath {
    0% {
        box-shadow: 0 2px 12px 0 #15a22333;
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 24px 0 #15a22355;
        transform: scale(1.04);
    }

    100% {
        box-shadow: 0 2px 12px 0 #15a22333;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 18px 4px 0 4px;
    }

    .robot-img {
        width: 120px;
        height: 120px;
    }

    .title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 0;
    }

    .subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
}

body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px 16px; border-radius: 3px; }
#message h3 { color: #888; font-weight: normal; font-size: 16px; margin: 16px 0 12px; }
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
@media (max-width: 600px) {
  body, #message { margin-top: 0; background: white; box-shadow: none; }
  body { border-top: 16px solid #ffa100; }
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

.story {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    padding: 40px;
    transition: all 0.3s ease;
}

.story:hover {
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.top_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #15a223;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.top_title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #15a223;
    border-radius: 3px;
}

.textBlock01 {
    font-size: 16px;
    color: #444;
}

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

.textBlock01 li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
    line-height: 1.8;
}

.textBlock01 li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #15a223;
    font-size: 24px;
    top: -5px;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #15a223;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #0e7b18;
    transform: translateX(-5px);
}

.back-link:before {
    content: "←";
    margin-right: 5px;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #15a223;
    margin-bottom: 15px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.info-table th,
.info-table td {
    border: 1px solid #eee;
    padding: 12px 15px;
    text-align: left;
}

.info-table th {
    background-color: #f7f9fc;
    font-weight: 600;
    color: #15a223;
}

.info-table tr:hover {
    background-color: #f9f9f9;
}

.consent-box {
    background-color: #f5f7fa;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .container {
        margin: 20px auto;
    }

    .story {
        padding: 30px 20px;
    }

    .top_title {
        font-size: 24px;
    }

    .info-table th,
    .info-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .story {
        padding: 20px 15px;
    }

    .top_title {
        font-size: 22px;
    }

    .textBlock01 li {
        padding-left: 25px;
    }

    .info-table,
    .info-table thead,
    .info-table tbody,
    .info-table th,
    .info-table td,
    .info-table tr {
        display: block;
    }

    .info-table th {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .info-table tr {
        border: 1px solid #eee;
        margin-bottom: 10px;
    }

    .info-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: left;
    }

    .info-table td:before {
        position: absolute;
        top: 12px;
        left: 12px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: #15a223;
    }

    .info-table td:nth-of-type(1):before {
        content: "Collected Items";
    }

    .info-table td:nth-of-type(2):before {
        content: "Collection Purpose";
    }

    .info-table td:nth-of-type(3):before {
        content: "Storage Period";
    }
}

.section-highlight {
    background-color: #f8fff9;
    border-left: 4px solid #15a223;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.accordion {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    background-color: #f9f9f9;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: #f5f5f5;
}

.accordion-header:after {
    content: "+";
    position: absolute;
    right: 20px;
    font-size: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #15a223;
}

.accordion-content {
    padding: 0px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-active .accordion-header:after {
    content: "-";
}

.accordion-active .accordion-content {
    padding: 15px 20px;
    max-height: 1000px;
}

#cookie-banner {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(20, 30, 60, 0.98);
    color: #fff;
    padding: 14px 12px;
    font-size: 0.98rem;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.13);
}

#cookie-banner span {
    flex: 1;
}

#cookie-banner button {
    margin-left: 18px;
    padding: 7px 18px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(90deg, #1ec6e6 0%, #3eeaff 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
