@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=JetBrains+Mono:wght@300;400;500;600;700&display=swap');

:root {
  --bg-steel: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-dark: #0F172A;
  --text-main: #1E293B;
  --text-soft: #64748B;
  --accent: #06B6D4;
  --accent-deep: #0891B2;
  --accent-soft: #67E8F9;
  --border: #CBD5E1;
  --pastel-blue: #E0F2FE;
  --font-display: 'Chakra Petch', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --radius: 8px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 4px 24px rgba(6, 182, 212, 0.25);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg-steel);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

strong, p, span, li, a, button, h1, h2, h3, h4, h5, h6, b {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-deep);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 5.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.75;
}

.tech-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  font-weight: 600;
  display: inline-block;
  padding: 6px 12px;
  background: var(--pastel-blue);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.tech-label::before {
  content: "// ";
  color: var(--accent);
  font-weight: 700;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.section-tight {
  padding: 50px 0;
}

.section-dark {
  background: var(--bg-dark);
  color: #FFFFFF;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark span,
.section-dark li {
  color: #FFFFFF;
}

.section-dark .tech-label {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-soft);
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.section-sub {
  max-width: 720px;
  margin: 0 0 3rem 0;
  font-size: 1rem;
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.grid-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.particle {
  position: absolute;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.particle.gray {
  background: var(--text-soft);
}

.tech-mark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(60px, 10vw, 140px);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.05;
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.cursor-glow {
  position: fixed;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.6) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  filter: blur(8px);
  transition: opacity 0.3s;
  mix-blend-mode: multiply;
}

.cursor-ring {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
}

.cursor-ring.hover {
  width: 38px;
  height: 38px;
  border-color: var(--accent-deep);
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  background: rgba(241, 245, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-top {
  height: 36px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
  background: var(--bg-card);
  padding: 0 24px;
}

.header-top-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.header-domain {
  color: var(--accent-deep);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-domain .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 2s infinite;
}

.header-status {
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-status .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-weight: 600;
}

.header-status .live::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.header-main {
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: relative;
}

.header-main-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.brand-mark::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 30px;
  border: 3px solid #FFFFFF;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom: 0;
  box-shadow: inset 0 -4px 0 rgba(255,255,255,0.3);
}

.brand-mark::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px #FFFFFF;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.brand-domain {
  color: var(--accent-deep);
  font-weight: 600;
}

.brand-line {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--accent);
  color: #FFFFFF;
}

.cta-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s ease;
  border: 2px solid var(--accent);
}

.cta-call:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.cta-call.outline {
  background: transparent;
  color: var(--accent-deep);
  box-shadow: none;
}

.cta-call.outline:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  padding: 0;
  flex-shrink: 0;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }

.burger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
  background: var(--accent);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
  background: var(--accent);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.97);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  overflow-y: auto;
  padding: 80px 24px;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFFFFF;
  padding: 10px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.mobile-drawer.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-drawer a.active {
  color: var(--accent-soft);
}

.mobile-drawer .drawer-cta {
  margin-top: 16px;
  background: var(--accent);
  color: #FFFFFF !important;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1.1rem;
}

.hero {
  min-height: 100vh;
  padding: 180px 0 100px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-steel);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-deep);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--text-main);
  line-height: 1.05;
}

.hero h1 .accent {
  color: var(--accent-deep);
  position: relative;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-soft);
  opacity: 0.4;
  z-index: -1;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pipe-svg {
  width: 100%;
  height: 100%;
  position: relative;
}

.pipe-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft), var(--accent) 30%, var(--accent-deep) 70%, var(--bg-dark) 100%);
  box-shadow:
    0 0 80px rgba(6, 182, 212, 0.4),
    inset 0 0 60px rgba(15, 23, 42, 0.4);
  animation: rotate 18s linear infinite;
}

.pipe-3d::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 12px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-right-color: rgba(255, 255, 255, 0.5);
  animation: rotate 6s linear infinite reverse;
}

