:root {
    --bg-color: #f4f4f9;
    --container-bg: white;
    --text-color: #333;
    --button-bg: #007bff;
    --button-hover: #0056b3;
    --shadow: rgba(0,0,0,0.1);
    --nav-bg: #ffffff;
}

[data-theme='dark'] {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #f4f4f9;
    --shadow: rgba(255,255,255,0.05);
    --nav-bg: #252525;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding-top: 80px;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background-color: var(--nav-bg);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--button-bg);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--button-bg);
}

.container {
    text-align: center;
    background: var(--container-bg);
    padding: 40px;
    width: 100%;
    max-width: 900px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 60px;
}

.section-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

[data-theme='dark'] .section-desc {
    color: #aaa;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    text-align: left;
    margin-top: 30px;
}

.info-item h3 {
    color: var(--button-bg);
    margin-bottom: 15px;
}

.site-footer {
    width: 100%;
    background-color: var(--nav-bg);
    padding: 40px 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px var(--shadow);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.section-divider {
...
    border: 0;
    border-top: 2px solid var(--shadow);
    margin: 60px 0;
}

.animal-test-section {
    margin-bottom: 40px;
}

.upload-area {
    width: 100%;
    min-height: 200px;
    border: 2px dashed var(--shadow);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin: 20px 0;
    padding: 20px;
    box-sizing: border-box;
}

.upload-area:hover {
    background-color: var(--shadow);
    border-color: var(--button-bg);
}

.upload-text {
    color: var(--text-color);
    font-size: 16px;
}

.result-container {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-color);
    border-radius: 10px;
}

#label-container div {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.bar-container {
    flex-grow: 1;
    background-color: #ddd;
    height: 20px;
    border-radius: 10px;
    margin-left: 10px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background-color: var(--button-bg);
    border-radius: 10px;
    transition: width 0.5s ease;
}

h1 {
    color: var(--text-color);
    margin-bottom: 30px;
}

.numbers-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.number {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffde00;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#generate-button {
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    background-color: var(--button-bg);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

#generate-button:hover {
    background-color: var(--button-hover);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.inquiry-section {
    margin-top: 40px;
    text-align: left;
}

.inquiry-section hr {
    border: 0;
    border-top: 1px solid var(--shadow);
    margin-bottom: 30px;
}

.inquiry-section h3 {
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

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

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--shadow);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--button-bg);
}

textarea {
    height: 100px;
    resize: vertical;
}

#submit-button {
    width: 100%;
    padding: 12px;
    background-color: var(--button-bg);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#submit-button:hover {
    background-color: var(--button-hover);
}

.comments-section {
    margin-top: 40px;
}

.comments-section hr {
    border: 0;
    border-top: 1px solid var(--shadow);
    margin-bottom: 30px;
}

.theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
}

#theme-button {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--text-color);
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}
