/* ============================================
   DESIGN SYSTEM — Dark Cinematic
   Inspired by Aramco Gen 3 / Awwwards aesthetic
   ============================================ */
:root {
  --bg: #07070A;
  --bg-surface: #0E0F13;
  --bg-card: #141519;
  --bg-elevated: #1A1B21;
  --text: #E4E4E8;
  --text-muted: #7A7C8A;
  --text-dim: #404150;
  --accent: #3B82F6;
  --accent-hover: #60A5FA;
  --accent-glow: rgba(59, 130, 246, 0.12);
  --accent-glow-strong: rgba(59, 130, 246, 0.25);
  --green: #34D399;
  --border: rgba(255,255,255,0.06);
  --border-accent: rgba(59, 130, 246, 0.2);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --text-hero: clamp(44px, 7vw, 84px);
  --text-h2: clamp(32px, 5vw, 60px);
  --text-h3: clamp(20px, 2.5vw, 28px);
  --text-body: 16px;
  --text-small: 14px;
  --text-caption: 12px;
  --text-label: 11px;
  --space-section: clamp(100px, 14vw, 180px);
  --space-group: clamp(48px, 7vw, 80px);
  --space-element: clamp(16px, 2vw, 24px);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.7;
  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; }

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

/* ============================================
   Noise Grain Overlay
   ============================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px;
}

/* ============================================
   Scroll Animation
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible .stagger-item { opacity: 1; transform: translateY(0); }
.animate-on-scroll.visible .stagger-item:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll.visible .stagger-item:nth-child(2) { transition-delay: 0.12s; }
.animate-on-scroll.visible .stagger-item:nth-child(3) { transition-delay: 0.19s; }
.animate-on-scroll.visible .stagger-item:nth-child(4) { transition-delay: 0.26s; }
.animate-on-scroll.visible .stagger-item:nth-child(5) { transition-delay: 0.33s; }
.animate-on-scroll.visible .stagger-item:nth-child(6) { transition-delay: 0.40s; }
.animate-on-scroll.visible .stagger-item:nth-child(7) { transition-delay: 0.47s; }
.animate-on-scroll.visible .stagger-item:nth-child(8) { transition-delay: 0.54s; }

/* ============================================
   Section Header
   ============================================ */
.section-header { margin-bottom: var(--space-group); }
.section-header.center { text-align: center; }
.section-label {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.section-title {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.03em;
}
.section-subtitle {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.8;
}
.section-header.center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow-strong);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  transform: translateY(-2px);
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: #fff;
  color: var(--bg);
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}

/* ============================================
   Header
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px 0;
}
header.scrolled {
  background: rgba(7, 7, 10, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.desktop-nav a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.desktop-nav a:hover { color: var(--text); }
.desktop-nav .nav-cta {
  padding: 10px 24px;
  background: rgba(255,255,255,0.06);
  color: var(--text) !important;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 500;
  transition: all 0.3s;
}
.desktop-nav .nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.02em;
}
.mobile-menu .mobile-cta {
  margin-top: 32px;
  padding: 18px 0;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
  border-bottom: none;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1000;
}
.overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================
   HERO — Full-screen immersive
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.6);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7,7,10,0.4) 0%,
    rgba(7,7,10,0.7) 50%,
    var(--bg) 100%
  );
}
/* Gradient orb */
.hero-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  top: -200px;
  right: -100px;
  background: rgba(59, 130, 246, 0.08);
}
.hero-orb-2 {
  bottom: -200px;
  left: -200px;
  background: rgba(99, 102, 241, 0.05);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 32px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-title {
  font-size: var(--text-hero);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--accent) 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.hero-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stat-value .suffix {
  font-size: 18px;
  color: var(--accent);
  margin-left: 2px;
}
.hero-stat-label {
  font-size: var(--text-label);
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   FEATURES — Horizontal scroll cards
   ============================================ */
.features-section {
  padding: var(--space-section) 0;
  position: relative;
}
.features-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 56px;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: 100px;
  max-width: 520px;
  border: 1px solid var(--border);
}
.features-tab {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 100px;
  transition: all 0.3s;
  cursor: pointer;
  flex: 1;
  text-align: center;
}
.features-tab.active {
  background: var(--accent);
  color: #fff;
}
.features-tab:hover:not(.active) {
  color: var(--text);
}
.features-content {
  display: none;
}
.features-content.active {
  display: flex;
  gap: 64px;
  align-items: center;
}
.features-text {
  flex: 1;
}
.features-text h3 {
  font-size: var(--text-h3);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.features-text p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-small);
  color: var(--text);
  font-weight: 400;
}
.features-list li svg { color: var(--accent); flex-shrink: 0; }
.features-visual {
  flex: 1;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-surface);
}
.features-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.features-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  pointer-events: none;
}

