/* ============================================================
   Notly Landing — Main Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: #F1ECFF;
  color: #1a1230;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: #C4A0FF; color: #1a1230; }

a { text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 800px; }
.container--mid    { max-width: 1100px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: all 250ms ease;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(241,236,255,0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(123,91,255,0.08);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1230;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.nav__brand svg { display: block; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: #3a2a5a;
  font-size: 14px;
  font-weight: 500;
  transition: color 150ms;
}
.nav__links a:hover { color: #7B5BFF; }
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C4A0FF, #7B5BFF 50%, #FF8FCB);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(123,91,255,0.35);
  transition: opacity 150ms, transform 150ms;
  border: none;
  cursor: pointer;
}
.btn-pill:hover { opacity: 0.9; transform: translateY(-1px); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1230;
  border-radius: 2px;
  transition: all 250ms;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.hero__blob--pink  { top: -100px; left: -100px; width: 500px; height: 500px; background: radial-gradient(circle,#FFD8E8 0%,transparent 60%); opacity: 0.7; }
.hero__blob--purple{ top: 100px; right: -150px; width: 600px; height: 600px; background: radial-gradient(circle,#C4A0FF 0%,transparent 60%); opacity: 0.55; }
.hero__blob--yellow{ bottom: -150px; left: 200px; width: 500px; height: 500px; background: radial-gradient(circle,#FFF1B8 0%,transparent 60%); opacity: 0.5; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(123,91,255,0.15);
  font-size: 12px;
  font-weight: 600;
  color: #7B5BFF;
  letter-spacing: 0.3px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4FBF8C;
}
.hero__h1 {
  margin: 20px 0 0;
  font-size: 76px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2px;
  color: #1a1230;
}
.hero__h1 .accent {
  background: linear-gradient(135deg, #7B5BFF 0%, #FF8FCB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__h1 .muted {
  color: #5a4a7a;
  font-weight: 400;
}
.hero__sub {
  margin-top: 22px;
  font-size: 19px;
  line-height: 1.5;
  color: #3a2a5a;
  max-width: 520px;
}
.hero__ctas {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #C4A0FF, #7B5BFF 50%, #FF8FCB);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 16px 36px rgba(123,91,255,0.4);
  transition: transform 200ms, box-shadow 200ms;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(123,91,255,0.5); }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  background: #fff;
  color: #1a1230;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(120,90,180,0.10);
  border: 1px solid rgba(123,91,255,0.12);
  transition: transform 200ms;
}
.btn-hero-secondary:hover { transform: translateY(-2px); }
.hero__social {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__avatars {
  display: flex;
}
.hero__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #F1ECFF;
  margin-left: -10px;
}
.hero__avatar:first-child { margin-left: 0; }
.hero__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hero__stars .star { color: #FFB800; font-size: 14px; }
.hero__stars .rating { margin-left: 6px; font-size: 13px; font-weight: 600; color: #1a1230; }
.hero__social-text { font-size: 12px; color: #7a6a9a; margin-top: 2px; }

/* ── Phone Mockups ── */
.hero__phones {
  position: relative;
  height: 660px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  border-radius: 48px;
  overflow: hidden;
  position: relative;
  background: #000;
  flex-shrink: 0;
}
.phone--main {
  width: 304px; height: 627px;
  box-shadow: 0 50px 100px -20px rgba(80,40,140,0.45),
              0 0 0 10px #1a1230,
              0 0 0 11px rgba(0,0,0,0.4);
  position: relative;
  z-index: 2;
}
.phone--side {
  width: 250px; height: 517px;
  box-shadow: 0 0 0 8px #1a1230;
  position: absolute;
  z-index: 1;
  opacity: 0.92;
}
.phone--left  { top: 30px; left: -30px; transform: rotate(-7deg); }
.phone--right { top: 50px; right: -40px; transform: rotate(8deg); }
.phone__notch {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 95px; height: 26px;
  border-radius: 20px;
  background: #000;
  z-index: 100;
}
.phone img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.phone__screen {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #F1ECFF 0%, #FFE6F1 60%, #FFF1B8 100%);
  padding-top: 50px;
}

