@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'SF Pro Rounded';
  src: url('../fonts/SF-Pro-Rounded-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

:root {
  /* Catppuccin Mocha */
  --bg-dark: #1e1e2e;          /* base */
  --bg-card: rgba(49, 50, 68, 0.75); /* surface0 */
  --bg-card-hover: rgba(69, 71, 90, 0.9); /* surface1 */
  
  --accent-lavender: #b4befe;  /* lavender */
  --accent-lavender-glow: rgba(180, 190, 254, 0.25);
  --accent-mauve: #cba6f7;     /* mauve */
  --accent-mauve-glow: rgba(203, 166, 247, 0.25);
  --accent-blue: #89b4fa;      /* blue */
  
  --text-main: #cdd6f4;        /* text */
  --text-muted: #bac2de;       /* subtext1 */
  --border-line: rgba(205, 214, 244, 0.08);
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Background Blobs ─── */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
  will-change: transform;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: var(--accent-mauve);
  top: -120px;
  left: -100px;
}

.blob-2 {
  width: 420px;
  height: 420px;
  background: var(--accent-lavender);
  top: 30%;
  right: -80px;
}

.blob-3 {
  width: 360px;
  height: 360px;
  background: var(--accent-blue);
  bottom: 5%;
  left: 15%;
}

.blob-4 {
  width: 280px;
  height: 280px;
  background: var(--accent-mauve);
  bottom: 30%;
  right: 20%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(30, 30, 46, 0.65);
  border-bottom: 1px solid rgba(205, 214, 244, 0.1);
  padding: 16px 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--accent-lavender);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.btn-nav {
  background: linear-gradient(135deg, var(--accent-mauve) 0%, var(--accent-lavender) 100%);
  color: #11111b !important;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  box-shadow: 0 4px 18px var(--accent-lavender-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(180, 190, 254, 0.4);
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(180, 190, 254, 0.12);
  border: 1px solid rgba(180, 190, 254, 0.3);
  color: var(--accent-lavender);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-lavender);
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-lavender);
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--text-main) 40%, var(--accent-mauve) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.playstore-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #181825; /* mantle */
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(205, 214, 244, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.playstore-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  box-shadow: 0 12px 30px rgba(137, 180, 250, 0.25);
}

.playstore-button svg {
  width: 28px;
  height: 28px;
}

.btn-text-small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.btn-text-large {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 100%;
  border-radius: 40px;
  padding: 10px;
  background: #313244; /* surface0 */
  border: 3px solid #45475a; /* surface1 */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 40px var(--accent-mauve-glow);
}

.phone-frame img {
  width: 100%;
  border-radius: 30px;
  display: block;
}

.phone-positioner {
  width: 100%;
  max-width: 320px;
}

