/* =============================================
   KSS LP v3 — Destiny Architecture
   Design: Light Ivory + Deep Navy (v1 palette)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&family=Inter:wght@400;500;700&display=swap');

:root {
    --bg-dark: #FAF9F6;
    --bg-section: #FFFFFF;
    --bg-card: rgba(15,76,129,0.03);
    --gold: #0F4C81;
    --gold-light: #1A1A2E;
    --gold-dim: rgba(15,76,129,0.12);
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #777777;
    --white: #1A1A2E;
    --border: rgba(0,0,0,0.08);
    --glass: rgba(15,76,129,0.02);
    --glass-border: rgba(0,0,0,0.08);
    --line-green: #06C755;
    --danger: #D9534F;
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --font-accent: 'Inter', sans-serif;
    --max-w: 960px;
    --section-pad: clamp(80px, 10vw, 140px);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.9;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border-radius: 0; }
ul { list-style: none; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid #E0E0E0;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #0F4C81;
    text-transform: uppercase;
}
.nav-links {
    display: flex; gap: 6px;
    background: #F1F5F9;
    border-radius: 100px;
    padding: 3px;
}
.nav-link {
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 100px;
    color: var(--text-secondary);
    transition: all 0.3s;
    white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { background: var(--gold); color: #ffffff; font-weight: 700; }

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero_beach_v3.png') center/cover no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,76,129,0.6) 0%, rgba(15,76,129,0.1) 50%, rgba(15,76,129,0.5) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.3);
}
.hero-tag {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FFF176;
    border: 1px solid rgba(255,241,118,0.3);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 32px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}
.hero h1 em {
    font-style: normal;
    color: #FFF176;
}
.hero-sub {
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 48px;
    line-height: 2;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 16px 36px;
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all 0.4s;
    cursor: pointer;
}
.hero-cta:hover {
    background: #FFFFFF;
    color: #1A1A2E;
}
.hero-cta::after {
    content: '→';
    transition: transform 0.3s;
}
.hero-cta:hover::after { transform: translateX(4px); }

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --- Section Common --- */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-section); }

.section-label {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    color: #1A1A2E;
    margin-bottom: 24px;
    line-height: 1.35;
}
.section-lead {
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 60px;
}

/* --- Empathy --- */
.empathy-quotes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 620px;
    margin-bottom: 60px;
}
.empathy-q {
    padding: 24px 28px;
    background: var(--bg-card);
    border-left: 2px solid var(--gold-dim);
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.9;
}
.empathy-answer {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2.2;
}
.empathy-answer strong { color: var(--gold); font-weight: 500; }

/* --- Theory (3 Layers) --- */
.theory-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}
.theory-visual img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--gold-dim);
}
.layers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.layer-card {
    padding: 40px 28px;
    background: var(--bg-card);
    border-top: 1px solid var(--gold-dim);
    transition: background 0.3s;
}
.layer-card:hover { background: rgba(15,76,129,0.06); }
.layer-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gold-dim);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1;
}
.layer-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: #1A1A2E;
    margin-bottom: 12px;
}
.layer-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Approach --- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.approach-card {
    padding: 36px 28px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: border-color 0.3s;
}
.approach-card:hover { border-color: var(--gold-dim); }
.approach-icon {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.approach-card h3 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1A1A2E;
    margin-bottom: 12px;
}
.approach-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Product / Deliverable --- */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.product-img img {
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}
.benefit-list { display: flex; flex-direction: column; gap: 28px; }
.benefit-item h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1A1A2E;
    margin-bottom: 6px;
}
.benefit-item h4::before {
    content: '✦ ';
    color: var(--gold);
}
.benefit-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Developer --- */
.dev-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 60px;
    align-items: start;
}
.dev-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border);
}
.dev-bio { text-align: left; }
.dev-bio p { margin-bottom: 20px; color: var(--text-secondary); }
.dev-stats {
    display: flex; gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.dev-stat {
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
}
.dev-stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--gold);
    font-weight: 700;
}
.dev-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* --- Pricing --- */
.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--gold-dim);
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.pricing-name {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}
.pricing-amount {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}
.pricing-amount span { font-size: 1rem; color: var(--text-muted); }
.pricing-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}
.pricing-features li {
    font-size: 0.88rem;
    color: var(--text-primary);
    padding-left: 22px;
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* --- Buttons --- */
.btn-line {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--line-green);
    color: #FFFFFF !important;
    padding: 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    transition: opacity 0.3s;
}
.btn-line:hover { opacity: 0.85; }

