/* ==========================================================================
   Renode株式会社 - コーポレートサイト兼プロダクトLP
   Design System & Styles
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --color-primary: #0D9488;
  --color-primary-light: #14B8A6;
  --color-primary-dark: #0F766E;
  --color-primary-bg: #F0FDFA;
  --color-accent: #0EA5E9;

  --color-text: #1E293B;
  --color-text-secondary: #64748B;
  --color-text-tertiary: #94A3B8;

  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8FAFB;
  --color-bg-alt: #F1F5F9;

  --color-border: #E2E8F0;
  --color-border-light: #F1F5F9;

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.25rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg-white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-padding {
  padding: var(--space-5xl) 0;
}

.section-padding-sm {
  padding: var(--space-4xl) 0;
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 640px;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

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

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: var(--font-family);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-bg);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--font-size-base);
  border-radius: var(--radius-md);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-border);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-logo-text {
  color: var(--color-text);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.header-nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header-nav-links a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.header-nav-links a:hover {
  color: var(--color-primary);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  padding-top: calc(var(--header-height) + var(--space-5xl));
  padding-bottom: var(--space-5xl);
  background-color: var(--color-bg-white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 80vh;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

/* Glassmorphism Announcement */
.hero-announcement {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2xl);
  position: relative;
  z-index: 10;
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: 100px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.glass-pill:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.pill-badge {
  background: var(--color-primary);
  color: white;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.pill-text {
  color: var(--color-text-secondary);
}

.glass-pill svg {
  color: var(--color-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-pill:hover svg {
  transform: translateX(2px);
}

/* Product Mockup Animation - 3 Phases */
.product-mockup {
  background: var(--color-bg-white);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px -12px rgba(13, 148, 136, 0.15), 0 0 0 1px rgba(13, 148, 136, 0.05);
  overflow: hidden;
  width: 100%;
  position: relative;
  height: 340px;
}

.phase {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
}

/* Phase 1: Upload (0s - 2s) */
.phase-upload {
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  animation: phase-1-fade 12s infinite;
}

.upload-zone {
  border: 2px dashed rgba(13, 148, 136, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-4xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  background: white;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.05);
}

.upload-icon {
  background: rgba(13, 148, 136, 0.1);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-text {
  font-weight: 600;
  color: var(--color-text);
  font-size: 15px;
}

.floating-doc {
  position: absolute;
  background: white;
  padding: 14px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-pdf {
  top: 50px;
  left: 60px;
  animation: float 3s ease-in-out infinite;
}

.doc-excel {
  bottom: 50px;
  right: 60px;
  animation: float 4s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes phase-1-fade {

  0%,
  15% {
    opacity: 1;
    visibility: visible;
  }

  18%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Phase 2: Analyzing (2s - 4s) */
.phase-analyzing {
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  animation: phase-2-fade 12s infinite;
}

.progress-container {
  width: 80%;
  max-width: 400px;
}

.progress-text {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  font-size: 14px;
}

.progress-bar-track {
  height: 8px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--color-primary);
  width: 0%;
  border-radius: 4px;
  animation: progress-fill 12s infinite;
}

@keyframes progress-fill {

  0%,
  16% {
    width: 0%;
  }

  18% {
    width: 10%;
  }

  22% {
    width: 40%;
  }

  28% {
    width: 85%;
  }

  31%,
  100% {
    width: 100%;
  }
}

@keyframes phase-2-fade {

  0%,
  15% {
    opacity: 0;
    visibility: hidden;
  }

  18%,
  30% {
    opacity: 1;
    visibility: visible;
  }

  32%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Phase 3: Auto-fill (4s - 12s) */
.phase-autofill {
  background: white;
  animation: phase-3-fade 12s infinite;
}

@keyframes phase-3-fade {

  0%,
  31% {
    opacity: 0;
    visibility: hidden;
  }

  33%,
  98% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.excel-header {
  display: flex;
  background: #f1f5f9;
  padding: 8px 16px 0;
  gap: 4px;
  border-bottom: 1px solid var(--color-border);
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: white;
  border-radius: 6px 6px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-bottom: none;
}

.pdf-tab {
  background: #f8fafc;
  color: var(--color-text-secondary);
  border-color: transparent;
}

.excel-grid {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  flex: 1;
}

.grid-header {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--color-border);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.grid-header>div {
  padding: 8px 12px;
}

.grid-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.cell {
  padding: 12px;
  border-right: 1px solid var(--color-border);
}

.col-id {
  flex: 0 0 50px;
  text-align: center;
}

.col-q {
  flex: 0 0 200px;
  font-weight: 500;
  color: var(--color-text);
}

.col-a {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: none;
  min-width: 0;
  gap: 8px;
  position: relative;
  /* For the focus effect */
  transition: all 0.3s ease;
}

.rfp-row-1 .answer-cell {
  animation: cell-focus-1 12s infinite;
}

.rfp-row-2 .answer-cell {
  animation: cell-focus-2 12s infinite;
}

.rfp-row-3 .answer-cell {
  animation: cell-focus-3 12s infinite;
}

@keyframes cell-focus-1 {

  0%,
  35% {
    box-shadow: none;
    border-color: var(--color-border);
    background: transparent;
  }

  37.5%,
  45.8% {
    box-shadow: inset 0 0 0 2px var(--color-primary), 0 0 12px rgba(13, 148, 136, 0.2);
    border-color: var(--color-primary);
    background: rgba(13, 148, 136, 0.02);
  }

  48.3%,
  100% {
    box-shadow: none;
    border-color: var(--color-border);
    background: transparent;
  }
}

@keyframes cell-focus-2 {

  0%,
  55% {
    box-shadow: none;
    border-color: var(--color-border);
    background: transparent;
  }

  58.3%,
  66.6% {
    box-shadow: inset 0 0 0 2px var(--color-primary), 0 0 12px rgba(13, 148, 136, 0.2);
    border-color: var(--color-primary);
    background: rgba(13, 148, 136, 0.02);
  }

  69.1%,
  100% {
    box-shadow: none;
    border-color: var(--color-border);
    background: transparent;
  }
}

@keyframes cell-focus-3 {

  0%,
  75% {
    box-shadow: none;
    border-color: var(--color-border);
    background: transparent;
  }

  79.1%,
  87.5% {
    box-shadow: inset 0 0 0 2px var(--color-primary), 0 0 12px rgba(13, 148, 136, 0.2);
    border-color: var(--color-primary);
    background: rgba(13, 148, 136, 0.02);
  }

  90%,
  100% {
    box-shadow: none;
    border-color: var(--color-border);
    background: transparent;
  }
}

/* AI Cursor */
.ai-cursor {
  display: none;
}

.ai-cursor-inner {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--color-primary);
}

.ai-cursor-pulse {
  width: 24px;
  height: 24px;
  background: rgba(13, 148, 136, 0.4);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(3);
    opacity: 0;
  }
}

@keyframes cursor-move {

  0%,
  33% {
    opacity: 0;
    top: 120px;
    left: 100px;
  }

  35% {
    opacity: 1;
    top: 88px;
    left: 265px;
    scale: 1;
  }

  /* Row 1 */
  48% {
    opacity: 1;
    top: 88px;
    left: 265px;
    scale: 0.8;
  }

  54% {
    opacity: 1;
    top: 154px;
    /* Adjusted due to potential wrapping row height */
    left: 265px;
    scale: 1;
  }

  /* Row 2 */
  68% {
    opacity: 1;
    top: 154px;
    left: 265px;
    scale: 0.8;
  }

  75% {
    opacity: 1;
    top: 220px;
    /* Adjusted */
    left: 265px;
    scale: 1;
  }

  /* Row 3 */
  89% {
    opacity: 1;
    top: 220px;
    left: 265px;
    scale: 0.8;
  }

  92%,
  100% {
    opacity: 0;
    top: 220px;
    left: 265px;
  }
}

/* Typing and Meta Animations */
.typewriter {
  overflow: hidden;
  color: var(--color-primary);
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* Apply clip-path for typing effect instead of width to allow wrapping */
  clip-path: inset(0 100% 0 0);
  line-height: 1.4;
  max-width: 100%;
}

.tw-1 {
  animation: typing-1 12s infinite;
}

.tw-2 {
  animation: typing-2 12s infinite;
}

.tw-3 {
  animation: typing-3 12s infinite;
}

@keyframes typing-1 {

  0%,
  37.5% {
    clip-path: inset(0 100% 0 0);
  }

  45.8%,
  98% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes typing-2 {

  0%,
  58.3% {
    clip-path: inset(0 100% 0 0);
  }

  66.6%,
  98% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 100% 0 0);
  }
}

@keyframes typing-3 {

  0%,
  79.1% {
    clip-path: inset(0 100% 0 0);
  }

  87.5%,
  98% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 100% 0 0);
  }
}

.answer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.meta-1 {
  animation: meta-1-fade 12s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-2 {
  animation: meta-2-fade 12s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-3 {
  animation: meta-3-fade 12s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes meta-1-fade {

  0%,
  45.8% {
    opacity: 0;
    transform: scale(0.8);
  }

  50%,
  98% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
  }
}

@keyframes meta-2-fade {

  0%,
  66.6% {
    opacity: 0;
    transform: scale(0.8);
  }

  70%,
  98% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
  }
}

@keyframes meta-3-fade {

  0%,
  87.5% {
    opacity: 0;
    transform: scale(0.8);
  }

  91%,
  98% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
  }
}

.cell-check {
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.source-badge {
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-primary);
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

/* Improved Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Animations */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.375rem 1rem;
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-bottom: var(--space-xl);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: var(--space-2xl);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}



/* ---------- Problem Section ---------- */
.problem {
  background-color: var(--color-bg-light);
  position: relative;
}

.problem::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(13, 148, 136, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.problem-card {
  padding: var(--space-xl) var(--space-2xl);
  background-color: var(--color-bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.problem-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.2);
  transform: translateY(-2px);
}

.problem-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.problem-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-bg);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

.problem-card:hover .problem-card-icon {
  background-color: var(--color-primary);
  color: white;
}

.problem-card-title {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.4;
}

.problem-card-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ---------- Solution Section ---------- */
.solution {
  background-color: var(--color-bg-white);
  position: relative;
}

.solution::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 300px;
  background: radial-gradient(ellipse at top, rgba(13, 148, 136, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.solution-card {
  padding: var(--space-xl);
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}

.solution-card:hover::before {
  opacity: 1;
}

.solution-card-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: var(--color-primary-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: var(--space-lg);
}

.solution-card-title {
  font-size: var(--font-size-xl);
  font-weight: 800;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
  line-height: 1.2;
}

.solution-card-subtitle {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.solution-card-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.text-chunk {
  display: inline-block;
  white-space: nowrap;
}

.solution-card-features {
  margin-top: var(--space-lg);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  text-align: left;
}

.solution-card-features li {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  line-height: 1.6;
}

.solution-card-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.55em;
}

/* ---------- How It Works Section ---------- */
.how-it-works {
  background-color: var(--color-bg-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  opacity: 0.3;
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: var(--font-size-lg);
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto var(--space-lg);
  position: relative;
}

.step-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.step-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.step-product-badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
  background-color: var(--color-bg-alt);
  color: var(--color-text-secondary);
}

.step-group {
  grid-column: span 2;
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  padding-top: calc(var(--space-xl) + 0.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-self: start;
  margin-top: -0.7rem;
}

.step-group-label {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.9rem;
  border-radius: 100px;
  background-color: var(--color-bg-white);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

/* ---------- Waitlist & Contact Sections ---------- */
.waitlist {
  background-color: var(--color-bg-white);
  text-align: center;
}

.waitlist-inner {
  max-width: 640px;
  margin: 0 auto;
}

.tally-embed {
  margin-top: var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
}

.tally-embed iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.tally-placeholder {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--color-text-tertiary);
  font-size: var(--font-size-sm);
}

.tally-placeholder-icon {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
  opacity: 0.4;
}

.contact {
  background-color: var(--color-bg-light);
  text-align: center;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Company Section ---------- */
.company {
  background-color: var(--color-bg-white);
  text-align: center;
}

.company-table {
  margin: var(--space-2xl) auto 0;
  max-width: 640px;
  text-align: left;
  /* Keep text inside table left-aligned for readability */
}

.company-table-row {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.company-table-row:first-child {
  border-top: 1px solid var(--color-border);
}

.company-table-label {
  width: 160px;
  min-width: 120px;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text);
}

.company-table-value {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xl);
}

.footer-brand {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.footer-logo-placeholder {
  display: none;
}

.footer-brand-sub {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.4);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
}

.footer-nav a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 2.75rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }

  .steps-grid::before {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --font-size-3xl: 1.625rem;
    --font-size-4xl: 1.875rem;
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .header-nav-links {
    display: none;
  }

  .header-nav .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    padding: var(--space-2xl);
  }

  .mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .mobile-menu a {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border-light);
  }

  .mobile-menu .btn {
    margin-top: var(--space-md);
    text-align: center;
    display: flex;
  }

  .section-title {
    font-size: var(--font-size-xl);
    line-height: 1.4;
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .section-title br {
    display: none;
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.5;
    text-wrap: balance;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.7;
    text-wrap: balance;
  }

  .hero-subtitle br {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card-content h3 {
    font-size: var(--font-size-base);
    text-wrap: balance;
    word-break: keep-all;
  }

  .solution-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .solution-card {
    padding: var(--space-xl);
  }

  .solution-card-title {
    font-size: var(--font-size-xl);
    text-wrap: balance;
    word-break: keep-all;
  }

  .solution-card-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--space-md);
    text-wrap: balance;
    word-break: keep-all;
  }

  .solution-card-text {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .step-title br,
  .step-text br {
    display: none;
  }

  .company-table-row {
    flex-direction: column;
    padding: var(--space-md) 0;
    gap: var(--space-xs);
  }

  .company-table-label {
    width: 100%;
    font-weight: 700;
    white-space: normal;
  }

  .company-table-value {
    width: 100%;
    line-height: 1.6;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    max-width: 100%;
  }

  .vision-inner {
    padding: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
}

/* ============================================================
   Vision Section
   ============================================================ */
.vision {
  background: linear-gradient(135deg, #f0fdf9 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(13, 148, 136, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.vision-inner {
  max-width: 800px;
  margin: 0 auto;
}

.vision-statement {
  margin-top: var(--space-3xl);
}

.vision-lead {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.vision-description {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: var(--space-2xl);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.vision-description p {
  margin-bottom: var(--space-md);
}

.vision-divider {
  width: 40px;
  height: 4px;
  background: var(--color-primary);
  margin: 0 auto var(--space-2xl);
  border-radius: var(--radius-full);
  opacity: 0.3;
}

.vision-core {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.5;
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  .vision-lead {
    font-size: var(--font-size-lg);
  }

  .vision-description {
    font-size: var(--font-size-base);
  }

  .vision-core {
    font-size: var(--font-size-xl);
  }
}

/* ============================================================
   Security Section
   ============================================================ */
.security {
  background: white;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

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

.security-card {
  background: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: all 0.3s ease;
}

.security-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
  transform: translateY(-2px);
}

.security-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.security-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-card-title {
  font-size: var(--font-size-lg);
  font-weight: 800;
  color: var(--color-text);
}

.security-card-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ============================================================
   FAQ Section
   ============================================================ */
.faq {
  background: #f8fafc;
}

.faq-list {
  max-width: 740px;
  margin: var(--space-3xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.open {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-xl) var(--space-2xl);
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 var(--space-2xl) var(--space-xl);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ============================================================
   Integrations Section
   ============================================================ */
.integrations {
  background: #f8fafc;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin: var(--space-3xl) auto 0;
  max-width: 800px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  height: 160px;
  /* Fixed height for consistency */
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}

@media (max-width: 640px) {
  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.integration-card:hover {
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
  transform: translateY(-3px);
}

.integration-logo {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-name {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.integrations-note {
  text-align: center;
  margin-top: var(--space-2xl);
  font-size: var(--font-size-sm);
  color: #94a3b8;
}

/* ============================================================
   Footer Extras
   ============================================================ */
.footer-divider {
  margin: 0 var(--space-md);
  color: #94a3b8;
}

.footer-legal {
  color: #94a3b8;
  font-size: var(--font-size-xs);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal:hover {
  color: var(--color-text-secondary);
}

/* ---------- Print ---------- */
@media print {

  .header,
  .mobile-menu,
  .waitlist,
  .contact {
    display: none;
  }

  .hero {
    padding-top: var(--space-2xl);
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}