:root {
    --bg-dark: #fcf8f4;
    --text-primary: #444444;
    --text-secondary: #727d73;
    --accent-color: #727d73;
    --accent-gradient: linear-gradient(135deg, #727d73, #8f9c90);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(114, 125, 115, 0.2);
    --font-main: 'Noto Sans JP', 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(114, 125, 115, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(114, 125, 115, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -2;
}

.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.6;
}

.glow-1 {
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, #f0f0d7, transparent 70%);
}

.glow-2 {
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, #d8ffff, transparent 70%);
}

/* Typography & Utilities */
.nw {
    display: inline-block;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(114, 125, 115, 0.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-main);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(114, 125, 115, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(114, 125, 115, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(114, 125, 115, 0.05);
    color: var(--accent-color);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(114, 125, 115, 0.1);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(252, 248, 244, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.logo i { color: var(--accent-color); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Layout Sections */
.section { padding: 8rem 0; }
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(114, 125, 115, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

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

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.mockup-wrapper {
    padding: 1rem;
    border-radius: 24px;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: 0 25px 50px -12px rgba(114, 125, 115, 0.2);
    background: white;
}

.mockup-wrapper:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.hero-mockup {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(114, 125, 115, 0.15);
    animation: float 6s ease-in-out infinite;
}

.floating-badge i { color: var(--accent-color); width: 18px; height: 18px; }

.badge-1 { top: -20px; left: -30px; animation-delay: 0s; }
.badge-2 { bottom: 40px; right: -40px; animation-delay: 2s; }

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(114, 125, 115, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(114, 125, 115, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* Mindmap Section */
.mindmap-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mindmap-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.feature-list { list-style: none; }
.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.feature-list i { color: #63a84d; }

.mindmap-visual {
    position: relative;
    height: 250px;
    padding: 2rem;
    overflow: hidden;
}

.visual-node {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    position: absolute;
    transform: translateY(-50%);
}

.root-node {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: #fff;
    left: 40px;
    top: 125px;
    box-shadow: 0 0 15px rgba(114, 125, 115, 0.3);
}

.child-node {
    background: #fff;
    border: 1px solid var(--glass-border);
    left: 240px;
}

.node-1 { top: 75px; }
.node-2 { top: 175px; }

.visual-lines {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Details Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
}

.detail-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* CTA */
.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(114, 125, 115, 0.1), rgba(114, 125, 115, 0.05));
}
.cta-box h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-box p { color: var(--text-secondary); font-size: 1.1rem; }

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container p { color: var(--text-secondary); font-size: 0.9rem; }

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.fab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(114, 125, 115, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.fab-btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(114, 125, 115, 0.2);
    color: var(--accent-color);
}

.fab-btn i {
    width: 18px;
    height: 18px;
    color: var(--accent-color);
}

#scrollToTopBtn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

#scrollToTopBtn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 1rem;
        right: 1rem;
    }
    .fab-btn .nw {
        display: none;
    }
    .fab-btn {
        padding: 1rem;
        border-radius: 50%;
    }
    .fab-btn i {
        margin: 0;
        width: 24px;
        height: 24px;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container, .mindmap-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-actions { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .badge-1 { display: none; }
    .badge-2 { display: none; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .details-grid { grid-template-columns: 1fr; }
}
