:root {
    /* Color Palette */
    --deep-navy: #0A1930;
    --deep-navy-light: #112240;
    --electric-blue: #00E5FF;
    --calm-red: #C93F42;
    --text-main: #CCD6F6;
    --text-muted: #8892B0;
    --white: #FFFFFF;

    /* Typography */
    --font-en: 'Inter', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Base HTML */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-en);
    background-color: var(--deep-navy);
    color: var(--text-main);
}

/* When Japanese language is active */
html[lang="ja"] {
    font-family: var(--font-jp);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utility / Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--deep-navy-light);
}

.section-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--electric-blue);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--calm-red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #a83234;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 63, 66, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--electric-blue);
    border: 1px solid var(--electric-blue);
}

.btn-secondary:hover {
    background-color: rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 0.5rem 1rem;
    background: transparent;
}
.btn-outline:hover {
    background-color: rgba(0, 229, 255, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(10, 25, 48, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 40px;
    object-fit: contain;
}

.logo-text {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-outline):hover {
    color: var(--electric-blue);
}

.lang-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 1rem;
}

.lang-toggle span.active {
    color: var(--white);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--electric-blue);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Decorative Background */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--electric-blue);
    top: 20%;
    right: 10%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--calm-red);
    bottom: 10%;
    right: 30%;
}

/* About / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--deep-navy-light);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Mission & Vision */
.mission-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.label {
    display: inline-block;
    color: var(--electric-blue);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.mission-text {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 4rem;
}

.mission-text.italic {
    font-style: italic;
}

.vision-text {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 3rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--calm-red);
}

.milestone-box {
    background: linear-gradient(135deg, rgba(100, 255, 218, 0.05), transparent);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.milestone-box h3 {
    color: var(--calm-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--deep-navy-light);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

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

.form-group label {
    display: block;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #233554;
    background-color: rgba(2, 12, 27, 0.7);
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* Contact Form Disabled State */
.coming-soon-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 48, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.coming-soon-overlay h2 {
    color: var(--electric-blue);
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0, 229, 255, 0.5);
    transform: rotate(-5deg);
}

.disabled-form {
    opacity: 0.4;
    pointer-events: none;
    margin: 0;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #233554;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
    background: var(--electric-blue);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
    background: var(--electric-blue);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
        position: fixed;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background-color: rgba(10, 25, 48, 0.98);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 999;
    }

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

    .nav-links a {
        font-size: 1.5rem;
    }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .logo-text { font-size: 1rem; }
    .mission-text { font-size: 1.5rem; }
    .hero { height: auto; padding: 6rem 1rem; }
    .hero-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { text-align: center; }
}
