/* ========================
   CSS Custom Properties
   ======================== */
:root {
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-primary-light: #DBEAFE;
  --color-text: #111827;
  --color-text-dark: #374151;
  --color-text-muted: #6B7280;
  --color-white: #fff;
  --color-shadow: rgba(37, 99, 235, 0.08);
  --color-shadow-hover: rgba(37, 99, 235, 0.16);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --space-section: clamp(60px, 8vw, 100px);
  --transition: 0.25s ease;
}

/* ========================
   Responsive Utilities
   ======================== */
@media screen and (max-width: 767px) {
  .is-pc {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .is-sp {
    display: none !important;
  }
}

/* ========================
   Base
   ======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
  pointer-events: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
a:hover {
  opacity: 0.75;
}

/* ========================
   Layout
   ======================== */
.inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: content-box;
}
@media screen and (max-width: 767px) {
  .inner {
    padding: 0 20px;
  }
}

section {
  padding: var(--space-section) 0;
}

/* ========================
   Hero
   ======================== */
.hero {
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
  padding: 73px 0 0;
}
@media screen and (max-width: 767px) {
  .hero {
    margin: 20px 20px 0;
    position: relative;
    border-radius: var(--radius-sm);
    padding: 39px 0 0;
  }
}

.hero__grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  .hero__grid {
    gap: clamp(24px, 4vw, 48px);
  }
}
@media screen and (max-width: 767px) {
  .hero__grid {
    flex-direction: column;
    align-items: center;
  }
}

.hero__content {
  text-align: left;
  padding-right: 40px;
  padding-bottom: 80px;
}
@media screen and (max-width: 767px) {
  .hero__content {
    text-align: center;
    padding-right: 0;
    padding-bottom: 0;
  }
}

.hero img {
  width: auto;
}

.hero__media {
  max-width: 360px;
  position: relative;
  z-index: 1;
}
.hero__media img {
  width: 100%;
}
@media screen and (max-width: 849.5px) and (min-width: 768px) {
  .hero__media {
    width: 51.4vw;
  }
}
@media screen and (max-width: 767px) {
  .hero__media {
    margin-top: 28px;
    margin-right: 3vw;
  }
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #bfdbfe;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 16px;
}

@media screen and (min-width: 768px) {
  .hero__content .icon {
    width: 100px !important;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .hero__content .icon {
    width: 60px !important;
    display: block;
    margin: 0 auto 20px;
  }
  .icon {
    margin-bottom: 20px;
  }
}

.hero__tagline {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ========================
   App Intro
   ======================== */
.app-intro {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .app-intro {
    padding: 40px 0 60px;
  }
}

.app-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.app-intro__badge-wreath {
  width: 28px;
  height: auto;
}

.app-intro__badge-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.1;
}

.app-intro__badge-reached,
.app-intro__badge-users {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.app-intro__badge-number {
  font-size: 30px;
  letter-spacing: -0.01em;
}

@media screen and (max-width: 767px) {
  .app-intro__badge {
    justify-content: center;
  }
}

.app-intro__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.app-intro__description {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--color-text);
}

/* ========================
   Store Badges
   PC: same height | SP: same width (stacked)
   ======================== */
.store-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.store-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .store-badges {
    flex-direction: row;
  }
  .store-badges img {
    display: block;
    height: 70px;
    width: auto;
  }
}

