/* === Home page styles === */
body.page-home {
  background: linear-gradient(89deg, #D7DCE9 0.8%, #D5EAE2 50.3%, #F3F1D7 99.1%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  flex: 1;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.animation-placeholder {
  width: 120px;
  height: 116px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lottie-container lottie-player {
  margin-top: 0;
}

.content-headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

h1 {
  font-family: 'Noteworthy', 'Caveat Brush', cursive;
  font-size: 80px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-top: 0;
  line-height: 1;
}

.subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-actions {
  display: flex;
  gap: 4px;
}

.hero-btn {
  border-radius: 45px;
  padding: 10px 24px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  width: 155px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-btn--outlined {
  background: transparent;
  border: 1px solid #000;
}

.hero-btn--filled {
  background: #FBCD68;
  border: none;
}

.hero-btn:hover {
  opacity: 0.85;
}

/* === Phone mockup === */
.phone-wrapper {
  box-sizing: content-box;
  width: 600px;
  height: fit-content;
  margin-top: 60px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.phone-frame {
  box-sizing: content-box;
  width: 600px;
  max-width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.phone-frame img {
  box-sizing: content-box;
  max-width: 1122px;
  width: fit-content;
  height: fit-content;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* === Intro section === */
.intro-section {
  width: 100%;
  background: #fff;
  padding: 120px 24px;
  display: flex;
  justify-content: center;
}

.intro-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.intro-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.intro-label {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.04em;
  margin: 0;
}

.intro-headline {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0;
}

.intro-highlight {
  color: #CB9C2D;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.intro-cta {
  background: #FBCD68;
  border: none;
  border-radius: 45px;
  padding: 18px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.intro-cta:hover {
  opacity: 0.85;
}

.intro-release {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.intro-image {
  flex-shrink: 0;
  width: 479px;
  display: flex;
  justify-content: center;
}

.intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .intro-section { padding: 80px 24px; }
  .intro-inner { flex-direction: column; gap: 40px; }
  .intro-label { font-size: 22px; }
  .intro-headline { font-size: 28px; }
  .intro-image { width: 100%; max-width: 360px; }
  .intro-cta { font-size: 16px; padding: 14px 32px; }
  .intro-release { font-size: 16px; }
}

@media (max-width: 480px) {
  .intro-section { padding: 60px 16px; }
  .intro-label { font-size: 20px; }
  .intro-headline { font-size: 24px; }
  .intro-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .intro-cta { font-size: 16px; padding: 12px 28px; }
  .intro-release { font-size: 16px; }
}

/* === Pain points section (post-hero) === */
.painpoints-section {
  width: 100%;
  padding: 120px 24px 120px;
  display: flex;
  justify-content: center;
  background: #fff;
}

.painpoints-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
}

.painpoints-header {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: unset;
  background-color: unset;
  background-image: none;
  border-bottom: 0 none transparent;
  border-image: none;
  margin-bottom: 0;
  padding: 0;
}

.painpoints-lead {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  letter-spacing: -0.04em;
  margin: 0 0 4px;
}

.painpoints-title {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
}

.painpoints-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.painpoint-card {
  background: #FDE8EC;
  border-radius: 24px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.painpoint-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #E84A6F;
  flex-shrink: 0;
}

.painpoint-icon svg {
  width: 100%;
  height: 100%;
}

.painpoint-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
}

/* === Features row (plan / no ads / iOS) === */
.features-row-section {
  width: 100%;
  background: #fff;
  padding: 60px 24px;
  display: flex;
  justify-content: center;
}

.features-row-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
}

.features-row-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 120px;
}

.features-row-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.features-row-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin: 0;
  letter-spacing: -0.02em;
}

/* === Email Section === */
.email-section {
  width: 100%;
  background: #f5f6f7;
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.email-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 600px;
  width: 100%;
}

.email-section h2 {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

#services .email-section-inner { align-items: flex-start; max-width: 1200px; }
#services h2 { text-align: left; }

.divider {
  height: 1px;
  width: 100%;
  background-color: #D2D2D2;
  flex-shrink: 0;
}

.remind-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  margin-top: 0px;
}
.remind-box {
  height: fit-content;
  flex-shrink: 0;
  background: unset;
  background-color: unset;
}
.remind-box-text {
  flex: 0 1 auto;
  max-width: 480px;
  background: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  height: 100%;
}
.remind-box-icon {
  width: 40px;
  height: 40px;
  display: block;
  margin-bottom: 4px;
}
.remind-box-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 0;
  letter-spacing: -0.04em;
}
.remind-box-p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.02em;
}
.remind-box-image {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 560px;
  height: 100%;
  background: unset;
  background-color: unset;
  border-radius: 0px;
  box-shadow: none;
  overflow: hidden;
}
.remind-box-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  vertical-align: top;
}

