* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

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

button {
  font: inherit;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0 1.4rem;
  color: #fff;
  background: transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --glow-x: 50%;
  --glow-y: 50%;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--cubic), box-shadow 0.35s var(--cubic), border-color 0.35s var(--cubic), color 0.35s var(--cubic);
  border: 1px solid transparent;
  background-clip: padding-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  line-height: 40px;
  font-size: 0.9rem;
  white-space: nowrap;
}

button:focus-visible {
  outline: 2px solid rgba(99, 225, 255, 0.8);
  outline-offset: 2px;
}

.shell {
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6rem 0;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(42, 48, 99, 0.85), rgba(28, 23, 49, 0.9)),
    radial-gradient(circle at 20% 0%, rgba(72, 79, 226, 0.6), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(120, 47, 170, 0.45), transparent 60%);
  background-blend-mode: screen;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(4, 5, 12, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  max-width: min(900px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section__header::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0, transparent 45%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0, transparent 30%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.35) 0, transparent 30%),
    radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.25) 0, transparent 25%);
  opacity: 0.45;
  pointer-events: none;
}

.section__header::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius-xl) - 22px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.5;
  pointer-events: none;
}

.section__header > * {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0.5rem 0;
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
}

ul {
  padding-left: 1rem;
}

.load-error {
  padding: 2rem;
  text-align: center;
  color: #ff6b81;
  background: rgba(255, 107, 129, 0.1);
  border: 1px solid rgba(255, 107, 129, 0.3);
  border-radius: var(--radius-md);
}

main {
  position: relative;
  z-index: 2;
}

.viewport-shell {
  position: relative;
  overflow: hidden;
}

.background-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="140" height="140" viewBox="0 0 140 140"%3E%3Crect width="140" height="140" fill="%230a0f1a"/%3E%3Ccircle cx="5" cy="5" r="1" fill="%231b2238" opacity="0.65"/%3E%3C/svg%3E');
  opacity: 0.4;
}

.particle-field {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.primary-btn {
  border-radius: 999px;
  background-image: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.4), transparent 50%), var(--gradient-btn);
  border-color: var(--btn-border);
  box-shadow: 0 15px 35px rgba(54, 72, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.ghost-btn,
.primary-btn {
  padding-inline: 1.8rem;
  font-size: 0.95rem;
}

.primary-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--cubic);
  z-index: -1;
}

.primary-btn:hover,
.primary-btn:focus-visible {
  background-image: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.55), transparent 60%), var(--gradient-btn-hover);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 28px 55px rgba(70, 99, 255, 0.55), 0 0 25px rgba(100, 233, 255, 0.3);
}

.primary-btn:hover::after,
.primary-btn:focus-visible::after {
  opacity: 0.5;
}

.ghost-btn {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  background: rgba(10, 20, 35, 0.55);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  min-width: 180px;
}

.ghost-btn::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(85, 150, 254, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--cubic);
  z-index: -1;
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
  color: #e6f1ff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 35px rgba(10, 20, 35, 0.45);
}

.ghost-btn:hover::after,
.ghost-btn:focus-visible::after {
  opacity: 0.55;
}

.hero {
  padding-top: 10rem;
}

.hero__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero__copy .lede {
  font-size: 1.15rem;
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero__note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.hero__stats {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.hero__stats li {
  min-width: 120px;
}

.stat {
  font-size: 2rem;
  font-weight: 600;
  display: block;
}

.hero__visual {
  position: relative;
  min-height: 420px;
}

.hero__mockup {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.hero__mockup img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.mockup-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(70, 78, 235, 0.45), transparent 70%);
  filter: blur(45px);
  z-index: -1;
}

.hero__floating-card {
  position: absolute;
  top: -40px;
  right: 5%;
  padding: 1rem;
  border-radius: var(--radius-md);
  width: min(220px, 70%);
  text-align: center;
  background: var(--glass-bg);
  box-shadow: var(--shadow-md);
}

.hero__gradient-blob {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 400px;
  background: radial-gradient(circle, rgba(85, 150, 254, 0.5), transparent 60%);
  filter: blur(80px);
  opacity: 0.6;
  z-index: -2;
}

.steps-grid,
.templates-grid,
.formats-grid,
.demo-grid,
.cases-grid,
.pricing-grid {
  display: grid;
  gap: 2rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.problem-card {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(11, 16, 29, 0.8);
  box-shadow: 0 25px 60px rgba(4, 6, 14, 0.65);
  min-height: 100%;
}

.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.2), transparent 55%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.problem-card > * {
  position: relative;
  z-index: 1;
}

.problem-card--freelance {
  background: radial-gradient(circle at 0% 0%, rgba(255, 106, 153, 0.25), transparent 60%), rgba(14, 9, 24, 0.9);
  border-color: rgba(255, 137, 185, 0.35);
}

.problem-card--system {
  background: radial-gradient(circle at 100% 0%, rgba(86, 183, 255, 0.28), transparent 60%), rgba(10, 19, 34, 0.92);
  border-color: rgba(112, 180, 255, 0.45);
}

.problem-card h3 {
  margin-top: 0.5rem;
}

.problem-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.problem-card__subtitle {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.problem-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  color: var(--text-secondary);
}

.problem-list li strong {
  color: #fff;
}

.problem-card__cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.problem-card__cta .primary-btn {
  align-self: flex-start;
}

.problem-card__note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.audience-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.audience-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.audience-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
  line-height: 1.6;
  color: var(--text-secondary);
}


