/* ======================================
   Variables & Reset
   ====================================== */
:root {
    /* Colors */
    --navy-primary: #1a2332;
    --navy-dark: #0f1419;
    --navy-light: #2c3e50;
    --gold-primary: #d4a574;
    --gold-light: #e6c89f;
    --gold-dark: #b8935f;
    --green-primary: #2d7a3e;
    --green-light: #4a9d5a;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    
    /* Typography */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

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

/* ======================================
   Header & Navigation
   ====================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-serif);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.nav-cta::after {
    display: none;
}

/* ======================================
   Hero Section
   ====================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="%23d4a574" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

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

.hero-subtitle {
    color: var(--gold-primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-primary);
    font-family: var(--font-serif);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 5px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

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

/* ======================================
   Buttons
   ====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--navy-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--navy-primary);
    border: 2px solid var(--navy-primary);
}

.btn-outline:hover {
    background: var(--navy-primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* ======================================
   Section Styles
   ====================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ======================================
   Value Proposition
   ====================================== */
.value-proposition {
    padding: var(--section-padding);
    background: var(--gray-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-primary);
    margin-bottom: 15px;
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ======================================
   Ecosystem Section
   ====================================== */
.ecosystem {
    padding: var(--section-padding);
    background: var(--white);
}

.ecosystem-layers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.layer-card {
    background: var(--gray-light);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.layer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy-primary), var(--navy-light));
}

.layer-card.featured {
    background: var(--navy-primary);
    color: var(--white);
    transform: scale(1.05);
}

.layer-card.featured::before {
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
}

.layer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.layer-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.layer-number {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(212, 165, 116, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-serif);
}

.layer-card.featured .layer-number {
    color: rgba(255, 255, 255, 0.1);
}

.layer-badge {
    display: inline-block;
    background: var(--gold-primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.layer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.layer-card.featured .layer-title {
    color: var(--gold-primary);
}

.layer-description {
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.layer-features {
    margin: 25px 0;
}

.layer-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.layer-features i {
    color: var(--green-primary);
}

.layer-card.featured .layer-features i {
    color: var(--gold-primary);
}

.layer-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: var(--navy-primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.layer-card.featured .layer-btn {
    background: var(--gold-primary);
    color: var(--navy-primary);
}

.layer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* ======================================
   About Snippet
   ====================================== */
.about-snippet {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-primary));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.4);
}

.about-label {
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.about-subtitle {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.about-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-quote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--gold-primary);
    padding: 25px 30px;
    margin: 30px 0;
    position: relative;
}

.about-quote i {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--gold-primary);
    opacity: 0.3;
}

.about-quote p {
    color: var(--white);
    font-size: 1.1rem;
    font-style: italic;
    margin-left: 30px;
}

/* ======================================
   Manifesto
   ====================================== */
.manifesto {
    padding: var(--section-padding);
    background: var(--gold-primary);
    color: var(--white);
    text-align: center;
}

.manifesto-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.manifesto-formula {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 30px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-family: var(--font-serif);
}

.manifesto-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* ======================================
   CTA Section
   ====================================== */
.cta-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-dark));
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.cta-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ======================================
   Footer
   ====================================== */
.footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-logo h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section h4 {
    color: var(--gold-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold-primary);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ======================================
   Responsive Design
   ====================================== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--navy-primary);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-layers {
        grid-template-columns: 1fr;
    }
    
    .layer-card.featured {
        transform: scale(1);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .manifesto-formula {
        font-size: 1.1rem;
        padding: 20px;
    }
}
