:root {
    --bg-color: #0d0f12;
    --bg-darker: #050608;
    --text-primary: #e6e8eb;
    --text-secondary: #9da3ad;
    --accent-color: #2a75d3;
    --accent-glow: rgba(42, 117, 211, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3 {
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    margin-bottom: 3.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--accent-color);
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-size: 1.05rem;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 10rem 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(13, 15, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    transition: transform 0.3s ease, background 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.navbar.scrolled {
    background: rgba(8, 9, 11, 0.95);
    padding: 1rem 5%;
}

.logo {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    z-index: 1001;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

/* Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.nav-toggle span {
    width: 100%;
    height: 1px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: left center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    width: 26px;
}

.nav-toggle.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    width: 26px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, rgba(42, 117, 211, 0.08) 0%, var(--bg-color) 70%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 5%;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    animation: scrollLine 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-grid.reverse .text-block {
    order: 2;
}

.content-grid.reverse .image-block {
    order: 1;
}

/* Abstract Shapes & Images */
.concept-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(42, 117, 211, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.concept-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(42, 117, 211, 0.2);
}

.vision-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 165, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.vision-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 165, 0, 0.2);
}

.abstract-shape {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.shape-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.4;
    animation: pulse 8s infinite alternate ease-in-out;
}

.shape-2::before {
    content: '';
    position: absolute;
    top: 40%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: #5b9ee6;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: morph 12s infinite alternate ease-in-out;
}

/* Process Steps */
.section-desc {
    max-width: 700px;
    margin-bottom: 4rem;
}

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

.step-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3.5rem 2.5rem;
    border-radius: 16px;
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(42, 117, 211, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.step-card:hover::before {
    opacity: 1;
}

.step-num {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    transition: color 0.4s ease;
}

.step-card:hover .step-num {
    color: rgba(42, 117, 211, 0.15);
}

.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.step-card p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* Screening Section */
.screening-section {
    padding: 60px 0 40px;
    text-align: center;
}

/* Screening Block */
.screening-block {
    display: inline-block;
    padding: 40px 48px;
    background: rgba(42, 117, 211, 0.1);
    border: 1px solid rgba(42, 117, 211, 0.4);
    border-radius: 20px;
}

.screening-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #a0c4ff;
    margin-bottom: 20px;
}

.screening-button {
    display: inline-block;
    padding: 20px 48px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2a75d3 0%, #1a5bb8 100%);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(42, 117, 211, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
    letter-spacing: 0.02em;
}

.screening-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 36px rgba(42, 117, 211, 0.6), 0 0 0 1px rgba(255,255,255,0.15) inset;
    filter: brightness(1.12);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(42, 117, 211, 0.05) 0%, transparent 70%);
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a5bb8 100%);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(42, 117, 211, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(42, 117, 211, 0.4), 0 0 20px rgba(42, 117, 211, 0.2);
    filter: brightness(1.1);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    text-align: center;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

footer p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.5; }
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: rotate(15deg); }
}

/* Scroll Fade Animation */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger Process Steps */
.process-steps .step-card:nth-child(1) { transition-delay: 0.1s; }
.process-steps .step-card:nth-child(2) { transition-delay: 0.2s; }
.process-steps .step-card:nth-child(3) { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .content-grid.reverse .text-block {
        order: 1;
    }
    .content-grid.reverse .image-block {
        order: 2;
    }
    h1 {
        font-size: 2.8rem;
    }
    .abstract-shape {
        height: 350px;
    }
    .section {
        padding: 8rem 0;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 6, 8, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

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

    .nav-menu ul {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.5rem;
        font-weight: 300;
    }

    .container {
        padding: 0 7%;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 6rem 0;
    }

    h1 {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .step-card {
        padding: 2.5rem 1.5rem;
    }

    .cta-button {
        padding: 16px 28px;
        font-size: 1rem;
    }
}
