/* Global Variables */
:root {
  --primary-color: #007AFF; /* Apple Blue */
  --text-color: #1c1c1e;
  --secondary-text: #8e8e93;
  --background-color: #ffffff;
  --section-bg: #f5f5f7;
  --border-color: #d1d1d6;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 980px;
  --radius: 12px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

/* Layout Utilities */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Header */
header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 0 60px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1c1c1e 0%, #3a3a3c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.5rem;
  color: var(--secondary-text);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.app-store-button {
  display: inline-block;
}

.app-store-button img {
  height: 50px;
  border-radius: 8px; /* Standard Apple Badge radius approximation */
}

/* Screenshots Section */
.screenshots {
  background-color: var(--section-bg);
  overflow: hidden;
}

.screenshots-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0 40px; /* Space for scrollbar/shadow */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.screenshot-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 280px; /* Approximate iPhone width scale */
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  background: #000;
  border: 8px solid #000; /* Bezel effect */
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  color: var(--secondary-text);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-color);
}

footer .links {
  margin-bottom: 16px;
}

footer .links a {
  margin: 0 12px;
  color: var(--secondary-text);
}

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

/* Legal Pages */
.legal-page {
  padding: 60px 0;
  max-width: 700px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 32px 0 16px;
}

.legal-page p {
  margin-bottom: 16px;
  color: #48484a;
}
