:root {
  --ink: #111827;
  --muted: #5c667a;
  --line: rgba(21, 28, 43, 0.12);
  --white: #ffffff;
  --wash: #f7fbff;
  --cyan: #20c7e8;
  --blue: #3156ff;
  --lime: #a6ef4f;
  --green: #18b979;
  --coral: #ff6f59;
  --amber: #ffbf3f;
  --violet: #9b5cff;
  --shadow: 0 24px 80px rgba(18, 28, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(166, 239, 79, 0.24), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(32, 199, 232, 0.24), transparent 30%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 46%, #f4f8ff 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}

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

.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  z-index: 0;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 48px rgba(23, 35, 56, 0.1);
  backdrop-filter: blur(18px);
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: #06131a;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  box-shadow: 0 12px 24px rgba(32, 199, 232, 0.26);
}

.brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(32, 199, 232, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #3f4a5f;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--blue);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-link {
  color: #3f4a5f;
  font-size: 14px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.insert-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), #13b7e8);
  box-shadow: 0 18px 36px rgba(49, 86, 255, 0.28);
}

.button-secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.button-chrome {
  color: #07131d;
  border: 1px solid rgba(24, 185, 121, 0.22);
  background: linear-gradient(135deg, #a6ef4f, #20c7e8);
  box-shadow: 0 16px 32px rgba(24, 185, 121, 0.2);
}

.hero-actions .button-chrome {
  min-width: 154px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(640px, 1.22fr);
  gap: 56px;
  width: min(1320px, calc(100% - 40px));
  min-height: calc(100vh - 88px);
  align-items: center;
  margin: 0 auto;
  padding: 10px 0 22px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #0b9275;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 610px;
  margin-bottom: 16px;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px;
  margin-top: 16px;
}

.metric-row span {
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  padding: 7px 10px;
  color: #455166;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 30px rgba(24, 34, 51, 0.08);
  font-size: 14px;
}

.metric-row strong {
  color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  min-width: 640px;
  perspective: 1200px;
  transform-style: preserve-3d;
  overflow: visible;
  transform: translateX(18px);
}

.depth-ring {
  position: absolute;
  border: 1px solid rgba(49, 86, 255, 0.16);
  border-radius: 999px;
  transform: rotateX(68deg) rotateZ(-20deg);
  animation: orbit 14s linear infinite;
}

.ring-one {
  inset: 72px 38px 96px;
}

.ring-two {
  inset: 132px 108px 148px;
  border-color: rgba(24, 185, 121, 0.18);
  animation-duration: 18s;
  animation-direction: reverse;
}

.product-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78)),
    linear-gradient(135deg, rgba(32, 199, 232, 0.14), rgba(166, 239, 79, 0.16));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition: transform 300ms ease;
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

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

.reveal.slide-left {
  transform: translateX(-56px) translateY(18px) scale(0.96);
}

.reveal.slide-right {
  transform: translateX(56px) translateY(18px) scale(0.96);
}

.reveal.zoom-reveal {
  transform: translateY(18px) scale(0.88);
}

.reveal.slide-left.is-visible,
.reveal.slide-right.is-visible,
.reveal.zoom-reveal.is-visible {
  transform: translateX(0) translateY(0) scale(1);
}

.reveal-section {
  position: relative;
}

.reveal-section::before {
  position: absolute;
  inset: 36px auto auto 50%;
  width: min(520px, 70vw);
  height: 180px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32, 199, 232, 0), rgba(32, 199, 232, 0.13), rgba(166, 239, 79, 0));
  content: "";
  filter: blur(26px);
  opacity: 0;
  transform: translateX(-50%) translateY(24px);
  transition:
    opacity 900ms ease,
    transform 900ms ease;
  pointer-events: none;
}

.reveal-section.section-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.depth-hover {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.depth-hover::after {
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 58%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  content: "";
  opacity: 0;
  transform: rotate(18deg);
  transition:
    left 620ms ease,
    opacity 240ms ease;
  pointer-events: none;
}

.depth-hover:hover {
  border-color: rgba(49, 86, 255, 0.24);
  box-shadow: 0 28px 76px rgba(17, 24, 39, 0.14);
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}

.depth-hover:hover::after {
  left: 116%;
  opacity: 1;
}

.inbox-card {
  top: 46px;
  left: 0;
  z-index: 2;
  width: 344px;
  padding: 14px;
  transform: rotateY(-16deg) rotateX(8deg) translateZ(28px);
  animation: floatA 7s ease-in-out infinite;
}

.composer-card {
  top: 144px;
  right: 72px;
  z-index: 4;
  width: 338px;
  min-height: 0;
  padding: 20px 20px 24px;
  transform: rotateY(15deg) rotateX(9deg) translateZ(76px);
  animation: floatB 8s ease-in-out infinite;
}

.assistant-card {
  left: 78px;
  bottom: -36px;
  z-index: 3;
  width: 232px;
  padding: 13px;
  transform: rotateY(-14deg) rotateX(8deg) translateZ(34px);
  animation: floatC 7.5s ease-in-out infinite;
}

.card-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.card-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d7deeb;
}

