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

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #020202;
  --surface: #060A0C;
  --surface-2: #0e1214;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --text: #F3F3F3;
  --muted: #7d8a90;
  --primary: #1BA39A;
  --primary-hover: #33C9A5;
  --secondary: #49E2B5;
}

/* Brand wordmark gradient — apply to the "B" and ".md" spans. */
.brand-gradient {
  background: linear-gradient(90deg, #137C80 0%, #1BA39A 33%, #33C9A5 66%, #49E2B5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ───── Layout ───── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ───── Typography ───── */
h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-sub,
.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 56ch;
}

/* ───── Components ───── */

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-pill {
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
}

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

.btn-ghost-pill {
  padding: 12px 28px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost-pill:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-block {
  width: 100%;
}

/* Pill label */
.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(73, 226, 181, 0.14);
  color: #7de3c4;
  margin-bottom: 8px;
}

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

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

.features-grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.features-grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.features-grid .fade-up:nth-child(4) { transition-delay: 0.24s; }
.features-grid .fade-up:nth-child(5) { transition-delay: 0.32s; }
.features-grid .fade-up:nth-child(6) { transition-delay: 0.4s; }

.workflow-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.workflow-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }

.pricing-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 16, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 18px rgba(27, 163, 154, 0.25));
}

.brand-logo-sm {
  height: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

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

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: rgba(239, 159, 39, 0.15);
  color: var(--primary);
}

/* ───── Hero ───── */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 550px;
  background: radial-gradient(
    ellipse,
    rgba(27, 163, 154, 0.12) 0%,
    rgba(73, 226, 181, 0.05) 45%,
    transparent 75%
  );
  pointer-events: none;
}

/* ───── Hero BIM 3D ───── */
.hero-bim {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-52%);
  width: 58%;
  max-width: 680px;
  pointer-events: none;
  z-index: 0;
}

.bim-scene {
  perspective: 800px;
}

.bim-orbit {
  position: relative;
  transform-style: preserve-3d;
  animation: bim-orbit 17s ease-in-out infinite;
}

@keyframes bim-orbit {
  0%, 100% { transform: rotateX(8deg) rotateY(-5deg); }
  50%      { transform: rotateX(8deg) rotateY(5deg); }
}

.bim-orbit::after {
  content: '';
  position: absolute;
  inset: -5%;
  background: radial-gradient(ellipse, rgba(0,0,0,0.15) 0%, transparent 60%);
  transform: translateZ(-25px);
  pointer-events: none;
}

.hero-blueprint {
  position: relative;
  width: 100%;
  display: block;
}

.bim-ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  pointer-events: none;
}

.bim-ghost-1 {
  transform: translateZ(40px);
  opacity: 0.15;
}

.bim-ghost-2 {
  transform: translateZ(80px);
  opacity: 0.07;
}


/* ───── Hero mini-dashboard ───── */
.hero-dash {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  padding: 14px 16px 12px;
  background: rgba(15, 16, 25, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 14px;
  pointer-events: none;
  z-index: 2;
}

.hero-dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-dash-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
  animation: dash-pulse 2s ease-in-out infinite;
}

@keyframes dash-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-dash-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
  flex: 1;
}

.hero-dash-pct {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.hero-dash-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.hero-dash-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #4ade80);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.hero-dash-zones {
  display: flex;
  gap: 4px;
}

.hz {
  flex: 1;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.4s ease;
}

.hz.done {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.25);
}

.hz.warn {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.25);
}

.hz.error {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.25);
}

/* Isometric zone faces */
.zf-t, .zf-l, .zf-r {
  fill-opacity: 0;
  stroke-opacity: 0;
  stroke-width: 0.8;
  transition: fill-opacity 0.9s ease, fill 0.7s ease, stroke-opacity 0.9s ease, stroke 0.7s ease;
}
.zl {
  opacity: 0;
  font-size: 9px;
  font-family: Inter, sans-serif;
  font-weight: 600;
  transition: opacity 0.9s ease, fill 0.7s ease;
}

