:root {
  --bg-black: #000000;
  --card-bg: #1C1C1E;
  --text-white: #FFFFFF;
  --accent-linen: #EAE3D2;
  --accent-gold: #FFD60A;
  --accent-olive: #7B886F;
  --text-muted: #8E8E93;
  --border-color: #2C2C2E;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fixed Navigation Header */
header {
  position: sticky;
  top: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

.header-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text-white);
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 16px;
  object-fit: cover;
}

/* View Wrappers */
.view {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* Landing Page Hero */
.hero {
  text-align: center;
  padding: 60px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero p {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  padding: 0 10px;
}

.cta-btn {
  display: inline-block;
  background-color: var(--accent-linen);
  color: var(--bg-black);
  padding: 16px 36px;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 100%;
  max-width: 280px;
  text-align: center;
}

.cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* App Store badge (replaces the old free-trial button on the hero) */
.app-store-badge-link {
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-store-badge-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.app-store-badge {
  height: 54px;
  width: auto;
  display: block;
}

/* Section Typography */
.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  margin-bottom: 40px;
  padding: 0 10px;
}

/* App Showcase Section */
.app-showcase-section {
  margin-top: 60px;
  scroll-margin-top: 100px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Left Side: Numbered Features with Increased Spacing & Linen Accent */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.number-box {
  background-color: var(--accent-linen);
  color: var(--bg-black);
  font-weight: 800;
  font-size: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-white);
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Right Side: Screenshot */
.screenshot-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-screenshot {
  width: 100%;
  max-width: 310px;
  height: auto;
  border-radius: 32px;
  border: 4px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  object-fit: contain;
}

/* Built To Keep You Consistent Grid */
.consistency-section {
  margin-top: 80px;
}

.consistency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.consistency-card {
  background-color: var(--card-bg);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--border-color);
}

.consistency-card .badge {
  display: inline-block;
  background-color: var(--accent-olive);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.consistency-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-white);
}

.consistency-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Testimonials Section */
.testimonials-section {
  margin-top: 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  color: var(--text-white);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--accent-linen);
  color: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.user-info .name {
  font-size: 0.88rem;
  font-weight: 600;
}

.user-info .role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Legal Pages Container */
.legal-container {
  background-color: var(--card-bg);
  padding: clamp(24px, 5vw, 48px);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 8px;
}

.legal-container .effective-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.legal-container h2 {
  font-size: 1.2rem;
  color: var(--accent-linen);
  margin: 24px 0 10px;
}

.legal-container p, .legal-container ul {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.legal-container ul {
  padding-left: 20px;
}

.legal-container li {
  margin-bottom: 8px;
}

/* Footer / Contact */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 5% 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  max-width: 1200px;
  margin: 40px auto 0;
  scroll-margin-top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer a {
  color: var(--text-muted);
  text-decoration: underline;
  margin: 0 6px;
}

footer a:hover {
  color: var(--text-white);
}

.footer-contact {
  margin-bottom: 20px;
}

.footer-contact h4 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-contact a {
  color: var(--accent-linen);
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Mobile Responsive Optimizations */
@media (max-width: 840px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .features-list {
    gap: 32px;
  }

  .screenshot-wrapper {
    order: -1;
  }

  .hero-screenshot {
    max-width: 270px;
  }

  nav {
    padding: 14px 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}