.card-bar span:nth-child(1) {
  background: var(--coral);
}

.card-bar span:nth-child(2) {
  background: var(--amber);
}

.card-bar span:nth-child(3) {
  background: var(--green);
}

.card-bar strong {
  margin-left: auto;
  color: #526075;
  font-size: 13px;
}

.message-list {
  display: grid;
  gap: 9px;
}

.message {
  display: flex;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.message.active {
  background: linear-gradient(135deg, rgba(32, 199, 232, 0.18), rgba(166, 239, 79, 0.2));
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
}

.teal {
  background: #0ba98a;
}

.orange {
  background: #ff8a3d;
}

.blue {
  background: #3156ff;
}

.message strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.message p {
  margin: 0;
  color: #5e6b80;
  font-size: 13px;
}

.model-strip,
.tone-tabs,
.tool-row {
  display: flex;
  align-items: center;
}

.model-strip {
  gap: 9px;
  margin-bottom: 12px;
  color: #58657a;
  font-size: 13px;
  white-space: nowrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(166, 239, 79, 0.22);
}

.pro-pill {
  margin-left: auto;
  border-radius: 999px;
  padding: 6px 9px;
  color: #06131a;
  background: var(--lime);
  font-size: 11px;
  font-weight: 900;
}

.composer-card h2 {
  margin-bottom: 10px;
  font-size: 27px;
  line-height: 1.08;
}

.composer-card p {
  color: #4b586d;
  line-height: 1.54;
  margin-bottom: 0;
}

.tone-tabs {
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 14px;
}

.tone-tabs button {
  border: 0;
  border-radius: 8px;
  padding: 8px 9px;
  color: #172033;
  background: rgba(49, 86, 255, 0.1);
  font-weight: 800;
}

.insert-button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  margin-top: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #121a2b, #3156ff);
  font-weight: 900;
}

.mini-label {
  margin-bottom: 12px;
  color: #647086;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.tool-row {
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  padding: 12px 0;
}

.tool-row:last-child {
  border-bottom: 0;
}

.tool-row span {
  color: #5f6b80;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.band {
  width: 100%;
  padding-inline: max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(49, 86, 255, 0.08), rgba(32, 199, 232, 0.14)),
    #ffffff;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.section-heading h2,
.split h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.price-card {
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 56px rgba(17, 24, 39, 0.08);
}

.feature-grid article:nth-child(1) {
  animation: slowZoom 8.5s ease-in-out infinite;
}

.feature-grid article:nth-child(2) {
  animation: slowZoom 9.5s ease-in-out 0.7s infinite;
}

.feature-grid article:nth-child(3) {
  animation: slowZoom 8s ease-in-out 1.2s infinite;
}

.feature-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.feature-icon.cyan {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.feature-icon.lime {
  background: linear-gradient(135deg, var(--lime), var(--green));
}

.feature-icon.coral {
  background: linear-gradient(135deg, var(--coral), var(--amber));
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.feature-grid p,
.split p,
.price-card li,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.7fr);
  gap: 44px;
  align-items: center;
}

.tool-stack {
  display: grid;
  gap: 14px;
  transform: perspective(900px) rotateY(-10deg) rotateX(5deg);
}

.tool-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  font-size: 20px;
  font-weight: 900;
}

.tool-card:nth-child(1) {
  animation: slideZoomCard 7.5s ease-in-out infinite;
}

.tool-card:nth-child(2) {
  animation: slideZoomCard 8.5s ease-in-out 0.6s infinite;
}

.tool-card:nth-child(3) {
  animation: slideZoomCard 7.8s ease-in-out 1.1s infinite;
}

.tool-card span {
  border-radius: 999px;
  padding: 7px 10px;
  color: #07131d;
  background: var(--lime);
  font-size: 12px;
}

.pricing-section {
  padding-top: 48px;
}

.page-main {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0 72px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.48fr);
  gap: 28px;
  align-items: stretch;
  padding: 18px 0 26px;
}

.page-hero-copy,
.page-hero-panel,
.content-card,
.article-panel,
.toc-panel {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 70px rgba(18, 28, 45, 0.1);
  backdrop-filter: blur(18px);
}

.page-hero-copy {
  padding: 36px;
}

.page-hero-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(49, 86, 255, 0.12), rgba(32, 199, 232, 0.18)),
    rgba(255, 255, 255, 0.78);
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.96;
}

.page-hero p,
.content-card p,
.article-panel p,
.toc-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.content-section {
  padding: 18px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.content-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-card,
.article-panel,
.toc-panel {
  padding: 24px;
}

.content-card h2,
.article-panel h2,
.toc-panel h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.content-card h3,
.article-panel h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.kicker {
  margin-bottom: 10px;
  color: #0b9275;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: 18px;
}

.article-panel {
  display: grid;
  gap: 18px;
}

.article-panel ul,
.toc-panel ul,
.content-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.6;
}

