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

:root {
  --bg: #F5F0EB;
  --text: #2C2C2C;
  --accent: #6B8EA4;
  --secondary: #8FA7B8;
  --muted: #B8AFA6;
  --card-bg: #FFFFFF;
  --card-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --card-radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Josefin Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--text);
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 235, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 175, 166, 0.25);
  padding: 0 24px;
}

.navbar-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.navbar-brand {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.navbar-brand:hover {
  color: var(--accent);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-link {
  font-size: 0.8125rem;
  color: var(--muted);
  transition: color 0.2s;
}

.navbar-link:hover {
  color: var(--accent);
}

/* ── Layout ── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

main {
  flex: 1;
}

/* ── Keyframes ── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 24px 64px;
  background: radial-gradient(ellipse at 50% 30%, rgba(107, 142, 164, 0.08) 0%, transparent 70%);
}

.logo {
  margin-bottom: 32px;
  animation: fadeSlideUp 0.8s ease-out both;
}

.logo svg {
  width: 120px;
  height: 120px;
  filter: drop-shadow(0 4px 20px rgba(107, 142, 164, 0.3));
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  animation: fadeSlideUp 0.8s ease-out 0.15s both;
}

.hero h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.01em;
  animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 40px 36px;
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
}

/* ── Sections ── */
section {
  padding: 0;
}

section h2 {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

section p {
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Feature Highlights ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.feature-item {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
}

.feature-icon {
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature-item h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-item p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: none;
}

/* ── Contact ── */
.contact a.btn-pill {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  padding: 12px 32px;
  border-radius: 50px;
  border: none;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(107, 142, 164, 0.3);
}

.contact a.btn-pill:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(44, 44, 44, 0.25);
}

/* ── Footer ── */
footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid rgba(184, 175, 166, 0.3);
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

footer a {
  color: var(--muted);
  transition: color 0.2s;
}

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

footer .sep {
  margin: 0 4px;
}

/* ── Privacy Policy Page ── */
.page-header {
  text-align: center;
  padding: 48px 24px 32px;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-header .back {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--muted);
}

.page-header .back:hover {
  color: var(--accent);
}

.policy {
  padding: 0;
}

.policy h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 32px 0 12px;
}

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

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

.policy h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}

.policy h3:first-of-type {
  margin-top: 0;
}

.policy ul {
  margin: 0 0 12px 20px;
  font-size: 0.9375rem;
}

.policy li {
  margin-bottom: 6px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .card {
    padding: 32px 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 64px 24px 48px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .logo svg {
    width: 96px;
    height: 96px;
  }

  .page-header {
    padding: 40px 24px 24px;
  }

  .card {
    padding: 28px 20px;
    border-radius: 12px;
  }

  .feature-item {
    padding: 24px 20px;
    border-radius: 12px;
  }

  footer {
    flex-direction: column;
    gap: 4px;
  }

  footer .sep {
    display: none;
  }
}