/* ============================================
   INTEGRATION — Logo strip
   ============================================ */
.integration-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.integration-item {
  background: var(--bg-surface);
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
}
.integration-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card);
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.08);
}

/* ============================================
   ROI Simulator
   ============================================ */
.roi-section {
  padding: var(--space-section) 0;
}
.roi-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 56px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.roi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}
.roi-slider-group {
  margin-bottom: 40px;
}
.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}
.roi-slider-label span {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-muted);
}
.roi-slider-label strong {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.roi-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-elevated);
  border-radius: 2px;
  outline: none;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 16px var(--accent-glow-strong);
  border: 3px solid var(--bg);
}
.roi-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.roi-result {
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.roi-result-value {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.roi-result-label {
  font-size: var(--text-label);
  color: var(--text-dim);
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.case-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.case-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.case-card:hover::before { opacity: 0.5; }
.case-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: var(--text-label);
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case-quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.case-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.case-author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-elevated);
  flex-shrink: 0;
}
.case-author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-author-name {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text);
}
.case-author-role {
  font-size: var(--text-caption);
  color: var(--text-dim);
  margin-top: 2px;
}
.case-metric {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.case-metric-item strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.case-metric-item span {
  font-size: var(--text-label);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ============================================
   SECURITY
   ============================================ */
.security-section {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.security-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.security-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-dim);
}
.security-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-surface);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ============================================
   PLAN (Pricing)
   ============================================ */
.plan-section {
  padding: var(--space-section) 0;
}
.plan-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
}
.plan-toggle-label {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--text-dim);
  transition: color 0.3s;
}
.plan-toggle-label.active { color: var(--text); font-weight: 600; }
.plan-toggle-switch {
  width: 48px;
  height: 24px;
  background: var(--bg-elevated);
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
  border: 1px solid var(--border);
}
.plan-toggle-switch.active {
  background: var(--accent);
  border-color: var(--accent);
}
.plan-toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.plan-toggle-switch.active::after {
  transform: translateX(24px);
}
.plan-save-badge {
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--green);
  background: rgba(52, 211, 153, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--bg-surface);
  position: relative;
}
.plan-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.plan-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(59,130,246,0.06) 0%, var(--bg-surface) 100%);
}
.plan-card.featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 16px;
  border-radius: 100px;
}
.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.plan-desc {
  font-size: var(--text-caption);
  color: var(--text-dim);
  margin-bottom: 24px;
}
.plan-price {
  margin-bottom: 28px;
}
.plan-price-value {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price-period {
  font-size: var(--text-caption);
  color: var(--text-dim);
  margin-left: 4px;
}
.plan-features {
  margin-bottom: 32px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-small);
  color: var(--text-muted);
  padding: 7px 0;
}
.plan-features li svg { color: var(--accent); flex-shrink: 0; }
.plan-card .btn-primary,
.plan-card .btn-ghost { width: 100%; justify-content: center; }

/* ============================================
   CTA
   ============================================ */
