/* ============================================================
   CONTRACTOR SIMULATOR — LANDING
   Industrial dark theme · orange accent
   ============================================================ */

:root {
  /* Palette */
  --bg: #0a0a0c;
  --bg-elev: #111114;
  --bg-card: #16161a;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --text-muted: #a1a1a8;
  --text-dim: #6e6e76;

  /* Accent — construction orange/amber */
  --accent: #ff8a1e;
  --accent-hot: #ffb648;
  --accent-deep: #c75a00;
  --warning-stripe: repeating-linear-gradient(
    45deg,
    #1a1a1f,
    #1a1a1f 12px,
    #ff8a1e 12px,
    #ff8a1e 24px
  );

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --container: 1200px;
  --pad: 1.25rem;
  --radius: 14px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-hot); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.nav__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
}

.nav__brand-text {
  display: flex;
  gap: .35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}

.nav__brand-name--accent { color: var(--accent); }

.nav__links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  font-size: .92rem;
  font-weight: 500;
}

.nav__links a { color: var(--text-muted); }
.nav__links a:hover { color: var(--text); }

.nav__cta {
  background: var(--accent);
  color: #0a0a0c !important;
  padding: .55rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
}
.nav__cta:hover { background: var(--accent-hot); color: #0a0a0c !important; }

.nav__lang {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  padding: .4rem .75rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .05em;
  transition: all .2s ease;
}
.nav__lang:hover { border-color: var(--accent); color: var(--text); }
.nav__lang-current { color: var(--accent); }
.nav__lang-divider { color: var(--text-dim); margin: 0 .25rem; }

@media (max-width: 880px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.85) 70%, rgba(10,10,12,1) 100%),
    linear-gradient(90deg, rgba(10,10,12,0.65) 0%, rgba(10,10,12,0.2) 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,138,30,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,138,30,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 30%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255, 138, 30, 0.1);
  border: 1px solid rgba(255, 138, 30, 0.3);
  color: var(--accent-hot);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 138, 30, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 138, 30, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(255, 138, 30, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero__title-accent {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hot) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  padding: .95rem 1.6rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  border: 1px solid transparent;
  letter-spacing: -.005em;
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0c;
  box-shadow: 0 8px 32px rgba(255, 138, 30, 0.25);
}
.btn--primary:hover {
  background: var(--accent-hot);
  color: #0a0a0c;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 138, 30, 0.4);
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--text-muted);
  color: var(--text);
}

.btn--store {
  background: #fff;
  color: #0a0a0c;
  padding: .85rem 1.4rem;
}
.btn--store:hover {
  background: var(--accent-hot);
  color: #0a0a0c;
  transform: translateY(-2px);
}
.btn--store span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.btn--store small {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
  opacity: .7;
}
.btn--store strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  max-width: 720px;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__stats div { min-width: 0; }
.hero__stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: .35rem;
}
.hero__stats dd {
  font-size: .82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

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

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 780px;
}

.section__head--center { text-align: center; margin: 0 auto 4rem; max-width: 780px; }
.section__head--center .section__title { margin-left: auto; margin-right: auto; }

.section__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 880px) {
  .section__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.section__body p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.section__body p:last-child { color: var(--accent-hot); font-weight: 500; font-style: italic; }

/* ============================================================
   FEATURES
   ============================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
}

.feature {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.feature:hover {
  border-color: rgba(255, 138, 30, 0.3);
  transform: translateY(-4px);
  background: #1a1a1f;
}
.feature:hover::before { transform: scaleX(1); }

.feature__num {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .15em;
  margin-bottom: 1.25rem;
}

.feature__icon {
  width: 48px; height: 48px;
  margin-bottom: 1.25rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 138, 30, 0.08);
  border-radius: 10px;
}
.feature__icon svg { width: 24px; height: 24px; }

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: .65rem;
  letter-spacing: -.01em;
}

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

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 9 / 19;
  cursor: zoom-in;
  transition: all .3s ease;
}

.gallery__item--wide {
  grid-column: span 4;
  aspect-ratio: 16 / 7;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.gallery__item--wide img {
  object-position: center;
}

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.5rem 1rem .85rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  color: var(--text);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-align: center;
  pointer-events: none;
}

.gallery__item--wide .gallery__caption {
  font-size: 1.05rem;
  padding: 2rem 1.25rem 1rem;
}

.gallery__item:hover {
  border-color: rgba(255, 138, 30, 0.4);
  transform: translateY(-4px);
}
.gallery__item:hover img {
  transform: scale(1.05);
}

@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap {
  list-style: none;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
}

.roadmap::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}

.roadmap__item {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
}

.roadmap__item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1.85rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  z-index: 1;
}

.roadmap__item--done::before { background: var(--accent); border-color: var(--accent); }
.roadmap__item--current::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 138, 30, 0.2);
  animation: pulse 2s infinite;
}

.roadmap__marker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.roadmap__item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}

.roadmap__tag {
  display: inline-block;
  font-size: .7rem;
  background: var(--accent);
  color: #0a0a0c;
  padding: .15rem .55rem;
  border-radius: 100px;
  letter-spacing: .08em;
  vertical-align: middle;
  margin-left: .5rem;
  font-weight: 700;
}

.roadmap__item p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download {
  background:
    radial-gradient(ellipse at center, rgba(255,138,30,0.08) 0%, transparent 60%),
    var(--bg);
}

.download__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.download__left p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 540px;
}

.download__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.download__right {
  display: flex;
  justify-content: center;
}

.download__icon {
  width: 220px;
  height: 220px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 80px rgba(255, 138, 30, 0.25);
}

@media (max-width: 880px) {
  .download__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .download__icon { width: 160px; height: 160px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050507;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer__col--meta {
  text-align: right;
}

@media (max-width: 880px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer__col--meta { text-align: left; }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .85rem;
}
.footer__brand img { width: 32px; height: 32px; border-radius: 6px; }

.footer__tag {
  color: var(--text-dim);
  font-size: .9rem;
  max-width: 280px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer__col p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: .5rem;
  line-height: 1.6;
}

.footer__col a { color: var(--text-muted); }
.footer__col a:hover { color: var(--accent-hot); }

.footer__addr {
  font-size: .82rem !important;
  line-height: 1.5 !important;
  color: var(--text-dim) !important;
}

.footer__small {
  font-size: .8rem !important;
  color: var(--text-dim) !important;
  margin-top: 1rem !important;
}

/* ============================================================
   FADE-IN (only if JS supported)
   ============================================================ */
.js-fade .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.js-fade .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
