:root {
  --bg: #f7f8fa;
  --fg: #101218;
  --muted: #6b7280;
  --accent: #4f46e5;
  --accent-2: #22d3ee;
  --radius: 25px;
  --glass: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.35);
  --shadow: 0 8px 28px rgba(16, 18, 24, 0.08);
  --max: 1200px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
a {
  color: var(--accent);
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-weight: 700;
  line-height: 1.15;
}
h2 {
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: 42px;
  font-family: "Instrument Serif", serif;
}
h3.pricing {
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 42px;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 6px 12px;
  background: rgba(79, 70, 229, 0.1);
  font-size: 13px;
  margin-bottom: 24px;
  width: fit-content;
}
p {
  margin: 0 0 1em;
  line-height: 1.6;
  color: var(--muted);
}
section {
  padding: 120px 24px;
  position: relative;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
}
/* Hero */
#hero {
  padding: 140px 24px 120px;
  overflow: hidden;
}
#hero .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius);
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  gap: 6px;
  backdrop-filter: blur(8px);
}
#hero h1 {
  font-size: 64px;
  max-width: 900px;
  letter-spacing: -0.02em;
}
#hero p.sub {
  max-width: 760px;
  font-size: 19px;
  color: var(--muted);
}
.cta-group {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 22px rgba(79, 70, 229, 0.32);
}
.btn.secondary {
  background: rgba(16, 18, 24, 0.06);
  color: var(--fg);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
/* Nav */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: min(92%, var(--max));
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}
nav li a {
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity var(--transition);
}
nav li a:hover,
nav li a.active {
  opacity: 1;
  color: var(--accent);
}
/* Glass card */
.card {
  background: var(--glass);
  backdrop-filter: blur(26px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
/* Features grid */
.grid {
  display: grid;
  gap: 32px;
}
.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(79, 70, 229, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.icon-wrap svg {
  width: 22px;
  height: 22px;
  fill: var(--accent);
}
/* How it works timeline */
.timeline {
  position: relative;
  margin-top: 48px;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(16, 18, 24, 0.08);
}
.step {
  display: flex;
  gap: 22px;
  margin-bottom: 42px;
  opacity: 0;
  transform: translateY(28px);
  transition: var(--transition);
}
.step.show {
  opacity: 1;
  transform: translateY(0);
}
.step .dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
/* Pricing */
#pricing .plans {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
}
.plan {
  position: relative;
  overflow: hidden;
  padding: 38px 32px 44px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(16, 18, 24, 0.06);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.plan:hover {
  transform: translateY(-6px);
}
.plan h3 {
  margin-bottom: 6px;
  font-size: 22px;
}
.plan .price {
  font-size: 42px;
  font-weight: 700;
  margin: 18px 0 12px;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.plan .price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
}
.plan ul li::before {
  content: "✔";
  color: var(--accent);
  margin-right: 8px;
  font-weight: 600;
}
.badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: var(--accent-2);
  color: #0f172a;
  font-weight: 600;
  padding: 6px 48px;
  transform: rotate(35deg);
  font-size: 12px;
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}
/* FAQ */
.faq {
  max-width: 900px;
  margin: 60px auto 0;
}
.faq-item {
  border-bottom: 1px solid rgba(16, 18, 24, 0.08);
}
.faq-q {
  cursor: pointer;
  padding: 24px 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  color: var(--muted);
  margin-bottom: 20px;
}
.chev {
  transition: transform 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 260px;
}
.faq-item.open .chev {
  transform: rotate(180deg);
}
/* Footer */
footer {
  padding: 80px 24px;
  background: #fff;
  border-top: 1px solid rgba(16, 18, 24, 0.06);
}
footer .foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 52px;
  grid-template-columns: 1fr 1fr;
}
footer small {
  color: var(--muted);
}
/* Micro interactions */
.magnetic {
  transition: transform 0.15s ease-out;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: var(--transition);
}
.reveal.show {
  opacity: 1;
  transform: translateY(0);
}
/* Cursor blob */
#blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  pointer-events: none;
  border-radius: var(--radius);
  z-index: 0;
  filter: blur(90px);
  background: radial-gradient(
    circle at center,
    var(--accent) 0%,
    var(--accent-2) 60%,
    transparent 70%
  );
  opacity: 0.4;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
}
/* Media */
@media (max-width: 600px) {
  #hero h1 {
    font-size: 46px;
  }
  nav {
    padding: 10px 16px;
  }
  nav ul {
    gap: 14px;
  }
}

