/* ============================================================
   kept — Website Stylesheet
   Apple-inspired minimal design with brand tokens
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500;700&display=swap');

/* ---- Custom Properties ---- */
:root {
  --accent: #ADE935;
  --accent-end: #95DADA;
  --bg: #FFFFFF;
  --bg-muted: #EBEDE8;
  --bg-gradient-top: #B8D9BE;
  --bg-gradient-bottom: #E8EAE3;
  --text-primary: #0B0B09;
  --text-secondary: #484946;
  --text-tertiary: #6C6D69;
  --border: #E2E4DD;
  --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  --card-radius: 20px;
  --btn-radius: 16px;
  --nav-height: 64px;
  --container: 1120px;
  --footer-bg: #1C1E1A;
  --footer-text: #F0F2EC;
  --footer-muted: #9EA09A;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1E1A;
    --bg-muted: #252720;
    --bg-gradient-top: #141814;
    --bg-gradient-bottom: #1E221E;
    --text-primary: #F0F2EC;
    --text-secondary: #9EA09A;
    --text-tertiary: #5C5E5A;
    --border: #2E322D;
    --card-shadow: 0 4px 8px rgba(0, 0, 0, 0.30);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8125rem; }

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

.section {
  padding: 80px 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent);
  color: #0B0B09;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 1000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ---- Navigation ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.85);
}

@media (prefers-color-scheme: dark) {
  .nav {
    background: rgba(28, 30, 26, 0.85);
  }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-brand .brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.nav-brand .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--bg-gradient-bottom) 40%, var(--bg) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  max-width: 520px;
}

.hero-content h1 {
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content .subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 280px;
  height: 570px;
  background: var(--bg-muted);
  border-radius: 40px;
  border: 3px solid var(--border);
  padding: 16px;
  position: relative;
  box-shadow: var(--card-shadow), 0 20px 60px rgba(0, 0, 0, 0.08);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 28px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--accent);
  color: #0B0B09;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--btn-radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(173, 233, 53, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--btn-radius);
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--text-secondary);
  background: var(--bg-muted);
}

.app-store-badge {
  height: 52px;
  transition: transform 0.2s;
}

.app-store-badge:hover {
  transform: translateY(-1px);
}

/* ---- Privacy Banner ---- */
.privacy-banner {
  background: var(--accent);
  padding: 40px 0;
}

.privacy-banner .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.privacy-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.privacy-pillar .pillar-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 4px;
  color: #0B0B09;
}

.privacy-pillar h3 {
  font-size: 1rem;
  color: #0B0B09;
  margin: 0;
}

.privacy-pillar p {
  font-size: 0.875rem;
  color: rgba(11, 11, 9, 0.7);
  max-width: 240px;
}

/* ---- Cards ---- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

@media (prefers-color-scheme: dark) {
  .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9375rem;
}

/* ---- Feature Grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- Steps (How It Works) ---- */
.steps-section {
  background: var(--bg-muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #0B0B09;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step h3 {
  font-size: 1.125rem;
}

.step p {
  font-size: 0.9375rem;
  max-width: 260px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--border);
}

/* ---- Screenshot Showcase ---- */
.showcase-section {
  overflow: hidden;
}

.showcase-scroll {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px;
}

.showcase-item {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--border);
  transition: transform 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .showcase-item {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }
}

.showcase-item:hover {
  transform: translateY(-4px);
}

.showcase-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-gradient-bottom) 100%);
}

.cta-section .cta-icon {
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin: 0 auto 24px;
}

.cta-section .cta-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  margin-bottom: 32px;
  font-size: 1.0625rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .brand-name {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-name .brand-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-brand .brand-name .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand p {
  color: var(--footer-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8125rem;
  letter-spacing: 1px;
  color: var(--footer-muted);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--footer-text);
  font-size: 0.9375rem;
  padding: 6px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid #2E322D;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--footer-muted);
}

/* ---- Page Header (Support / Privacy) ---- */
.page-header {
  padding: 80px 0 48px;
  background: linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--bg) 100%);
  text-align: center;
}

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

.page-header p {
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ---- FAQ ---- */
.faq-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  gap: 16px;
}

.faq-question:hover {
  color: var(--text-secondary);
}

.faq-question .faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.faq-question .faq-chevron svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-tertiary);
}

.faq-item.active .faq-question .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---- Contact Card ---- */
.contact-card {
  text-align: center;
  padding: 48px;
  margin-top: 24px;
}

.contact-card .contact-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.contact-card h3 {
  margin-bottom: 8px;
}

.contact-card a {
  color: var(--text-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.contact-card a:hover {
  border-color: var(--text-primary);
}

/* ---- Privacy Policy Content ---- */
.policy-content {
  max-width: 720px;
  margin: 0 auto;
}

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

.policy-section h2 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

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

.policy-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-section ul li {
  list-style: disc;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding: 3px 0;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.9375rem;
}

.policy-table th,
.policy-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.policy-table th {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.policy-table td {
  color: var(--text-secondary);
}

/* ---- Animations ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.08s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.16s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.24s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.32s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-frame {
    width: 220px;
    height: 450px;
    border-radius: 32px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .phone-screen img {
    border-radius: 22px;
  }

  .showcase-item {
    width: 160px;
    border-radius: 20px;
  }

  .privacy-banner .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .page-header {
    padding: 56px 0 36px;
  }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .card { padding: 24px; }
  .contact-card { padding: 32px 24px; }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }
}
