:root {
  --bg: oklch(0.145 0 0);
  --surface: oklch(0.205 0 0);
  --border: oklch(1 0 0 / 10%);
  --border-hover: oklch(1 0 0 / 20%);
  --fg: oklch(0.985 0 0);
  --fg-muted: oklch(0.708 0 0);
  
  --primary: oklch(0.65 0.15 270);
  --primary-hover: oklch(0.85 0.06 275);
  --accent: oklch(0.269 0 0);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--fg);
  text-decoration: none;
}

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

.section-pad {
  padding: 8rem 0;
}

/* Background Effects */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}
.bg-glow-1 {
  top: -20%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
}
.bg-glow-2 {
  bottom: -20%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand .kanji {
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: var(--fg);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.btn-lg {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding-top: 12rem;
  padding-bottom: 6rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw + 1rem, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #71717a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Sync Graph Animation */
.hero-visual {
  margin-top: 4rem;
}

.sync-graph {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.graph-svg {
  width: 100%;
  height: auto;
}

.anim-line {
  stroke-dasharray: 8 8;
  animation: dash 1s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -16;
  }
}

.float-node {
  animation: float 4s ease-in-out infinite alternate;
}

@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

.hub-outer {
  animation: pulseHub 3s ease-in-out infinite alternate;
}

@keyframes pulseHub {
  0% { r: 45; opacity: 0.8; stroke-width: 2; }
  100% { r: 48; opacity: 1; stroke-width: 4; }
}

/* Logos */
.section-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

.text-center { text-align: center; }

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(100%);
}

.logo-placeholder {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Features */
.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--fg-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  grid-auto-rows: minmax(300px, auto);
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.bento-card:hover {
  background: rgba(24, 24, 27, 0.8);
  border-color: var(--border-hover);
}

.col-span-2 {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .col-span-2 {
    grid-column: span 1;
  }
}

.card-content {
  margin-bottom: 2rem;
  z-index: 2;
}

.card-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 400px;
}

.card-visual {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.mock-ui {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  width: 100%;
  max-width: 300px;
  box-shadow: var(--shadow-lg);
}

.mock-header {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--fg-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.status-dot.green {
  background-color: var(--primary);
  box-shadow: 0 0 8px rgba(212, 212, 216, 0.5);
}

.mock-search {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}

.mock-search-bar {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
}
.mock-search-bar::before {
  content: '🔍';
  margin-right: 0.5rem;
}

/* CTA Section */
.cta-box {
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.8) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--fg-muted);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 6rem 0 2rem;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-col .brand {
  margin-bottom: 1rem;
}

.footer-brand-col p {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links-col a {
  display: block;
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--fg);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }
  .section-pad {
    padding: 4rem 0;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.5rem;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-actions .nav-link {
    display: none;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .sync-graph {
    transform: scale(0.9);
  }
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-text {
  text-align: left;
}

.contact-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-text p {
  color: var(--fg-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.contact-benefits li {
  color: var(--fg);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.contact-form-wrapper {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  text-align: left;
}

.form-group input,
.form-group textarea {
  background: rgba(9, 9, 11, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(166, 38, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--fg-muted);
  opacity: 0.5;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ROI Calculator */
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .roi-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.roi-controls {
  background: rgba(24, 24, 27, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.slider-header label {
  color: var(--fg);
  font-size: 1rem;
}

.slider-value {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
  font-family: monospace;
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  outline: none;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: transform 0.1s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: none;
  transition: transform 0.1s;
}

.roi-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.roi-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-card {
  background: linear-gradient(135deg, rgba(166, 38, 255, 0.1) 0%, rgba(24, 24, 27, 0.8) 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(166, 38, 255, 0.1);
}

.result-card.secondary-result {
  background: rgba(24, 24, 27, 0.4);
  border-color: var(--border);
  box-shadow: none;
}

.result-card h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.result-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-family: monospace;
}

.result-label {
  color: var(--fg-muted);
  font-size: 0.95rem;
}