:root {
  color-scheme: light;
  
  /* Palette */
  --primary: #3046C9;
  --primary-dark: #203090;
  --primary-light: #EEF2FF;
  
  --bg: #F7F8FE;
  --surface: #FFFFFF;
  --surface-alt: #F1F3F9;
  
  --text: #010101;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(48, 70, 201, 0.2);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 24px -6px rgba(48, 70, 201, 0.08);
  --shadow-lg: 0 24px 60px -12px rgba(48, 70, 201, 0.15);
  
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(48, 70, 201, 0.08), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

h1, h2, h3, h4, p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.skip:focus {
  left: 10px;
  z-index: 100;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__logo {
  border-radius: 12px;
}

.brand__text {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--primary);
}

@media (min-width: 820px) {
  .nav {
    display: flex;
  }
}

.mnav {
  position: relative;
  display: inline-flex;
}

@media (min-width: 820px) {
  .mnav {
    display: none;
  }
}

.mnav__btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 14px;
}

.mnav__btn::-webkit-details-marker {
  display: none;
}

.mnav__icon {
  width: 18px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(
      to bottom,
      currentColor 0 2px,
      transparent 2px 5px,
      currentColor 5px 7px,
      transparent 7px 10px,
      currentColor 10px 12px
    )
    center/100% 100% no-repeat;
  opacity: 0.9;
}

.mnav[open] .mnav__btn {
  background: var(--surface-alt);
}

.mnav__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(260px, 84vw);
  z-index: 60;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: grid;
  gap: 4px;
}

@supports (backdrop-filter: blur(10px)) {
  .mnav__panel {
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.9);
  }
}

.mnav__panel a {
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 14px;
  color: var(--text-muted);
}

.mnav__panel a:hover {
  background: var(--surface-alt);
  color: var(--text);
}

.mnav__sep {
  height: 1px;
  margin: 6px 4px;
  background: var(--border);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn--lg {
  padding: 14px 28px;
  font-size: 17px;
}

.btn--wide {
  width: 100%;
}

.btn--primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 4px 12px rgba(48, 70, 201, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(48, 70, 201, 0.35);
  background: var(--primary-dark);
}

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

.btn--secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  padding: 80px 0 40px;
  text-align: center;
  overflow: hidden;
}

.hero__content {
  max-width: 720px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(48, 70, 201, 0.1);
}

.hero__title {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #5870e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero__visual {
  position: relative;
  height: 500px;
  margin-top: -20px;
}

@media (min-width: 768px) {
  .hero__visual {
    height: 600px;
  }
}

.shotstack {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.shotstack::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(48, 70, 201, 0.15), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.phone {
  position: absolute;
  border-radius: 40px;
  overflow: hidden;
  border: 6px solid #111;
  background: #000;
  box-shadow: var(--shadow-lg);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone--main {
  width: 280px;
  height: auto;
  aspect-ratio: 1320/2868;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 3;
}

.phone--left {
  width: 240px;
  height: auto;
  aspect-ratio: 1320/2868;
  left: 50%;
  top: 40px;
  transform: translateX(-140%) rotate(-10deg);
  z-index: 2;
  opacity: 0.9;
}

.phone--right {
  width: 240px;
  height: auto;
  aspect-ratio: 1320/2868;
  left: 50%;
  top: 40px;
  transform: translateX(40%) rotate(10deg);
  z-index: 1;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .phone--left,
  .phone--right {
    display: none;
  }
  .phone--main {
    width: 240px;
  }
}

.section {
  padding: 100px 0;
}

.section__head {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.section__head h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__head p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.feature-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 16px 0 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
}

.icon svg {
  width: 24px;
  height: 24px;
}

.bento {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
  }
}

.bento__item {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .bento__item--wide {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
  }
}

.bento__text {
  padding: 40px;
  flex: 1;
}

.bento__text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento__text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.bento__visual {
  flex: 1;
  background: var(--surface-alt);
  min-height: 300px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.value-prop {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
}

.value-prop h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.value-prop p {
  color: var(--text-muted);
}

/* Abstract UI */
.abstract-timer {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0% 75%,
    rgba(48, 70, 201, 0.1) 75% 100%
  );
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 0 40px rgba(48, 70, 201, 0.2);
}

.abstract-timer::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--surface);
  border-radius: 50%;
}

.abstract-timer__value {
  position: relative;
  font-size: 36px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Tasks List */
.abstract-tasks {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.abstract-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.abstract-task__check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.abstract-task:first-child .abstract-task__check {
  background: var(--primary);
}

.abstract-task__line {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  width: 100%;
}

.abstract-chart {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  height: 120px;
}

.abstract-bar {
  width: 28px;
  background: var(--primary);
  border-radius: 6px;
}

.abstract-wave {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 80px;
}

.abstract-wave span {
  width: 8px;
  background: var(--primary);
  border-radius: 99px;
  animation: wave 1.4s ease-in-out infinite;
}

.abstract-wave span:nth-child(odd) { animation-duration: 1.1s; }
.abstract-wave span:nth-child(2n) { animation-duration: 1.3s; }
.abstract-wave span:nth-child(3n) { animation-duration: 1.5s; }

@keyframes wave {
  0%, 100% { height: 20%; opacity: 0.4; }
  50% { height: 100%; opacity: 1; }
}

.pricing {
  display: grid;
  gap: 24px;
  margin-top: 10px;
}

@media (min-width: 900px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

.pricecard {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
}

.pricecard--pro {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.pricecard__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pricecard h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.price {
  margin: 0;
  font-weight: 700;
  font-size: 24px;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.propreview {
  display: none;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

details {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 16px;
  transition: background 0.2s ease;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-muted);
}

.faq details[open] summary::after {
  content: "−";
}

details p {
  margin: 12px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.cta-box {
  margin-top: 80px;
  text-align: center;
  background: var(--primary);
  color: white;
  padding: 60px 24px;
  border-radius: var(--radius-lg);
}

.cta-box h3 {
  font-size: 32px;
  margin-bottom: 12px;
}

.cta-box p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 18px;
}

.cta-box .btn {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cta-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer__inner {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer__nav a:hover {
  color: var(--primary);
}

.page {
  padding: 56px 0;
}

.page h1 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  font-size: clamp(30px, 3.2vw, 42px);
}

.page h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page h3 {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.page p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.page ul {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.6;
}

.page li {
  margin-bottom: 8px;
}

.page a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(48, 70, 201, 0.3);
  text-underline-offset: 4px;
}

.page a:hover {
  text-decoration-color: var(--primary);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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