/* ============================================
   CloudAccount — Awwwards-Level Redesign
   Visual Direction: Editorial SaaS
   ============================================ */
:root {
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.15);
  --bg: #FAFAFA;
  --bg-white: #FFFFFF;
  --bg-dark: #0F172A;
  --bg-dark-alt: #1E293B;
  --text: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: #E2E8F0;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --text-display: clamp(44px, 6vw, 80px);
  --text-h2: clamp(32px, 4.5vw, 56px);
  --text-h3: clamp(20px, 2vw, 26px);
  --text-body: 17px;
  --text-small: 15px;
  --text-caption: 13px;
  --space-section: clamp(100px, 12vw, 160px);
  --space-group: clamp(48px, 6vw, 80px);
  --space-element: clamp(20px, 3vw, 32px);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================
   Reveal Animation System
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Clip reveal for text */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-out);
}
.reveal-clip.visible { clip-path: inset(0 0 0% 0); }

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* ============================================
   Common Components
   ============================================ */
.section-label {
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--primary);
}
.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text);
}
.section-title--light { color: #fff; }
.section-desc {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-top: 20px;
}
.section-desc--light { color: var(--text-light); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 20px rgba(16,185,129,0.3);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(16,185,129,0.4);
}
.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
  letter-spacing: -0.01em;
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-ghost--light {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost--light:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s var(--ease-out);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.show { opacity: 1; transform: translateY(0) scale(1); }
.back-to-top:hover { transform: translateY(-4px) scale(1.05); background: var(--primary); }

/* ============================================
   Header
   ============================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
  padding: 20px 0;
}
header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 14px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
header.scrolled .logo { color: var(--text); }
.logo-icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
header.scrolled .desktop-nav a { color: var(--text-muted); }
.desktop-nav a:hover { color: #fff; }
header.scrolled .desktop-nav a:hover { color: var(--text); }
.header-cta {
  padding: 10px 24px !important;
  font-size: 13px !important;
  box-shadow: none !important;
}
header.scrolled .header-cta {
  background: var(--text);
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
header.scrolled .hamburger span { background: var(--text); }
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  z-index: 1001;
  transition: right 0.4s var(--ease-out);
  padding: 100px 40px 40px;
  box-shadow: -8px 0 40px rgba(0,0,0,0.08);
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.mobile-menu .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 32px;
  border-radius: var(--radius);
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 1000;
}
.overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================
   Hero — Dark editorial with floating product
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(16,185,129,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  position: relative;
  z-index: 1;
}
.hero-content {
  flex: 1;
  max-width: 560px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary) 0%, #34D399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 460px;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.hero-trust-item svg { color: var(--primary); flex-shrink: 0; }
.hero-visual {
  flex: 1;
  position: relative;
}
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.6s var(--ease-out);
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 50%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

/* ============================================
   Stats Bar
   ============================================ */
.stats {
  padding: 80px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 8px;
}
.stat-number span { color: var(--primary); }
.stat-label {
  font-size: var(--text-caption);
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   Problem — Asymmetric
   ============================================ */
.problem {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
}
.problem-item:hover {
  border-color: #FCA5A5;
  transform: translateX(4px);
}
.problem-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #EF4444;
}
.problem-item p {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text);
}

/* ============================================
   Solution — Before/After
   ============================================ */
.solution {
  padding: var(--space-section) 0;
  background: var(--bg-white);
}
.solution-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}
.solution-card {
  padding: 36px;
  border-radius: var(--radius-lg);
}
.solution-card--before {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}
.solution-card--after {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}
.solution-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}
.solution-card--before h3 { color: #DC2626; }
.solution-card--after h3 { color: var(--primary-dark); }
.solution-card li {
  padding: 8px 0;
  font-size: var(--text-small);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.solution-card li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.solution-card--before li::before { background: #EF4444; }
.solution-card--after li::before { background: var(--primary); }
.solution-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-arrow-icon {
  width: 52px;
  height: 52px;
  background: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* ============================================
   Features — Bento Grid
   ============================================ */
.features {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.features-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: rgba(16,185,129,0.2);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.feature-card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.feature-card--wide .feature-card-visual img {
  border-radius: var(--radius);
  width: 100%;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}
.feature-card h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.feature-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   Support
   ============================================ */
.support {
  padding: var(--space-section) 0;
  background: var(--bg-white);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.support-card {
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}
.support-card:hover { background: var(--bg); }
.support-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.support-icon svg { width: 24px; height: 24px; color: var(--primary); }
.support-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.support-card p { font-size: var(--text-caption); color: var(--text-muted); line-height: 1.7; }

/* ============================================
   Media Logos
   ============================================ */
.media {
  padding: 64px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.media-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.media-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  transition: color 0.3s;
  letter-spacing: -0.01em;
}
.media-logo:hover { color: var(--text); }

/* ============================================
   Pricing
   ============================================ */
.pricing {
  padding: var(--space-section) 0;
  background: var(--bg);
}
.pricing .section-header {
  text-align: center;
  margin-bottom: var(--space-group);
}
.pricing .section-desc {
  margin-left: auto;
  margin-right: auto;
}
.price-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-group);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.price-toggle-btn {
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.3s;
  letter-spacing: -0.01em;
}
.price-toggle-btn:hover { color: var(--text); }
.price-toggle-btn.active {
  background: var(--text);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.4s var(--ease-smooth);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.price-card.featured {
  border-color: var(--primary);
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.price-card .price-desc {
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-bottom: 24px;
}
.price-card.featured .price-desc { color: var(--text-light); }
.price-amount {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}
.price-card.featured .price-amount span { color: var(--text-light); }
.price-period {
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-bottom: 28px;
}
.price-card.featured .price-period { color: var(--text-light); }
.price-features { margin-bottom: 32px; }
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  text-align: left;
}
.price-features li svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}
.price-card .btn-primary {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
}
.price-card .btn-ghost {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius);
}
.price-card.featured .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* ============================================
   App Section
   ============================================ */
.app-section {
  padding: var(--space-section) 0;
  background: var(--bg-white);
}
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.app-content h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.app-content p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}
.app-badges { display: flex; gap: 12px; }
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.app-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.app-badge svg { width: 22px; height: 22px; }
.app-badge-text { text-align: left; }
.app-badge-text small { font-size: 10px; font-weight: 400; display: block; opacity: 0.7; }
.app-visual { position: relative; }
.app-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: var(--space-section) 0;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(16,185,129,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.cta-section p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn-primary {
  font-size: 17px;
  padding: 18px 44px;
}

/* ============================================
   Footer
   ============================================ */
footer {
  padding: 64px 0 0;
  background: #020617;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; color: #94A3B8; }
.footer-social a:hover svg { color: #fff; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: #94A3B8;
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: #334155; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: #334155; transition: color 0.2s; }
.footer-links a:hover { color: #94A3B8; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-desc { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .problem-inner { grid-template-columns: 1fr; }
  .app-inner { grid-template-columns: 1fr; text-align: center; }
  .app-badges { justify-content: center; }
  .app-visual { max-width: 480px; margin: 0 auto; }
  .features-bento { grid-template-columns: 1fr 1fr; }
  .feature-card--wide { grid-column: span 2; }
}
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item:not(:last-child)::after { display: none; }
  .solution-flow { grid-template-columns: 1fr; }
  .solution-arrow { transform: rotate(90deg); }
  .features-bento { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: 1fr; max-width: 400px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .media-inner { gap: 32px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .app-badges { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; gap: 12px; }
}

/* ============================================
   サブページ共通スタイル（Phase 3 追加）
   ============================================ */

/* ページヒーロー（ダークテーマ対応） */
.page-hero {
  padding: clamp(120px, 15vw, 160px) 0 clamp(40px, 5vw, 60px);
  background: var(--bg-dark);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  color: var(--text-light);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--text-light);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: rgba(255,255,255,0.15); }
.page-title {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
}
.page-subtitle {
  font-size: var(--text-caption);
  color: var(--text-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* CTA帯（ダークテーマ） */
.cta-band {
  padding: var(--space-section) 0;
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(16,185,129,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.cta-band p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
}
.cta-band .btn-primary {
  font-size: 17px;
  padding: 18px 44px;
}

/* ナビゲーション active 状態 */
.nav-link.active { color: var(--primary) !important; font-weight: 600; }

/* トップページ「詳しく見る」リンク */
.section-more {
  text-align: center;
  margin-top: var(--space-group);
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
  letter-spacing: -0.01em;
}
.more-link:hover { gap: 10px; }

/* サブページ共通 */
.sub-section {
  padding: var(--space-section) 0;
}

/* ミッション */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.mission-text h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.mission-text p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.mission-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* チーム */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-card-body {
  padding: 20px;
}
.team-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card-body .team-role { font-size: var(--text-caption); color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.team-card-body p { font-size: var(--text-caption); color: var(--text-muted); line-height: 1.7; }

/* セキュリティ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.security-card {
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.security-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-glow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.security-icon svg { width: 24px; height: 24px; color: var(--primary); }
.security-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.security-card p { font-size: var(--text-caption); color: var(--text-muted); line-height: 1.7; }

/* 導入事例 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
}
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.case-card .case-industry {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}
.case-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.case-card .case-company { font-size: var(--text-caption); color: var(--text-muted); margin-bottom: 16px; }
.case-card blockquote {
  font-size: var(--text-small);
  color: var(--text);
  line-height: 1.8;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
  font-style: italic;
}

/* お問い合わせフォーム */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group label .required {
  color: var(--primary);
  font-size: 12px;
  margin-left: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: var(--text-small);
  font-family: inherit;
  color: var(--text);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  padding: 20px 0;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question svg { flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer p { padding: 0 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* 会社情報テーブル */
.company-info {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}
.company-info h3 { font-size: var(--text-h3); font-weight: 700; margin-bottom: 24px; }
.company-table { width: 100%; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table th {
  padding: 14px 16px 14px 0;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  width: 140px;
}
.company-table td { padding: 14px 0; font-size: 14px; color: var(--text-muted); }

/* Phase 3 Responsive */
@media (max-width: 1024px) {
  .mission-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