.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: var(--gold);
    color: #ffffff;
}

/* --- Option Cards --- */
.option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.option-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.option-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1A1A2E;
    margin-bottom: 8px;
}
.option-price {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}
.option-price span { font-size: 0.8rem; color: var(--text-muted); }
.option-card p { font-size: 0.8rem; color: var(--text-secondary); }
.option-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    padding: 10px;
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}
.option-link:hover { border-color: var(--gold); color: var(--gold); }

/* --- Limit Notice --- */
.limit-notice {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: rgba(231,76,60,0.08);
    border-left: 3px solid var(--danger);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.limit-notice strong { color: var(--danger); }

/* --- Free CTA --- */
.cta-band {
    padding: 100px 0;
    text-align: center;
    background: #176B87;
    color: #FFFFFF;
}
.cta-band .section-title { 
    color: #FFFFFF;
    margin-bottom: 16px; 
}
.cta-band p { 
    color: rgba(255,255,255,0.85); 
    margin-bottom: 40px; 
}
.cta-band .btn-line {
    display: inline-block;
    width: auto;
    min-width: 320px;
    padding: 18px 40px;
    color: #FFFFFF;
}

/* --- Voices --- */
.voices-stats-row { display: flex; gap: 20px; justify-content: center; margin: 40px 0 30px; flex-wrap: wrap; }
.v-stat {
    text-align: center;
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 140px;
}
.v-stat-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.v-stat-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.reviews-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.rv-card {
    padding: 24px;
    background: var(--bg-card);
    border-left: 2px solid var(--gold-dim);
}
.rv-meta { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.rv-badge { display: inline-block; background: var(--gold-dim); color: var(--gold); padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; margin-left: 6px; }
.rv-label { font-size: 0.75rem; color: var(--gold); font-weight: 500; margin-bottom: 4px; }
.rv-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.8; }
.rv-text + .rv-text { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.btn-more-v {
    display: block;
    margin: 24px auto 0;
    padding: 12px 40px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-more-v:hover { border-color: var(--gold); color: var(--gold); }
.voices-empty { text-align: center; color: var(--text-muted); padding: 40px 0; }

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.faq-item {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.faq-q {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1A1A2E;
    margin-bottom: 10px;
}
.faq-q::before {
    content: 'Q. ';
    color: var(--gold);
    font-family: var(--font-accent);
    font-weight: 700;
}
.faq-a { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.8; }

/* --- Closing --- */
.closing {
    padding: var(--section-pad) 0;
    text-align: center;
    position: relative;
}
.closing-text {
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 2.2;
}

/* --- Footer --- */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: none;
}
.footer {
    background: #1A1A2E;
}
.footer-logo {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: #FFFFFF;
    margin-bottom: 16px;
}
.footer-links { margin-bottom: 16px; }
.footer-links a { font-size: 0.8rem; color: #CCCCCC; text-decoration: underline; }
.footer-copy { font-size: 0.7rem; color: #888888; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-inner {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }
    .nav-links {
        width: 100%;
        display: flex;
        justify-content: space-between;
        gap: 4px;
    }
    .nav-link {
        flex: 1;
        text-align: center;
        padding: 6px 4px;
        font-size: 0.65rem;
    }
    .layers-grid,
    .approach-grid { grid-template-columns: 1fr; }
    .product-showcase { grid-template-columns: 1fr; }
    .dev-grid { grid-template-columns: 1fr; }
    .dev-photo img { max-width: 200px; margin: 0 auto; }
    .option-grid { grid-template-columns: 1fr; }
    .pricing-card { padding: 32px 24px; }
    .hero h1 { font-size: 2.4rem; }
}