.cta-section {
  padding: var(--space-section) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section .cta-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  background: rgba(59,130,246,0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cta-title {
  font-size: var(--text-h2);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
  position: relative;
}
.cta-text {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-bottom: 44px;
  line-height: 1.8;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============================================
   Footer
   ============================================ */
footer {
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  padding: 72px 0 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; display: inline-flex; }
.footer-brand .logo-icon { background: var(--accent); }
.footer-desc {
  font-size: var(--text-small);
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--text-dim);
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.2s;
}
.footer-social a:hover {
  border-color: var(--border-accent);
  color: var(--accent);
}
.footer-nav-title {
  font-size: var(--text-label);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-nav-list a {
  display: block;
  font-size: var(--text-small);
  color: var(--text-dim);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-nav-list a:hover { color: var(--text-muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: var(--text-caption);
  color: var(--text-dim);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   Phase 3 — Shared Subpage Styles
   ============================================ */
.nav-link.active { color: var(--text) !important; }

.page-hero {
  padding: 160px 0 60px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-caption);
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-dim); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb-sep { color: var(--text-dim); }
.page-title {
  font-size: var(--text-h2);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.page-subtitle {
  font-size: var(--text-small);
  color: var(--text-dim);
  margin-top: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.cta-band {
  padding: 80px 0;
  text-align: center;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 {
  font-size: var(--text-h3);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-band p {
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-bottom: 32px;
}

.section-more {
  text-align: center;
  margin-top: var(--space-group);
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--accent);
  transition: gap 0.2s;
}
.more-link:hover { gap: 12px; }

/* Features Highlight (Gateway) */
.features-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.features-highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.features-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.features-highlight-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.features-highlight-card:hover::before { transform: scaleX(1); }
.features-highlight-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.features-highlight-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.features-highlight-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================
   Phase 3 — About Page
   ============================================ */
.about-mission-section {
  padding: var(--space-section) 0;
}
.about-mission-grid {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.about-mission-image {
  flex-shrink: 0;
  width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-mission-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.about-mission-content {
  flex: 1;
}
.about-mission-content p {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: 20px;
}
.about-mission-founder {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
}

.about-team-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.about-team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-team-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.about-team-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
}
.about-team-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.about-team-role {
  font-size: var(--text-caption);
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.about-team-bio {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.8;
}

.about-security-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
}
.about-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-security-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-security-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
}
.about-security-badge {
  width: 56px;
  height: 56px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 16px;
}
.about-security-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.about-security-card p {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   Phase 3 — Works Page (Numbers + Logo Wall)
   ============================================ */
.works-numbers-section {
  padding: var(--space-section) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.works-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.works-number-item {
  padding: 32px 16px;
}
.works-number {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.works-number-label {
  font-size: var(--text-small);
  color: var(--text-muted);
  font-weight: 500;
}

.works-logo-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
}
.works-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.works-logo-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-dim);
  transition: all 0.3s;
}
.works-logo-item:hover {
  border-color: var(--border-accent);
  color: var(--text-muted);
}

/* ============================================
   Phase 3 — Contact / Form / FAQ
   ============================================ */
.contact-form-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-form-wrap .section-header {
  margin-bottom: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--text-muted);
}
.form-required {
  font-size: var(--text-caption);
  color: var(--accent);
  font-weight: 600;
}
.form-input,
.form-select {
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--text-small);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-input:focus,
.form-select:focus {
  border-color: var(--accent);
}
.form-input::placeholder {
  color: var(--text-dim);
}
.form-textarea {
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--text-small);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  resize: vertical;
  min-height: 120px;
}
.form-textarea:focus {
  border-color: var(--accent);
}
.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-small);
  color: var(--text-muted);
  cursor: pointer;
}
.form-radio input[type="radio"] { accent-color: var(--accent); }
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-small);
  color: var(--text-muted);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] { accent-color: var(--accent); }
.form-link { color: var(--accent); }

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 100px;
}
.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-info-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.contact-info-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.contact-info-note {
  font-size: var(--text-caption);
  color: var(--text-dim);
}

.faq-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--border);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.5;
}
.faq-q {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-answer {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.9;
  padding-left: 42px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .features-content.active { flex-direction: column; gap: 40px; }
  .features-highlight-grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .plan-card:last-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 32px; }
  .about-mission-grid { grid-template-columns: 1fr; }
  .about-mission-image { max-height: 360px; }
  .about-team-grid { grid-template-columns: 1fr 1fr; }
  .about-security-grid { grid-template-columns: 1fr; }
  .works-numbers-grid { grid-template-columns: 1fr 1fr; }
  .works-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-side { position: static; }
}

@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-buttons { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-stat { width: calc(50% - 12px); }

  .features-tabs { flex-wrap: wrap; border-radius: var(--radius-lg); }
  .features-visual { display: none; }

  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-card { padding: 32px 20px; }
  .roi-results { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-card:last-child { max-width: none; }

  .security-inner { gap: 24px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .page-hero { padding: 100px 0 40px; }
  .features-highlight-grid { grid-template-columns: 1fr; max-width: 480px; }
  .about-team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-radio-group { flex-direction: column; }
  .about-info-table th { width: 120px; font-size: 12px; }
  .about-history-year { min-width: 48px; font-size: 18px; }
  .works-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .btn-primary, .btn-ghost, .btn-cta-white { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { width: 100%; }
  .works-numbers-grid { grid-template-columns: 1fr; }
  .works-logo-grid { grid-template-columns: 1fr 1fr; }
}
