:root{
  --bg: #ffffff;
  --ink: #0b1b2b;
  --muted: rgba(11, 27, 43, 0.68);

  --blue: #0e4c8a;
  --blue-2: #0b3a6a;
  --yellow: #f3c312;

  --stroke: rgba(11, 27, 43, 0.10);
  --shadow: 0 18px 50px rgba(11, 27, 43, 0.10);
  --shadow-soft: 0 12px 32px rgba(11, 27, 43, 0.08);

  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.page{
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

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

/* -----------------------------
   Header
------------------------------ */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11, 27, 43, 0.06);
}

.header__inner{
  height: 76px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand__logo{
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand__name{
  letter-spacing: 0.34em;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue);
}

.nav{
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav__link{
  font-weight: 600;
  color: rgba(11, 27, 43, 0.78);
  padding: 10px 6px;
  border-radius: 12px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.nav__link:hover{
  background: rgba(14, 76, 138, 0.06);
  color: var(--blue);
  transform: translateY(-1px);
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 14px;
  padding: 12px 18px;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  user-select: none;
  white-space: nowrap;
}

.btn--download{
  background: var(--yellow);
  color: #0b1b2b;
  box-shadow: 0 10px 24px rgba(243, 195, 18, 0.22);
}

.btn--download:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(243, 195, 18, 0.26);
}

/* Burger (mobile) */
.burger{
  display: none;
  margin-left: 6px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 27, 43, 0.10);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  padding: 10px;
  gap: 6px;
  flex-direction: column;
  justify-content: center;
}

.burger span{
  height: 2px;
  width: 100%;
  background: rgba(11, 27, 43, 0.75);
  border-radius: 999px;
}

/* Mobile nav */
.mobileNav{
  display: none;
  border-top: 1px solid rgba(11, 27, 43, 0.06);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  padding: 12px 20px 18px;
}

.mobileNav a{
  display: block;
  padding: 12px 0;
  color: rgba(11, 27, 43, 0.82);
  font-weight: 600;
}

.mobileNav__cta{
  margin-top: 10px;
  width: 100%;
}

.mobileNav--open{
  display: block;
}

/* -----------------------------
   Hero
------------------------------ */
.hero{
  flex: 1;
}

.hero__grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  padding: 56px 0 28px;
  align-items: center;
}

.hero__title{
  margin: 0 0 12px;
  font-size: 64px;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--blue-2);
}

.hero__subtitle{
  margin: 0 0 22px;
  font-size: 18px;
  color: var(--muted);
  max-width: 460px;
}

.hero__actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* App Store button */
.appstore{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, #0e4c8a, #0b3a6a);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  width: 280px;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.appstore:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.appstore__icon{
  font-size: 26px;
  line-height: 1;
  margin-top: -2px;
}

.appstore__text{
  display: grid;
  line-height: 1.05;
}

.appstore__small{
  font-size: 12px;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.appstore__big{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero__note{
  margin: 0;
  color: rgba(11, 27, 43, 0.55);
  font-weight: 600;
  font-size: 13px;
}

/* -----------------------------
   Right Visual
------------------------------ */
.hero__visual{
  position: relative;
  overflow: visible;
}

/* -----------------------------
   Phone Carousel (right side)
------------------------------ */
.carouselPhone{
  position: relative;
  display: grid;
  place-items: center;
  gap: 14px;
}

.carouselPhone__frame{
  position: relative;
  width: min(420px, 100%);
  border-radius: 34px;
  background: #fff;
  border: 1px solid rgba(11,27,43,0.10);
  box-shadow: 0 22px 70px rgba(11,27,43,0.16);
  padding: 18px 14px 16px;
}

.carouselPhone__notch{
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 22px;
  background: rgba(11,27,43,0.10);
  border-radius: 999px;
  z-index: 3;
  opacity: 0.35;
  pointer-events: none;
}

/* Carousel shell */
.carousel{
  position: relative;
  width: 100%;
  outline: none;
}

.carousel__viewport{
  overflow: hidden;
  border-radius: 26px;
  background: rgba(11,27,43,0.02);
  border: 1px solid rgba(11,27,43,0.06);
}

/* Track */
.carousel__track{
  display: flex;
  transition: transform 360ms ease;
  will-change: transform;
}

.carousel__slide{
  min-width: 100%;
}

/* Image cropping to hide music/dynamic island area */
.carousel__img{
  width: 100%;
  height: 720px;               /* visible window height */
  display: block;
  object-fit: cover;
  object-position: center 40%; /* move image down to crop the top */
}

/* Prev/Next buttons */
.carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(11,27,43,0.10);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 26px rgba(11,27,43,0.10);
  cursor: pointer;
  font-size: 26px;
  font-weight: 800;
  color: rgba(11,27,43,0.75);
  display: grid;
  place-items: center;
  z-index: 4;
}

.carousel__btn:hover{
  color: rgba(14,76,138,0.95);
  transform: translateY(-50%) scale(1.03);
}

.carousel__btn--prev{ left: -10px; }
.carousel__btn--next{ right: -10px; }

/* Dots */
.carousel__dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0 0;
}

.carousel__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: rgba(11,27,43,0.20);
}

.carousel__dot[aria-selected="true"]{
  background: rgba(14,76,138,0.95);
}

.carouselPhone__caption{
  margin: 0;
  color: rgba(11,27,43,0.55);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

/* -----------------------------
   Platforms strip
------------------------------ */
.platforms{
  margin-top: 18px;
  padding: 34px 0 24px;
  border-top: 1px solid rgba(11, 27, 43, 0.06);
}

.platforms__inner{
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
}

.platforms__title{
  margin: 0;
  color: rgba(11, 27, 43, 0.70);
  font-weight: 700;
}

.platforms__icons{
  display: flex;
  gap: 18px;
  color: rgba(11, 27, 43, 0.35);
  font-size: 18px;
}

.platforms__icons .icon{
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 27, 43, 0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
}

/* -----------------------------
   Footer
------------------------------ */
.footer{
  padding: 20px 0 26px;
  border-top: 1px solid rgba(11, 27, 43, 0.06);
}

.footer__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(11, 27, 43, 0.55);
  font-weight: 600;
  font-size: 13px;
}

.footer__links{
  display: flex;
  gap: 16px;
}

.footer__links a:hover{
  color: rgba(14, 76, 138, 0.90);
}

/* -----------------------------
   Responsive
------------------------------ */
@media (max-width: 980px){
  .hero__grid{
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .hero__title{
    font-size: 56px;
  }

  .carouselPhone__frame{
    width: min(520px, 100%);
  }
}

@media (max-width: 760px){
  .nav, .btn--download{
    display: none;
  }
  .burger{
    display: flex;
    margin-left: auto;
  }

  .hero__title{
    font-size: 48px;
  }

  .carousel__img{
    height: 620px;
    object-position: center 44%;
  }

  .carousel__btn--prev{ left: 6px; }
  .carousel__btn--next{ right: 6px; }

  .footer__inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px){
  .hero__title{
    font-size: 40px;
  }
  .appstore{
    width: 100%;
  }
}
