@font-face {
  font-family: "Inter";
  src: url("/public/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/public/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/public/fonts/Fraunces-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("/public/fonts/Fraunces-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f2e9;
  --text: #12221f;
  --primary: #184c43;
  --accent: #c7a23a;
  --border: #e4ddcf;
  --card: #ffffff;
  --muted: #506660;
  --shadow-soft: 0 12px 30px rgba(24, 76, 67, 0.08);
  --shadow-strong: 0 20px 45px rgba(18, 34, 31, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

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

.container {
  width: min(1100px, 100% - 2.5rem);
  margin-inline: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(247, 242, 233, 0.92);
  border-bottom: 1px solid var(--border);
  transition: transform 0.28s ease;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 74px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo,
.footer-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}

.brand-name {
  color: var(--primary);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
}

.navigation {
  display: flex;
  gap: 1.4rem;
}

.nav-link,
.footer-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.footer-link:hover {
  color: var(--primary);
}

.hero {
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 12% 8%, rgba(199, 162, 58, 0.28), transparent 35%),
    radial-gradient(circle at 88% 88%, rgba(24, 76, 67, 0.18), transparent 40%),
    linear-gradient(160deg, #f7f2e9 0%, #f4ede2 52%, #efe7d8 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
}

.hero-title,
.section-title,
.download-title,
.privacy-title,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
}

.hero-title {
  font-size: clamp(2.05rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.08rem;
  max-width: 60ch;
  margin-bottom: 1.4rem;
}

.app-store-btn {
  display: inline-flex;
  text-decoration: none;
  transition: transform 0.22s ease;
}

.app-store-btn:hover {
  transform: translateY(-2px);
}

.app-store-badge {
  height: 56px;
  width: auto;
}

.app-store-btn.large .app-store-badge {
  height: 70px;
}

.disclaimer {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-phone {
  display: grid;
  place-items: center;
}

.phone-mockup {
  width: min(305px, 74vw);
  height: min(620px, 82vh);
  background: #0f1111;
  border-radius: 42px;
  padding: 14px;
  box-shadow: var(--shadow-strong);
  transform: rotate(-3deg);
  transition: transform 0.28s ease;
}

.phone-mockup:hover {
  transform: rotate(0deg) scale(1.015);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features,
.screenshots,
.download,
.privacy-main {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.feature-title {
  color: var(--primary);
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.feature-description {
  color: #243531;
}

.carousel-container {
  max-width: 760px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #f2ece1;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.screenshot {
  width: min(290px, 75vw);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.45rem;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
}

.carousel-btn.prev {
  left: 0.8rem;
}

.carousel-btn.next {
  right: 0.8rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.95rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #cdbf9f;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
}

.download {
  background: linear-gradient(135deg, #153f38 0%, #184c43 62%, #1f5e53 100%);
  color: #f7f2e9;
}

.download-content {
  text-align: center;
  max-width: 780px;
}

.download-title {
  margin-bottom: 0.7rem;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
}

.download-description {
  margin-bottom: 1rem;
  color: #d9e7e3;
}

.footer {
  border-top: 1px solid var(--border);
  background: #f3ecdf;
  padding: 1.4rem 0 1.2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand-name {
  color: var(--primary);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy-main {
  padding-top: 7.6rem;
}

.privacy-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.3rem, 3vw, 2rem);
  box-shadow: var(--shadow-soft);
}

.privacy-title {
  color: var(--primary);
  margin-bottom: 0.2rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.privacy-updated {
  color: var(--muted);
  margin-bottom: 1.3rem;
}

.privacy-section {
  margin-top: 1.1rem;
}

.privacy-section h2 {
  color: var(--primary);
  margin-bottom: 0.45rem;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.privacy-section ul {
  margin: 0.45rem 0 0.3rem 1.2rem;
}

@media (max-width: 900px) {
  .hero-content,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .navigation {
    gap: 0.9rem;
    font-size: 0.92rem;
  }

  .hero {
    padding-top: 7.6rem;
  }

  .phone-mockup {
    height: min(560px, 76vh);
    transform: none;
  }

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

@media (max-width: 560px) {
  .nav-wrap {
    min-height: 66px;
  }

  .logo,
  .footer-logo {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .navigation {
    gap: 0.65rem;
    font-size: 0.88rem;
  }

  .hero {
    padding: 7rem 0 3.7rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .app-store-badge {
    height: 52px;
  }
}
