:root {
    --primary-color: #0af;
    /* Cyan */
    --secondary-color: #0056b3;
    /* Ocean Blue */
    --deep-bg: #021024;
    /* Deep Ocean Dark */
    --text-color: #e0f7fa;
    /* Light Blue-ish White */
    --text-muted: #8ca6bd;
    --glass-bg: rgba(2, 16, 36, 0.7);
    --glass-border: rgba(0, 170, 255, 0.3);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --font-main: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--deep-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: none;
    /* Reset gradient from light theme */
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(2, 16, 36, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: inherit;
    /* Reset from light theme */
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-contact {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: #fff;
}

.btn-contact:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.5);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s;
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    z-index: 999;
    padding-top: 5rem;
    transition: right 0.4s ease;
    border-left: 1px solid var(--glass-border);
    box-shadow: none;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 1.2rem;
    color: inherit;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(2, 16, 36, 0.3), var(--deep-bg));
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    color: inherit;
    text-shadow: 0 0 20px rgba(0, 170, 255, 0.8);
}

.hero-content .x-mark {
    color: var(--primary-color);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: normal;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: var(--primary-color);
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Sections Common */
.section {
    padding: 6rem 1rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    color: inherit;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    /* Dark theme glass */
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
}

/* About */
.company-info dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
}

.company-info dt {
    font-weight: 700;
    color: var(--primary-color);
    border-left: 2px solid var(--primary-color);
    padding-left: 1rem;
}

.en-name {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Concept */
.concept-content {
    text-align: center;
    margin-bottom: 4rem;
}

.concept-lead {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-item {
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    background: rgba(255, 255, 255, 0.05);
    /* Reset from light */
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: none;
    /* Reset */
}

.step-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 5px;
    right: 15px;
    line-height: 1;
}

.step-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: inherit;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Service */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    text-align: center;
    padding: 3rem 2rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    /* Reset */
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Dark hover */
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: none;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Works */
.works-list {
    display: grid;
    gap: 2rem;
}

.dark-bg {
    background-color: transparent;
    /* Reset */
}

.work-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.work-category ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: inherit;
}

.work-category ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Contact */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: inherit;
}

.required {
    color: #ff4081;
    margin-left: 0.3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s, transform 0.2s;
    box-shadow: none;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Footer */
footer {
    padding: 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    /* Dark footer */
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .company-info dl {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .company-info dt {
        border-left: none;
        padding-left: 0;
        margin-top: 1rem;
    }

    .company-info dt:first-child {
        margin-top: 0;
    }
}