.pipe-3d::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 4px solid rgba(255, 255, 255, 0.3);
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-tag {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-soft);
  z-index: 3;
}

.floating-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.floating-tag.tag-1 { top: 10%; left: 0; animation: float 4s ease-in-out infinite; }
.floating-tag.tag-2 { top: 30%; right: 0; animation: float 5s ease-in-out infinite 0.5s; }
.floating-tag.tag-3 { bottom: 20%; left: 10%; animation: float 6s ease-in-out infinite 1s; }
.floating-tag.tag-4 { bottom: 5%; right: 15%; animation: float 4.5s ease-in-out infinite 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 20px;
}

.bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.bento-item:hover {
  transform: translateY(-5px) scale(1.02);
  z-index: 10;
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-item.wide {
  grid-column: span 2;
}

.bento-item.tall {
  grid-row: span 2;
}

.bento-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--accent-deep);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 8px 0 6px;
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.bento-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  color: var(--accent);
  opacity: 0.3;
}

.bento-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.bento-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92), transparent);
  padding: 20px;
  color: #FFFFFF;
}

.bento-overlay .bento-title,
.bento-overlay .bento-desc {
  color: #FFFFFF;
}

.sticky-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 20px;
  align-items: center;
}

.stack-item:nth-child(1) { z-index: 1; }
.stack-item:nth-child(2) { z-index: 2; }
.stack-item:nth-item(3),
.stack-item:nth-child(3) { z-index: 3; }
.stack-item:nth-child(4) { z-index: 4; }
.stack-item:nth-child(5) { z-index: 5; }
.stack-item:nth-child(6) { z-index: 6; }
.stack-item:nth-child(7) { z-index: 7; }
.stack-item:nth-child(8) { z-index: 8; }

.stack-item:last-child {
  margin-bottom: 0;
}

.stack-item:hover {
  transform: scale(1.02);
  z-index: 20;
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
}

.stack-icon {
  width: 60px;
  height: 60px;
  background: var(--pastel-blue);
  color: var(--accent-deep);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.stack-content h4 {
  margin-bottom: 4px;
  color: var(--text-main);
}

.stack-content p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--accent-deep);
}

.stack-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-deep);
  white-space: nowrap;
}

.stack-price .yen {
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-right: 2px;
}

.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.split-left {
  position: sticky;
  top: 130px;
  height: fit-content;
}

.split-left img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.split-right h2 {
  margin-bottom: 24px;
}

.split-right p {
  margin-bottom: 16px;
  font-size: 1rem;
}

.fact-list {
  list-style: none;
  margin: 32px 0;
  padding: 0;
}

.fact-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.fact-list li:last-child {
  border-bottom: 0;
}

.fact-list .label {
  color: var(--text-soft);
  min-width: 130px;
  font-weight: 500;
}

.fact-list .val {
  color: var(--text-main);
  font-weight: 600;
}

.node-graph {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.node-graph::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 1px;
  background-image: linear-gradient(to right, var(--accent) 50%, transparent 50%);
  background-size: 12px 1px;
  z-index: 0;
}

.node {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 12px;
  text-align: center;
}

.node:hover {
  border-color: var(--accent);
  transform: scale(1.08);
  z-index: 10;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
}

.node-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1;
}

.node-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.node-desc {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: center;
  margin-top: 16px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.masonry {
  column-count: 3;
  column-gap: 24px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  display: block;
}

.masonry-item:hover {
  transform: translateY(-5px) scale(1.02);
  z-index: 10;
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
}

.masonry-img {
  width: 100%;
  display: block;
}

.masonry-body {
  padding: 18px;
}

.masonry-loc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 6px;
}

.masonry-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.masonry-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-soft);
}

.flex-grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  min-height: 360px;
}

.advantage {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.advantage:hover {
  flex-grow: 1.5;
  border-color: var(--accent);
  background: var(--bg-card);
  box-shadow: 0 10px 40px rgba(6, 182, 212, 0.2);
  z-index: 10;
}

.advantage-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 16px;
}

