/* ========================================
   MATCHA X - 次世代文化OS
   Optimized Typography & Spacing
   ======================================== */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    /* Brand Colors */
    --color-deep-green: #0F3D2E;
    --color-earth-tone: #BFAE9F;
    --color-void-white: #F6F5F2;
    --color-white: #FFFFFF;
    --color-black: #000000;
    
    /* Neutral Colors */
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #4A4A4A;
    --color-text-tertiary: #6B6B6B;
    --color-border: #E0E0E0;
    
    /* Typography Scale - Optimized for Readability */
    --font-size-xs: 0.875rem;      /* 14px */
    --font-size-sm: 0.9375rem;     /* 15px */
    --font-size-base: 1rem;        /* 16px */
    --font-size-md: 1.125rem;      /* 18px */
    --font-size-lg: 1.25rem;       /* 20px */
    --font-size-xl: 1.5rem;        /* 24px */
    --font-size-2xl: 1.875rem;     /* 30px */
    --font-size-3xl: 2.25rem;      /* 36px */
    --font-size-4xl: 3rem;         /* 48px */
    --font-size-5xl: 3.75rem;      /* 60px */
    --font-size-hero: 4.5rem;      /* 72px */
    
    /* Line Heights - Optimized for Japanese Text */
    --line-height-tight: 1.3;
    --line-height-snug: 1.5;
    --line-height-normal: 1.7;
    --line-height-relaxed: 1.8;
    --line-height-loose: 2.0;
    
    /* Letter Spacing */
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 0.03em;
    --letter-spacing-wider: 0.05em;
    
    /* Spacing Scale - Optimized for Section Breathing */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 1.5rem;    /* 24px */
    --space-lg: 2rem;      /* 32px */
    --space-xl: 3rem;      /* 48px */
    --space-2xl: 4rem;     /* 64px */
    --space-3xl: 6rem;     /* 96px */
    --space-4xl: 8rem;     /* 128px */
    --space-5xl: 10rem;    /* 160px */
    --space-6xl: 12rem;    /* 192px */
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 2rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-index */
    --z-nav: 1000;
    --z-overlay: 999;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--color-void-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-deep-green);
}

h1 {
    font-size: var(--font-size-hero);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-xl);
}

h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
}

p {
    margin-bottom: var(--space-md);
    line-height: var(--line-height-relaxed);
}

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

/* ========================================
   Container
   ======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(246, 245, 242, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 61, 46, 0.1);
    z-index: var(--z-nav);
    transition: all var(--transition-base);
    height: 80px;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(246, 245, 242, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height var(--transition-base);
}

.navbar.scrolled .nav-content {
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 50px;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.nav-logo:hover {
    opacity: 0.8;
    transform: scale(1.02);
}

.nav-logo-image {
    height: 55px;
    width: 55px;
    object-fit: contain;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-logo-image {
    height: 45px;
    width: 45px;
}

.nav-logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-deep-green);
    letter-spacing: var(--letter-spacing-wide);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    position: relative;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: var(--letter-spacing-wide);
    transition: color var(--transition-base), transform var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-deep-green);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-deep-green);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-deep-green);
}

.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--color-deep-green);
    color: var(--color-white);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-wide);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-earth-tone);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 61, 46, 0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-nav) + 1);
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--color-deep-green);
    transition: all var(--transition-base);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu-overlay {
    display: none;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-deep-green) 0%, #1A5A42 100%);
}

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

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 61, 46, 0.7) 0%,
        rgba(15, 61, 46, 0.5) 50%,
        rgba(15, 61, 46, 0.3) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-5xl) 0 var(--space-2xl);
}

.hero-logo {
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease-out backwards;
}

.hero-logo-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: var(--space-xl);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-line {
    display: block;
    animation: fadeInUp 1s ease-out backwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--color-earth-tone);
    letter-spacing: var(--letter-spacing-wider);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-description {
    font-size: var(--font-size-md);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    animation: fadeInUp 1s ease-out 1s backwards;
}

.scroll-text {
    font-size: var(--font-size-xs);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateX(-50%) rotate(45deg);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ========================================
   Section Styles - Optimized Spacing
   ======================================== */
.section {
    padding: var(--space-5xl) 0;
    position: relative;
}

/* Alternate Section Backgrounds */
.section:nth-child(even) {
    background-color: var(--color-white);
}

.section:nth-child(odd) {
    background-color: var(--color-void-white);
}

/* Section Header */
.section-header {
    margin-bottom: var(--space-4xl);
}

.section-header-center {
    text-align: center;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 600;
    color: var(--color-deep-green);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: var(--space-md);
}

.section-title-underline {
    width: 60px;
    height: 3px;
    background: var(--color-earth-tone);
    margin-bottom: var(--space-xl);
}

.section-header-center .section-title-underline {
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: var(--font-size-md);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    letter-spacing: var(--letter-spacing-normal);
    margin-top: var(--space-lg);
}

/* Section Content */
.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-lead {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-2xl);
}

.section-lead-center {
    text-align: center;
}

.section-text {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-lg);
}

.br-pc {
    display: block;
}

/* ========================================
   What is Section - X Concepts
   ======================================== */
.x-concepts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.x-concept-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.x-concept-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 61, 46, 0.1);
}

