/* ===================================================================
   Secretary.io Landing — "Editorial Warmth" Light Theme
   =================================================================== */

/* ===== Custom Properties ===== */
:root {
  --bg: #FAF9F6;
  --bg-alt: #F3F1EC;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FEFEFE;
  --surface: #EFEEE9;

  --border: #E2E0DB;
  --border-hover: #D1CFC9;
  --border-accent: rgba(13, 148, 136, 0.25);

  --text: #1A1A2E;
  --text-secondary: #4A4A5A;
  --text-muted: #8A8A96;
  --text-dim: #B0B0B8;

  --accent: #0D9488;
  --accent-hover: #0F766E;
  --accent-light: #F0FDFA;
  --accent-glow: rgba(13, 148, 136, 0.12);
  --accent-gradient: linear-gradient(135deg, #0D9488, #0891B2);

  --warm: #D97706;
  --warm-light: #FFFBEB;
  --warm-glow: rgba(217, 119, 6, 0.1);

  --green: #059669;
  --green-light: #ECFDF5;

  --shadow-xs: 0 1px 2px rgba(28, 25, 23, 0.04);
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 4px 20px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 12px 40px rgba(28, 25, 23, 0.10);
  --shadow-xl: 0 24px 60px rgba(28, 25, 23, 0.12);
  --shadow-card: 0 1px 3px rgba(28,25,23,0.04), 0 8px 24px rgba(28,25,23,0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: "Bricolage Grotesque", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", "SF Mono", monospace;

  --container: 1140px;
  --section-gap: clamp(100px, 14vw, 160px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul { list-style: none; }
strong { font-weight: 700; }

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

/* ===== Utilities ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hide-sp { display: inline; }
@media (max-width: 768px) { .hide-sp { display: none; } }

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }

/* ===== Section Labels ===== */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-title--left { text-align: left; }

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 56px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(13, 148, 136, 0.2);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--full { width: 100%; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav--scrolled {
  background: rgba(250, 249, 246, 0.92);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

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

.nav-cta {
  background: var(--accent-gradient);
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px !important;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle--active span:nth-child(2) { opacity: 0; }
.nav-toggle--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(250, 249, 246, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links--open { transform: translateY(0); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding-top: 68px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.hero-glow--1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  right: 10%;
  opacity: 0.06;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: var(--warm);
  bottom: 0;
  left: 5%;
  opacity: 0.04;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 68px - 120px);
  padding: 80px 24px 60px;
}

.hero-text { max-width: 520px; }

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  padding: 5px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
  background: var(--accent-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.hero-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 36px;
}

.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0 80px;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

@media (max-width: 640px) {
  .stat-divider { display: none; }
  .hero-stats { gap: 24px; }
}

/* ===== Hero Mockup ===== */
.hero-mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
}

.mock-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  width: 280px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mock-card--meeting {
  transform: translateX(-40px) translateY(8px);
  animation: float-1 6s ease-in-out infinite;
}

.mock-card--minutes {
  transform: translateX(0px);
  animation: float-2 6s ease-in-out infinite;
  z-index: 2;
  width: 300px;
}

.mock-card--tasks {
  transform: translateX(40px) translateY(-8px);
  animation: float-3 6s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translateX(-40px) translateY(8px); }
  50% { transform: translateX(-40px) translateY(0px); }
}

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

@keyframes float-3 {
  0%, 100% { transform: translateX(40px) translateY(-8px); }
  50% { transform: translateX(40px) translateY(-16px); }
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mock-dot--green { background: var(--green); }
.mock-dot--teal { background: var(--accent); }
.mock-dot--amber { background: var(--warm); }

.mock-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.mock-body { padding: 12px 16px; }

/* Meeting card */
.mock-event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.mock-event + .mock-event { border-top: 1px solid var(--border); }
.mock-event--next { opacity: 0.5; }

.mock-event-time {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 36px;
}

.mock-event-detail { flex: 1; }

.mock-event-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mock-event-meta {
  font-size: 10px;
  color: var(--text-dim);
}

.mock-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-badge--live {
  background: var(--green-light);
  color: var(--green);
  animation: pulse-live 2s ease-in-out infinite;
}

.mock-badge--scheduled {
  background: var(--bg-alt);
  color: var(--text-muted);
}

.mock-badge--linear {
  background: #EDE9FE;
  color: #7C3AED;
  font-size: 9px;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Minutes card */
.mock-line {
  font-size: 11px;
  color: var(--text-secondary);
  padding: 4px 0;
  line-height: 1.5;
}

.mock-speaker {
  font-weight: 700;
  color: var(--accent);
  font-size: 10px;
  margin-right: 6px;
}

.mock-highlight {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  padding: 6px 10px;
  margin: 6px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 11px;
  color: var(--text);
}

.mock-highlight--action {
  background: var(--warm-light);
  border-left-color: var(--warm);
}

.mock-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-tag--decision {
  background: var(--accent);
  color: #fff;
}

.mock-tag--action {
  background: var(--warm);
  color: #fff;
}

/* Tasks card */
.mock-task {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.mock-task + .mock-task { border-top: 1px solid var(--border); }

.mock-checkbox {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}

.mock-checkbox--done {
  background: var(--accent);
  border-color: var(--accent);
  position: relative;
}

.mock-checkbox--done::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.mock-task-detail { flex: 1; }

.mock-task-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mock-task-assignee {
  font-size: 10px;
  color: var(--text-dim);
}

.mock-synced {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

/* Flow arrows */
.mock-flow {
  color: var(--accent);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  transform: rotate(90deg);
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 24px 40px;
    min-height: auto;
  }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-mockup {
    max-width: 320px;
    margin: 0 auto;
  }
  .mock-card--meeting { transform: translateX(-20px); }
  .mock-card--tasks { transform: translateX(20px); }
  @keyframes float-1 {
    0%, 100% { transform: translateX(-20px) translateY(4px); }
    50% { transform: translateX(-20px) translateY(-4px); }
  }
  @keyframes float-3 {
    0%, 100% { transform: translateX(20px) translateY(-4px); }
    50% { transform: translateX(20px) translateY(-12px); }
  }
}

/* ===== Problem ===== */
.problem {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.problem-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--surface);
  line-height: 1;
  margin-bottom: 16px;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--text);
}

.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 48px auto 0;
  }
}

/* ===== Solution ===== */
.solution {
  padding: var(--section-gap) 0;
}

.solution-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.solution-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 36px;
}

.solution-desc strong { color: var(--accent-hover); }

.solution-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solution-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.solution-point strong { color: var(--text); display: block; }

.solution-point-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.solution-point-icon svg { width: 100%; height: 100%; }

/* Solution Visual Ring */
.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-ring {
  position: relative;
  width: 320px;
  height: 320px;
}

.solution-ring::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  animation: spin-slow 30s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.solution-ring-item {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.solution-ring-item:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.solution-ring-item span {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.solution-ring-item--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  border-color: var(--border-accent);
}

.solution-ring-item--2 {
  bottom: 20px;
  left: 10px;
  color: var(--green);
  border-color: rgba(5, 150, 105, 0.25);
}

.solution-ring-item--3 {
  bottom: 20px;
  right: 10px;
  color: var(--warm);
  border-color: rgba(217, 119, 6, 0.25);
}

.solution-ring-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--accent-gradient);
  box-shadow: 0 4px 20px var(--accent-glow);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .solution-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .solution-ring {
    width: 260px;
    height: 260px;
    margin: 0 auto;
  }
  .solution-ring-item { width: 68px; height: 68px; font-size: 11px; }
  .solution-ring-center { width: 60px; height: 60px; font-size: 12px; }
}

/* ===== Features ===== */
.features {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-phases {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 48px;
}

.feature-phase {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: start;
}

.phase-label {
  position: sticky;
  top: 88px;
}

.phase-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.phase-tag--before {
  background: var(--accent-light);
  color: var(--accent);
}

.phase-tag--during {
  background: var(--green-light);
  color: var(--green);
}

.phase-tag--after {
  background: var(--warm-light);
  color: var(--warm);
}

.phase-label h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.phase-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.phase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.phase-card h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.phase-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .feature-phase {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .phase-label { position: static; }
  .phase-cards { grid-template-columns: 1fr; }
}

/* ===== Demo Video ===== */
.demo {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demo-player {
  max-width: 800px;
  margin: 48px auto 0;
}

.demo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.demo-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.demo-thumbnail {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-thumb-content {
  width: 70%;
  max-width: 480px;
}

.demo-thumb-mockup {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.demo-thumb-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-thumb-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.demo-thumb-bar span:first-child { background: #f87171; opacity: 0.6; }
.demo-thumb-bar span:nth-child(2) { background: #fbbf24; opacity: 0.6; }
.demo-thumb-bar span:nth-child(3) { background: #34d399; opacity: 0.6; }

.demo-thumb-body {
  display: flex;
  gap: 16px;
  padding: 20px 16px;
}

.demo-thumb-sidebar {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-thumb-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-thumb-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.demo-thumb-line--wide { height: 8px; }

.demo-thumb-line--accent {
  background: rgba(13, 148, 136, 0.3);
}

.demo-play {
  position: absolute;
  z-index: 2;
  width: 72px;
  height: 72px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

.demo-play svg { width: 100%; height: 100%; }

.demo-placeholder:hover .demo-play {
  transform: scale(1.1);
}

.demo-play--pulse {
  animation: play-pulse 0.6s ease-out;
}

@keyframes play-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.demo-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.demo-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.demo-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.demo-feat svg { color: var(--accent); flex-shrink: 0; }

@media (max-width: 640px) {
  .demo-features { gap: 16px; flex-direction: column; align-items: center; }
}

/* ===== How It Works ===== */
.how-it-works {
  padding: var(--section-gap) 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 560px;
  margin: 48px auto 0;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-light);
  border: 1.5px solid var(--border-accent);
  flex-shrink: 0;
}

.step-content { padding: 8px 0; }

.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.step-line {
  width: 2px;
  height: 40px;
  background: var(--border);
  margin-left: 23px;
  border-radius: 2px;
}

/* ===== Comparison ===== */
.comparison {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-table {
  max-width: 760px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table thead {
  background: var(--bg);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
}

.comparison-table th:first-child { width: 40%; }

.comp-highlight {
  color: var(--accent) !important;
  font-weight: 700;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text);
}

.comparison-table tbody tr:last-child td { border-bottom: none; }

.comparison-table tbody tr:hover { background: var(--bg); }

.comp-yes { color: var(--text-muted); font-size: 13px; }
.comp-yes--accent { color: var(--accent); font-weight: 600; }
.comp-partial { color: var(--text-dim); font-size: 13px; }
.comp-no { color: var(--text-dim); font-size: 13px; opacity: 0.5; }

@media (max-width: 640px) {
  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* ===== Use Cases ===== */
.usecases {
  padding: var(--section-gap) 0;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.usecase-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.usecase-icon svg { width: 100%; height: 100%; }

.usecase-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.usecase-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .usecase-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 48px auto 0;
  }
}

/* ===== Technology (Vexa) ===== */
.technology {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.tech-card--vexa {
  border-color: var(--border-accent);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tech-card-header h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.tech-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 2px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tech-card > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 28px;
}

.tech-card > p strong { color: var(--text); }

.tech-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tech-hl {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tech-hl-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.tech-hl strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.tech-hl p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Tech Architecture Flow */
.tech-arch {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.tech-arch h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tech-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.tech-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 100%;
  text-align: center;
}

.tech-flow-node--accent {
  border-color: var(--border-accent);
  background: var(--accent-light);
}

.tech-flow-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.tech-flow-icon--vexa {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
}

.tech-flow-icon--ai {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.tech-flow-node span {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.tech-flow-node small {
  font-size: 10px;
  color: var(--text-dim);
}

.tech-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}

/* Tech Stats */
.tech-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tech-stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
}

.tech-stat-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.tech-stat-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 768px) {
  .tech-layout {
    grid-template-columns: 1fr;
  }
  .tech-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ===== FAQ ===== */
.faq {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 680px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: var(--border-accent);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ""; }

.faq-item summary:hover { background: var(--bg); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.3s;
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ===== Pricing ===== */
.pricing {
  padding: var(--section-gap) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 48px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.pricing-card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--bg-card) 30%);
}

.pricing-card--featured:hover {
  border-color: var(--accent);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.pricing-price { margin-bottom: 8px; }

.pricing-amount {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  opacity: 0.4;
}

.pricing-card--featured .pricing-features li::before {
  background: var(--accent);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 48px auto 0;
  }
}

/* ===== CTA ===== */
.cta {
  padding: var(--section-gap) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.cta-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 36px;
}

.cta-form { max-width: 520px; margin: 0 auto; }

.cta-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cta-field {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
}

.cta-field:focus { border-color: var(--accent); }
.cta-field::placeholder { color: var(--text-dim); }

.cta-error {
  font-size: 13px;
  color: #DC2626;
  margin-top: 8px;
}

@media (max-width: 480px) {
  .cta-row { grid-template-columns: 1fr; }
}

.cta-input-group {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px;
  transition: border-color 0.3s;
}

.cta-input-group:focus-within {
  border-color: var(--accent);
}

.cta-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 20px;
  min-width: 0;
}

.cta-input::placeholder { color: var(--text-dim); }

.btn--submit {
  padding: 10px 24px;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cta-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
}

.cta-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  color: var(--accent);
}

.cta-success p {
  font-size: 16px;
  color: var(--accent);
  line-height: 1.8;
}

@media (max-width: 480px) {
  .cta-input-group {
    flex-direction: column;
    border-radius: var(--radius-md);
    padding: 4px;
  }
  .btn--submit { border-radius: var(--radius-sm) !important; }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
  background: var(--bg);
}

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

.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
}

.footer-powered strong { color: var(--text-muted); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 2; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}
