*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg-dark: #031f20;
  --bg-main: #073536;
  --green: #2c786c;
  --green-light: #45c48f;
  --text: #ffffff;
  --muted: #d7efea;
  --card: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.13);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 24%, rgba(69, 196, 143, 0.18), transparent 28%),
    radial-gradient(circle at 20% 20%, rgba(69, 162, 158, 0.18), transparent 30%),
    linear-gradient(135deg, #031f20 0%, #073536 48%, #0f3d3e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(140deg, transparent 0%, rgba(255, 255, 255, 0.035) 42%, transparent 43%),
    radial-gradient(circle at bottom left, rgba(69, 196, 143, 0.08), transparent 35%);
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-header,
.hero,
.section,
.download-section,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.landing-header {
  padding: 24px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.32));
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.8px;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.45);
}

.brand-subtitle {
  margin-top: 6px;
  color: #7cf0aa;
  font-size: 19px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
}

.top-nav a {
  color: #eefaf8;
  opacity: 0.94;
}

.top-nav a:hover {
  color: #7cf0aa;
}

.nav-app-btn {
  padding: 12px 20px;
  border: 1px solid #7cf0aa;
  border-radius: 12px;
}

.hero {
  padding: 36px 0 54px;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 70px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  max-width: 620px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1.05;
  letter-spacing: -1.4px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

.hero-line {
  width: 52px;
  height: 4px;
  margin: 24px 0;
  border-radius: 999px;
  background: var(--green-light);
}

.hero-description {
  max-width: 600px;
  margin: 0 0 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.google-play-btn,
.secondary-btn {
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.google-play-btn {
  min-width: 238px;
  gap: 14px;
  padding: 12px 22px;
  background: linear-gradient(135deg, #1dbb65, #35d285);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.google-play-btn small {
  display: block;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.5px;
}

.google-play-btn span:last-child {
  font-size: 22px;
  line-height: 1.12;
}

.play-icon {
  font-size: 30px;
  color: #ffffff;
}

.secondary-btn {
  min-width: 214px;
  gap: 12px;
  padding: 12px 22px;
  border: 1px solid #77e6b0;
  background: rgba(255, 255, 255, 0.06);
  font-size: 18px;
}

.google-play-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: #eefaf8;
  font-size: 14px;
}

.phone-area {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  top: 58px;
  border-radius: 50%;
  background: rgba(69, 196, 143, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.phone {
  position: relative;
  width: 306px;
  min-height: 568px;
  padding: 16px;
  border-radius: 44px;
  background: #061617;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.44);
}

.phone-speaker {
  width: 88px;
  height: 7px;
  margin: 2px auto 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.phone-screen {
  min-height: 510px;
  padding: 20px 16px 14px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(69, 196, 143, 0.12), transparent 34%),
    linear-gradient(160deg, #092b2c, #0d4745);
}

.screen-top {
  margin-bottom: 18px;
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 18px;
}

.preview-card,
.preview-book,
.overall-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.preview-card {
  padding: 14px;
  margin-bottom: 14px;
}

.preview-card strong,
.preview-card span {
  display: block;
}

.preview-card span {
  margin-top: 6px;
  color: var(--muted);
}

.preview-book {
  margin-top: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
}

.book-icon {
  color: #5ee0a2;
  margin-right: 7px;
}

.mini-bar {
  height: 7px;
  margin: -6px 12px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.mini-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #45e087;
}

.overall-card {
  margin-top: 18px;
  padding: 14px;
}

.overall-card > div:first-child {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mini-bar.large {
  margin: 0;
}

.phone-nav {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
}

.phone-nav span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 18px;
}

.phone-nav small {
  font-size: 10px;
}

.phone-nav .active {
  color: #67e79d;
}

.section {
  padding: 26px 0 22px;
}

.section h2,
.download-section h2 {
  margin: 0 0 26px;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.18;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.feature-card,
.step,
.screenshot-card,
.download-section {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.feature-card {
  min-height: 210px;
  padding: 24px 22px;
}

.feature-icon {
  margin-bottom: 22px;
  font-size: 42px;
}

.feature-card h3,
.step h3,
.screenshot-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.feature-card p,
.step p,
.screenshot-card p,
.download-section p {
  margin: 0;
  color: #eefaf8;
  font-size: 15px;
  line-height: 1.55;
}

.how-section {
  padding-top: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  text-align: center;
}

.step {
  position: relative;
  padding: 20px 26px 24px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.step span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1dbb65, #2c786c);
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.screenshot-card {
  padding: 8px 8px 22px;
  overflow: hidden;
  text-align: center;
}

.real-screenshot {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px 14px 0 0;
  display: block;
}

.mock-screen {
  height: 270px;
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 14px 14px 0 0;
  background:
    radial-gradient(circle at top right, rgba(69, 196, 143, 0.14), transparent 36%),
    linear-gradient(160deg, #082728, #0f4a48);
  text-align: left;
}

.mock-screen h4 {
  margin: 0 0 18px;
  font-size: 16px;
}

.mock-screen p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.075);
}

.reader-mock {
  background: #f3ead8;
  color: #132120;
}

.reader-mock p {
  display: block;
  background: transparent;
  color: #132120;
  line-height: 1.45;
}

.screenshot-card h3,
.screenshot-card p {
  padding-left: 14px;
  padding-right: 14px;
}

.download-section {
  margin-top: 28px;
  margin-bottom: 34px;
  padding: 26px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
}

.download-icon {
  font-size: 58px;
}

.download-section h2 {
  margin-bottom: 10px;
  text-align: left;
}

.download-actions {
  text-align: center;
}

.download-actions p {
  margin-top: 12px;
}

.download-actions a:not(.google-play-btn) {
  color: #7cf0aa;
  text-decoration: underline;
}

.footer {
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: #d7efea;
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  gap: 34px;
}

.footer a:hover {
  color: #7cf0aa;
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .hero h1,
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-line {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .feature-grid,
  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-section h2 {
    text-align: center;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .landing-header,
  .hero,
  .section,
  .download-section,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .landing-header {
    justify-content: center;
    text-align: center;
  }

  .brand {
    flex-direction: column;
    gap: 8px;
  }

  .brand-logo {
    width: 92px;
    height: 92px;
  }

  .brand-title {
    font-size: 34px;
  }

  .brand-subtitle {
    font-size: 16px;
  }

  .hero {
    padding-top: 14px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-description {
    font-size: 16px;
  }

  .google-play-btn,
  .secondary-btn {
    width: 100%;
  }

  .feature-grid,
  .steps,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .phone {
    width: min(306px, 100%);
  }

  .phone-glow {
    width: 320px;
    height: 320px;
  }

  .footer div {
    flex-direction: column;
    gap: 12px;
  }
}