:root {
  /* Brand Colors */
  --bg-color: #ffffff;
  --text-color: #131316;
  --muted: rgba(19, 19, 22, 0.6);
  --heavy-text-color: rgba(19, 19, 22, 0.8);
  --inverse-text: #ffffff;

  --brand-primary: #57ad90; 
  --dark-button: #000000;
}

/* 1. Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 2. Layout & Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

.hero-content {
  display: flex;
  gap: 60px;
  align-items: center;
  min-height: 85vh;
}

.hero-texts {
  flex: 1.2;
}

.hero-image {
  flex: 1;
  height: 650px;
  background-image: url("../images/hero_pickz-image.png");
  background-repeat: no-repeat;
  background-size: cover; /* Use cover to ensure the image fills the curved area */
  background-position: center;

  border-radius: 24px;   /* Match the button curvature (around 16px to 24px) */
  overflow: hidden;      /* Prevents the image from bleeding past the curves */
}

/* 3. Typography & Brand */
.brand-logo {
  height: 48px;
  width: auto;
  margin-bottom: 2.5rem;
}

.text-xxl {
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.text-body {
  font-size: 1.3rem;
  color: var(--heavy-text-color);
  max-width: 520px;
  margin-bottom: 3rem;
  line-height: 1.5;
}

/* 4. THE PILL (FIXED SIZE & FONT) */
.bookmark-span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  
  padding: 6px 20px; 
  background: var(--brand-primary);
  color: var(--inverse-text);
  border-radius: 14px;
  
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85em;
  
  vertical-align: middle;
  line-height: 1;
  margin-left: 5px;
}

.pill-logo {
  height: 0.9em;
  width: auto;
}

/* 5. App Store Buttons */
.download-buttons {
  display: flex;
  gap: 16px;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--dark-button);
  color: var(--inverse-text);
  padding: 12px 24px;
  border-radius: 14px;
  transition: all 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  background: #1a1a1e;
}

.store-button img {
  height: 24px;
}

.store-name p:first-child {
  font-size: 0.75rem;
  margin-bottom: -1px;
  opacity: 0.8;
}

.store-name p:last-child {
  font-size: 1.15rem;
  font-weight: 600;
}

/* 6. Footer - Single Line & High Placement */
.footer {
  /* Reduced padding to 30px to stop the forced scrolling */
  padding: 30px 24px; 
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--bg-color);
}

.footer-text {
  color: var(--muted);
  font-size: 0.85rem;
  /* Ensures everything stays on one line and looks clean */
  display: inline-block; 
}

.footer-text a {
  color: var(--muted);
  text-decoration: none;
  /* Space around the links so they don't touch the dividers */
  margin: 0 4px; 
  transition: color 0.2s ease;
}

.footer-text a:hover {
  color: var(--brand-primary);
}

/* 7. Mobile Adjustments */
@media (max-width: 991px) {
  .text-xxl { font-size: 3.8rem; }
  .hero-content { gap: 40px; }
}

@media (max-width: 767px) {
  html { font-size: 14px; }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding-top: 20px;
    min-height: auto;
  }

  .brand-logo {
    margin: 0 auto 2.5rem;
  }

  .text-body {
    margin: 0 auto 2.5rem;
  }

  .hero-image {
    width: 100%;
    height: 400px;
    margin-top: 40px;
  }

  .download-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  
  .store-button {
    width: 220px;
  }
}
