/* --- Base Styles --- */
:root {
  --bg: #f4f0ff;
  --text: #0A1B2E;
  --muted: #5c5c5c;
  --accent: #cb30e0; /* Per 100’s primary accent tone */
  --radius: 12px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  margin: 0;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  margin: 0 auto; /* <-- Ensures individual images also centre if block-level */
}

img.screenshot {
  max-height: 1000px;
}

h1 {
  font-size: 2.5rem;
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

p {
  color: var(--muted);
  line-height: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

/* --- HEADER / NAV --- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: white;
  border-bottom: 1px solid #e3e3e3;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
}

.site-header a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.site-header nav a {
  margin-left: 1.5rem;
}

.header-icon {
  width: 40px;
  border-radius: 15%;
  margin-right: 0.5rem;
}

/* --- Sections --- */
section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  gap: 2rem;
  padding: 3rem 2rem;
}

section.white-bg {
  background: white;
}

.section-header {
  max-width: 900px;
  text-align: center;
}


/* --- Hero --- */
.app-icon {
  width: 100px;
  border-radius: 20%;

}

.appstore-btn img {
  height: 45px;
  cursor: pointer;
}

/* --- Features --- */
img.screenshot {
  height: 600px; /* or whatever height you prefer */
  object-fit: contain; /* or 'contain' to preserve aspect ratio */
}

.horizontal-features {
  max-width: 900px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.horizontal-features > div {
  flex: 1; /* Takes up 50% */
}

/*-- Spotlight --*/
.spotlight {
  max-width: 900px;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}

.spotlight > div:first-child {
  flex: 1; /* Takes up 50% */
  display: flex;
  justify-content: flex-start; /* Aligns spotlight-features to the left */
}

.spotlight > div:last-child {
  flex: 1; /* Takes up 50% */
  display: flex;
  justify-content: flex-end; /* Aligns screenshot to the right */
}

.spotlight-features {
  display: flex;
  flex-direction: column; /* Stack features vertically */
  gap: 2rem;
}

.spotlight-feature {
  display: flex;
  flex-direction: row; /* Icon and copy side by side */
  align-items: flex-start;
  gap: 1rem;
}

.spotlight-icon {
  flex-shrink: 0; /* Prevents icon from shrinking */
  width: 25px; /* Container size */
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0.75rem;
}

.spotlight-icon img {
  width: 100%; /* Makes icon 50% smaller */
  height: auto;
}

/* Individual icon background colors */
.ruler-icon .spotlight-icon {
  background: rgba(167, 121, 233, 0.1); /* Light purple */
}

.tag-icon .spotlight-icon {
  background: rgba(74, 220, 132, 0.1); /* Light green */
}

.notes-icon .spotlight-icon {
  background: rgba(78, 169, 245, 0.1); /* Light blue */
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.spotlight-copy h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.spotlight-copy p {
  margin-top: 0;
}

/* --- CTA --- */
.cta p {
  font-size: 1.5rem;
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
}

.cta .appstore-btn img {
  height: 70px;
}

/* --- More Apps --- */
.more-apps-link {
  color: var(--muted);
  font-weight: 600;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  padding: 2rem 0;
  background: #f1f2f3;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .left-text, .right-text {
    flex-direction: column-reverse;
    text-align: center;
  }

.hero {
  flex-direction: column;
  text-align: center;
  padding: 3rem 1.5rem;
  justify-content: center;
  align-items: center; /* <-- This centres everything horizontally */
}

.hero img {
  margin: 0 auto; /* <-- Ensures individual images also centre if block-level */
}

.horizontal-features {
  flex-direction: column;
  align-items: center;
}

.spotlight {
  flex-direction: column-reverse;
  text-align: center;
  gap: 2rem;
}
}