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

:root{
  --primary: #5b8cff;
  --primary-dark: #3b6ef5;
  --accent-2: #8b5bff;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(15,23,42,0.08);
}

body{
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
.header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo img{
  border-radius: 10px;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a{
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
}

.nav-links a:hover{
  color: var(--text);
  background: #f1f5f9;
}

.nav-login{
  color: var(--text) !important;
}

.signup-btn{
  background: var(--primary) !important;
  color: white !important;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

.signup-btn:hover{
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.mobile-menu-btn{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-btn span{
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .25s;
}

/* ========== HERO ========== */
.hero{
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 78vh;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.gradient-text{
  background: linear-gradient(120deg, var(--primary), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub{
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.btn-primary{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 4px 20px rgba(91,140,255,0.35);
}

.btn-primary:hover{
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,140,255,0.4);
}

.btn-primary.large{
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-primary.full-width{
  width: 100%;
  justify-content: center;
}

.btn-secondary{
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: all .25s;
}

.btn-secondary:hover{
  background: var(--primary);
  color: white;
}

.hero-microcopy{
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.social-proof{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.avatars{
  display: flex;
}

.avatars img{
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid white;
  margin-left: -10px;
  object-fit: cover;
}

.avatars img:first-child{
  margin-left: 0;
}

.social-proof p{
  font-size: 0.9rem;
  color: var(--muted);
}

.live-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  margin-right: 6px;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot{
  0%{ box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%{ box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.live-tag{
  display: inline-flex;
  align-items: center;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Phone + Video */
.hero-media{
  display: flex;
  justify-content: center;
}

.phone-frame{
  position: relative;
  width: 100%;
  max-width: 340px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 
    0 25px 60px rgba(15,23,42,0.18),
    0 0 0 10px #1e293b;
  background: #0f172a;
  aspect-ratio: 9/16;
}

.demo-video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay{
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
}

/* ========== SHOWCASE (PORTRAIT FEATURE CARDS) ========== */
.showcase{
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 10px;
}

.showcase .section-header{
  margin-bottom: 34px;
}

.showcase-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.showcase-card{
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(15,23,42,0.07);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
  text-decoration: none;
  display: block;
}

.showcase-card:nth-child(1){ background: linear-gradient(160deg,#c9d8ff,#eef2ff); }
.showcase-card:nth-child(2){ background: linear-gradient(160deg,#ffd3ea,#fff0f6); }
.showcase-card:nth-child(3){ background: linear-gradient(160deg,#c8f5df,#effcf4); }
.showcase-card:nth-child(4){ background: linear-gradient(160deg,#ffe3bf,#fff6ea); }
.showcase-card:nth-child(5){ background: linear-gradient(160deg,#d8d2ff,#f3f1ff); }

.showcase-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(15,23,42,0.18);
}

.showcase-card img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.showcase-card:hover img{
  transform: scale(1.08);
}

.showcase-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,30,0.88) 0%, rgba(10,14,30,0.45) 40%, rgba(10,14,30,0) 68%);
  pointer-events: none;
}

.showcase-overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 18px 16px 20px;
  color: white;
}

.showcase-icon{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
}

/* frosted blur clipped exactly to the icon's own shape (not a box around it) */
.showcase-icon::before{
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

/* each card's blur mask matches that card's own icon file */
.showcase-card:nth-child(1) .showcase-icon::before{ -webkit-mask-image: url(../images/icon/send.svg); mask-image: url(../images/icon/send.svg); }
.showcase-card:nth-child(2) .showcase-icon::before{ -webkit-mask-image: url(../images/icon/play.svg); mask-image: url(../images/icon/play.svg); }
.showcase-card:nth-child(3) .showcase-icon::before{ -webkit-mask-image: url(../images/icon/house.svg); mask-image: url(../images/icon/house.svg); }
.showcase-card:nth-child(4) .showcase-icon::before{ -webkit-mask-image: url(../images/icon/users.svg); mask-image: url(../images/icon/users.svg); }
.showcase-card:nth-child(5) .showcase-icon::before{ -webkit-mask-image: url(../images/icon/bell.svg); mask-image: url(../images/icon/bell.svg); }

.showcase-icon img{
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  object-fit: contain;
  /* recolors any dark/black svg icon to white so it reads on the photo overlay */
  filter: brightness(0) invert(1);
}

.showcase-overlay h3{
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.showcase-overlay p{
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* ========== FEATURES ========== */
.features{
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header{
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2{
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p{
  color: var(--muted);
  font-size: 1.1rem;
}

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

.feature-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .25s;
}

.feature-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-card .icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef2ff;
  margin-bottom: 14px;
}

.feature-card .icon img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  /* recolors the black svg icon to the brand blue (--primary: #5b8cff) */
  filter: invert(46%) sepia(72%) saturate(1258%) hue-rotate(202deg) brightness(101%) contrast(101%);
}

.feature-card h3{
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p{
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========== FEEDBACK ========== */
.feedback-section{
  padding: 60px 24px 80px;
  display: flex;
  justify-content: center;
}

.feedback-card{
  background: var(--card);
  border-radius: 24px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
}

.feedback-card h2{
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feedback-sub{
  color: var(--muted);
  margin-bottom: 28px;
}

.star-rating{
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.star-rating button{
  background: none;
  border: none;
  font-size: 2.4rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all .15s;
  line-height: 1;
  padding: 0 2px;
}

.star-rating button:hover,
.star-rating button.hover,
.star-rating button.active{
  color: #fbbf24;
  transform: scale(1.15);
}

.rating-text{
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 24px;
}

.feedback-form .form-group{
  margin-bottom: 14px;
}

.feedback-form input,
.feedback-form textarea{
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;

  /* FIX: Always readable text */
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;

  background: #f8fafc;
  caret-color: var(--primary);

  transition:
    border .2s,
    background .2s,
    box-shadow .2s;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder{
  color: #64748b;
  opacity: 1;
  -webkit-text-fill-color: #64748b;
}

.feedback-form input:focus,
.feedback-form textarea:focus{
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(91,140,255,0.12);
}


.feedback-form textarea{
  resize: vertical;
  min-height: 100px;
}

.feedback-success{
  padding: 30px 0;
}

.success-icon{
  width: 60px;
  height: 60px;
  background: #22c55e;
  color: white;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feedback-success h3{
  font-size: 1.4rem;
  margin-bottom: 6px;
}

/* ========== FINAL CTA ========== */
.final-cta{
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, #5b8cff 0%, #3b6ef5 100%);
  color: white;
}

.final-cta h2{
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.final-cta p{
  opacity: 0.9;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.final-cta .btn-primary{
  background: white;
  color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.final-cta .btn-primary:hover{
  background: #f8fafc;
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer{
  padding: 30px 24px;
  border-top: 1px solid var(--border);
  background: white;
}

.footer-content{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.footer-brand img{
  border-radius: 8px;
}

.footer p{
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px){
  .hero{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
  }

  .hero-sub{
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta{
    justify-content: center;
  }

  .social-proof{
    justify-content: center;
  }

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

  .showcase-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px){
  .nav-links{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }

  .nav-links.open{
    display: flex;
  }

  .nav-links a{
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .mobile-menu-btn{
    display: flex;
  }

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

  .phone-frame{
    max-width: 280px;
  }

  .feedback-card{
    padding: 28px 20px;
  }

  .showcase{
    padding: 30px 0 10px 24px;
  }

  .showcase .section-header{
    padding-right: 24px;
  }

  .showcase-grid{
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-right: 24px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .showcase-grid::-webkit-scrollbar{
    display: none;
  }

  .showcase-card{
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
}