/* ---------- THEME VARIABLES (MATCH APP) ---------- */

:root {
  --app-terracotta: #ea7643;
  --app-golden: #f3b295;
  --app-peach: #f8d0bf;
  --app-brown: #7A3C1E;

  --app-cream: #fceee8;
  --app-surface: #FFFFFF;
  --app-surface-secondary: #f8d0bf;

  --app-text-primary: #2C1503;
  --app-text-secondary: #8B5030;

  --grad-a: var(--app-cream);
  --grad-b: var(--app-golden);
  --grad-c: var(--app-terracotta);

  --text: var(--app-text-primary);
  --text-soft: var(--app-text-secondary);

  --bg: var(--app-cream);
  --surface: var(--app-surface);
  --surface-secondary: var(--app-surface-secondary);
  --border-subtle: rgba(0, 0, 0, 0.07);

  --cta: var(--app-terracotta);
  --cta-hover: #d4612e;
  --cta-ghost-bg: transparent;
  --cta-ghost-text: var(--app-terracotta);
  --cta-border: rgba(234, 118, 67, 0.55);
}

html[data-theme="dark"] {
  --app-terracotta: #f08055;
  --app-golden: #f3b295;
  --app-peach: #c47050;
  --app-brown: #c47050;

  --app-cream: #1E0F08;
  --app-surface: #2B1508;
  --app-surface-secondary: #3D200E;

  --app-text-primary: #fceee8;
  --app-text-secondary: #c49070;

  --grad-a: var(--app-surface);
  --grad-b: #7a3820;
  --grad-c: #3D200E;

  --text: var(--app-text-primary);
  --text-soft: var(--app-text-secondary);

  --bg: var(--app-cream);
  --surface: var(--app-surface);
  --surface-secondary: var(--app-surface-secondary);
  --border-subtle: rgba(255, 255, 255, 0.10);

  --cta: var(--app-golden);
  --cta-hover: #fac9ad;
  --cta-ghost-bg: transparent;
  --cta-ghost-text: var(--app-golden);
  --cta-border: rgba(243, 178, 149, 0.65);
}

/* ---------- GLOBAL ---------- */

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---------- HEADER ---------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.theme-toggle {
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 13px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  background: var(--surface-secondary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.instagram-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.instagram-link:hover {
  color: var(--cta);
}

/* ---------- LAUNCH BANNER ---------- */

.launch-banner {
  background: var(--app-terracotta);
  color: white;
  text-align: center;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1rem;
}

.launch-banner p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.launch-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
/* ---------- PRIVACY PAGE ---------- */

main h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.privacy-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.privacy-updated {
  font-size: 0.9rem;
  color: var(--text-soft);
}

main h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 16px;
}

main h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 12px;
}

main h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 8px;
}

main p, main ul, main ol {
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

main ul, main ol {
  padding-left: 20px;
}

main li {
  margin-bottom: 8px;
}
/* ---------- HERO ---------- */

.hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: linear-gradient(
    135deg,
    var(--grad-a) 0%,
    var(--grad-b) 55%,
    var(--grad-c) 100%
  );
}

.hero-content {
  text-align: center;
  max-width: 680px;
  background: rgba(252, 238, 232, 0.78);
  padding: 40px 36px;
  border-radius: 24px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .hero-content {
  background: rgba(26, 18, 8, 0.72);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0 auto 28px;
  max-width: 540px;
}

/* ---------- BUTTONS ---------- */

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

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: 0.1px;
  transition: transform 0.2s ease, background-color 0.2s ease,
    color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn.primary {
  background: var(--cta);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  border: none;
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: var(--cta-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.btn.ghost {
  background: var(--cta-ghost-bg);
  color: var(--cta-ghost-text);
  border: 2px solid var(--cta-border);
  padding: 12px 24px;
}

.btn.ghost:hover {
  transform: translateY(-2px);
  background: var(--surface-secondary);
}

/* ---------- FEATURES SECTION ---------- */

.features {
  background: var(--surface);
  padding: 72px 24px;
}

.features-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--surface-secondary);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

html[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ---------- NOTIFY SECTION ---------- */

.notify {
  background: var(--surface-secondary);
  padding: 72px 24px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.notify-inner {
  max-width: 520px;
  margin: 0 auto;
}

.notify h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.notify p {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  line-height: 1.6;
}

.notify-form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.notify-input {
  flex: 1;
  min-width: 220px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text);
  font-size: 0.975rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-input:focus {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(234, 118, 67, 0.18);
}

html[data-theme="dark"] .notify-input:focus {
  box-shadow: 0 0 0 3px rgba(245, 184, 122, 0.2);
}

.notify-disclaimer {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 12px;
  margin-bottom: 0;
}

.privacy-link {
  color: inherit;
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */

.site-footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-soft);
  font-size: 0.9rem;
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
}

.footer-sub {
  margin-top: 6px;
  font-size: 0.82rem;
  opacity: 0.75;
}

.social-links {
  margin-top: 16px;
}

.social-links a {
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--cta);
}

.instagram-icon {
  fill: currentColor;
  vertical-align: middle;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 700px) {
  .hero {
    min-height: 50vh;
    padding: 32px 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-content {
    padding: 28px 20px;
  }

  .site-header {
    padding: 14px 18px;
    flex-direction: column;
    gap: 12px;
  }

  .header-right {
    justify-content: center;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
  }

  .feature-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
  }

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

  .features {
    padding: 48px 16px;
  }

  .notify {
    padding: 48px 16px;
  }

  .notify-form {
    flex-direction: column;
    align-items: stretch;
  }

  .notify-input {
    width: 100%;
  }

  .site-footer {
    padding: 24px 16px;
  }
}
