@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(20px) translateY(-10px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

:root {
  --bg: #070a12;
  --bg-alt: #0c1224;
  --ink: #f4f6fb;
  --accent: #e6f375;
  --accent-dark: #b7c24d;
  --muted: #a4adbf;
  --card: #111827;
  --line: rgba(244, 246, 251, 0.12);
  --glow: rgba(230, 243, 117, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(111, 140, 255, 0.14), transparent 55%),
    radial-gradient(circle at 20% 20%, rgba(230, 243, 117, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(78, 115, 255, 0.18), transparent 40%),
    linear-gradient(135deg, #070a12 0%, #0a1121 45%, #0d152b 100%);
  min-height: 100vh;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  z-index: -1;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 8vw;
  position: sticky;
  top: 0;
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(18px);
  z-index: 10;
  border-bottom: 1px solid rgba(244, 246, 251, 0.08);
}

.logo {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: var(--accent);
}

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

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

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.nav .pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(230, 243, 117, 0.6);
  color: var(--accent);
  background: rgba(230, 243, 117, 0.08);
}

main {
  padding: 40px 8vw 80px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  animation: floatIn 0.9s ease-out;
}

.hero-copy h1,
.section-title h1,
.section-title h2,
.workflow-left h2,
.download h2,
.post-card h1,
.legal-card h1 {
  font-family: "Fraunces", serif;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 3.6vw, 3.8rem);
  line-height: 1.05;
  margin: 16px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
}

.subhead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0;
}

.btn {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(244, 246, 251, 0.4);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(230, 243, 117, 0.24);
}

.btn.ghost {
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stats strong {
  font-size: 1.4rem;
  display: block;
}

.stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(8, 12, 22, 0.6);
  position: relative;
  overflow: hidden;
  animation: drift 6s ease-in-out infinite;
}

.phone-showcase {
  display: grid;
  gap: 18px;
  align-content: start;
  justify-items: center;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 246, 251, 0.12);
  background: rgba(10, 16, 30, 0.75);
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(223, 235, 115, 0.6);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.mini-grid div {
  padding: 12px;
  border-radius: 14px;
  background: #0c111d;
  border: 1px solid var(--line);
}

.mini-grid p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.mini-grid span {
  font-weight: 600;
}

.card-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.iphone-wrap {
  position: relative;
  display: grid;
  place-items: center;
  padding: 22px 0;
}

.iphone-wrap::before {
  content: "";
  position: absolute;
  width: min(360px, 85vw);
  height: min(640px, 120vw);
  background: radial-gradient(circle at 30% 20%, rgba(230, 243, 117, 0.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(120, 150, 255, 0.22), transparent 60%);
  filter: blur(30px);
  z-index: 0;
}

.iphone {
  width: min(320px, 82vw);
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  border-radius: 36px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 35px 80px rgba(5, 10, 25, 0.6);
  position: relative;
  z-index: 1;
}

.iphone::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 30px;
  background: #0a0d14;
  z-index: 0;
}

.iphone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  border-radius: 16px;
  background: #05060a;
  z-index: 2;
}

.iphone-screen {
  width: 100%;
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.iphone-shadow {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  box-shadow: 0 0 50px rgba(230, 243, 117, 0.18);
  pointer-events: none;
  z-index: 3;
}

.phone-caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-title {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 80px 0 32px;
}

.section-title p {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--muted);
}

.section-title h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-grid article {
  padding: 22px;
  border-radius: 18px;
  background: rgba(16, 24, 40, 0.85);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(5, 10, 20, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(5, 10, 20, 0.55);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin: 90px 0;
  background: linear-gradient(135deg, rgba(12, 18, 33, 0.95), rgba(9, 14, 26, 0.95));
  border-radius: 32px;
  padding: 40px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(5, 10, 20, 0.55);
}

.workflow-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}

.workflow-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.workflow-steps span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.blog {
  margin: 90px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.blog-card {
  background: linear-gradient(145deg, rgba(16, 24, 40, 0.95), rgba(10, 16, 30, 0.95));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: 0 24px 50px rgba(5, 10, 20, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(5, 10, 20, 0.6);
}

.blog-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-cta {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
}

.download {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  padding: 40px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.95), rgba(10, 16, 30, 0.95));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(5, 10, 20, 0.55);
}

.download-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 24px;
  border-radius: 22px;
  background: rgba(16, 26, 44, 0.9);
  border: 1px solid rgba(223, 235, 115, 0.2);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.download-card h3 {
  margin: 0;
}

.store-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.store-buttons img {
  height: 52px;
  display: block;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 8vw;
  color: var(--muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.blog-page main {
  padding: 60px 8vw 100px;
}

.post-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 30px 70px rgba(6, 10, 18, 0.6);
  display: grid;
  gap: 18px;
  animation: floatIn 0.7s ease-out;
}

.post-card h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin: 0;
}

.post-meta {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.post-lede {
  font-size: 1.1rem;
  color: var(--muted);
}

.post-body p,
.post-body li {
  color: var(--muted);
  line-height: 1.7;
}

.post-body ul {
  padding-left: 20px;
  margin: 0;
}

.post-cta {
  margin: 32px auto 0;
  max-width: 860px;
  background: rgba(223, 235, 115, 0.08);
  border: 1px solid rgba(223, 235, 115, 0.2);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.post-cta p {
  margin: 0;
  color: var(--ink);
}

.legal-page main {
  padding: 60px 8vw 100px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(18, 24, 38, 0.9);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 30px 60px rgba(6, 10, 18, 0.55);
  animation: floatIn 0.7s ease-out;
}

.legal-card h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin: 0 0 12px;
}

.legal-card h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.6;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.legal-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(223, 235, 115, 0.08);
  border: 1px solid rgba(223, 235, 115, 0.2);
  color: var(--ink);
}

.promo {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
  animation: floatIn 0.7s ease-out;
}

.promo-hero {
  display: grid;
  gap: 10px;
}

.promo-hero h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.2rem, 3.6vw, 3.3rem);
  margin: 0;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.promo-card,
.promo-result {
  background: rgba(16, 24, 40, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 28px 60px rgba(6, 10, 18, 0.55);
  display: grid;
  gap: 16px;
}

.promo-card h2 {
  margin: 0;
  font-size: 1.35rem;
  font-family: "DM Serif Display", serif;
}

.promo-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.promo-result .label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0;
}

.code-box {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  letter-spacing: 0.2em;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(10, 16, 30, 0.75);
  border: 1px solid rgba(230, 243, 117, 0.3);
  color: var(--accent);
  text-align: center;
}

.promo-details details {
  border-radius: 20px;
  padding: 18px 20px;
  background: rgba(12, 18, 33, 0.88);
  border: 1px solid var(--line);
}

.promo-details summary {
  cursor: pointer;
  font-weight: 600;
}

.promo-details .details-body {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.promo-details ol {
  padding-left: 20px;
  margin: 0;
}

button.btn {
  cursor: pointer;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .workflow {
    padding: 28px;
  }

  .pricing-cards .featured {
    transform: none;
  }
}
