:root {
    --primary-color: #0062ff;
    --secondary-color: #00e0ff;
    --accent-color: #ff3e7f;
    --dark-blue: #001638;
    --light-blue: #003366;
    /*--text-color: #ffffff;*/
    --text-secondary: #b0c4de;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: var(--dark-blue);
    color: var(--text-color);
    line-height: 1.6;
    background-image:
            radial-gradient(circle at 20% 35%, rgba(0, 98, 255, 0.15) 0%, transparent 30%),
            radial-gradient(circle at 75% 65%, rgba(0, 224, 255, 0.1) 0%, transparent 40%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 224, 255, 0.2);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.brand-logo span {
    color: var(--secondary-color);
}

.logo-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    20%,
    100% {
        transform: translateX(100%);
    }
}

.hero-section {
    padding: 30px 0;
}

.hero-content {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    max-width: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 224, 255, 0.3);
    position: relative;
}

.hero-image img {
    width: 100%;
    display: block;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 22, 56, 0.5) 0%, rgba(0, 98, 255, 0.2) 100%);
}

h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    background: linear-gradient(90deg, var(--text-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

p {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.text-highlight {
    color: var(--secondary-color);
    font-weight: 500;
}

.text-accent {
    color: var(--accent-color);
    font-weight: 500;
}

.search-section {
    background-color: rgba(0, 22, 56, 0.6);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(0, 224, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.search-container {
    position: relative;
    margin-bottom: 25px;
}

.search-input {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(0, 224, 255, 0.2);
    outline: none;
    transition: box-shadow 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 4px 15px rgba(0, 98, 255, 0.3), inset 0 0 0 1px rgba(0, 224, 255, 0.5);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
}

.search-button {
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 98, 255, 0.4);
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.search-button:hover {
    box-shadow: 0 6px 20px rgba(0, 98, 255, 0.6);
    transform: translateY(-2px);
}

.performance-metrics {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.feature-grid {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    flex: 1;
    padding: 20px;
    background-color: rgba(0, 22, 56, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(0, 224, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(0, 224, 255, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 22, 56, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background-color: var(--dark-blue);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(0, 224, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-overlay.active .modal-container {
    animation: fadeIn 0.3s ease;
}

.progress-container {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-indicator {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.3s ease;
}

.processing-steps {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.processing-step {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.processing-step.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.completion-message {
    display: none;
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-action-button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    background: linear-gradient(45deg, var(--accent-color), #ff6b9d);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.modal-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 62, 127, 0.4);
}

.site-footer {
    padding: 30px 0;
    border-top: 1px solid rgba(0, 224, 255, 0.2);
    margin-top: 40px;
}

.legal-disclaimer {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-disclaimer p {
    margin-bottom: 15px;
}

.legal-links {
    margin: 20px 0;
    text-align: center;
}

.legal-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--text-color);
    text-decoration: underline;
}

.separator {
    color: var(--text-secondary);
    margin: 0 10px;
}

.modal-close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close-button:hover {
    color: var(--text-color);
}

.loading-animation {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 224, 255, 0.2);
    border-top: 3px solid var(--secondary-color);
    border-radius: 50%;
    animation: dotLoading 1s linear infinite;
    margin: 20px auto;
}

@keyframes dotLoading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }

    .hero-image {
        max-width: 100%;
    }

    .feature-grid {
        flex-direction: column;
    }

    h1 {
        font-size: 24px;
    }

    .metric-value {
        font-size: 20px;
    }

    .metric-label {
        font-size: 12px;
    }
}