.steps-orbit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  margin-top: 3rem;
  position: relative;
}

.steps-orbit::before {
  content: '';
  position: absolute;
  width: 3px;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(80, 104, 255, 0.6), rgba(101, 214, 255, 0.2));
  opacity: 0.4;
}

.steps-orbit img {
  width: 56px;
  height: 56px;
}

.orbit {
  display: none;
}

.step-planet {
  position: relative;
  width: min(340px, 90vw);
  padding: 2rem;
  border-radius: 30px;
  background: rgba(8, 12, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(4, 7, 18, 0.8);
  align-self: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--cubic), transform 0.6s var(--cubic);
}

.step-planet:nth-of-type(odd) {
  align-self: flex-start;
}

.step-planet:nth-of-type(even) {
  align-self: flex-end;
}

.step-planet::after {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  opacity: 0.6;
}

.step-planet::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: 50%;
  left: -6px;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(90, 151, 255, 0.6));
  box-shadow: 0 0 20px rgba(108, 205, 255, 0.5);
}

.step-planet:nth-of-type(odd)::after {
  width: 320px;
  height: 320px;
  left: 50%;
  transform: translateX(-50%);
}

.step-planet:nth-of-type(even)::after {
  width: 380px;
  height: 380px;
  left: 50%;
  transform: translateX(-50%);
}

.planet-1 { margin-top: 2rem; }
.planet-5 {
  background: radial-gradient(circle at 30% 30%, rgba(255, 219, 152, 0.9), rgba(255, 136, 94, 0.75));
  border-color: rgba(255, 198, 138, 0.7);
  color: #0b0f1a;
}

.planet-1 {
  background: linear-gradient(160deg, rgba(63, 93, 189, 0.95), rgba(118, 168, 255, 0.6));
  box-shadow: 0 25px 50px rgba(63, 93, 189, 0.45);
}

.planet-2 {
  background: linear-gradient(160deg, rgba(125, 76, 179, 0.95), rgba(214, 136, 255, 0.55));
  box-shadow: 0 25px 50px rgba(125, 76, 179, 0.4);
}

.planet-3 {
  background: linear-gradient(160deg, rgba(57, 143, 199, 0.95), rgba(112, 216, 255, 0.55));
  box-shadow: 0 25px 50px rgba(57, 143, 199, 0.45);
}

.planet-4 {
  background: linear-gradient(160deg, rgba(214, 117, 118, 0.95), rgba(255, 189, 152, 0.6));
  box-shadow: 0 25px 50px rgba(214, 117, 118, 0.45);
}

.planet-5 {
  background: radial-gradient(circle at 30% 30%, rgba(248, 192, 118, 0.95), rgba(255, 146, 99, 0.6));
  border-color: rgba(255, 200, 155, 0.7);
  color: #fff;
  box-shadow: 0 30px 60px rgba(255, 163, 93, 0.4);
}

.planet-5 h3,
.planet-5 p,
.planet-5 .planet-id {
  color: #fff;
}

.planet-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.step-planet--sun .planet-id {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.formats-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}

.templates-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.template-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.template-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.template-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.template-actions button {
  width: 120px;
}

.badge {
  padding: 0.2rem 0.8rem;
  font-size: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.badge--accent {
  background: var(--gradient-main);
}

.format-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modes-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 3rem;
  border-radius: var(--radius-xl);
}

.modes-compare ul {
  list-style: none;
  padding: 0;
}

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

.demo-card video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.cases-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
}

.pricing-card {
  padding: 2.5rem 2rem;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(13, 18, 35, 0.65), rgba(9, 11, 20, 0.9));
  box-shadow: 0 35px 70px rgba(2, 5, 19, 0.75);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--cubic), border-color 0.5s var(--cubic), box-shadow 0.5s var(--cubic);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.pricing-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.15), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 40px 80px rgba(8, 16, 60, 0.75);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text-secondary);
}

