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

body {
  font-family: system-ui, -apple-system;
  background: #e5e5ea;
}

.desktop-bg {
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      1200px 600px at 50% -200px,
      rgba(255,255,255,0.9),
      rgba(245,245,247,0.9) 40%,
      rgba(229,229,234,1) 70%
    ),
    linear-gradient(
      to bottom,
      #f5f5f7 0%,
      #e5e5ea 100%
    );
}

.app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f2f2f7;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.nav-bar {
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  backdrop-filter: blur(20px);
  background: rgba(242,242,247,.85);
}

.content {
  flex: 1;
  padding: 24px 16px 96px;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}
.hero-card img {
  transition: transform .1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-overlay h1 {
  margin-bottom: 4px;
}
.hero-card {
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.0)
  );
}
.card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  margin-top: 12px;
}

.value-list {
  margin: 12px 0;
  padding-left: 18px;
}

.value-list li {
  margin-bottom: 6px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
}

.primary { background: #007aff; color: #fff; }
.secondary { border: 1px solid #007aff; color: #007aff; background: none; }

.ios-list {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.list-row {
  padding: 14px 16px;
  border-bottom: 1px solid #f2f2f7;
  cursor: pointer;
}

.tab-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;

  display: flex;
  justify-content: space-around;
  padding: 10px 0 18px;

  background: rgba(242,242,247,.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,.06);
}

.tab { border: none; background: none; font-size: 12px; }
.tab.active { color: #007aff; font-weight: 600; }

/* Bottom sheet */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  background: #f2f2f7;
  border-radius: 24px 24px 0 0;
  padding: 16px;
  transition: bottom .35s cubic-bezier(.22,.61,.36,1);
}

.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet-open .bottom-sheet { bottom: 0; }

.tap:active { transform: scale(.97); }
/* =========================
   HERO IMAGE – GRAIN / NOISE
========================= */

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* FOTO GRAIN OVERLAY */
.profile-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}

.profile-card img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* =========================
   PRICING / ENGAGEMENT
========================= */

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-list li strong {
  display: inline-block;
  margin-bottom: 2px;
}

/* =========================
   ANALYTICS CLICK FEEDBACK
========================= */

.track {
  position: relative;
}

.track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(0,122,255,0.08);
  opacity: 0;
  transition: opacity .15s ease;
}

.track:active::after {
  opacity: 1;
}
/* =========================
   DARK MODE (iOS STYLE)
========================= */

:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #000000;
  --muted: #6e6e73;
  --border: #e5e5ea;
}

body.dark {
  --bg: #000000;
  --card: #1c1c1e;
  --text: #ffffff;
  --muted: #8e8e93;
  --border: #2c2c2e;
}

/* Global */
body {
  background: var(--bg);
  color: var(--text);
}

.app {
  background: var(--bg);
}

.card,
.ios-list,
.bottom-sheet {
  background: var(--card);
}

p, li {
  color: var(--text);
}

.section-title,
h1, h2, h3 {
  color: var(--text);
}

/* Nav */
.nav-bar {
  background: rgba(242,242,247,.85);
}

body.dark .nav-bar {
  background: rgba(28,28,30,.85);
}

/* Tabs */
.tab {
  color: var(--muted);
}

.tab.active {
  color: #007aff;
}

/* Borders */
.list-row {
  border-bottom: 1px solid var(--border);
}

/* Backdrop */
body.dark .sheet-backdrop {
  background: rgba(0,0,0,.6);
}

/* Desktop background dark */
body.dark .desktop-bg {
  background:
    radial-gradient(
      1200px 600px at 50% -200px,
      rgba(60,60,67,0.9),
      rgba(28,28,30,1)
    );
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system;
  background: #e5e5ea;
}

.desktop-bg {
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      1200px 600px at 50% -200px,
      rgba(255,255,255,0.9),
      rgba(245,245,247,0.9) 40%,
      rgba(229,229,234,1) 70%
    ),
    linear-gradient(
      to bottom,
      #f5f5f7 0%,
      #e5e5ea 100%
    );
}

.app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f2f2f7;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.nav-bar {
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  backdrop-filter: blur(20px);
  background: rgba(242,242,247,.85);
}

.content {
  flex: 1;
  padding: 24px 16px 110px;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 56vh;
  max-height: 420px;
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-overlay h1 {
  margin-bottom: 4px;
}
.hero-card {
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.0)
  );
}
.card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  margin-top: 12px;
}

.value-list {
  margin: 12px 0;
  padding-left: 18px;
}