.airm-font {
  font-family: "Instrument Serif", serif !important;
  font-weight: 400;
  letter-spacing: -0.01em;
}

span.airm-font {
  font-family: "Instrument Serif", serif !important;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-shadow: 0 0 12px rgba(78, 70, 229, 0.578);
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  background: rgba(16, 18, 24, 0.06);
  cursor: pointer;
  transition: var(--transition);
}
.burger span {
  width: 20px;
  height: 2px;
  background: var(--fg);
  transition: var(--transition);
}
nav.open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
nav.open .burger span:nth-child(2) {
  opacity: 0;
}
nav.open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (max-width: 600px) {
  .burger {
    display: flex;
  }
}

.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill: none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: #000;
  stroke-width: 5.5;
  stroke-linecap: round;
}
.ham1 .top {
  stroke-dasharray: 40 139;
}
.ham1 .bottom {
  stroke-dasharray: 40 180;
}
.ham1.active .top {
  stroke-dashoffset: -98px;
}
.ham1.active .bottom {
  stroke-dashoffset: -138px;
}
.ham2 .top {
  stroke-dasharray: 40 121;
}
.ham2 .bottom {
  stroke-dasharray: 40 121;
}
.ham2.active .top {
  stroke-dashoffset: -102px;
}
.ham2.active .bottom {
  stroke-dashoffset: -102px;
}
.ham3 .top {
  stroke-dasharray: 40 130;
}
.ham3 .middle {
  stroke-dasharray: 40 140;
}
.ham3 .bottom {
  stroke-dasharray: 40 205;
}
.ham3.active .top {
  stroke-dasharray: 75 130;
  stroke-dashoffset: -63px;
}
.ham3.active .middle {
  stroke-dashoffset: -102px;
}
.ham3.active .bottom {
  stroke-dasharray: 110 205;
  stroke-dashoffset: -86px;
}
.ham4 .top {
  stroke-dasharray: 40 121;
}
.ham4 .bottom {
  stroke-dasharray: 40 121;
}
.ham4.active .top {
  stroke-dashoffset: -68px;
}
.ham4.active .bottom {
  stroke-dashoffset: -68px;
}
.ham5 .top {
  stroke-dasharray: 40 82;
}
.ham5 .bottom {
  stroke-dasharray: 40 82;
}
.ham5.active .top {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}
.ham5.active .bottom {
  stroke-dasharray: 14 82;
  stroke-dashoffset: -72px;
}
.ham6 .top {
  stroke-dasharray: 40 172;
}
.ham6 .middle {
  stroke-dasharray: 40 111;
}
.ham6 .bottom {
  stroke-dasharray: 40 172;
}
.ham6.active .top {
  stroke-dashoffset: -132px;
}
.ham6.active .middle {
  stroke-dashoffset: -71px;
}
.ham6.active .bottom {
  stroke-dashoffset: -132px;
}
.ham7 .top {
  stroke-dasharray: 40 82;
}
.ham7 .middle {
  stroke-dasharray: 40 111;
}
.ham7 .bottom {
  stroke-dasharray: 40 161;
}
.ham7.active .top {
  stroke-dasharray: 17 82;
  stroke-dashoffset: -62px;
}
.ham7.active .middle {
  stroke-dashoffset: 23px;
}
.ham7.active .bottom {
  stroke-dashoffset: -83px;
}
.ham8 .top {
  stroke-dasharray: 40 160;
}
.ham8 .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 400ms;
}
.ham8 .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 400ms, stroke-dashoffset 400ms;
}
.ham8.active .top {
  stroke-dashoffset: -64px;
}
.ham8.active .middle {
  transform: rotate(90deg);
}
.ham8.active .bottom {
  stroke-dashoffset: -64px;
}
@media (max-width: 600px) {
  .ham {
    display: block;
  }
  nav ul {
    position: absolute;
    top: 64px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, var(--max));
    flex-direction: column;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    gap: 8px;
  }
  nav ul li a {
    display: block;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
  }
  nav ul li a:hover,
  nav ul li a.active {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.2);
    transform: translateY(-1px);
  }
  nav.open ul {
    display: flex;
  }
}