/* Done */
.zn.done .zf-t { fill: #4ade80; fill-opacity: 0.15; stroke: #4ade80; stroke-opacity: 0.4; }
.zn.done .zf-l { fill: #22c55e; fill-opacity: 0.22; stroke: #22c55e; stroke-opacity: 0.3; }
.zn.done .zf-r { fill: #16a34a; fill-opacity: 0.28; stroke: #16a34a; stroke-opacity: 0.25; }
.zl.done { fill: #4ade80; opacity: 0.4; }

/* Warn */
.zn.warn .zf-t { fill: #f59e0b; fill-opacity: 0.18; stroke: #f59e0b; stroke-opacity: 0.4; }
.zn.warn .zf-l { fill: #d97706; fill-opacity: 0.24; stroke: #d97706; stroke-opacity: 0.3; }
.zn.warn .zf-r { fill: #92400e; fill-opacity: 0.3; stroke: #92400e; stroke-opacity: 0.25; }
.zl.warn { fill: #f59e0b; opacity: 0.4; }

/* Error */
.zn.error .zf-t { fill: #f87171; fill-opacity: 0.2; stroke: #f87171; stroke-opacity: 0.4; }
.zn.error .zf-l { fill: #dc2626; fill-opacity: 0.26; stroke: #dc2626; stroke-opacity: 0.3; }
.zn.error .zf-r { fill: #991b1b; fill-opacity: 0.32; stroke: #991b1b; stroke-opacity: 0.25; }
.zl.error { fill: #f87171; opacity: 0.45; }

/* Worker (hard hat + hammer) */
.worker {
  opacity: 0;
  transition: transform 0.75s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.45s ease;
  will-change: transform;
}

.hammer-swing {
  transform-origin: 0px 13px;
  transform: rotate(25deg);
  transition: transform 0.1s;
}

.worker.hammering .hammer-swing {
  animation: hammer-hit 0.35s ease-in-out infinite;
}

@keyframes hammer-hit {
  0%   { transform: rotate(25deg); }
  40%  { transform: rotate(-15deg); }
  50%  { transform: rotate(-15deg); }
  100% { transform: rotate(25deg); }
}

.exc-marker {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.exc-marker.visible { opacity: 0.75; }

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-top: 16px;
}

.hero-sub {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

/* ───── Highlights ───── */
.highlights {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.highlight-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.highlight-item span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ───── Features ───── */
.features {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-header .badge {
  margin-bottom: 16px;
}

.section-header .section-sub {
  margin-top: 12px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feat-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  animation: icon-float 5s ease-in-out infinite;
}

.feature-card:nth-child(2) .feat-icon { animation-delay: 0.6s; }
.feature-card:nth-child(3) .feat-icon { animation-delay: 1.2s; }
.feature-card:nth-child(4) .feat-icon { animation-delay: 1.8s; }
.feature-card:nth-child(5) .feat-icon { animation-delay: 2.4s; }
.feature-card:nth-child(6) .feat-icon { animation-delay: 3s; }

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

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ───── Industries ───── */
.industries {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(34,211,238,0.02) 50%, transparent);
}

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

.industry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.industry-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.ind-anim {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 20px;
}

.ind-anim svg {
  width: 100%;
  height: 100%;
}

.industry-card h3 {
  padding: 20px 24px 8px;
  color: var(--text);
}

.industry-card p {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.industries-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.industries-grid .fade-up:nth-child(3) { transition-delay: 0.2s; }

/* ───── AI Section ───── */
.ai-section {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(239, 159, 39, 0.03) 50%,
    transparent
  );
}

.ai-content {
  max-width: 640px;
}

.ai-section h2 {
  margin-top: 16px;
}

.ai-section .section-sub {
  margin-top: 16px;
}

.ai-steps {
  margin-top: 32px;
  padding-left: 0;
  list-style: none;
  counter-reset: ai-step;
}

.ai-steps li {
  counter-increment: ai-step;
  position: relative;
  padding: 14px 0 14px 44px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

.ai-steps li:last-child {
  border-bottom: none;
}

.ai-steps li::before {
  content: counter(ai-step);
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(239, 159, 39, 0.25);
}

/* ───── Workflow ───── */
.workflow {
  padding: 100px 0;
}

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

.workflow-step {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  transition: all 0.3s ease;
}

.workflow-step:hover {
  border-color: var(--border-hover);
}

.step-num {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--primary);
  opacity: 0.35;
}

.workflow-step h3 {
  margin-bottom: 10px;
}

.workflow-step p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* ───── Connect (Notifications + Integrations) ───── */
.connect {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(73, 226, 181, 0.04) 50%, transparent);
}

.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.connect-col h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Notification feed */
.notif-feed {
  height: 340px;
  overflow: hidden;
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 6%, black 94%, transparent 100%);
}

.notif-track {
  padding: 12px;
  animation: feed-scroll 28s linear infinite;
}

.notif-feed:hover .notif-track {
  animation-play-state: paused;
}

@keyframes feed-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

.notif-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

.notif-card:hover {
  border-color: var(--border-hover);
}

.notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.notif-body {
  min-width: 0;
}

.notif-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notif-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1px;
}

/* Channel pills */
.notif-channels {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.ch-pill {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--ch) 30%, transparent);
  color: var(--ch);
  background: color-mix(in srgb, var(--ch) 8%, transparent);
}

/* Integration grid */
.integ-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.integ-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: all 0.3s ease;
}

.integ-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.integ-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.integ-card strong {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
}

.integ-desc {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.3;
}

/* ───── Pricing ───── */
.pricing {
  padding: 100px 0;
}

.plan-tabs {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.plan-tab {
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.plan-tab:hover { color: var(--text); }

.plan-tab.active {
  background: var(--primary);
  color: #fff;
}

.billing-toggle {
  display: inline-flex;
  gap: 2px;
  margin: 14px auto 0;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
}

.bill-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bill-btn:hover { color: var(--text); }

.bill-btn.active {
  background: rgba(27, 163, 154, 0.18);
  color: var(--primary-hover);
}

.bill-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(73, 226, 181, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.pricing-grid--personal {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.pricing-grid[hidden] {
  display: none;
}

.price-card--coming-soon {
  opacity: 0.75;
  border-style: dashed;
}

.coming-soon-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(73, 226, 181, 0.1);
  border: 1px solid rgba(73, 226, 181, 0.25);
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.price-card--coming-soon .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.price-billing-note {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 4px;
}

.bill-note-yr { display: none; }
body.is-annual .bill-note-mo { display: none; }
body.is-annual .bill-note-yr { display: inline; }

.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 36px 0;
  padding: 28px 32px;
  border: 1px solid rgba(239, 159, 39, 0.2);
  border-radius: 16px;
  background: rgba(239, 159, 39, 0.03);
}

.trial-text h3 {
  font-size: 1.15rem;
}

.trial-text p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.price-card:hover {
  border-color: var(--border-hover);
}

.price-card.featured {
  border-color: rgba(73, 226, 181, 0.4);
  background: linear-gradient(
    180deg,
    var(--surface),
    rgba(27, 163, 154, 0.06)
  );
}

.price-card h3 {
  font-size: 1.1rem;
}

.price-range {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.price-currency {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(27, 163, 154, 0.12);
  color: var(--primary-hover);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 16px;
}

.price-currency + .price {
  margin-top: 6px;
}

.price span[data-i18n] {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin: 20px 0 24px;
}

.price-card li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.price-card li::before {
  content: "\2713  ";
  color: var(--primary);
  font-weight: 700;
}

/* ───── Pricing Calculator ───── */
.calc-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.calc-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.calc-ctrl-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-currency {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
}

.curr-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.curr-btn:hover { color: var(--text); }

.curr-btn.active {
  background: var(--text);
  color: var(--bg);
}

.calc-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.calc-slider-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.calc-slider-label strong {
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  border: 3px solid var(--primary-hover);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(27, 163, 154, 0.35);
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--text);
  border: 3px solid var(--primary-hover);
  cursor: pointer;
}

.calc-slider-ticks {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0 2px;
}

.calc-bands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.calc-band {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.25s ease;
}

.calc-band.active {
  border-color: rgba(73, 226, 181, 0.5);
  background: linear-gradient(
    180deg,
    rgba(27, 163, 154, 0.08),
    rgba(73, 226, 181, 0.04)
  );
  box-shadow: 0 0 0 1px rgba(73, 226, 181, 0.25), 0 12px 28px rgba(27, 163, 154, 0.18);
}

.band-range {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.calc-band.active .band-range {
  color: var(--primary-hover);
}

.band-rate {
  color: var(--text);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.band-unit {
  color: var(--muted);
  font-size: 0.78rem;
}

.calc-total {
  padding: 22px;
  background: linear-gradient(
    135deg,
    rgba(27, 163, 154, 0.1),
    rgba(73, 226, 181, 0.04)
  );
  border: 1px solid rgba(73, 226, 181, 0.22);
  border-radius: 14px;
}

.calc-total-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.calc-total-line strong {
  color: var(--text);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.calc-total-line .calc-eq {
  color: var(--muted);
  font-weight: 400;
}

.calc-period {
  color: var(--muted);
  font-size: 1rem;
}

.calc-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.calc-value-props {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
  margin: 0;
  padding: 0;
}

.calc-value-props li {
  position: relative;
  padding-left: 26px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.calc-value-props li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 163, 154, 0.18);
  color: var(--primary-hover);
  font-size: 0.72rem;
  font-weight: 800;
}

.calc-roi {
  padding: 18px 20px;
  background: rgba(239, 159, 39, 0.05);
  border: 1px solid rgba(239, 159, 39, 0.2);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
}

.calc-roi strong {
  display: block;
  margin-bottom: 4px;
  color: #f0b56b;
  font-weight: 700;
}

.calc-cta {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .calc-card { padding: 24px; gap: 22px; }
  .calc-bands { grid-template-columns: 1fr; }
  .calc-value-props { grid-template-columns: 1fr; }
  .calc-total-line strong { font-size: 2rem; }
  .calc-slider-label strong { font-size: 1.6rem; }
}

/* ───── Register ───── */
.register {
  padding: 100px 0;
}

.register-content {
  max-width: 480px;
  text-align: center;
  margin: 0 auto;
}

.register-content .section-sub {
  margin: 12px auto 0;
}

.register-form {
  margin-top: 32px;
  display: grid;
  gap: 12px;
}

.register-form input {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.register-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(239, 159, 39, 0.1);
}

.register-form .btn-pill {
  margin-top: 4px;
  padding: 14px;
}

.form-message {
  margin-top: 12px;
  min-height: 1.4em;
  color: #b9ffce;
  font-weight: 500;
  font-size: 0.9rem;
}

/* ───── Footer ───── */
.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
}

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

.brand-sm {
  font-weight: 700;
  font-size: 1rem;
}

.footer-product {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ───── Responsive ───── */
@media (max-width: 768px) {
  .hero {
    padding: 72px 0 56px;
  }

  .brand-logo {
    height: 28px;
  }

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

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

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

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

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

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

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

  .trial-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-links > a:not(.btn):not(.lang-switcher) {
    display: none;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-bim {
    display: none;
  }
}

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

  .hero {
    padding: 56px 0 40px;
  }
}
