@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root{
  --brand: #ff7536;
  --brand-light: #ffb699;
  --black: #000;
  --text: #363636;
  --muted: #878787;
  --bg: #f2f2f2;
  --white: #ffffff;
  --white-light: #f6f5f5;

  --container: 1100px;
  --radius: 16px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
  display: none;
}

body{
  margin: 0;
  padding-bottom: 150px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  -ms-overflow-style: none;
  scrollbar-width: none;
  font-display: swap;
}

body::-webkit-scrollbar {
  display: none;
}

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

.container{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
@media (max-width: 980px) {
  .container{
    width: 100%;
    padding: 0 16px;
  }
}

.center{ text-align: center; }

.site-header{
  background: var(--black);
  padding: 15px 0;
}
.logo{
  width: 120px;
  height: 40px;
  margin: 0 auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.hero{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  aspect-ratio: 16 / 9;
  min-height: 500px;
  width: 100%;
  contain: layout style paint;
}
@media (max-width: 980px) {
  .hero {
    aspect-ratio: auto;
    min-height: 50vh;
    max-height: 600px;
  }
}
.hero__bg{
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-img.webp");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  filter: brightness(0.5);
  background-color: #1a1a1a;
  min-height: 100%;
  width: 100%;
}
.hero__content{
  position: relative;
  padding: 48px 0;
  max-width: 100%;
  margin: 0 auto;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__kicker{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 400;
  min-height: 1.5em;
  line-height: 1.5;
}
.hero__title{
  margin: 0 0 22px;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
  max-width: 820px;
  padding-right: 7.5rem;
  min-height: 2.3em;
}
@media (max-width: 980px) {
  .hero__content{
    padding: 32px 16px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .hero__title{
    padding-right: 0;
    padding-left: 0;
    width: 100%;
    max-width: 100%;
  }
  .hero__kicker{
    width: 100%;
    max-width: 100%;
  }
}

.store-buttons{
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
}
.store-buttons__btn{
  display: inline-block;
  line-height: 0;
  padding: 0;
  margin: 0;
  vertical-align: top;
}
.store-buttons__btn img,
.store-buttons__btn svg{
  display: block;
  height: 12.5rem;
  width: auto;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.tagline{
  padding: 60px 0;
  background: var(--white);
}
.tagline__title{
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
}
.tagline__text{
  margin: 0 auto;
  padding: 0 28px;
  max-width: 860px;
  font-size: 22px;
  line-height: 32px;
  color: var(--text);
  min-height: 6em;
}
.accent{ color: var(--brand); font-weight: 500; }

.features{
  padding: 60px 0 75px;
  background: var(--bg);
}
.section-title{
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 600;
}
.section-subtitle{
  margin: 0 auto 46px;
  max-width: 560px;
  color: #595959;
  font-size: 18px;
  line-height: 1.5;
}
.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-card{
  text-align: center;
  padding: 10px 6px;
}
.feature-card__icon{
  width: 96px;
  height: auto;
  margin: 0 auto 14px;
}
.feature-card__title{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 500;
}
.feature-card__text{
  margin: 0;
  color: #464646;
  font-size: 16px;
  line-height: 1.6;
}

.split{
  background: var(--white);
}
.split__grid{
  min-height: 65vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  padding: 0;
}

.split__text {
    padding: 48px 28px;
  }

.split__title{
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 500;
}
.split__body{
  margin: 0 0 20px;
  line-height: 26px;
  font-size: 16px;
  color: var(--text);
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 16px;
  background: #fff;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--brand);
  min-height: 52px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 117, 54, 0.35), transparent);
  animation: shimmer 3s infinite;
  z-index: 0;
}
.btn > * {
  position: relative;
  z-index: 1;
}
.btn:hover{
  background: var(--white-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--brand);
}
.btn:active{
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-icon{
  width: 20px;
  height: 20px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  flex-shrink: 0;
}
.btn--primary{
  background: #fff;
  color: var(--brand);
  font-size: 17px;
  padding: 16px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--brand);
}
.btn--primary:hover{
  background: var(--white-light);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--brand);
}
.btn--primary span{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.split__media{
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  background-image: url("/assets/nearbi-app-image.webp");
  background-size: cover;
  background-position: center;
}

.split__media-img{ 
  display: none; 
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.site-footer{
  background: var(--black);
  padding: 60px 0;
  margin-bottom: 150px;
  position: relative;
  z-index: 1001;
}
.footer-text{
  margin: 0;
  color: #f6f5f5;
  font-size: 16px;
  line-height: 1.5;
}
.footer-text a{
  color: #f6f5f5;
  text-decoration: underline;
  transition: opacity .2s ease;
}
.footer-text a:hover{
  opacity: .8;
}

@media (max-width: 980px){
  .container{
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }
  
  .hero{ 
    aspect-ratio: auto;
    min-height: 50vh;
    max-height: 600px;
    width: 100%;
  }
  .hero .container{
    width: 100%;
    padding: 0 16px;
    margin: 0;
  }
  .hero__content{
    padding: 32px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero__title{ 
    font-size: 28px; 
    line-height: 1.2;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero__kicker{
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .tagline{
    padding: 40px 0;
  }
  .tagline__title{
    font-size: 24px;
    padding: 0 16px;
  }
  .tagline__text{
    font-size: 18px;
    line-height: 1.5;
    padding: 0 16px;
  }

  .features{
    padding: 40px 0 50px;
  }
  .section-title{
    font-size: 24px;
    padding: 0 16px;
  }
  .section-subtitle{ 
    font-size: 16px;
    padding: 0 16px;
    margin-bottom: 26px; 
  }
  .feature-grid{ 
    grid-template-columns: 1fr; 
    gap: 24px;
    padding: 0 16px;
  }
  .feature-card{
    padding: 16px;
  }
  .feature-card__title{
    font-size: 18px;
  }
  .feature-card__text{
    font-size: 15px;
  }

  .split{
    padding: 0;
  }
  .split__grid{
    grid-template-columns: 1fr;
    min-height: auto;
    margin: 0;
    width: 100%;
    gap: 0;
  }
  .split__text {
    padding: 40px 20px;
  }
  .split__title{
    font-size: 24px;
    margin-bottom: 16px;
  }
  .split__body{
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .btn{
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
  }

  .split__media{ 
    display: none; 
  }
  .split__media-img{
    display: block;
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 500px;
    object-fit: cover;
    padding-bottom: 20px;
  }

  .site-footer{ 
    padding: 30px 16px; 
  }
  .footer-text{
    font-size: 14px;
    line-height: 1.6;
  }
}

.floating-footer{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 80px;
  box-sizing: border-box;
}
.floating-footer__content{
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}
.floating-footer__text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.floating-footer__text strong{
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text);
  line-height: 1.2;
}
.floating-footer__text span{
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.3;
}

.floating-footer__text-desktop {
  display: block;
}

.floating-footer__text-mobile {
  display: none;
}
.floating-footer__btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: var(--brand);
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--brand);
  position: relative;
  z-index: 1;
  min-height: 44px;
  box-sizing: border-box;
}
.floating-footer__btn:hover{
  background: var(--white-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--brand);
}
.floating-footer__btn:active{
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.floating-footer__btn-icon{
  width: 18px;
  height: 18px;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  flex-shrink: 0;
}

@media (max-width: 980px){
  body{
    padding-bottom: 140px;
  }
  .site-footer{
    margin-bottom: 140px;
    padding: 3rem 0rem; 
  }
  .floating-footer{
    padding: 16px 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  .floating-footer__content{
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }
  .floating-footer__text{
    text-align: center;
    padding: 0 4px;
  }
  .floating-footer__text strong{
    font-size: 15px;
    line-height: 1.3;
  }
  .floating-footer__text span{
    font-size: 13px;
    line-height: 1.4;
  }
  .floating-footer__text-mobile {
    display: block;
    line-height: 1.4;
  }
  .floating-footer__text-desktop {
    display: none;
  }
  .floating-footer__btn{
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    border-radius: 12px;
  }
  .floating-footer__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 117, 54, 0.35), transparent);
    animation: shimmer 3s infinite;
    z-index: 0;
  }
  .floating-footer__btn > * {
    position: relative;
    z-index: 1;
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
