/* ==========================================================================
   LANDING PAGE STYLES - STEMMA / NOTEZ UI
   Replicating sc.png visual language with DESIGN.md precision
   ========================================================================== */

/* Page Container */
.page-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Curve Track */
.bg-trajectory-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-trajectory-svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-hairline-dark);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.7;
}

/* Navigation Bar */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  height: 72px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-hairline);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  color: var(--color-ink);
}

.logo-badge {
  width: 34px;
  height: 34px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  box-shadow: 0 4px 10px rgba(255, 51, 102, 0.3);
}

.logo-stripe {
  width: 16px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 1px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--color-ink);
}

.brand-dot {
  color: var(--color-primary);
}

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

.nav-link-item a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-nav-link);
  font-weight: var(--fw-nav-link);
  color: var(--color-muted);
  transition: color var(--dur-fast) var(--ease-out);
  padding: var(--space-xxs) var(--space-xs);
  border-radius: var(--radius-xs);
}

.nav-link-item a:hover {
  color: var(--color-ink);
}

.nav-link-item a.active {
  color: var(--color-ink);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-login {
  background-color: var(--color-link);
  color: var(--color-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast);
  box-shadow: 0 4px 14px rgba(21, 134, 207, 0.25);
}

.btn-login:hover {
  background-color: var(--color-link-hover);
  transform: translateY(-1px);
}

.btn-login:active {
  transform: translateY(1px) scale(0.98);
}

/* ==========================================================================
   HERO SECTION
   Directly matching sc.png composition
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-xl) var(--space-section);
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: var(--space-xxl);
  align-items: center;
  min-height: calc(100vh - 120px);
}

/* Hero Left Column */
.hero-content {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: 80px;
}

.hero-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  background-color: var(--color-surface);
  border: 1px solid var(--color-hairline-dark);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  margin-bottom: var(--space-md);
  width: fit-content;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -1.2px;
  color: var(--color-ink);
  margin-bottom: var(--space-lg);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xxl);
}

.btn-primary-hero {
  background-color: var(--color-link);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(21, 134, 207, 0.35);
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), box-shadow var(--dur-fast);
}

.btn-primary-hero:hover {
  background-color: var(--color-link-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 134, 207, 0.45);
}

.btn-primary-hero:active {
  transform: translateY(1px) scale(0.98);
}

.btn-secondary-hero {
  background-color: transparent;
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-hairline-dark);
  text-decoration: none;
  transition: background-color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
}

.btn-secondary-hero:hover {
  background-color: var(--color-surface);
  border-color: var(--color-ink);
  transform: translateY(-1px);
}

/* Bottom-Left Floating Avatar Card (From sc.png) */
.hero-floating-card-wrapper {
  position: absolute;
  bottom: -40px;
  left: 10px;
  z-index: 10;
}

.floating-pink-backdrop-circle {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 100px;
  height: 100px;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  z-index: 1;
}

.hero-profile-card {
  position: relative;
  z-index: 2;
  width: 210px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: var(--space-md);
  box-shadow: 0 16px 36px rgba(24, 24, 26, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal);
}

.hero-profile-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 45px rgba(24, 24, 26, 0.14);
}

.avatar-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  overflow: visible;
}

.avatar-img-svg {
  width: 80px;
  height: 80px;
}

.speech-bubble-tag {
  position: absolute;
  top: 4px;
  right: -12px;
  background-color: #ffffff;
  border: 1px solid var(--color-hairline);
  padding: 2px 7px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 2px;
}

.speech-bubble-dots {
  display: flex;
  gap: 2px;
}

.bubble-dot {
  width: 3px;
  height: 3px;
  background-color: var(--color-muted);
  border-radius: 50%;
}

.card-placeholder-lines {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: var(--space-sm);
}

.placeholder-bar-1 {
  height: 7px;
  width: 75%;
  background-color: #e2e8f0;
  border-radius: 4px;
}

