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

:root {
  --accent: #1D9E75;
  --accent-hover: #17866200;
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #888888;
  --bg: #ffffff;
  --bg-card: #f9f9f9;
  --border: #e8e8e8;
  --radius: 12px;
  --max-width: 760px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

section {
  padding: 80px 0;
}

section + section {
  border-top: 1px solid var(--border);
}

/* ===== Nav ===== */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

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

.nav-logo {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

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

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

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ===== Hero ===== */
#hero {
  padding: 100px 0 80px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

#hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

#hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.7;
}

/* ===== About ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.about-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.about-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-photo {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }
}

/* ===== Apps ===== */
#apps h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card.placeholder {
  border-style: dashed;
  opacity: 0.55;
}

.app-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.app-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.app-icon-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 2px dashed var(--border);
  background: transparent;
}

.app-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.app-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  width: fit-content;
  margin-top: 4px;
  transition: opacity 0.15s;
}

.app-store-badge:hover {
  opacity: 0.8;
  text-decoration: none;
}

.app-store-badge svg {
  width: 16px;
  height: 16px;
}

.app-card .privacy-link {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.app-card .privacy-link:hover {
  color: var(--accent);
}

.coming-soon-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ===== Contact ===== */
#contact h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

#contact p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 18px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}

.contact-email:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

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

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

footer a {
  font-size: 0.8rem;
  color: var(--text-muted);
}

footer a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  transition: border-color 0.15s, color 0.15s;
}

.social-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

/* ===== Privacy Page ===== */
.privacy-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.privacy-header .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.privacy-header .back-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.privacy-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.privacy-header .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.privacy-content {
  padding: 56px 0 80px;
}

.privacy-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 10px;
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.75;
}

.privacy-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.privacy-content ul li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  #hero {
    padding: 72px 0 56px;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }

  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