.content-card a,
.article-panel a,
.toc-panel a {
  color: #2458ff;
  font-weight: 800;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.page-band {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(166, 239, 79, 0.12), rgba(32, 199, 232, 0.14)),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 70px rgba(18, 28, 45, 0.1);
  backdrop-filter: blur(18px);
}

.page-band h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 48px);
}

.page-band p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.mini-card-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: #455166;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

[hidden] {
  display: none !important;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: #3f4a5f;
  font-size: 13px;
  font-weight: 800;
}

.form-grid input,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  font: inherit;
  outline: none;
  resize: vertical;
}

.form-grid input:focus,
.form-grid textarea:focus {
  border-color: rgba(49, 86, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(49, 86, 255, 0.09);
}

.auth-tabs,
.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-tabs button,
.mode-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: #3f4a5f;
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button.is-active,
.mode-tabs button.is-active {
  color: #07131d;
  border-color: rgba(24, 185, 121, 0.22);
  background: linear-gradient(135deg, #a6ef4f, #20c7e8);
}

.status-message,
.checkout-status {
  min-height: 22px;
  margin: 0;
  color: #4b556b;
  font-size: 14px;
  font-weight: 700;
}

.checkout-status {
  margin-top: 12px;
}

.status-message[data-tone="success"],
.checkout-status[data-tone="success"] {
  color: #087f5b;
}

.status-message[data-tone="error"],
.checkout-status[data-tone="error"] {
  color: #b42318;
}

.status-message[data-tone="info"],
.checkout-status[data-tone="info"] {
  color: #3156ff;
}

.password-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #5c667a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
}

.password-toggle input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: #3156ff;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: #5c667a;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(49, 86, 255, 0.18);
  border-radius: 999px;
  padding: 0 9px;
  color: #3156ff;
  background: rgba(49, 86, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.account-list {
  display: grid;
  gap: 10px;
}

.account-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  color: #5c667a;
}

.account-row strong {
  color: var(--ink);
}

.ai-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.ai-tool-layout textarea {
  min-height: 280px;
}

.meta-line {
  display: inline-flex;
  width: max-content;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  color: #526075;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.contact-box {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-mark {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: #07131d;
  background: var(--lime);
  font-weight: 900;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  transform: perspective(1000px) rotateX(2deg);
}

.price-card.is-visible {
  animation: priceZoomGlow 6.5s ease-in-out 1s infinite;
}

.price-card.featured {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(166, 239, 79, 0.18), transparent 34%),
    linear-gradient(145deg, #111827, #172b56 56%, #0ba98a);
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.28);
}

.plan {
  color: #0b9275;
  font-weight: 900;
  text-transform: uppercase;
}

.featured .plan,
.featured li {
  color: rgba(255, 255, 255, 0.82);
}

.price-card h3 {
  margin-bottom: 18px;
  font-size: 56px;
}

.price-card h3 span {
  color: inherit;
  font-size: 18px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 25px;
}

.price-card li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.featured li::before {
  color: var(--lime);
}

.price-card .button {
  margin-top: auto;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #4a566b;
  font-weight: 800;
}

.copyright {
  margin: 28px 0 0;
  color: #68748a;
  font-size: 14px;
}

.site-footer a {
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-footer nav a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

@keyframes orbit {
  to {
    transform: rotateX(68deg) rotateZ(340deg);
  }
}

@keyframes floatA {
  50% {
    transform: rotateY(-12deg) rotateX(10deg) translate3d(8px, -16px, 42px);
  }
}

@keyframes floatB {
  50% {
    transform: rotateY(10deg) rotateX(11deg) translate3d(-10px, 18px, 86px);
  }
}

@keyframes floatC {
  50% {
    transform: rotateY(-10deg) rotateX(10deg) translate3d(8px, -8px, 44px);
  }
}

@keyframes slowZoom {
  50% {
    transform: translateY(-8px) scale(1.018);
  }
}

@keyframes slideZoomCard {
  50% {
    transform: translate3d(14px, -10px, 24px) scale(1.025);
  }
}

@keyframes priceZoomGlow {
  50% {
    transform: perspective(1000px) rotateX(2deg) translateY(-7px) scale(1.012);
    box-shadow: 0 30px 84px rgba(49, 86, 255, 0.16);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding: 4px 0;
  }

  .hero,
  .split,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .article-layout,
  .ai-tool-layout,
  .content-grid,
  .content-grid.four,
  .content-grid.two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(100% - 24px, 1180px);
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    font-size: 54px;
  }

  .hero-actions,
  .footer-main,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 680px;
    min-width: 0;
    transform: none;
  }

  .product-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-bottom: 16px;
    transform: none;
  }

  .depth-ring {
    display: none;
  }

  .inbox-card,
  .composer-card,
  .assistant-card {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