.placeholder-bar-2 {
  height: 7px;
  width: 50%;
  background-color: #e2e8f0;
  border-radius: 4px;
}

.card-footer-action {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}

.card-dot-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-ink);
  border-radius: var(--radius-xs);
}

.mini-toggle-pill {
  width: 36px;
  height: 18px;
  background-color: var(--color-ink);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 2px;
  cursor: pointer;
  justify-content: flex-end;
}

.mini-toggle-knob {
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* ==========================================================================
   HERO RIGHT COLUMN - ICONIC BENTO COLLAGE (FROM sc.png)
   Pixel-accurate geometric assembly with micro-interactions
   ========================================================================== */

.hero-bento-canvas {
  position: relative;
  width: 100%;
  max-width: 620px;
  height: 560px;
  margin-left: auto;
}

/* Shape 1: Pink arch, bottom rounded (U-shape) */
.bento-pink-u {
  position: absolute;
  top: 30px;
  left: 20px;
  width: 110px;
  height: 110px;
  background-color: var(--color-bento-pink);
  border-radius: 0 0 55px 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.white-icon-circle {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Shape 2: Purple circle with lightning */
.bento-purple-circle {
  position: absolute;
  top: 30px;
  left: 140px;
  width: 110px;
  height: 110px;
  background-color: var(--color-bento-purple);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Shape 3: Green arch dome (rounded top, flat bottom) */
.bento-green-arch {
  position: absolute;
  top: 30px;
  left: 260px;
  width: 110px;
  height: 110px;
  background-color: var(--color-bento-green);
  border-radius: 55px 55px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Shape 4: Yellow/Amber circle with map pin */
.bento-yellow-circle {
  position: absolute;
  top: 30px;
  left: 380px;
  width: 110px;
  height: 110px;
  background-color: var(--color-bento-yellow);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Shape 5: Floating white lightbulb arch card (top right) */
.bento-lightbulb-card {
  position: absolute;
  top: 30px;
  right: -10px;
  width: 110px;
  height: 110px;
  background-color: #ffffff;
  border-radius: 55px 55px 0 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 5;
}

/* Shape 6: Large Blue horizontal pill / capsule */
.bento-blue-capsule {
  position: absolute;
  top: 155px;
  left: 20px;
  width: 230px;
  height: 105px;
  background-color: var(--color-bento-blue);
  border-radius: 0 55px 55px 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 30px;
  z-index: 2;
}

/* Shape 7: Cyan arch dome with bell icon */
.bento-cyan-arch {
  position: absolute;
  top: 275px;
  left: 20px;
  width: 110px;
  height: 105px;
  background-color: var(--color-bento-cyan);
  border-radius: 55px 55px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Shape 8: Floating white padlock circle */
.bento-padlock-circle {
  position: absolute;
  top: 265px;
  left: 135px;
  width: 110px;
  height: 110px;
  background-color: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(226, 232, 240, 0.7);
  z-index: 6;
  cursor: pointer;
}

/* Shape 9: Large circular grey avatar of man with glasses */
.bento-avatar-circle {
  position: absolute;
  top: 150px;
  left: 235px;
  width: 200px;
  height: 200px;
  background-color: var(--color-bento-avatar-bg);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  overflow: visible;
}

.avatar-man-svg {
  width: 180px;
  height: 180px;
}

.avatar-speech-bubble {
  position: absolute;
  top: 40px;
  right: -5px;
  background-color: #ffffff;
  border: 1px solid var(--color-hairline);
  padding: 4px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 7;
}

/* Shape 10: Far right tall vertical split pill (Olive & White) */
.bento-tall-capsule {
  position: absolute;
  top: 155px;
  right: 15px;
  width: 110px;
  height: 335px;
  border-radius: 55px;
  background-color: #ffffff;
  box-shadow: 0 14px 36px rgba(0,0,0,0.09);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 6;
}

.tall-capsule-top {
  width: 100%;
  height: 215px;
  background-color: var(--color-bento-olive);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: var(--space-md) 0;
}

.tall-capsule-bottom {
  width: 100%;
  flex: 1;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plane-launch {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: transform var(--dur-fast);
}

.plane-launch:hover {
  transform: scale(1.1);
}

.plane-launch:active {
  transform: scale(0.95);
}

/* Shape 11: Orange circle with pencil (bottom left) */
.bento-orange-circle {
  position: absolute;
  top: 395px;
  left: 20px;
  width: 110px;
  height: 110px;
  background-color: var(--color-bento-orange);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Shape 12: Bottom center cutout avatar & notes bars */
.bento-bottom-notes-group {
  position: absolute;
  top: 370px;
  left: 145px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 4;
}

.mini-avatar-woman {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.notes-placeholder-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.note-bar {
  height: 8px;
  background-color: #cbd5e1;
  border-radius: 4px;
}

.note-bar:nth-child(1) { width: 56px; }
.note-bar:nth-child(2) { width: 44px; }
.note-bar:nth-child(3) { width: 50px; }

/* ==========================================================================
   FEATURE SHOWCASE SECTION (Clean 3-Card Architecture)
   No-Slop rules: max 3 focused child cards, wide spacing, zero nested cards
   ========================================================================== */

.features-section {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px var(--space-xl);
}

.section-header {
  margin-bottom: var(--space-xxl);
  max-width: 620px;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--color-ink);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.6;
}

.bento-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 960px) {
  .bento-feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.feature-bento-card {
  background-color: #ffffff;
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: transform var(--dur-normal) var(--ease-out), box-shadow var(--dur-normal);
  position: relative;
}

.feature-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
  border-color: var(--color-hairline-dark);
}

.feature-card-content {
  display: flex;
  flex-direction: column;
}

.card-icon-pill {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.card-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.2px;
  margin-bottom: var(--space-xs);
}

.card-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.6;
}

.card-metric-badge {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-md);
  margin-top: auto;
}

.card-metric-val {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-ink);
  letter-spacing: -0.5px;
}

.card-metric-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   CALL TO ACTION & GALLERY BANNER
   ========================================================================== */

.gallery-cta-banner {
  max-width: 1320px;
  margin: var(--space-xxl) auto;
  padding: 0 var(--space-xl);
}

.banner-inner {
  background: linear-gradient(135deg, #18181a 0%, #242429 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: var(--space-section) var(--space-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.banner-content {
  max-width: 580px;
  z-index: 2;
}

.banner-title {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.18;
  margin-bottom: var(--space-sm);
}

.banner-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.btn-banner-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform var(--dur-fast), background-color var(--dur-fast);
  box-shadow: 0 4px 14px rgba(255, 51, 102, 0.4);
}

.btn-banner-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
}

.btn-banner-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color var(--dur-fast);
}

.btn-banner-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--color-hairline);
  padding: var(--space-section) var(--space-xl) var(--space-xl);
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xxl);
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: var(--space-sm);
}

.footer-nav-columns {
  display: flex;
  gap: var(--space-xxl);
}

.footer-col-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-ink);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-muted);
  font-size: 14px;
  transition: color var(--dur-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-hairline);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-top: var(--space-lg);
  }

  .hero-bento-canvas {
    margin: 0 auto;
    transform: scale(0.9);
    transform-origin: top center;
  }

  .hero-floating-card-wrapper {
    position: static;
    margin-top: var(--space-xl);
  }

  .card-span-7, .card-span-5 {
    grid-column: span 12;
  }

  .card-span-4 {
    grid-column: span 12;
  }

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

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

@media (max-width: 768px) {
  .nav-bar {
    padding: 0 var(--space-md);
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-bento-canvas {
    transform: scale(0.68);
    transform-origin: top left;
    height: 420px;
    margin-bottom: var(--space-xl);
  }

  .banner-title {
    font-size: 28px;
  }

  .footer-nav-columns {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