.email-section .email-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  text-align: center;
  letter-spacing: -0.04em;
}

/* === Email form section === */
.email-form-section {
  width: 100%;
  background: #f5f6f7;
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.email-form-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  width: 100%;
}

.email-form-section h2 {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.email-form-section .email-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  text-align: center;
  letter-spacing: -0.04em;
}

.email-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
}

.email-input-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.email-input-wrapper label { font-size: 12px; color: #b6b6b6; letter-spacing: -0.04em; }
.email-input-wrapper input {
  width: 100%;
  border: 1px solid #e3e5e8;
  border-radius: 12px;
  padding: 16px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #000;
  outline: none;
  letter-spacing: -0.04em;
}
.email-input-wrapper input::placeholder { color: #999; }
.email-input-wrapper input:focus { border-color: #FBCD68; }
.email-input-wrapper input.input-error { border-color: #e53e3e; }

.email-error-msg {
  font-size: 12px;
  color: #e53e3e;
  letter-spacing: -0.02em;
  display: none;
}

.email-btn {
  background: #FBCD68;
  border: none;
  border-radius: 100px;
  padding: 10px 40px 14px 40px;
  font-family: 'Noteworthy', 'Caveat Brush', cursive;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  width: 174px;
  height: 50px;
  transition: opacity 0.2s;
}
.email-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.email-note {
  font-size: 14px;
  font-weight: 500;
  color: #737373;
  text-align: center;
  letter-spacing: -0.04em;
  max-width: 340px;
}

.form-feedback {
  display: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 14px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  letter-spacing: -0.02em;
}
.form-feedback.success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.form-feedback.error { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }

/* === Responsive === */
@media (max-width: 768px) {
  h1 { font-size: 48px; }
  .subtitle { font-size: 18px; }
  .hero-actions { flex-direction: row; gap: 4px; }
  .hero-btn { font-size: 14px; padding: 10px 20px; width: auto; height: 52px; }
  .animation-placeholder { width: 160px; height: 160px; }
  .content {
    min-height: calc(100dvh - 60px);
  }
  .badge {
    margin-bottom: 0;
  }
  .phone-wrapper {
    padding: 0;
    overflow: hidden;
    margin-top: auto;
    width: 100vw;
    margin-left: -24px;
    margin-right: -24px;
  }
  .phone-frame {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
  .phone-frame img {
    width: 160%;
    max-width: none;
    height: auto;
    display: block;
    flex-shrink: 0;
  }
  .painpoints-section { padding: 120px 24px 120px; }
  .painpoints-title { font-size: 40px; }
  .painpoints-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .remind-container {
    flex-direction: column;
    gap: 24px;
  }
  .remind-box-text { max-width: none; }
  .remind-box-image { max-width: none; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .subtitle { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 8px; }
  .hero-btn { font-size: 13px; padding: 10px 16px; width: auto; height: 48px; }
  .animation-placeholder { width: 64px; height: 64px; margin-top: 16px; }
  .content {
    min-height: calc(100dvh - 56px);
  }
  .painpoints-section { padding: 120px 16px 120px; }
  .painpoints-lead { font-size: 18px; }
  .painpoints-title { font-size: 32px; }
  .painpoints-list { grid-template-columns: 1fr; }
  .painpoint-card { padding: 28px 20px; }
  .painpoint-text { font-size: 14px; }
  .email-section { padding: 48px 24px; }
  .email-section h2 { font-size: 32px; }
  .email-section .email-subtitle { font-size: 16px; }
  .email-form-section { padding: 48px 24px; }
  .email-form-section h2 { font-size: 32px; }
  .email-form-section .email-subtitle { font-size: 16px; }
  .remind-container { gap: 20px; }
}

/* === Blog section (homepage) === */
.blog-section {
  width: 100%;
  background: #fff;
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

.blog-section-inner {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.blog-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0;
  align-self: flex-start;
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.blog-card {
  background: #F5F6F7;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-card--soon {
  opacity: 0.55;
  pointer-events: none;
}

.blog-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #737373;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.blog-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0;
}

.blog-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #737373;
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.blog-card-meta {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #B6B6B6;
  letter-spacing: -0.02em;
}

.blog-section-btn {
  background: transparent;
  border: 1px solid #000;
  border-radius: 45px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.blog-section-btn:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .blog-section-title { font-size: 36px; }
  .blog-section { padding: 60px 24px; }
}

@media (max-width: 480px) {
  .blog-cards { grid-template-columns: 1fr; }
  .blog-section-title { font-size: 32px; }
  .blog-section { padding: 48px 16px; }
  .blog-card { padding: 24px 20px; }
}