.phone-main {
  position: relative;
  z-index: 3;
  opacity: 0;
  animation: heroPhonePop 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroPhonePop {
  0% {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.phone-left, .phone-right {
  position: absolute;
  top: 50%;
  width: 320px;
  z-index: 1;
  filter: blur(.8px) brightness(0.65);
}

.phone-left {
  right: 50%;
  opacity: 0;
  animation: fanOutLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

.phone-right {
  left: 50%;
  opacity: 0;
  animation: fanOutRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes fanOutLeft {
  0% {
    transform: translate(160px, -50%) scale(0.95) rotate(0deg);
    opacity: 0;
  }
  15% {
    transform: translate(160px, -50%) scale(0.95) rotate(0deg);
    opacity: 0.65;
  }
  100% {
    transform: translate(-10px, -45%) scale(0.85) rotate(-6deg);
    opacity: .8;
  }
}

@keyframes fanOutRight {
  0% {
    transform: translate(-160px, -50%) scale(0.95) rotate(0deg);
    opacity: 0;
  }
  15% {
    transform: translate(-160px, -50%) scale(0.95) rotate(0deg);
    opacity: 0.65;
  }
  100% {
    transform: translate(10px, -45%) scale(0.85) rotate(6deg);
    opacity: 0.8;
  }
}

/* Floating Metric Badges */
.floating-card {
  position: absolute;
  z-index: 10;
  background: rgba(49, 50, 68, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(205, 214, 244, 0.15);
  padding: 18px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: float 4s ease-in-out infinite;
  min-width: 140px;
}

.floating-card.top-left {
  top: 12%;
  left: -30px;
  animation-delay: 0s;
}

.floating-card.bottom-left {
  bottom: 30%;
  left: -30px;
  animation-delay: 1s;
}

.floating-card.top-right {
  top: 36%;
  right: -30px;
  animation-delay: 2s;
}

.floating-card.bottom-right {
  bottom: 8%;
  right: -30px;
  animation-delay: 3s;
}

.floating-card .val {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--accent-lavender);
  margin-bottom: 4px;
}

.floating-card .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Stats Strip */
.stats-strip {
  width: 100%;
  margin: 40px 0 80px;
  background: rgba(49, 50, 68, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(180, 190, 254, 0.18);
  border-bottom: 1px solid rgba(180, 190, 254, 0.18);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.stats-glass {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 36px 24px;
  text-align: center;
  position: relative;
}

/* Vertical dividers between items */
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(180, 190, 254, 0.15);
}

.stat-item h3 {
  font-size: 2.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-lavender) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Features Grid */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--accent-lavender);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 100px;
}

.feature-card {
  background: rgba(49, 50, 68, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(205, 214, 244, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(203, 166, 247, 0.5);
  background: rgba(69, 71, 90, 0.5);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(180, 190, 254, 0.12), rgba(203, 166, 247, 0.08));
  border: 1px solid rgba(180, 190, 254, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent-lavender);
}

.feature-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Visual Showcase */
.showcase {
  margin-bottom: 100px;
}

.showcase-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 0 30px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-lavender) var(--bg-card);
}

.showcase-item {
  flex: 0 0 260px;
  border-radius: 24px;
  background: rgba(24, 24, 37, 0.45); /* mantle */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(205, 214, 244, 0.1);
  padding: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s, border-color 0.2s;
}

.showcase-item:hover {
  transform: translateY(-6px);
  border-color: rgba(137, 180, 250, 0.5); /* blue glow */
}

.showcase-item img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.showcase-item p {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 0 4px;
}

/* CTA Section */
.cta-banner {
  background: linear-gradient(135deg, rgba(69, 71, 90, 0.4) 0%, rgba(49, 50, 68, 0.4) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(180, 190, 254, 0.2);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: var(--accent-mauve);
  opacity: 0.15;
  filter: blur(90px);
  pointer-events: none;
}

.cta-banner h3 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-line);
  padding: 50px 0 30px;
  background: #11111b; /* crust */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1px solid rgba(205, 214, 244, 0.05);
  padding-top: 24px;
  text-align: center;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 0;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-subtitle {
    margin: 0 auto 30px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .stats-glass {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    padding: 24px 12px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .floating-card.top-left,
  .floating-card.bottom-left,
  .floating-card.top-right,
  .floating-card.bottom-right,
  .phone-left,
  .phone-right {
    display: none;
  }
}

/* Privacy Policy Layout */
.privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--accent-lavender);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.8;
}

.privacy-container h1 {
  color: var(--text-main);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--accent-lavender);
  font-weight: 600;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-line);
}

.privacy-container h3 {
  color: var(--text-main);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 16px;
}

.privacy-container p {
  margin-bottom: 16px;
}

.privacy-container ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.privacy-container li {
  margin-bottom: 12px;
}

.privacy-container strong {
  color: var(--text-main);
}

.privacy-container a {
  color: var(--accent-blue);
  text-decoration: none;
}

.privacy-container a:hover {
  text-decoration: underline;
}

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── 3D Tilt (phone frame) ─── */
.phone-frame {
  transition: transform 0.12s linear;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ─── Blob parallax layers ─── */
.blob {
  will-change: transform;
}