@media screen and (max-width: 767px) {
  .store-badges {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 240px;
    margin-inline: auto;
  }
  .store-badges a {
    width: 100%;
  }
  .store-badges img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* ========================
   Demo (feature--demo)
   ======================== */
.feature--demo {
  padding-bottom: 0;
}

@media screen and (min-width: 768px) {
  .feature--demo .feature__content {
    padding-bottom: 100px;
  }
}

.demo__grid {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  flex: 1;
  min-width: 0;
}
@media screen and (max-width: 767px) {
  .demo__grid {
    gap: 24px;
    justify-content: center;
  }
}

.demo__phone {
  flex: 1;
  min-width: 0;
  max-width: 180px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .demo__phone {
    flex: none;
    width: 42vw;
    max-width: 160px;
  }
}

.demo__person {
  position: absolute;
  bottom: 0;
  width: 55%;
  z-index: 2;
  pointer-events: none;
}

.demo__person--left {
  left: -12%;
}

.demo__person--right {
  right: -12%;
}

.demo__phone-frame {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 6px solid #fff;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.demo__phone-frame--dark {
  border-color: #1a1a1a;
  background: #1a1a1a;
}

.demo__notch {
  width: 40%;
  height: 18px;
  background: #fff;
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.demo__phone-frame--dark .demo__notch {
  background: #1a1a1a;
}

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

/* ========================
   Features
   ======================== */
.feature__grid {
  display: flex;
  align-items: center;
  gap: 5.88%;
}
@media screen and (max-width: 767px) {
  .feature__grid {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
}

.feature__content {
  max-width: 450px;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .feature__content {
    padding: 0 20px;
  }
}

.features .feature:nth-child(even) .feature__grid {
  flex-direction: row-reverse;
}
@media screen and (max-width: 767px) {
  .features .feature:nth-child(even) .feature__grid {
    flex-direction: column;
  }
}

@media screen and (max-width: 767px) {
  .features .feature:nth-child(2) {
    padding-bottom: 0;
  }
  .features .feature:nth-child(2) .feature__media {
    width: 100vw;
  }
  .features .feature:nth-child(4) {
    padding-bottom: 0;
  }
}

.features .feature:nth-child(3) {
  padding-bottom: 0;
}
.features .feature:nth-child(3) .feature__grid {
  align-items: flex-end;
}
.features .feature:nth-child(3) .feature__grid .feature__content {
  padding-bottom: 100px;
}
@media screen and (max-width: 767px) {
  .features .feature:nth-child(3) .feature__grid .feature__content {
    padding-bottom: 0;
  }
  .features .feature:nth-child(3) .feature__media {
    padding: 0 30px;
  }
}

@media screen and (min-width: 768px) {
  .features .feature:nth-child(4) .feature__content {
    flex-shrink: 0;
    width: 300px;
  }
}

.features .feature:nth-child(5) .feature__media {
  padding: 0 35px;
}

.features .feature h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--color-text);
}

.features .feature p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 420px;
}
@media screen and (max-width: 767px) {
  .features .feature p {
    max-width: 100%;
  }
}

.feature--accent {
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
}

.feature--accent:first-child {
  background: linear-gradient(135deg, #c5d8fc, #d8e8fc);
}

/* ========================
   Reviews
   ======================== */
.reviews {
  text-align: center;
}
@media screen and (max-width: 767px) {
  .reviews {
    text-align: left;
  }
}
.reviews .inner {
  max-width: 780px;
}

.reviews__header h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .reviews__header {
    padding: 0 20px;
  }
  .reviews__header h2 {
    font-size: 24px;
  }
}

.reviews__header p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.reviews__list {
  margin: 63px 0 50px;
}
@media screen and (max-width: 767px) {
  .reviews__list {
    margin: 50px 0 50px;
  }
}

.review-card {
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: 0px 0px 25px 0px var(--color-shadow);
  color: var(--color-text);
  padding: 28px 36px;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}
@media screen and (max-width: 767px) {
  .review-card {
    padding: 24px 20px;
  }
}
.review-card:not(:first-child) {
  margin-top: 20px;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 35px 0px var(--color-shadow-hover);
}

.review-card__head {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 767px) {
  .review-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
}
.review-card__head img {
  width: 100px;
}

.review-card__body {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* ========================
   Buttons
   ======================== */
.btn {
  display: inline-block;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  padding: 4px 40px;
  transition: background-color var(--transition), color var(--transition);
}
.btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  opacity: 1;
}

.reviews__cta {
  text-align: center;
  margin-bottom: 40px;
}
.reviews__cta p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .reviews__cta p {
    margin-bottom: 10px;
  }
}

/* ========================
   Footer
   ======================== */
.site-footer {
  text-align: center;
  padding: var(--space-section) 0 20px;
  background: linear-gradient(135deg, #DBEAFE, #EFF6FF);
}
@media screen and (max-width: 767px) {
  .site-footer {
    padding: 48px 0 20px;
  }
}
.site-footer .store-badges {
  margin-top: 30px;
}

.footer__tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.footer__title {
  font-size: clamp(38px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.footer__icon {
  width: 60px !important;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}
@media screen and (max-width: 767px) {
  .footer__icon {
    width: 60px !important;
    margin-bottom: 16px;
  }
}

.footer__copy {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 50px;
}
