:root {
    --red: #c41e3a;
    --red-dark: #9b1830;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray-light: #f8f8f8;
    --gray: #666;
    --font-main: 'Poppins', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0;
    transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-jp); font-size: 1.4rem; font-weight: 700; color: var(--white); text-decoration: none; transition: color .3s; }
.nav.scrolled .nav-logo { color: var(--black); }
.nav-menu { display: flex; list-style: none; gap: 2rem; }
.nav-menu a { color: rgba(255,255,255,.9); text-decoration: none; font-size: .9rem; font-weight: 400; transition: color .3s; }
.nav.scrolled .nav-menu a { color: var(--gray); }
.nav-menu a:hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }
.nav.scrolled .nav-toggle span { background: var(--black); }

/* Hero */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, #2d1015 50%, var(--red-dark) 100%);
    text-align: center; color: var(--white); overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 400'%3E%3Cpath d='M0 300 Q200 250 400 300 T800 300 L800 400 L0 400Z' fill='rgba(196,30,58,0.1)'/%3E%3Cpath d='M0 320 Q200 280 400 320 T800 320 L800 400 L0 400Z' fill='rgba(196,30,58,0.05)'/%3E%3C/svg%3E") bottom/cover no-repeat;
}
.hero-content { position: relative; z-index: 1; padding: 2rem; }
.hero-japanese { font-family: var(--font-jp); font-size: 1.2rem; letter-spacing: .3em; opacity: .7; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(3rem, 10vw, 6rem); font-weight: 700; margin-bottom: .5rem; }
.hero-tagline { font-size: 1.3rem; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 2.5rem; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; }
.hero-wave svg { display: block; width: 100%; height: 80px; }

/* Buttons */
.btn { display: inline-block; padding: .9rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: .95rem; transition: transform .2s, box-shadow .2s; }
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 4px 20px rgba(196,30,58,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(196,30,58,.5); }

/* Sections */
section { padding: 5rem 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: .5rem; }
.section-subtitle { text-align: center; color: var(--gray); margin-bottom: 3rem; }
.accent { color: var(--red); }

/* About */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.about-placeholder {
    width: 100%; aspect-ratio: 1; border-radius: 20px;
    background: linear-gradient(135deg, var(--gray-light), #ffe8ec);
    display: flex; align-items: center; justify-content: center;
}
.torii { font-size: 5rem; }
.about-text h2 { font-size: 2rem; margin-bottom: 1rem; }
.about-text p { color: var(--gray); margin-bottom: 1rem; }
.about-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.stat { text-align: center; }
.stat-number { display: block; font-size: 1.8rem; font-weight: 700; color: var(--red); }
.stat-label { font-size: .85rem; color: var(--gray); }

/* Platforms */
.platforms { background: var(--gray-light); }
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.platform-card {
    background: var(--white); border-radius: 16px; padding: 2.5rem 2rem; text-align: center;
    text-decoration: none; color: var(--black); transition: transform .3s, box-shadow .3s;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.platform-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.platform-icon { width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.platform-icon.tiktok { background: #f0f0f0; color: #000; }
.platform-icon.youtube { background: #fee; color: #f00; }
.platform-icon.instagram { background: #fef0f5; color: #e1306c; }
.platform-card h3 { margin-bottom: .3rem; }
.platform-card p { color: var(--gray); font-size: .9rem; margin-bottom: 1rem; }
.platform-cta { color: var(--red); font-weight: 600; font-size: .9rem; }

/* Lessons */
.lessons { background: var(--white); }
.lessons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.lesson-card {
    padding: 2.5rem; border-radius: 16px; border: 1px solid #eee;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.lesson-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); border-color: var(--red); }
.lesson-icon { font-family: var(--font-jp); font-size: 2.5rem; color: var(--red); margin-bottom: 1rem; }
.lesson-card h3 { margin-bottom: .5rem; }
.lesson-card p { color: var(--gray); font-size: .9rem; margin-bottom: 1rem; }
.lesson-level { display: inline-block; background: #fff0f3; color: var(--red); padding: .3rem .8rem; border-radius: 20px; font-size: .8rem; font-weight: 600; }

/* Testimonials */
.testimonials { background: var(--gray-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.testimonial-card {
    background: var(--white); padding: 2rem; border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05); position: relative;
}
.testimonial-card::before { content: '"'; position: absolute; top: 1rem; left: 1.5rem; font-size: 3rem; color: var(--red); opacity: .2; font-family: serif; }
.testimonial-text { font-size: .95rem; color: var(--gray); margin-bottom: 1.5rem; padding-top: 1rem; }
.author-name { display: block; font-weight: 600; }
.author-detail { font-size: .8rem; color: var(--gray); }

/* Contact */
.contact { background: var(--white); text-align: center; }
.contact-content { max-width: 500px; margin: 0 auto; }
.contact-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.contact-link {
    padding: .7rem 1.5rem; border: 2px solid #eee; border-radius: 50px;
    text-decoration: none; color: var(--black); font-weight: 500; font-size: .9rem;
    transition: border-color .3s, color .3s;
}
.contact-link:hover { border-color: var(--red); color: var(--red); }
.contact-cta { color: var(--gray); }

/* Footer */
.footer { background: var(--black); color: rgba(255,255,255,.6); text-align: center; padding: 2.5rem 0; font-size: .85rem; }
.footer-japanese { font-family: var(--font-jp); margin-top: .5rem; opacity: .5; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Mobile */
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; align-items: center; transition: right .3s; box-shadow: -5px 0 30px rgba(0,0,0,.1); }
    .nav-menu.active { right: 0; }
    .nav-menu a { color: var(--black) !important; font-size: 1.2rem; }
    .nav-toggle { display: block; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .platforms-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .lessons-grid { grid-template-columns: 1fr; }
    .about-stats { justify-content: center; }
}
