/* ========================================
   Page-specific Styles
   ======================================== */

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-blue-light) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(237, 204, 179, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  animation: fadeIn 1s ease 1s both;
}

.scroll-indicator::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
}

/* --- App Showcase --- */
.app-showcase {
  text-align: center;
}

.app-showcase .section-title { margin-bottom: 12px; }

.app-showcase .section-desc {
  max-width: 600px;
  margin: 0 auto 60px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-blue-light);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

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

.feature-card { text-align: left; }
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; }

/* --- Values --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 48px 32px;
}

.value-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  background: var(--accent-blue-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
}

.value-icon svg { width: 28px; height: 28px; }

.value-card h3 { margin-bottom: 12px; }
.value-card p { font-size: 0.9375rem; }

/* --- Company Intro --- */
.company-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.company-intro p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.product-card {
  text-align: center;
  padding: 40px 32px;
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

.product-card .btn,
.product-card .app-store-btn {
  margin-top: auto;
}

/* --- Legal Pages (Privacy, Terms) --- */
.legal-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: var(--section-padding);
  min-height: 100vh;
}

.legal-page .page-header {
  text-align: center;
  margin-bottom: 48px;
}

.legal-page .page-header h1 { margin-bottom: 12px; }

.legal-page .page-header .last-updated {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section { margin-bottom: 40px; }

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.legal-section p {
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 12px;
}

.legal-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.legal-section ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

/* --- Support Page --- */
.support-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: var(--section-padding);
  min-height: 100vh;
}

.support-page .page-header {
  text-align: center;
  margin-bottom: 60px;
}

.support-page .page-header h1 { margin-bottom: 12px; }

.faq-container {
  max-width: 720px;
  margin: 0 auto 60px;
}

.faq-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.support-contact {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.support-contact h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.support-contact p { margin-bottom: 20px; }

/* --- About Page --- */
.about-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: var(--section-padding);
  min-height: 100vh;
}

.about-page .page-header {
  text-align: center;
  margin-bottom: 60px;
}

.about-section {
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1rem;
  margin-bottom: 16px;
}

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

.philosophy-card { padding: 32px; }
.philosophy-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.philosophy-card p { font-size: 0.875rem; }

/* --- Contact Page --- */
.contact-page {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: var(--section-padding);
  min-height: 100vh;
}

.contact-page .page-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-grid {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
}

.contact-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-blue-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-info h3 { font-size: 1rem; margin-bottom: 4px; }

.contact-info p,
.contact-info a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.contact-info a:hover { color: var(--accent-blue); }

/* --- App Store Button --- */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--text-primary);
  color: var(--bg-cream);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all var(--transition-base);
  text-decoration: none;
}

.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  color: var(--bg-cream);
}

.app-store-btn svg { width: 20px; height: 20px; }

/* --- 404 Page --- */
.not-found-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-height);
}

.not-found-content {
  animation: fadeInUp 0.8s ease;
}

.not-found-code {
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Page entrance --- */
main {
  animation: fadeIn 0.4s ease;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer { display: none; }
  body { padding: 0; }
  .legal-page { padding-top: 0; }
}