.advantage-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.advantage-desc {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.team-row:hover {
  padding-left: 16px;
}

.team-row:hover .team-name {
  color: var(--accent-deep);
}

.team-row:hover .team-tooltip {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.team-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.team-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 4px;
}

.team-tooltip {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateX(20px);
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  min-width: 280px;
}

.team-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.coverflow {
  position: relative;
  perspective: 1200px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.review-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 540px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.review-card.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotateY(0);
  z-index: 5;
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25);
  pointer-events: auto;
}

.review-card.prev {
  opacity: 0.4;
  transform: translate(-110%, -50%) scale(0.85) rotateY(20deg);
  z-index: 2;
  filter: blur(1px);
}

.review-card.next {
  opacity: 0.4;
  transform: translate(10%, -50%) scale(0.85) rotateY(-20deg);
  z-index: 2;
  filter: blur(1px);
}

.review-stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.review-text {
  font-size: 1.05rem;
  color: var(--text-main) !important;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.review-author strong {
  color: var(--text-main);
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.coverflow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-main);
  z-index: 10;
  transition: all 0.2s;
}

.coverflow-nav:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.coverflow-nav.prev { left: 0; }
.coverflow-nav.next { right: 0; }

.accordion {
  max-width: 860px;
  margin: 0 auto;
}

.acc-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.acc-item.open {
  border-color: var(--accent);
}

