/* ============================================
   MOCombinator Promotional Site
   ============================================ */

:root {
  --blue: #1a8fcb;
  --blue-dark: #0e6b96;
  --blue-darker: #0a4f6e;
  --blue-light: #e8f4fb;
  --blue-glow: rgba(26, 143, 203, 0.15);
  --navy: #0d1b2a;
  --navy-light: #1b2d45;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --green: #10b981;
  --red: #ef4444;
  --font-sans: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px -8px rgba(0,0,0,0.1), 0 8px 16px -6px rgba(0,0,0,0.06);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 143, 203, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.nav.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img {
  height: 36px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gray-900); }
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 10px !important;
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  transition: all var(--transition);
  border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 143, 203, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 143, 203, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}
.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26, 143, 203, 0.08) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--blue-dark);
  background: var(--blue-light);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--blue-darker));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.hero-stat-suffix {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
}
.hero-stat-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 6px;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gray-300), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Sections ---- */
.section {
  padding: 120px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Features ---- */
.features { background: var(--gray-50); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ---- How it Works ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
}
.step.visible {
  opacity: 1;
  transform: translateY(0);
}
.step-number {
  font-size: 4rem;
  font-weight: 900;
  color: var(--blue-light);
  line-height: 1;
  -webkit-text-stroke: 1px var(--blue);
  min-width: 100px;
  text-align: center;
}
.step-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.8;
}
.step-detail {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.step-detail span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue-dark);
}

