/* Root variables maintain monochrome palette with olive accent */
@font-face {
  font-family: 'AlluraLocal';
  src: url('./assets/fonts/Allura-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'UrbanistLocal';
  src: url('./assets/fonts/Urbanist-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg-main: #f6f6f4;
  --text-main: #0f0f0f;
  --accent: #5a5f36;
  --muted: #8c8c8c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'UrbanistLocal', 'Urbanist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero layout + overlay ensures high-contrast entrance */
.hero {
  position: relative;
  min-height: 100vh;
  background: #000 url('./assets/images/cover.png') center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6rem clamp(1.5rem, 6vw, 8rem);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4));
}

.hero__content {
  position: relative;
  max-width: 600px;
  animation: heroFade 1.4s ease-out forwards;
  opacity: 0;
}

.logo {
  font-family: 'AlluraLocal', 'Allura', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.1rem;
  margin: 0 0 0.75rem;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero__tagline {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: #dcdcdc;
}

.hero__actions {
  display: flex;
  gap: 1rem;
}

/* Scroll indicator gently nudges visitors downward */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: scrollCue 1.8s ease-in-out infinite;
}

main {
  overflow: hidden;
}

.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 7vw, 7rem);
}

.section__header h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-top: 0.5rem;
  font-weight: 600;
}

.features {
  background: #faf9f7;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #ececec;
  padding: 2rem;
  min-height: 260px;
  border-radius: 18px;
  transition: border-color 0.3s ease, box-shadow 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-card:hover {
  border-color: rgba(0, 0, 0, 0.08);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(30, 30, 30, 0.08);
}

.feature-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  margin: 0 0 0.35rem;
  color: var(--muted);
}

.feature-card__copy {
  margin: 0;
  color: #2c2c2c;
}

.feature-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #5a5a5a;
  font-size: 0.95rem;
}

.feature-card__list li {
  position: relative;
  padding-left: 1.25rem;
}

.feature-card__list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.marker {
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.marker__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

.screenshots {
  background: var(--bg-main);
}

.screenshots__phones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: 3rem;
}

/* Phone mockups mimic full-bleed screens with hover lift */
.phone {
  --parallax-offset: 0px;
  position: relative;
  padding: 1rem;
  background: #000;
  border-radius: 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform: translate3d(0, var(--parallax-offset), 0);
  will-change: transform;
}

.phone::after {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.phone img {
  border-radius: 22px;
}

.phone:hover {
  transform: translate3d(0, calc(var(--parallax-offset) - 10px), 0) scale(1.02);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.25);
}

.cta {
  background: #0c0c0c;
  color: #fff;
  text-align: center;
}

.cta h2 {
  margin: 1rem auto 2rem;
  max-width: 640px;
}

.footer {
  background: var(--accent);
  color: #fdfdfd;
  padding: 2rem clamp(1.5rem, 6vw, 7rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer__brand p {
  margin: 0;
}

.footer__coming-soon {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-weight: 600;
}

.footer a {
  color: #fdfdfd;
}

.footer__socials a {
  margin-right: 1.2rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 0;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn--primary {
  background: #0b0b0b;
  color: #fff;
  border-color: #fff;
}

.btn--primary:hover {
  background: #fff;
  color: #0b0b0b;
  border-color: #0b0b0b;
  transform: translateY(-2px);
}

.btn__icon {
  transition: transform 0.4s ease;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* Reveal utility for IntersectionObserver-powered fade-ups */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 7rem;
    padding-bottom: 5rem;
  }
  .hero__actions {
    flex-direction: column;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
