/* ============================================================
   WEBSTUDIO DESK — Landing Page Styles
   Extracted from index.html inline <style>
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', -apple-system, sans-serif; color: #E0E0E0; background: #0A0A0A; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

/* ===== Header (hidden until scroll past hero) ===== */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); transform: translateY(-100%); transition: transform 0.4s ease, box-shadow 0.3s; }
.header.visible { transform: translateY(0); box-shadow: 0 1px 20px rgba(0,0,0,0.4); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.logo svg { height: 22px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.nav a:hover { color: #FFF; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: linear-gradient(135deg, #F0882E 0%, #E8732A 50%, #D4651F 100%); color: #FFF; position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 50%); opacity: 0; transition: opacity 0.3s; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(232,115,42,0.4), 0 0 40px rgba(232,115,42,0.15); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.7); }
.btn-ghost:hover { color: #FFF; background: rgba(255,255,255,0.08); }
.btn-outline { background: transparent; color: #FFF; border: 1.5px solid rgba(255,255,255,0.25); }
.btn-outline:hover { border-color: rgba(255,255,255,0.6); }
.btn-lg { padding: 16px 48px; font-size: 16px; border-radius: 50px; }
.mobile-menu { display: none; background: none; border: none; cursor: pointer; padding: 4px; }

/* ===== Hero (Full viewport, dark) ===== */
.hero { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px 40px; position: relative; overflow: hidden; background: #0A0A0A url('images/hero-bg.png') center center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(232,115,42,0.08) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 20% 60%, rgba(59,130,246,0.06) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 80% 40%, rgba(168,85,247,0.06) 0%, transparent 70%); pointer-events: none; }
/* Animated wave gradient */
.hero-waves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-waves .wave { position: absolute; width: 200%; height: 300px; opacity: 0.15; }
.hero-waves .wave1 { bottom: 10%; left: -50%; background: linear-gradient(90deg, transparent, #E8732A, #3B82F6, #A855F7, #E8732A, transparent); border-radius: 50%; filter: blur(60px); animation: waveMove 12s ease-in-out infinite; }
.hero-waves .wave2 { bottom: 25%; left: -30%; background: linear-gradient(90deg, transparent, #3B82F6, #A855F7, #EC4899, #3B82F6, transparent); border-radius: 50%; filter: blur(80px); animation: waveMove 16s ease-in-out infinite reverse; opacity: 0.1; }
@keyframes waveMove { 0%,100% { transform: translateX(-10%) rotate(-2deg); } 50% { transform: translateX(10%) rotate(2deg); } }
/* Sparkles */
.sparkle { position: absolute; width: 4px; height: 4px; background: #FFF; border-radius: 50%; opacity: 0; animation: sparkle 3s ease-in-out infinite; }
.sparkle:nth-child(1) { top: 15%; right: 8%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 70%; right: 3%; animation-delay: 1s; }
.sparkle:nth-child(3) { top: 25%; left: 5%; animation-delay: 2s; width: 3px; height: 3px; }
.sparkle:nth-child(4) { bottom: 20%; left: 10%; animation-delay: 0.5s; }
@keyframes sparkle { 0%,100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 0.8; transform: scale(1.2); } }

.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-catch { font-size: clamp(28px, 5vw, 46px); font-weight: 900; color: #FFF; line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 40px; }
.hero-logo { margin-bottom: 12px; }
.hero-logo svg { height: 48px; width: auto; }
.hero-logo-sub { font-size: 14px; color: #FFFFFF; font-weight: 700; letter-spacing: 0.15em; margin-bottom: 32px; }
.hero-sub { font-size: clamp(14px, 2vw, 17px); color: rgba(255,255,255,0.65); line-height: 1.9; margin-bottom: 40px; }

/* Feature Bubbles */
.hero-bubbles { display: flex; justify-content: center; gap: clamp(12px, 2vw, 24px); margin-bottom: 48px; flex-wrap: wrap; }
.hero-bubble { width: clamp(100px, 14vw, 140px); height: clamp(100px, 14vw, 140px); border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; text-align: center; font-size: clamp(11px, 1.3vw, 13px); font-weight: 600; color: rgba(255,255,255,0.85); line-height: 1.5; padding: 12px; transition: transform 0.3s, border-color 0.3s, background 0.3s; }
.hero-bubble:hover { transform: scale(1.08); border-color: rgba(232,115,42,0.5); background: rgba(232,115,42,0.08); }

/* ===== Section (Dark theme) ===== */
.section { padding: 100px 24px; }
.section-alt { background: #111; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; color: #FFF; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-header p { color: rgba(255,255,255,0.5); font-size: 15px; max-width: 560px; margin: 0 auto; }

/* ===== Problems ===== */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.problem-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px 28px; text-align: center; transition: transform 0.2s, border-color 0.2s; }
.problem-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.15); }
.problem-icon { font-size: 32px; margin-bottom: 16px; }
.problem-card h3 { font-size: 16px; font-weight: 700; color: #FFF; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ===== Features ===== */
.features-main { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.features-sub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px; transition: transform 0.2s, border-color 0.2s; }
.feature-card:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }
.feature-card.large { padding: 36px; }
.feature-card.highlight-ai { background: linear-gradient(135deg, rgba(232,115,42,0.1) 0%, rgba(232,115,42,0.02) 100%); border-color: rgba(232,115,42,0.25); }
.feature-card.highlight-quality { background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.02) 100%); border-color: rgba(59,130,246,0.2); }
.feature-badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 14px; }
.feature-badge-ai { background: #E8732A; color: #FFF; }
.feature-badge-quality { background: rgba(59,130,246,0.2); color: #60A5FA; border: 1px solid rgba(59,130,246,0.3); }
.feature-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.06); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: rgba(255,255,255,0.7); }
.feature-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.feature-card h3 { font-size: 16px; font-weight: 700; color: #FFF; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ===== Showcase ===== */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-text h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: #FFF; margin-bottom: 16px; }
.showcase-text p { color: rgba(255,255,255,0.55); font-size: 15px; margin-bottom: 20px; }
.showcase-list { list-style: none; }
.showcase-list li { padding: 7px 0; font-size: 14px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 10px; }
.showcase-list li::before { content: ''; width: 6px; height: 6px; background: #E8732A; border-radius: 50%; flex-shrink: 0; }
.showcase-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 32px; }

/* Mock AI Quote */
.mock-quote { display: flex; flex-direction: column; gap: 12px; }
.mock-quote-step { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; gap: 14px; }
.mock-num { width: 28px; height: 28px; background: #E8732A; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.mock-quote-step span { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.8); }
.mock-quote-result { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 16px; }
.mock-quote-row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 12px; color: rgba(255,255,255,0.5); border-bottom: 1px solid rgba(255,255,255,0.06); }
.mock-quote-row:last-child { border: none; font-weight: 700; color: #FFF; font-size: 14px; padding-top: 8px; }

/* Mock Quality Check */
.mock-checks { display: flex; flex-direction: column; gap: 10px; }
.mock-check { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.check-ok { width: 24px; height: 24px; background: rgba(34,197,94,0.15); color: #4ADE80; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.check-warn { width: 24px; height: 24px; background: rgba(250,204,21,0.15); color: #FACC15; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.mock-check-text { font-size: 13px; flex: 1; color: rgba(255,255,255,0.7); }
.mock-check-status { font-size: 11px; font-weight: 600; }
.mock-check-status.ok { color: #4ADE80; }
.mock-check-status.warn { color: #FACC15; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.price-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 20px; padding: 36px 28px; text-align: center; position: relative; transition: transform 0.2s; }
.price-card:hover { transform: translateY(-2px); }
.price-card.popular { border: 2px solid #E8732A; background: rgba(232,115,42,0.05); }
.price-popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #E8732A; color: #FFF; font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 100px; }
.price-name { font-size: 18px; font-weight: 700; color: #FFF; margin-bottom: 4px; }
.price-desc { font-size: 13px; color: rgba(255,255,255,0.45); margin-bottom: 20px; }
.price-amount { font-size: 40px; font-weight: 900; color: #FFF; letter-spacing: -0.03em; margin-bottom: 4px; }
.price-amount small { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.45); }
.price-period { font-size: 13px; color: rgba(255,255,255,0.35); margin-bottom: 24px; }
.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li { padding: 7px 0; font-size: 14px; color: rgba(255,255,255,0.65); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.price-features li:last-child { border-bottom: none; }
.price-check { font-weight: 700; color: #E8732A; }
.price-dash { color: rgba(255,255,255,0.2); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; color: #FFF; text-align: left; font-family: inherit; }
.faq-q::after { content: '+'; font-size: 20px; color: rgba(255,255,255,0.4); transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-q::after { content: '\2212'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a-inner { padding: 0 0 20px; font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; }

/* ===== Fixed CTA ===== */
.fixed-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: rgba(10,10,10,0.92); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.06); padding: 12px 24px; display: flex; justify-content: center; gap: 12px; transform: translateY(100%); transition: transform 0.3s; }
.fixed-cta.visible { transform: translateY(0); }

/* ===== Footer ===== */
.footer { padding: 48px 24px; border-top: 1px solid rgba(255,255,255,0.06); text-align: center; }
.footer p { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ===== Animations ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: 0.1s; }
.fade-up.d2 { transition-delay: 0.2s; }
.fade-up.d3 { transition-delay: 0.3s; }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu { display: block; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #111; padding: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hero { padding: 80px 20px 40px; min-height: auto; }
  .hero-catch { font-size: clamp(20px, 6.4vw, 28px); }
  .hero-sub { font-size: clamp(11px, 3.6vw, 15px); }
  .hero-bubbles { gap: 10px; }
  .hero-bubble { width: 90px; height: 90px; font-size: 10px; }
  .section { padding: 60px 20px; }
  .problems-grid { grid-template-columns: 1fr; }
  .features-main { grid-template-columns: 1fr; }
  .features-sub { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; gap: 32px; }
  .showcase.reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
}
