/* ── Design tokens — V.pick brand ── */
:root {
  --green:       #1d5c27;   /* logo background green  */
  --green-dark:  #163f1c;   /* darker shade            */
  --green-light: #e4efe5;   /* tinted surface          */
  --yellow:      #9ab52c;   /* pickleball olive-lime   */
  --yellow-light:#f3f7e0;   /* tinted yellow surface   */
  --dark:        #1a1a1a;
  --text:        #2e2e2e;
  --muted:       #606060;
  --border:      #dde5de;
  --white:       #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: #f5f8f5;
  line-height: 1.7;
}

/* ── Header ── */
header {
  background: var(--green);
  color: var(--white);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.logo-text { font-size: 1rem; font-weight: 700; line-height: 1.2; }
.logo-sub  { font-size: .75rem; opacity: .8; font-weight: 400; }

nav { display: flex; gap: 24px; }
nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .9rem;
  opacity: .9;
  transition: opacity .2s;
}
nav a:hover        { opacity: 1; text-decoration: underline; }
nav a.active       { opacity: 1; font-weight: 700; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 88px 24px 80px;
}
.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  font-size: 1.15rem;
  opacity: .88;
  max-width: 540px;
  margin: 0 auto 36px;
}
.hero-flags { font-size: 1.8rem; letter-spacing: .3em; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 7px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary   { background: var(--yellow); color: var(--white); }
.btn-secondary { background: rgba(255,255,255,.15); color: var(--white); border: 2px solid rgba(255,255,255,.5); }

/* ── Main wrapper ── */
main { max-width: 960px; margin: 0 auto; padding: 56px 24px 88px; }

/* ── Generic card ── */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .card { padding: 28px 20px; }
}

/* ── Section titles ── */
.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 8px;
}
.section-sub {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 28px;
}

/* ── Feature grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.feature-item {
  background: var(--green-light);
  border-radius: 10px;
  padding: 24px 20px;
  border: 1px solid var(--border);
}
.feature-icon { font-size: 2rem; margin-bottom: 10px; }
.feature-item h4 { font-size: 1rem; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.feature-item p  { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ── CTA / Contact card ── */
.cta-card {
  background: var(--green);
  color: var(--white);
  border-radius: 12px;
  padding: 48px 44px;
  text-align: center;
  margin-bottom: 32px;
}
@media (max-width: 600px) {
  .cta-card { padding: 32px 20px; }
}
.cta-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.cta-card p  { opacity: .9; font-size: .95rem; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Divider ── */
.divider {
  border: none;
  border-top: 2px solid var(--green-light);
  margin: 28px 0;
}

/* ── Footer ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  text-align: center;
  padding: 32px 24px;
  font-size: .85rem;
}
footer strong { color: rgba(255,255,255,.9); }
.footer-links { margin-top: 10px; }
.footer-links a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  margin: 0 10px;
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,.9); }

/* ── Privacy policy specific ── */
.policy-header {
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.policy-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 6px;
}
.policy-header .meta { font-size: .85rem; color: var(--muted); }
.policy-header .meta .badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  margin-left: 8px;
}

.policy-section { margin-bottom: 36px; }
.policy-section:last-child { margin-bottom: 0; }
.policy-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-num {
  width: 26px;
  height: 26px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.policy-section p { font-size: .95rem; margin-bottom: 10px; }
.policy-section p:last-child { margin-bottom: 0; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: 14px 0;
  border-radius: 8px;
  overflow: hidden;
}
.data-table th {
  background: var(--green);
  color: var(--white);
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
}
.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--green-light); }

.highlight-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  font-size: .9rem;
  margin: 14px 0;
}
.highlight-box strong { color: var(--green); }

ul.policy-list { padding-left: 0; list-style: none; margin: 10px 0; }
ul.policy-list li { font-size: .95rem; padding: 4px 0 4px 24px; position: relative; }
ul.policy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Language toggle ── */
.lang-toggle {
  background: rgba(255,255,255,.14);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.38);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .04em;
  transition: background .2s;
  white-space: nowrap;
}
.lang-toggle:hover { background: rgba(255,255,255,.26); }

/* ── About Us cover image ── */
.about-cover {
  display: block;
  width: calc(100% + 88px);
  margin: -40px -44px 28px;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}
@media (max-width: 600px) {
  .about-cover { width: calc(100% + 40px); margin: -28px -20px 20px; }
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.btn-ig:hover { opacity: .88; transform: translateY(-1px); }

/* ══════════════════════════════════════
   MOBILE — Hamburger nav
═══════════════════════════════════════ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════
   MOBILE — 768px and below
═══════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header */
  .nav-inner { height: 60px; }
  .logo-sub   { display: none; }

  /* Nav collapses into drawer */
  .nav-burger { display: flex; }
  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 20px;
    gap: 0;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
    z-index: 99;
  }
  nav.open { display: flex; }
  nav a {
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    opacity: 1;
  }
  nav a:last-of-type { border-bottom: none; }
  .lang-toggle {
    margin: 12px 24px 0;
    padding: 12px;
    font-size: .9rem;
    border-radius: 8px;
    text-align: center;
  }

  /* Hero */
  .hero { padding: 48px 20px 44px; }
  .hero p { font-size: 1rem; margin-bottom: 28px; }

  /* Hero buttons stack full-width */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions .btn { text-align: center; padding: 14px 20px; }

  /* Main */
  main { padding: 28px 16px 60px; }

  /* Cards */
  .card        { padding: 24px 18px; margin-bottom: 20px; }
  .cta-card    { padding: 32px 20px; }

  /* Feature grid: 2 cols */
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Table: horizontal scroll */
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table   { min-width: 480px; }

  /* Data deletion steps */
  .steps li { gap: 12px; }

  /* Info grid */
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   MOBILE — 480px and below (phones)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  /* Logo: hide text, show image only */
  .logo-text { display: none; }

  /* Hero */
  .hero { padding: 36px 16px 36px; }
  .hero img[alt="V.pick"] { width: 88px !important; height: 88px !important; margin-bottom: 20px !important; }

  /* Main */
  main { padding: 20px 12px 52px; }

  /* Cards */
  .card { padding: 20px 16px; border-radius: 10px; }

  /* Feature grid: 1 col */
  .feature-grid { grid-template-columns: 1fr; }

  /* Section titles */
  .section-title { font-size: 1.3rem; }

  /* Policy header badge: wrap onto new line */
  .policy-header .meta .badge { display: block; margin: 6px 0 0; }

  /* Info grid: 1 col */
  .info-grid { grid-template-columns: 1fr; }

  /* CTA btn full-width */
  .cta-card .btn, .contact-card .btn { display: block; text-align: center; }

}
