/* Arrow Puzzle - Clean White Minimalist Design System */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #fbfbfc;
  --bg-card: #ffffff;
  --bg-subtle: #f4f5f7;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --brand-green: #059669;
  --brand-green-hover: #047857;
  --brand-green-subtle: #ecfdf5;
  --brand-blue: #0284c7;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-mockup: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-width: 1120px;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
}

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

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

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

.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: var(--text-primary);
  color: #ffffff !important;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--brand-green-subtle);
  border: 1px solid #bbf7d0;
  color: var(--brand-green);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto 20px;
}

.hero-title span {
  color: var(--brand-green);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

/* Store Buttons */
.store-buttons-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 50px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background-color: var(--text-primary);
  color: #ffffff;
  border-radius: 14px;
  min-width: 200px;
  text-align: left;
  border: 1px solid #1e293b;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
}

.store-tagline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
  line-height: 1.2;
}

.store-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.availability-note {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Hero Showcase Mockups */
.showcase-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.phone-card {
  flex: 1;
  max-width: 320px;
  background: #ffffff;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-mockup);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.3s ease;
}

.phone-card:hover {
  transform: translateY(-6px);
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background-color: #f8fafc;
  aspect-ratio: 9 / 19.5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-caption {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

/* Feature Cards Section */
.features-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-green);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-description {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-box:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Visual Highlights / Gameplay Details */
.gameplay-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.gameplay-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.gameplay-text h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.gameplay-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.gameplay-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gameplay-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.check-icon {
  color: var(--brand-green);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.4;
}

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

/* Call to Action Banner */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
}

.cta-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 56px 32px;
  max-width: 860px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background-color: #ffffff;
  padding: 48px 0 32px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand-link {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Privacy Policy Page Specific Styles */
.policy-wrap {
  padding: 60px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.policy-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.policy-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.policy-content section {
  margin-bottom: 36px;
}

.policy-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.policy-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 10px;
}

.policy-content p,
.policy-content ul {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.policy-content ul {
  padding-left: 24px;
}

.policy-content li {
  margin-bottom: 8px;
}

.highlight-box {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-green);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .gameplay-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .gameplay-list {
    align-items: center;
    text-align: left;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .store-buttons {
    flex-direction: column;
    width: 100%;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .phone-card {
    max-width: 280px;
  }

  .nav-links {
    display: none;
  }
}