.value-list li {
  margin-bottom: 6px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
}

.primary { background: #007aff; color: #fff; }
.secondary { border: 1px solid #007aff; color: #007aff; background: none; }

.ios-list {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.list-row {
  padding: 14px 16px;
  border-bottom: 1px solid #f2f2f7;
  cursor: pointer;
}

.tab {
  border: none;
  background: none;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  color: var(--muted);
}

.tab { border: none; background: none; font-size: 12px; }
.tab.active { color: #007aff; font-weight: 600; }

/* Bottom sheet */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  background: #f2f2f7;
  border-radius: 24px 24px 0 0;
  padding: 16px;
  transition: bottom .35s cubic-bezier(.22,.61,.36,1);
}

.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet-open .bottom-sheet { bottom: 0; }

.tap:active { transform: scale(.97); }
/* =========================
   HERO IMAGE – GRAIN / NOISE
========================= */

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* FOTO GRAIN OVERLAY */
.profile-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}

.profile-card img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* =========================
   PRICING / ENGAGEMENT
========================= */

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-list li strong {
  display: inline-block;
  margin-bottom: 2px;
}

/* =========================
   ANALYTICS CLICK FEEDBACK
========================= */

.track {
  position: relative;
}

.track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(0,122,255,0.08);
  opacity: 0;
  transition: opacity .15s ease;
}

.track:active::after {
  opacity: 1;
}
/* =========================
   DARK MODE (iOS STYLE)
========================= */

:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #000000;
  --muted: #6e6e73;
  --border: #e5e5ea;
}

body.dark {
  --bg: #000000;
  --card: #1c1c1e;
  --text: #ffffff;
  --muted: #8e8e93;
  --border: #2c2c2e;
}

/* Global */
body {
  background: var(--bg);
  color: var(--text);
}

.app {
  background: var(--bg);
}

.card,
.ios-list,
.bottom-sheet {
  background: var(--card);
}

p, li {
  color: var(--text);
}

.section-title,
h1, h2, h3 {
  color: var(--text);
}

/* Nav */
.nav-bar {
  background: rgba(242,242,247,.85);
}

body.dark .nav-bar {
  background: rgba(28,28,30,.85);
}

/* Tabs */
.tab {
  color: var(--muted);
}

.tab.active {
  color: #007aff;
}

/* Borders */
.list-row {
  border-bottom: 1px solid var(--border);
}

/* Backdrop */
body.dark .sheet-backdrop {
  background: rgba(0,0,0,.6);
}

/* Desktop background dark */
body.dark .desktop-bg {
  background:
    radial-gradient(
      1200px 600px at 50% -200px,
      rgba(60,60,67,0.9),
      rgba(28,28,30,1)
    );
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system;
  background: #e5e5ea;
}

.desktop-bg {
  position: fixed;
  inset: 0;
  z-index: -1;

  background:
    radial-gradient(
      1200px 600px at 50% -200px,
      rgba(255,255,255,0.9),
      rgba(245,245,247,0.9) 40%,
      rgba(229,229,234,1) 70%
    ),
    linear-gradient(
      to bottom,
      #f5f5f7 0%,
      #e5e5ea 100%
    );
}

.app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #f2f2f7;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.nav-bar {
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  backdrop-filter: blur(20px);
  background: rgba(242,242,247,.85);
}

.content {
  flex: 1;
  padding: 24px 16px 96px;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 56vh;          
  max-height: 420px;     
  object-fit: cover;
  object-position: center 20%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  padding: 16px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-overlay h1 {
  margin-bottom: 4px;
}
.hero-card {
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.04),
    rgba(255,255,255,.0)
  );
}
.card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  margin-top: 12px;
}

.value-list {
  margin: 12px 0;
  padding-left: 18px;
}

