/* Global Styles */
:root {
  --color-bg: #ffffff;
  --color-text: #0a0a0a;
  --color-text-muted: #666666;
  --color-primary: #000000;

  --font-heading: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-mini-logo {
  width: 70px;
  height: auto;
  border-radius: 20px;
}

.hero-logo-text {
  max-height: 81px;
  height: auto;
  width: auto;
  max-width: min(72vw, 360px);
  object-fit: contain;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-actions {
  margin-bottom: 56px;
}

.app-store-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.app-store-link:hover {
  transform: translateY(-4px);
}

.download-badge {
  height: 56px;
  width: auto;
  display: block;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-shot {
  width: 320px;
  max-width: 80vw;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  user-select: none;
  -webkit-user-drag: none;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-nav {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.copyright {
  font-size: 0.8rem;
  color: #999;
  font-weight: 400;
}

/* Legal Pages */
.legal-page {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  font-weight: 500;
}

.back-link:hover {
  color: var(--color-primary);
}

.legal-content h1 {
  font-family: var(--font-body);
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1.1;
  font-weight: 600;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: 2rem;
  margin-top: 48px;
  margin-bottom: 24px;
  font-weight: 600;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
}

.legal-content h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.legal-content a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--color-text-muted);
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal-content hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 40px 0;
}

.contact-link {
  color: var(--color-primary);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: underline;
}

.response-time {
  margin-top: 24px;
}

/* Animations */
.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in {
  animation: fadeIn 0.7s ease forwards;
}

.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 90%;
    margin-bottom: 40px;
  }

  .hero-shot {
    width: 260px;
  }

  .footer-nav {
    gap: 24px;
  }

  .legal-content h1 {
    font-size: 2.4rem;
  }

  .legal-content h2 {
    font-size: 1.7rem;
  }
}