.x-concept-icon {
    font-size: var(--font-size-5xl);
    color: var(--color-deep-green);
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

.x-concept-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-deep-green);
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: var(--space-md);
}

.x-concept-description {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ========================================
   Vision Section
   ======================================== */
.section-vision {
    background: linear-gradient(135deg, var(--color-deep-green) 0%, #1A5A42 100%);
    color: var(--color-white);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-3xl);
}

.vision-card {
    padding: var(--space-3xl);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-label {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-earth-tone);
    letter-spacing: var(--letter-spacing-wider);
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

.vision-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--color-white);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-xl);
}

.vision-text {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
}

/* ========================================
   Values Section
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.value-card {
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 61, 46, 0.1);
}

.value-number {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--color-earth-tone);
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: var(--space-md);
}

.value-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-deep-green);
    margin-bottom: var(--space-md);
}

.value-description {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ========================================
   Domains Section
   ======================================== */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.domain-card {
    padding: var(--space-2xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.domain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(15, 61, 46, 0.1);
}

.domain-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-lg);
}

.domain-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-deep-green);
    margin-bottom: var(--space-md);
}

.domain-description {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* ========================================
   Ecosystem Section
   ======================================== */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-3xl);
    margin-top: var(--space-3xl);
}

.ecosystem-card {
    padding: var(--space-3xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.ecosystem-number {
    font-size: var(--font-size-lg);
    font-weight: 300;
    color: var(--color-earth-tone);
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: var(--space-md);
}

.ecosystem-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-deep-green);
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: var(--space-sm);
}

.ecosystem-subtitle {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

.ecosystem-list {
    list-style: none;
    padding: 0;
}

.ecosystem-list li {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    padding-left: var(--space-lg);
    position: relative;
    margin-bottom: var(--space-md);
}

.ecosystem-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-earth-tone);
    font-weight: 600;
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-3xl) 0;
}

.philosophy-lead {
    font-size: var(--font-size-2xl);
    font-weight: 500;
    color: var(--color-deep-green);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-2xl);
}

.philosophy-text {
    font-size: var(--font-size-md);
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: var(--line-height-loose);
    margin-bottom: var(--space-xl);
}

/* ========================================
   CTA Section
   ======================================== */
.section-cta {
    background: linear-gradient(135deg, var(--color-deep-green) 0%, #1A5A42 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.cta-title {
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--color-white);
    line-height: var(--line-height-snug);
    margin-bottom: var(--space-lg);
}

.cta-description {
    font-size: var(--font-size-md);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-2xl);
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--color-white);
    color: var(--color-deep-green);
    font-size: var(--font-size-base);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-wide);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.cta-button:hover {
    background: var(--color-earth-tone);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--color-deep-green);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.footer-logo {
    height: 60px;
}

.footer-logo-image {
    height: 100%;
    width: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: var(--letter-spacing-wide);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.footer-link {
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: var(--letter-spacing-wide);
    transition: color var(--transition-base);
}

.footer-link:hover {
    color: var(--color-white);
}

.footer-copyright {
    font-size: var(--font-size-xs);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: var(--letter-spacing-normal);
    text-align: center;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --font-size-hero: 3.5rem;     /* 56px */
        --font-size-4xl: 2.5rem;      /* 40px */
        --font-size-3xl: 2rem;        /* 32px */
        --space-5xl: 8rem;            /* 128px */
        --space-4xl: 6rem;            /* 96px */
        --container-padding: 1.5rem;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .br-pc {
        display: none;
    }
}

/* Mobile (Below 768px) */
@media (max-width: 768px) {
    :root {
        --font-size-hero: 2.5rem;     /* 40px */
        --font-size-4xl: 2rem;        /* 32px */
        --font-size-3xl: 1.75rem;     /* 28px */
        --font-size-2xl: 1.5rem;      /* 24px */
        --font-size-xl: 1.25rem;      /* 20px */
        --space-5xl: 5rem;            /* 80px */
        --space-4xl: 4rem;            /* 64px */
        --space-3xl: 3rem;            /* 48px */
        --container-padding: 1rem;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-content {
        height: 70px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: calc(100vh - 70px);
        background: var(--color-void-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-2xl);
        gap: var(--space-lg);
        transition: right var(--transition-base);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: var(--font-size-md);
        padding: var(--space-md) 0;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-cta {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
        z-index: calc(var(--z-overlay) - 1);
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .section {
        padding: var(--space-4xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-3xl);
    }
    
    .x-concepts,
    .values-grid,
    .domains-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: var(--space-4xl) 0 var(--space-2xl);
    }
    
    .hero-logo {
        margin-bottom: var(--space-md);
    }
    
    .hero-logo-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .scroll-indicator {
        bottom: var(--space-xl);
    }
}

/* Small Mobile (Below 480px) */
@media (max-width: 480px) {
    :root {
        --font-size-hero: 2rem;       /* 32px */
        --font-size-4xl: 1.75rem;     /* 28px */
        --font-size-3xl: 1.5rem;      /* 24px */
        --space-5xl: 4rem;            /* 64px */
        --space-4xl: 3rem;            /* 48px */
    }
    
    .hero-content {
        padding: var(--space-3xl) 0 var(--space-2xl);
    }
    
    .hero-logo {
        margin-bottom: var(--space-sm);
    }
    
    .hero-logo-image {
        width: 100px;
        height: 100px;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .nav-menu {
        width: 90%;
    }
}