/* Floating orb */
.hero__orb {
  position: absolute;
  top: -20px; right: 40px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.orb {
  display: block;
  filter: drop-shadow(0 20px 40px rgba(123,91,255,0.35));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(6deg); }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.features__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.features__blob--pink   { top: 80px; right: -120px; width: 460px; height: 460px; background: radial-gradient(circle,#FFD8E8 0%,transparent 60%); opacity: 0.55; }
.features__blob--purple { bottom: -80px; left: -120px; width: 460px; height: 460px; background: radial-gradient(circle,#C4A0FF 0%,transparent 60%); opacity: 0.45; }

.features__inner { position: relative; z-index: 1; }

.features__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}
.features__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  color: #7B5BFF;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.features__eyebrow-line {
  height: 1px;
  flex: 1;
  max-width: 120px;
  background: linear-gradient(90deg, #7B5BFF, transparent);
}
.features__eyebrow-vol { color: #7a6a9a; font-weight: 600; }
.features__h2 {
  margin: 20px 0 0;
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -3.2px;
  line-height: 0.95;
  color: #1a1230;
}
.features__h2 em {
  font-style: italic;
  font-weight: 400;
  color: #5a4a7a;
}
.features__h2 .gradient-text {
  background: linear-gradient(135deg, #7B5BFF 0%, #FF8FCB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.features__sub {
  text-align: right;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.55;
  color: #5a4a7a;
}

/* Magazine grid */
.features__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  grid-template-areas:
    "n n n n t t"
    "n n n n t t"
    "w w f f t t"
    "s s s g g g";
}
.fcard { border-radius: 28px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.7); display: flex; flex-direction: column; transition: transform 250ms, box-shadow 250ms; cursor: default; }
.fcard:hover { transform: translateY(-6px) rotate(-0.4deg); }
.fcard--notes   { grid-area: n; background: linear-gradient(135deg,#EFE9FF 0%,#E0D4FF 60%,#C8B4FF 100%); box-shadow: 0 8px 30px rgba(120,90,180,0.10); }
.fcard--todos   { grid-area: t; background: linear-gradient(160deg,#E5F4EA 0%,#CFEEDB 60%,#A8DDB8 100%); box-shadow: 0 8px 30px rgba(34,176,122,0.14); }
.fcard--weather { grid-area: w; background: linear-gradient(160deg,#92C2DC 0%,#5C92B8 100%); box-shadow: 0 8px 30px rgba(95,160,200,0.20); color: #fff; }
.fcard--folders { grid-area: f; background: linear-gradient(135deg,#E0EFF7 0%,#C7E0EE 100%); box-shadow: 0 8px 30px rgba(58,159,208,0.10); }
.fcard--stats   { grid-area: s; background: linear-gradient(135deg,#F1ECFF 0%,#E5DAFF 100%); box-shadow: 0 8px 30px rgba(120,90,180,0.08); }
.fcard--widgets { grid-area: g; background: linear-gradient(135deg,#FFD6DC 0%,#F7C2D0 100%); box-shadow: 0 8px 30px rgba(200,94,138,0.12); }

.fcard__ghost-num {
  position: absolute;
  top: -30px; right: -16px;
  font-size: 280px;
  font-weight: 800;
  letter-spacing: -8px;
  line-height: 0.85;
  opacity: 0.10;
  pointer-events: none;
  font-family: 'Inter', sans-serif;
}
.fcard__ghost-num--compact { font-size: 200px; }
.fcard__head { position: relative; padding: 26px 28px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.fcard__head--compact { padding: 20px 22px 0; }
.fcard__tag { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.fcard__title { margin-top: 4px; font-size: 38px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; color: #1a1230; }
.fcard__title--compact { font-size: 28px; }
.fcard__title--white { color: #fff; }
.fcard__subtitle { margin-top: 6px; font-size: 14px; font-weight: 500; color: #5a4a7a; }
.fcard__body { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #5a4a7a; max-width: 320px; }
.fcard__body--white { color: rgba(255,255,255,0.88); }
.fcard__num-badge { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.7); backdrop-filter: blur(6px); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; flex-shrink: 0; }
.fcard__visual { position: relative; flex: 1; min-height: 0; margin-top: 8px; overflow: hidden; }

/* Feature card visual mockups */
.fv-notes { position: relative; height: 200px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.fv-notes__card { position: absolute; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 12px 28px rgba(80,40,140,0.15); }
.fv-notes__card--top { top: 18px; right: 22px; width: 200px; transform: rotate(4deg); }
.fv-notes__card--bot { top: 60px; left: 22px; width: 170px; transform: rotate(-6deg); }
.fv-notes__line { height: 4px; border-radius: 4px; background: #EFE9FF; margin-top: 5px; }
.fv-notes__tags { margin-top: 10px; display: flex; gap: 4px; }
.fv-notes__tag { padding: 2px 7px; font-size: 9px; font-weight: 600; border-radius: 6px; }

.fv-todos { height: 200px; padding: 20px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.fv-todos__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; box-shadow: 0 4px 12px rgba(34,176,122,0.10); }
.fv-todos__check { width: 18px; height: 18px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fv-todos__check--done { background: #22B07A; }
.fv-todos__check--open { background: transparent; border: 1.5px solid #c0e0d0; }
.fv-todos__label { font-size: 13px; font-weight: 500; }
.fv-todos__label--done { color: #9bc8b3; text-decoration: line-through; }
.fv-todos__label--open { color: #1a1230; }
.fv-todos__footer { margin-top: 4px; padding: 0 4px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.fv-todos__progress-bar { height: 5px; border-radius: 99px; background: rgba(34,176,122,0.15); overflow: hidden; }
.fv-todos__progress-fill { height: 100%; background: #22B07A; border-radius: 99px; }

.fv-weather { position: relative; height: 100%; width: 100%; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; }
.fv-weather__circle { position: absolute; top: -40px; right: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.fv-weather__temp { font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -1.5px; }
.fv-weather__desc { font-size: 11px; font-weight: 600; opacity: 0.95; margin-top: 2px; }
.fv-weather__city { font-size: 11px; font-weight: 700; }
.fv-weather__wind { font-size: 9px; opacity: 0.85; margin-top: 2px; }

.fv-folders { height: 100%; padding: 6px 18px 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; }
.fv-folders__item { display: flex; align-items: center; gap: 10px; padding: 7px 11px; border-radius: 11px; background: #fff; box-shadow: 0 3px 10px rgba(58,159,208,0.10); }
.fv-folders__icon { width: 26px; height: 22px; border-radius: 4px; position: relative; flex-shrink: 0; }
.fv-folders__icon::before { content: ''; position: absolute; top: -3px; left: 3px; width: 11px; height: 4px; border-radius: 2px 2px 0 0; background: inherit; }
.fv-folders__name { font-size: 11px; font-weight: 700; color: #1a1230; }
.fv-folders__count { font-size: 9px; color: #7a6a9a; }

.fv-stats { height: 200px; padding: 22px; display: flex; flex-direction: column; }
.fv-stats__top { display: flex; justify-content: space-between; align-items: flex-end; }
.fv-stats__num { font-size: 28px; font-weight: 800; color: #1a1230; line-height: 1; margin-top: 2px; }
.fv-stats__label { font-size: 10px; color: #7a6a9a; margin-top: 1px; }
.fv-stats__badge { padding: 4px 10px; border-radius: 999px; background: rgba(34,176,122,0.15); color: #22B07A; font-size: 11px; font-weight: 700; }
.fv-stats__bars { flex: 1; margin-top: 12px; display: flex; align-items: flex-end; gap: 5px; }
.fv-stats__bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fv-stats__bar { width: 100%; border-radius: 6px 6px 2px 2px; }
.fv-stats__day { font-size: 9px; color: #7a6a9a; font-weight: 600; }

.fv-widgets { height: 200px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.fv-widget { position: relative; border-radius: 12px; padding: 10px; color: #fff; overflow: hidden; }
.fv-widget__circle { position: absolute; top: -20px; right: -14px; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.fv-widget__label { position: relative; font-size: 11px; font-weight: 700; }
.fv-widget__temp { position: relative; font-size: 18px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.fv-widget__sub { position: relative; font-size: 9px; font-weight: 600; opacity: 0.9; margin-top: 1px; }

.features__footer-pill {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}
.features__pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(120,90,180,0.08);
  font-size: 13px;
  font-weight: 600;
  color: #1a1230;
}
.features__pill-dots { display: flex; gap: 4px; }
.features__pill-dot { width: 8px; height: 8px; border-radius: 50%; }

/* ============================================================
   LANGUAGES
   ============================================================ */
.languages {
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.languages__floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.lang-float {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(120,90,180,0.10);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
  white-space: nowrap;
  animation: lfloat 6s ease-in-out infinite;
}
.lang-float__flag { font-size: 18px; }
.lang-float__word { font-weight: 600; font-size: 13px; color: #1a1230; }

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

.languages__inner { position: relative; z-index: 1; }
.languages__text-center { text-align: center; margin-bottom: 36px; }
.badge-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-pill--blue   { background: rgba(58,159,208,0.12); color: #3A9FD0; }
.badge-pill--purple { background: rgba(123,91,255,0.12); color: #7B5BFF; }
.section-h2 { margin: 18px 0 12px; font-size: 52px; font-weight: 700; letter-spacing: -1.4px; line-height: 1.05; }
.section-h2 .gradient-text {
  background: linear-gradient(135deg, #3A9FD0, #7B5BFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub { font-size: 17px; color: #5a4a7a; max-width: 560px; margin: 0 auto; line-height: 1.5; }

.lang-hero {
  position: relative;
  margin: 0 auto;
  max-width: 760px;
  height: 360px;
  padding: 40px 32px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(120,90,180,0.10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: background 600ms ease;
}
.lang-hero__blob-tr { position: absolute; top: -80px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.5); filter: blur(10px); }
.lang-hero__blob-bl { position: absolute; bottom: -100px; left: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.45); filter: blur(12px); }
.lang-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: space-between; height: 100%; width: 100%; }
.lang-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
  color: #1a1230;
  flex-shrink: 0;
}
.lang-hero__pill-flag { font-size: 18px; line-height: 1; }
.lang-hero__pill-muted { color: #7a6a9a; }
.lang-hero__word-stage { flex: 1; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 0; }
.lang-hero__word {
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 1;
  color: #1a1230;
  animation: lpop 600ms cubic-bezier(.2,.8,.2,1);
  white-space: nowrap;
  padding: 0 8px;
  max-width: 100%;
}
.lang-hero__footer { font-size: 14px; color: #5a4a7a; font-weight: 500; flex-shrink: 0; }

@keyframes lpop {
  0%   { opacity: 0; transform: translateY(14px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-pills { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lang-pill {
  all: unset;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: all 200ms;
  border: 1px solid rgba(123,91,255,0.10);
  background: #fff;
  color: #1a1230;
  box-shadow: 0 2px 8px rgba(120,90,180,0.05);
}
.lang-pill.active {
  background: #1a1230;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(26,18,48,0.30);
}
.lang-pill__flag { font-size: 16px; line-height: 1; }
.lang-pill__dot { width: 6px; height: 6px; border-radius: 50%; }
.lang-helper { margin-top: 20px; text-align: center; font-size: 13px; color: #7a6a9a; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 100px 0;
  position: relative;
}
.pricing__header { text-align: center; margin-bottom: 50px; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pricing-card {
  padding: 32px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pricing-card--light { background: #fff; color: #1a1230; box-shadow: 0 4px 20px rgba(120,90,180,0.06); border: 1px solid rgba(255,255,255,0.8); }
.pricing-card--popular {
  background: linear-gradient(135deg, #C4A0FF 0%, #7B5BFF 50%, #FF8FCB 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(123,91,255,0.4);
  transform: scale(1.04);
}
.pricing-card__popular-tag {
  position: absolute;
  top: 18px; right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}
.pricing-card__name { font-size: 14px; font-weight: 600; }
.pricing-card__name--light { color: #7B5BFF; }
.pricing-card__name--dark  { color: #fff; opacity: 0.9; }
.pricing-card__price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.pricing-card__currency { font-size: 14px; font-weight: 600; opacity: 0.7; }
.pricing-card__amount { font-size: 56px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.pricing-card__period { font-size: 13px; opacity: 0.7; }
.pricing-card__yearly { font-size: 12px; opacity: 0.55; margin-top: 4px; font-weight: 500; }
.pricing-card__cta {
  display: block;
  margin-top: 24px;
  padding: 14px 0;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 150ms;
}
.pricing-card__cta:hover { opacity: 0.85; }
.pricing-card__cta--light    { background: #1a1230; color: #fff; }
.pricing-card__cta--popular  { background: #fff; color: #7B5BFF; }
.pricing-card__features { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.pricing-card__feature { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pricing-card__check { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pricing-card__check--light   { background: rgba(123,91,255,0.12); }
.pricing-card__check--popular { background: rgba(255,255,255,0.25); }
.pricing-card__feature--unavail { opacity: 0.4; }
.pricing-card__feature--unavail .pricing-card__check { background: rgba(0,0,0,0.07); }
.pricing-card__feature--unavail .pricing-feat-label { text-decoration: line-through; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 0; }
.faq__header { text-align: center; margin-bottom: 50px; }
.faq__header p { font-size: 17px; color: #5a4a7a; }
.faq__header a { color: #7B5BFF; font-weight: 500; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  padding: 20px 24px;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.8);
  transition: box-shadow 200ms;
}
.faq__item:hover { box-shadow: 0 8px 24px rgba(120,90,180,0.10); }
.faq__item.open { box-shadow: 0 8px 24px rgba(120,90,180,0.10); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__question { font-size: 16px; font-weight: 600; color: #1a1230; }
.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(123,91,255,0.12);
  color: #7B5BFF;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 200ms, background 200ms, color 200ms;
}
.faq__item.open .faq__icon { transform: rotate(45deg); background: #7B5BFF; color: #fff; }
.faq__answer { margin-top: 14px; font-size: 14px; line-height: 1.6; color: #5a4a7a; display: none; }
.faq__item.open .faq__answer { display: block; }

/* ============================================================
   CTA
   ============================================================ */
.cta { padding: 80px 0 120px; }
.cta__box {
  padding: 80px 60px;
  border-radius: 36px;
  background: linear-gradient(135deg, #1a1230 0%, #3A1F8A 50%, #7B5BFF 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta__orb-tr { position: absolute; top: -100px; right: -50px; opacity: 0.4; pointer-events: none; }
.cta__orb-bl { position: absolute; bottom: -120px; left: -50px; opacity: 0.3; pointer-events: none; }
.cta__content { position: relative; z-index: 1; }
.cta__h2 { margin: 0; font-size: 56px; font-weight: 800; letter-spacing: -1.6px; line-height: 1.05; }
.cta__sub { margin-top: 18px; font-size: 18px; opacity: 0.85; max-width: 480px; margin: 18px auto 0; }
.cta__buttons { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  background: #fff; color: #1a1230;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: opacity 150ms;
}
.btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  background: rgba(255,255,255,0.15); color: #fff;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  transition: opacity 150ms;
}
.btn-cta-primary:hover, .btn-cta-secondary:hover { opacity: 0.85; }

/* Download row: buttons + QR side by side */
.cta__download-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta__qr {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px; border-radius: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
}
.cta__qr-img-wrap {
  width: 80px; height: 80px; border-radius: 12px;
  background: #fff; padding: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cta__qr-img-wrap img { display: block; border-radius: 6px; }
.cta__qr-text { display: flex; flex-direction: column; gap: 4px; }
.cta__qr-label {
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 0.2px;
}
.cta__qr-sub { font-size: 11px; color: rgba(255,255,255,0.6); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(123,91,255,0.1);
}
.footer__container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__name { font-size: 16px; font-weight: 700; color: #1a1230; }
.footer__copy { font-size: 13px; color: #9080a8; margin-left: 12px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { font-size: 13px; color: #5a4a7a; text-decoration: none; transition: color 150ms; }
.footer__links a:hover { color: #7B5BFF; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features__h2 { font-size: 64px; }
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    grid-template-areas:
      "n n t"
      "n n t"
      "w f t"
      "s s g";
  }
  .fcard--notes .fcard__title  { font-size: 28px; }
  .features__header { grid-template-columns: 1fr; gap: 20px; }
  .features__sub { text-align: left; max-width: 100%; }
  .hero__h1 { font-size: 56px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 120px 0 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__phones { display: none; }
  .hero__h1 { font-size: 44px; letter-spacing: -1.5px; }
  .hero__sub { font-size: 16px; }
  .btn-hero-primary, .btn-hero-secondary { padding: 14px 20px; font-size: 14px; }
  .features { padding: 80px 0 60px; }
  .features__h2 { font-size: 40px; letter-spacing: -1.5px; }
  .features__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    grid-template-areas:
      "n n"
      "t t"
      "w f"
      "s g";
  }
  .section-h2 { font-size: 36px; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card--popular { transform: scale(1); }
  .cta__h2 { font-size: 36px; }
  .cta__box { padding: 40px 24px; }
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(241,236,255,0.97); backdrop-filter: blur(20px); padding: 16px 32px 24px; gap: 16px; border-bottom: 1px solid rgba(123,91,255,0.1); }
  .nav__hamburger { display: flex; }
  .lang-float { display: none; }
  .lang-hero { height: auto; padding: 32px 20px; gap: 16px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; grid-template-areas: "n" "t" "w" "f" "s" "g"; }
  .fcard--notes, .fcard--todos, .fcard--stats, .fcard--widgets { grid-row: auto; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-purple { color: #7B5BFF; }
.gradient-text {
  background: linear-gradient(135deg, #7B5BFF 0%, #FF8FCB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   DOWNLOAD MODAL
   ============================================================ */
.dl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dl-modal[hidden] { display: none; }
.dl-modal__backdrop { position: absolute; inset: 0; background: rgba(10,6,30,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dl-modal__card {
  position: relative; z-index: 1;
  background: #fff; border-radius: 28px;
  padding: 40px 36px 36px;
  width: 100%; max-width: 400px;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  animation: dl-pop 0.22s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes dl-pop { from { opacity:0; transform:scale(0.92) translateY(16px); } to { opacity:1; transform:none; } }
.dl-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: #f0eeff; color: #7B5BFF;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 150ms;
}
.dl-modal__close:hover { background: #e0d4ff; }
.dl-modal__logo { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg,#1a1230,#3a2060); color: #C4A0FF; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.dl-modal__title { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: #1a1230; letter-spacing: -0.5px; }
.dl-modal__sub { margin: 0 0 24px; font-size: 14px; color: #9080a8; line-height: 1.5; }
.dl-modal__coming { margin: 12px 0 0; font-size: 14px; color: #7B5BFF; font-weight: 500; }

/* Store buttons */
.dl-modal__buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.dl-modal__btn {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; border-radius: 14px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: transform 150ms, box-shadow 150ms;
}
.dl-modal__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.dl-modal__btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.dl-modal__btn small { font-size: 11px; font-weight: 400; opacity: 0.75; }
.dl-modal__btn--ios     { background: #1a1230; color: #fff; }
.dl-modal__btn--android { background: #f0eeff; color: #1a1230; border: 1.5px solid rgba(123,91,255,0.15); }

/* Divider */
.dl-modal__divider { display: flex; align-items: center; gap: 10px; margin: 20px 0 16px; }
.dl-modal__divider::before, .dl-modal__divider::after { content:''; flex:1; height:1px; background: rgba(123,91,255,0.12); }
.dl-modal__divider span { font-size: 11px; color: #b0a0c8; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }

/* QR */
.dl-modal__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dl-modal__qr-frame { background: #fff; border: 1.5px solid rgba(123,91,255,0.12); border-radius: 16px; padding: 10px; box-shadow: 0 4px 16px rgba(123,91,255,0.08); }
.dl-modal__qr-frame img { display: block; border-radius: 8px; }
.dl-modal__qr-hint { margin: 0; font-size: 12px; color: #9080a8; font-weight: 500; }

/* Nav pill as button (no style change) */
button.btn-pill { cursor: pointer; font-family: inherit; }