/* Step Visuals */
.step-visual {
  display: flex;
  justify-content: center;
}
.step-phone {
  width: 180px;
  height: 320px;
  border: 3px solid var(--gray-300);
  border-radius: 28px;
  padding: 16px 12px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.step-phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.qr-mock {
  width: 120px;
  height: 120px;
  padding: 10px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  width: 100%;
  height: 100%;
}
.qr-grid div {
  background: var(--gray-800);
  border-radius: 1px;
}
.qr-grid div:nth-child(3n+1) { background: var(--blue); }
.qr-grid div:nth-child(5n) { background: transparent; }
.qr-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.step-dashboard {
  width: 320px;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-300);
}
.dash-dot:first-child { background: #ff5f57; }
.dash-dot:nth-child(2) { background: #ffbd2e; }
.dash-dot:nth-child(3) { background: #28c840; }
.dash-header span {
  font-size: 0.7rem;
  color: var(--gray-500);
  margin-left: 8px;
}
.dash-body {
  display: flex;
  height: 180px;
}
.dash-sidebar {
  width: 60px;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dash-menu {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
}
.dash-menu.active { background: var(--blue); }
.dash-main {
  flex: 1;
  padding: 16px;
}
.dash-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 100%;
}
.dash-slot {
  border: 2px dashed var(--gray-300);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-400);
}
.dash-slot.filled {
  background: var(--blue-light);
  border-color: var(--blue);
  border-style: solid;
  color: var(--blue-dark);
}

.step-p2p {
  position: relative;
  width: 240px;
  height: 200px;
}
.p2p-node {
  position: absolute;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  z-index: 2;
}
.p2p-node.server {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
}
.p2p-node.client {
  background: var(--white);
  border: 2px solid var(--blue);
  color: var(--blue-dark);
}
.p2p-node.c1 { top: 50%; left: 0; transform: translateY(-50%); }
.p2p-node.c2 { top: 50%; right: 0; transform: translateY(-50%); }
.p2p-node.c3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.p2p-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.p2p-lines svg {
  width: 100%;
  height: 100%;
}
.p2p-line { animation: dashMove 3s linear infinite; }
.p2p-line-solid { animation: fadeInLine 2s ease forwards; }
@keyframes dashMove {
  to { stroke-dashoffset: -14; }
}
@keyframes fadeInLine {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Architecture ---- */
.architecture { background: var(--gray-50); }
.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}
.arch-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.arch-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.arch-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.arch-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.arch-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
}
.arch-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
}
.arch-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.arch-card > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.7;
}
.arch-features {
  list-style: none;
  margin-bottom: 20px;
}
.arch-features li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 8px;
}
.arch-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.arch-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.arch-tech span {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Architecture Diagram */
.arch-diagram {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  opacity: 0;
  transform: translateY(20px);
}
.arch-diagram.visible {
  opacity: 1;
  transform: translateY(0);
}
.arch-diagram-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gray-400);
  margin-bottom: 32px;
}
.arch-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.arch-flow-arrow {
  font-size: 1.5rem;
  color: var(--gray-300);
  font-weight: 300;
}
.arch-flow-box {
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  min-width: 160px;
}
.arch-flow-box.user { background: var(--gray-100); border: 1px solid var(--gray-200); }
.arch-flow-box.server { background: var(--blue); border: 1px solid var(--blue-dark); }
.arch-flow-box.server .arch-flow-label,
.arch-flow-box.server .arch-flow-sub { color: var(--white); }
.arch-flow-box.client { background: var(--blue-light); border: 1px solid var(--blue); }
.arch-flow-box.player { background: var(--gray-900); border: 1px solid var(--gray-700); }
.arch-flow-box.player .arch-flow-label,
.arch-flow-box.player .arch-flow-sub { color: var(--white); }
.arch-flow-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-800);
}
.arch-flow-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 4px;
}
.arch-flow-p2p {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.arch-p2p-svg {
  width: 400px;
  height: 40px;
}

/* ---- Use Cases ---- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.usecase-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.usecase-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.usecase-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.usecase-img {
  height: 200px;
  overflow: hidden;
}
.usecase-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}
.usecase-placeholder.franchise {
  background: linear-gradient(135deg, #1a8fcb 0%, #0e6b96 50%, #0a4f6e 100%);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 10px),
    linear-gradient(135deg, #1a8fcb 0%, #0e6b96 50%, #0a4f6e 100%);
}
.usecase-placeholder.franchise::after {
  content: '';
  width: 80%;
  height: 60%;
  border: 3px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 20px, transparent 20px, transparent 40px);
}
.usecase-placeholder.office {
  background: linear-gradient(135deg, #334155 0%, #1e293b 50%, #0f172a 100%);
  background-image:
    radial-gradient(circle at 30% 40%, rgba(26,143,203,0.2) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(14,107,150,0.15) 0%, transparent 40%),
    linear-gradient(135deg, #334155 0%, #1e293b 50%, #0f172a 100%);
}
.usecase-placeholder.office::after {
  content: '';
  width: 120px;
  height: 80px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  background: rgba(26,143,203,0.1);
}
.usecase-placeholder.public {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  background-image:
    linear-gradient(0deg, rgba(255,255,255,0.04) 50%, transparent 50%),
    linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  background-size: 100% 20px, 100% 100%;
}
.usecase-placeholder.public::after {
  content: '';
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255,255,255,0.25);
  border-radius: 50%;
}
.usecase-placeholder.retail {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  background-image:
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 8px),
    linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
}
.usecase-placeholder.retail::after {
  content: '';
  width: 100px;
  height: 60px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 30px, transparent 30px, transparent 34px);
}
.usecase-body {
  padding: 28px;
}
.usecase-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.usecase-body > p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.7;
}
.usecase-body ul {
  list-style: none;
}
.usecase-body li {
  font-size: 0.85rem;
  color: var(--gray-600);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.usecase-body li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ---- Pricing ---- */
.pricing { background: var(--white); }
.pricing .step {
  grid-template-columns: auto 1fr;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
  gap: 24px;
  align-items: start;
  justify-content: center;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}
.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}
.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.02);
}
.pricing-card.popular.visible {
  transform: translateY(-8px) scale(1.02);
}
.pricing-card.popular:hover {
  transform: translateY(-12px) scale(1.02);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 100px;
}
.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}
.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.pricing-header p {
  font-size: 0.85rem;
  color: var(--gray-500);
}
.pricing-price {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-200);
}
.pricing-currency {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-900);
  vertical-align: top;
}
.pricing-amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gray-900);
  line-height: 1;
}
.pricing-period {
  font-size: 0.9rem;
  color: var(--gray-500);
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  font-size: 0.88rem;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li.included {
  color: var(--gray-700);
}
.pricing-features li.excluded {
  color: var(--gray-400);
}
.pricing-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.pricing-features li.included::before {
  background-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.pricing-features li.excluded::before {
  background-color: var(--gray-200);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h6' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---- Company ---- */
.company { background: var(--gray-50); }
.company-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.company-story {
  opacity: 0;
  transform: translateX(-20px);
}
.company-story.visible {
  opacity: 1;
  transform: translateX(0);
}
.company-story h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
}
.company-story > p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.8;
}
.company-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.value h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.value p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.company-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateX(20px);
}
.company-info.visible {
  opacity: 1;
  transform: translateX(0);
}
.company-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
}
.company-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table td {
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-100);
}
.company-table td:first-child {
  color: var(--gray-500);
  width: 100px;
  font-weight: 500;
}
.company-table td:last-child {
  color: var(--gray-700);
}
.tech-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tech-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tech-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  min-width: 100px;
  text-align: center;
}
.tech-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  opacity: 0;
  transform: translateY(20px);
}
.contact-form.visible {
  opacity: 1;
  transform: translateY(0);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateY(20px);
}
.contact-info.visible {
  opacity: 1;
  transform: translateY(0);
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 60px;
}
.contact-item a,
.contact-item span {
  font-size: 0.9rem;
  color: var(--gray-700);
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
}
.map-placeholder {
  height: 180px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}
.map-pin {
  width: 24px;
  height: 24px;
  background: var(--blue);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
}
.map-pin::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--white);
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 7px;
}
.map-placeholder span {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  height: 32px;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--gray-400);
  max-width: 280px;
}
.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--gray-400);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-grid { grid-template-columns: 1fr; }
  .company-content { grid-template-columns: 1fr; }
  .company-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { align-self: flex-start; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-desc br { display: none; }
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-divider { height: 30px; }
  .hero-scroll { display: none; }

  .section { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .step {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-number {
    font-size: 2.5rem;
    text-align: left;
    min-width: auto;
  }
  .step-visual { display: none; }
  .usecase-grid { grid-template-columns: 1fr; }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .pricing-card.popular {
    transform: none;
  }
  .pricing-card.popular.visible {
    transform: none;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .arch-flow { flex-direction: column; }
  .arch-flow-arrow { transform: rotate(90deg); }
  .arch-p2p-svg { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