.acc-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.acc-toggle {
  width: 32px;
  height: 32px;
  background: var(--pastel-blue);
  color: var(--accent-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.acc-item.open .acc-toggle {
  background: var(--accent);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.acc-item.open .acc-body {
  max-height: 600px;
  padding: 0 24px 20px;
}

.split-form {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-field {
  margin-bottom: 24px;
  position: relative;
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-field label .req {
  color: var(--accent-deep);
  margin-left: 4px;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--border);
  padding: 12px 0;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-main);
  transition: border-color 0.2s;
  border-radius: 0;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-soft);
  opacity: 0.6;
}

.form-submit {
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 36px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.form-submit:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-info-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.contact-info-row:last-child {
  border-bottom: 0;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--pastel-blue);
  color: var(--accent-deep);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex-shrink: 0;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.contact-info-value {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.05rem;
}

a.contact-info-value:hover {
  color: var(--accent-deep);
}

.site-footer {
  background: var(--accent);
  color: #FFFFFF;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 80px 0 30px;
  position: relative;
  z-index: 2;
}

.site-footer h4,
.site-footer p,
.site-footer span,
.site-footer li,
.site-footer a,
.site-footer strong,
.site-footer address {
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .brand-name,
.footer-brand .brand-sub {
  color: #FFFFFF;
}

.footer-about {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFFFFF;
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p,
.footer-bottom a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  z-index: 500;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
  font-size: 0.85rem;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner-title::before {
  content: '🍪';
  font-size: 1.2rem;
}

.cookie-banner-text {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-banner-text a {
  color: var(--accent-deep);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1;
  min-width: 100px;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  border: 0;
  white-space: nowrap;
  transition: all 0.2s;
}

.cookie-btn.accept {
  background: var(--accent);
  color: #FFFFFF;
}

.cookie-btn.accept:hover {
  background: var(--accent-deep);
}

.cookie-btn.decline {
  background: transparent;
  color: var(--text-soft);
  border: 1px solid var(--border);
}

.cookie-btn.decline:hover {
  border-color: var(--text-soft);
  color: var(--text-main);
}

.compact-hero {
  padding: 160px 0 60px;
  position: relative;
  background: var(--bg-steel);
  border-bottom: 1px solid var(--border);
}

.compact-hero h1 {
  margin-bottom: 16px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--accent-deep);
}

.breadcrumb .sep {
  color: var(--text-soft);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.2);
  z-index: 5;
}

.service-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
  background: var(--pastel-blue);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-card .price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 16px;
  display: block;
}

.service-card .price .from {
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-right: 4px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-deep);
  font-size: 0.9rem;
  white-space: nowrap;
}

.service-link::after {
  content: '→';
  transition: transform 0.2s;
}

.service-link:hover::after {
  transform: translateX(4px);
}

.thank-card {
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.thank-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-glow);
  font-weight: 700;
}

.service-detail-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.service-detail-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spec-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.spec-list .k {
  color: var(--text-soft);
}

.spec-list .v {
  color: var(--text-main);
  font-weight: 600;
}

.process-list {
  counter-reset: proc;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.process-list::before {
  content: '';
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 30px;
  width: 2px;
  background: var(--border);
}

.process-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.process-num {
  width: 60px;
  height: 60px;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  color: var(--accent-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  z-index: 2;
  position: relative;
}

.process-content h4 {
  margin-bottom: 8px;
}

.process-content p {
  font-size: 0.95rem;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.legal-content ul {
  margin: 0 0 16px 24px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.emergency-banner {
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: #FFFFFF;
  padding: 24px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3);
}

.emergency-banner h3,
.emergency-banner p,
.emergency-banner a,
.emergency-banner span {
  color: #FFFFFF;
}

.emergency-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.pure-g {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
}

.pure-u-1, .pure-u-md-1-2, .pure-u-md-1-3, .pure-u-md-2-3, .pure-u-md-1-4 {
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .pure-u-md-1-2 { width: 50%; }
  .pure-u-md-1-3 { width: 33.3333%; }
  .pure-u-md-2-3 { width: 66.6666%; }
  .pure-u-md-1-4 { width: 25%; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; }
.gap-2 { gap: 12px; }
.gap-3 { gap: 20px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 360px; order: -1; }
  .split-screen { grid-template-columns: 1fr; gap: 40px; }
  .split-left { position: static; }
  .split-form { grid-template-columns: 1fr; gap: 40px; }
  .service-detail-section { grid-template-columns: 1fr; gap: 30px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .bento-item.large { grid-column: span 2; grid-row: span 1; }
  .bento-item.wide { grid-column: span 2; }
  .bento-item.tall { grid-row: span 1; }
  .flex-grow-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .node-graph { grid-template-columns: repeat(2, 1fr); }
  .node-graph::before { display: none; }
  .masonry { column-count: 2; }
}

@media (max-width: 720px) {
  .main-nav, .header-top, .header-main .cta-call { display: none; }
  .burger { display: flex; }
  .section { padding: 60px 0; }
  .hero { padding: 130px 0 60px; min-height: auto; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-item.large, .bento-item.wide, .bento-item.tall { grid-column: span 1; grid-row: span 1; }
  .bento-item { min-height: 200px; }
  .flex-grow-grid { grid-template-columns: 1fr; }
  .stack-item { grid-template-columns: 50px 1fr; gap: 12px; padding: 20px; }
  .stack-item .stack-price { grid-column: 1 / -1; text-align: right; margin-top: 8px; }
  .node-graph { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .team-tooltip { display: none; }
  .team-row { padding: 18px 0; }
  .team-name { font-size: 1.3rem; }
  .review-card { padding: 24px; }
  .coverflow { height: 440px; }
  .coverflow-nav { display: none; }
  .review-card.prev, .review-card.next { display: none; }
  .emergency-banner { grid-template-columns: 1fr; text-align: center; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .cursor-glow, .cursor-ring { display: none; }
  .tech-mark { display: none; }
  .header-main { height: 64px; }
  .header-top { height: 32px; padding: 0 16px; }
  .header-main { padding: 0 16px; }
  .container { padding: 0 16px; }
  .float { display: none; }
  .floating-tag { display: none; }
  .pipe-3d { width: 240px; height: 240px; }
  .pipe-3d::before { width: 130px; height: 130px; }
  .pipe-3d::after { width: 60px; height: 60px; }
  .form-field { margin-bottom: 18px; }
  .thank-card { padding: 40px 24px; }
  .node { width: 100px; height: 100px; }
  .node-num { font-size: 1.3rem; }
}
