@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #faf9f6;
  --bg-card: #ffffff;
  --text-main: #1c1b1a;
  --text-muted: #5c5b59;
  --text-light: #8e8d8a;
  --border-color: rgba(28, 27, 26, 0.08);
  --border-hover: rgba(28, 27, 26, 0.16);
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.serif-italics {
  font-family: var(--font-serif);
  font-style: italic;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
  border-bottom: none;
}

/* Navigation Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    gap: 0;
    padding: 1rem 2rem;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(28, 27, 26, 0.04);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }
}

/* Hero Section */
.hero {
  padding: 9rem 0 7rem;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  max-width: 780px;
}

.hero-content p {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-family: var(--font-serif);
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1.5px solid var(--text-main);
  padding-bottom: 2px;
}

.hero-cta:hover {
  border-color: transparent;
  color: var(--text-muted);
}

/* App Showcase */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

@media (max-width: 768px) {
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.25rem;
  transition: var(--transition-smooth);
}

.app-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.app-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.app-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 20%;
  border: 1px solid var(--border-color);
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.app-identity {
  display: flex;
  flex-direction: column;
}

.app-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  font-family: var(--font-sans);
}

.app-tagline {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.app-description {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.app-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  margin-top: auto;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background-color: transparent;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.btn-store:hover {
  background-color: rgba(28, 27, 26, 0.03);
  border-color: var(--border-hover);
  color: var(--text-main);
}

.policy-link {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: underline;
}

.policy-link:hover {
  color: var(--text-main);
}

/* Support Section */
.support-container {
  max-width: 650px;
}

.support-container h2 {
  margin-bottom: 1rem;
}

.support-email {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1.5px solid var(--text-main);
  margin-top: 0.75rem;
  padding-bottom: 2px;
}

.support-email:hover {
  border-color: transparent;
  color: var(--text-muted);
}

/* Footer */
footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

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

@media (max-width: 576px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-nav a:hover {
  color: var(--text-main);
}