.pricing-card ul li {
  position: relative;
  padding-left: 1.5rem;
}

.pricing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6e8bff, #82f0ff);
  box-shadow: 0 0 15px rgba(130, 240, 255, 0.7);
}

.plan-chip {
  display: inline-flex;
  padding: 0.35rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.2rem;
}

.plan-icon {
  width: 68px;
  height: 68px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(42, 61, 255, 0.5);
}

.plan-icon span,
.plan-icon::after {
  position: absolute;
  border-radius: 999px;
}

.plan-icon span {
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  opacity: 0.65;
  transform: rotate(45deg);
}

.plan-icon::after {
  content: '';
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
}

.plan-headline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.plan-headline h3 {
  margin: 0;
}

.pricing-card .price {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 700;
}

.pricing-card button {
  width: 100%;
  justify-content: center;
}

.tier-start::before,
.tier-builder::before,
.tier-pro::before,
.tier-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

.tier-start::before {
  background: linear-gradient(135deg, rgba(95, 149, 255, 0.25), rgba(144, 233, 255, 0.15));
}

.tier-builder::before {
  background: linear-gradient(135deg, rgba(186, 123, 255, 0.25), rgba(255, 165, 214, 0.2));
}

.tier-pro::before {
  background: linear-gradient(135deg, rgba(118, 176, 255, 0.3), rgba(80, 118, 255, 0.2));
}

.tier-custom::before {
  background: linear-gradient(135deg, rgba(255, 185, 117, 0.25), rgba(255, 117, 174, 0.2));
}

.tier-start .plan-icon {
  background: linear-gradient(140deg, #5b74ff, #74e5ff);
}

.tier-builder .plan-icon {
  background: linear-gradient(140deg, #b65dff, #ff82d8);
}

.tier-pro .plan-icon {
  background: linear-gradient(140deg, #5c6eff, #6ef3ff);
}

.tier-custom .plan-icon {
  background: linear-gradient(140deg, #ffb468, #ff6fb6);
  box-shadow: 0 25px 40px rgba(255, 135, 120, 0.45);
}

.tier-custom .plan-chip,
.tier-custom .ghost-btn {
  border-color: rgba(255, 255, 255, 0.35);
}
.value-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.value-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-md);
}

.faq-toggle {
  width: 100%;
  background: transparent;
  color: var(--text-primary);
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--cubic);
  padding: 0 1.5rem;
}

.faq-item.is-open .faq-body {
  max-height: 400px;
  padding-bottom: 1.2rem;
}

.final-cta {
  padding-bottom: 8rem;
}

.cta-card {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(85, 150, 254, 0.3), transparent 60%);
  opacity: 0.6;
  z-index: -1;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(10, 15, 26, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .shell {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.site-logo img {
  width: 42px;
  height: 42px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  align-items: center;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.main-nav {
  position: relative;
}

.nav-actions {
  display: flex;
  gap: 0.8rem;
  margin-left: auto;
}

.nav-toggle {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
  background: rgba(5, 7, 12, 0.8);
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.preloader {
  position: fixed;
  inset: 0;
  background: #04060d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 999;
  transition: opacity 0.6s var(--cubic);
}

.preloader.is-hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.preloader__orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-main);
  animation: pulse 1.8s infinite;
  box-shadow: 0 0 40px rgba(85, 150, 254, 0.6);
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--cubic);
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.modal__dialog {
  position: relative;
  width: min(720px, 92vw);
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(10, 14, 23, 0.95);
  box-shadow: var(--shadow-lg);
}

.particle-field span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 12px rgba(85, 150, 254, 0.6);
  animation: drift 10s linear infinite;
}

.icon-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.2rem;
}

@media (max-width: 960px) {
  .main-nav ul {
    position: absolute;
    top: 100%;
    right: 1rem;
    background: rgba(8, 11, 20, 0.95);
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .main-nav ul.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
  }

  .nav-actions {
    display: none;
  }

  .hero__stats {
    flex-direction: column;
  }

  .steps-orbit {
    height: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    align-items: stretch;
  }

.steps-orbit .orbit,
  .step-planet:nth-of-type(n) {
    position: static;
    transform: none;
    width: auto;
    height: auto;
  }

  .step-planet {
    align-self: center !important;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .hero__actions,
  .cta-actions {
    flex-direction: column;
  }
}
.step-planet.planet-ready {
  opacity: 1;
  transform: translateY(0);
  animation: planet-rise 0.8s var(--cubic) forwards;
  animation-delay: var(--planet-delay, 0s);
}
.plan-actions {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  justify-content: center;
}

.plan-actions button {
  width: 120px;
}

.plan-actions .ghost-btn {
  width: 120px;
}