.value-list li {
  margin-bottom: 6px;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.btn {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
}

.primary { background: #007aff; color: #fff; }
.secondary { border: 1px solid #007aff; color: #007aff; background: none; }

.ios-list {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
}

.list-row {
  padding: 14px 16px;
  border-bottom: 1px solid #f2f2f7;
  cursor: pointer;
}

.tab-bar {
  display: flex;
  justify-content: space-around;
  padding: 12px 0 24px;
  background: rgba(242,242,247,.9);
}

.tab { border: none; background: none; font-size: 12px; }
.tab.active { color: #007aff; font-weight: 600; }

/* Bottom sheet */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.bottom-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  background: #f2f2f7;
  border-radius: 24px 24px 0 0;
  padding: 16px;
  transition: bottom .35s cubic-bezier(.22,.61,.36,1);
}

.sheet-open .sheet-backdrop { opacity: 1; pointer-events: auto; }
.sheet-open .bottom-sheet { bottom: 0; }

.tap:active { transform: scale(.97); }
/* =========================
   HERO IMAGE – GRAIN / NOISE
========================= */

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: overlay;
}
/* FOTO GRAIN OVERLAY */
.profile-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;

  box-shadow:
    0 6px 20px rgba(0,0,0,0.15),
    inset 0 0 0 1px rgba(255,255,255,0.4);
}

.profile-card img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}
/* =========================
   PRICING / ENGAGEMENT
========================= */

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-list li strong {
  display: inline-block;
  margin-bottom: 2px;
}

/* =========================
   ANALYTICS CLICK FEEDBACK
========================= */

.track {
  position: relative;
}

.track::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(0,122,255,0.08);
  opacity: 0;
  transition: opacity .15s ease;
}

.track:active::after {
  opacity: 1;
}
/* =========================
   DARK MODE (iOS STYLE)
========================= */

:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #000000;
  --muted: #6e6e73;
  --border: #e5e5ea;
}

body.dark {
  --bg: #000000;
  --card: #1c1c1e;
  --text: #ffffff;
  --muted: #8e8e93;
  --border: #2c2c2e;
}

/* Global */
body {
  background: var(--bg);
  color: var(--text);
}

.app {
  background: var(--bg);
}

.card,
.ios-list,
.bottom-sheet {
  background: var(--card);
}

p, li {
  color: var(--text);
}

.section-title,
h1, h2, h3 {
  color: var(--text);
}

/* Nav */
.nav-bar {
  background: rgba(242,242,247,.85);
}

body.dark .nav-bar {
  background: rgba(28,28,30,.85);
}

/* Tabs */
.tab {
  color: var(--muted);
}

.tab.active {
  color: #007aff;
}

/* Borders */
.list-row {
  border-bottom: 1px solid var(--border);
}

/* Backdrop */
body.dark .sheet-backdrop {
  background: rgba(0,0,0,.6);
}

/* Desktop background dark */
body.dark .desktop-bg {
  background:
    radial-gradient(
      1200px 600px at 50% -200px,
      rgba(60,60,67,0.9),
      rgba(28,28,30,1)
    );
}
.card {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.85);
}
body.dark .card {
  background: rgba(28,28,30,.85);
}
.card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:active {
  transform: scale(.985);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.card {
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:active {
  transform: scale(.985);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.primary {
  box-shadow: 0 6px 20px rgba(0,122,255,.35);
}

.btn {
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:active {
  transform: scale(.96);
}

.list-row {
  transition: background .15s ease;
}

.list-row:active {
  background: rgba(0,0,0,.04);
}

body.dark .list-row:active {
  background: rgba(255,255,255,.06);
}

.tab.active {
  position: relative;
}

.tab.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 20px;
  height: 3px;
  background: #007aff;
  border-radius: 2px;
  transform: translateX(-50%);
}

.content {
  scroll-behavior: smooth;
}
.sheet-open .bottom-sheet {
  animation: sheetPop .35s ease-out;
}

@keyframes sheetPop {
  from {
    transform: translateY(40px);
  }
  to {
    transform: translateY(0);
  }
}

.skeleton {
  background: linear-gradient(
    90deg,
    #e5e5ea 25%,
    #f2f2f7 37%,
    #e5e5ea 63%
  );
  background-size: 400% 100%;
  animation: skeleton 1.4s ease infinite;
  border-radius: 12px;
  height: 16px;
  margin-bottom: 10px;
}

@keyframes skeleton {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #007aff;
  transition: width .1s linear;
}
.tab-content {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}

.tab-content.active {
  opacity: 1;
  transform: translateY(0);
}
.btn.primary {
  box-shadow: 0 8px 20px rgba(0,122,255,.25);
}

.btn.primary:active {
  box-shadow: 0 4px 12px rgba(0,122,255,.35);
}
.bottom-sheet {
  will-change: transform;
}
/* =========================
   TAB BAR – ACTIVE STATE
========================= */

.tab.active {
  color: #007aff;
  font-weight: 600;
  background: rgba(0,122,255,.12);
  padding: 6px 10px;
  border-radius: 10px;
}
body.dark .tab-bar {
  background: rgba(28,28,30,.92);
  border-top: 1px solid rgba(255,255,255,.08);
}