:root {
  --bg: #070607;
  --bg-2: #12090b;
  --ink: #f6eee8;
  --muted: #b7a8a0;
  --accent: #ff2b2b;
  --accent-2: #ff7a4d;
  --glass: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.intro {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #5a0c0c, #090607 60%),
    radial-gradient(circle at 25% 20%, rgba(28, 74, 46, 0.45), transparent 55%);
  display: grid;
  place-items: center;
  z-index: 100;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.8s ease 1.4s, visibility 0s linear 2.2s;
  animation: intro-fade 0.8s ease both;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: repeating-linear-gradient(
    120deg,
    rgba(255, 43, 43, 0.18) 0%,
    rgba(255, 43, 43, 0.18) 6px,
    rgba(20, 12, 12, 0.05) 6px,
    rgba(20, 12, 12, 0.05) 14px
  );
  opacity: 0;
  transform: rotate(-12deg) translateY(-20px);
  animation: pine-sweep 1.4s ease forwards 0.2s;
}

.intro::after {
  inset: auto -10% -10% -10%;
  height: 45%;
  background: repeating-linear-gradient(
    -120deg,
    rgba(255, 122, 77, 0.2) 0%,
    rgba(255, 122, 77, 0.2) 7px,
    rgba(20, 12, 12, 0.05) 7px,
    rgba(20, 12, 12, 0.05) 16px
  );
  transform: rotate(10deg) translateY(20px);
  animation-delay: 0.45s;
}

body.intro-complete .intro {
  opacity: 0;
  visibility: hidden;
}

.intro-glow {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 43, 43, 0.45), transparent 65%);
  filter: blur(10px);
  animation: pulse-glow 2.4s ease-in-out forwards;
}

.intro-sweep {
  position: absolute;
  width: 140%;
  height: 140%;
  background: conic-gradient(
    from 220deg,
    transparent 0deg,
    rgba(255, 43, 43, 0.45) 40deg,
    transparent 110deg
  );
  mix-blend-mode: screen;
  animation: sweep-spin 1.6s ease-out forwards;
}

.intro-ring {
  position: absolute;
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  border-radius: 50%;
  border: 2px solid rgba(255, 122, 77, 0.6);
  box-shadow: 0 0 40px rgba(255, 43, 43, 0.35),
    inset 0 0 30px rgba(28, 74, 46, 0.35);
  opacity: 0;
  animation: ring-bloom 1.3s ease forwards 0.4s;
}

.intro-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.intro-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 77, 0.95), transparent 70%);
  opacity: 0;
  animation: ember-rise 2.2s ease-out forwards;
}

.eagle-mark {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--accent);
  width: min(320px, 70vw);
  animation: eagle-rise 1.6s ease forwards;
}

.eagle-mark svg {
  width: 100%;
  filter: drop-shadow(0 0 30px rgba(255, 43, 43, 0.6));
}

.eagle-mark path {
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  animation: stroke-draw 1.6s ease forwards;
}

.eagle-mark::after {
  content: "";
  position: absolute;
  inset: 18% 22%;
  border-radius: 20px;
  background: radial-gradient(
    circle,
    rgba(28, 74, 46, 0.4),
    transparent 65%
  );
  filter: blur(12px);
  opacity: 0;
  animation: pine-heart 1.4s ease forwards 0.6s;
}

.eagle-mark::before {
  content: "";
  position: absolute;
  inset: -10% -10%;
  border-radius: 30px;
  border: 1px solid rgba(255, 43, 43, 0.2);
  box-shadow: 0 0 60px rgba(255, 43, 43, 0.35);
  opacity: 0;
  animation: crest-flare 1.2s ease forwards 0.5s;
}

.eagle-mark path:nth-of-type(2) {
  animation-delay: 0.2s;
}

.eagle-mark path:nth-of-type(3) {
  animation-delay: 0.35s;
}

.eagle-embers span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-2);
  filter: blur(2px);
  animation: ember 2s ease-in-out infinite;
}

.eagle-embers span:nth-child(1) {
  top: 16%;
  left: 20%;
  animation-delay: 0.3s;
}

.eagle-embers span:nth-child(2) {
  bottom: 20%;
  right: 18%;
  animation-delay: 0.8s;
}

.eagle-embers span:nth-child(3) {
  top: 30%;
  right: 34%;
  animation-delay: 1.2s;
}

.intro-title {
  position: absolute;
  bottom: 14%;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 6px;
  color: var(--ink);
  opacity: 0;
  animation: title-rise 1.2s ease forwards 0.8s;
}

.bg-base {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, #22070a 0%, transparent 40%),
    radial-gradient(circle at 80% 10%, #2c0f0f 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, #2a1610 0%, transparent 55%);
  z-index: -3;
}

.bg-veil {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 110px 110px;
  opacity: 0.2;
  mask-image: radial-gradient(circle at 30% 20%, black 40%, transparent 70%);
  z-index: -2;
}

.bg-smoke {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 60%, rgba(255, 43, 43, 0.18), transparent 50%),
    radial-gradient(circle at 70% 40%, rgba(255, 122, 77, 0.18), transparent 55%);
  opacity: 0.6;
  z-index: -1;
  animation: smoke-drift 18s ease-in-out infinite;
}

.bg-grain {
  position: fixed;
  inset: 0;
  background-image: repeating-radial-gradient(
    circle at 20% 10%,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.4;
  mix-blend-mode: soft-light;
  z-index: -1;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(7, 6, 7, 0.72);
  border-bottom: 1px solid var(--stroke);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-auth {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-auth .auth-name {
  font-size: 0.9rem;
  color: var(--muted);
}

.button {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  color: #140606;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 35px rgba(255, 43, 43, 0.3);
}

.button:hover {
  transform: translateY(-2px) scale(1.02);
}

.button.ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--ink);
  box-shadow: none;
}

.button.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 80px;
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-content h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  letter-spacing: 3px;
  margin: 20px 0 10px;
  color: var(--ink);
  background: linear-gradient(120deg, #ffe6dc, #ff7a4d 45%, #8c2d2d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 26px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 18px;
  margin-top: 34px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--muted);
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-top: 6px;
  font-weight: 600;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.client-panel {
  width: min(480px, 92vw);
  background: rgba(12, 8, 9, 0.88);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  animation: panel-float 5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.client-panel::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto -20%;
  height: 120px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 43, 43, 0.2),
    rgba(255, 122, 77, 0.25),
    transparent
  );
  opacity: 0.8;
}

.client-panel::after {
  content: "";
  position: absolute;
  inset: auto 12% -20% 12%;
  height: 140px;
  background: radial-gradient(circle, rgba(28, 74, 46, 0.35), transparent 70%);
  opacity: 0.8;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-header h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.panel-header p {
  font-size: 0.9rem;
  color: var(--muted);
}

.panel-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255, 122, 77, 0.2);
  border: 1px solid rgba(255, 122, 77, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.panel-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.panel-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px;
  min-height: 110px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.panel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 77, 0.4);
}

.panel-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.panel-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

.panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.panel-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 43, 43, 0.14);
  border: 1px solid rgba(255, 43, 43, 0.35);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
}

.section-header p {
  color: var(--muted);
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  min-height: 180px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 77, 0.4);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.stat-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.stat-stack strong {
  font-size: 1.4rem;
  display: block;
}

.stat-stack span {
  color: var(--muted);
}

.panel-glow {
  background: rgba(12, 8, 9, 0.8);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.panel-glow::after {
  content: "";
  position: absolute;
  inset: -40% 10% auto 10%;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 43, 43, 0.4), transparent 70%);
  opacity: 0.6;
}

.panel-rows {
  display: grid;
  gap: 14px;
}

.panel-rows div {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-rows em {
  color: var(--accent-2);
  font-style: normal;
}

.panel-foot {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 30px;
}

.tier-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.tier-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.6;
}

.tier-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 77, 0.45);
}

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

.tier-card.highlight {
  background: linear-gradient(140deg, rgba(255, 43, 43, 0.12), rgba(28, 74, 46, 0.35));
}

.tier-duration {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: var(--muted);
}

.tier-price {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.8rem;
  letter-spacing: 2px;
}

.tier-list {
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.key-flow {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.key-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 10px;
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.key-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 122, 77, 0.4);
}

.key-card span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  color: var(--accent-2);
}

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

.step-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  min-height: 170px;
  display: grid;
  gap: 10px;
}

.step-card span {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--accent-2);
}

.contact {
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px 14px;
}

.footer {
  padding: 30px 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 140px 24px 80px;
}

.auth-card {
  width: min(520px, 92vw);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: rgba(12, 8, 9, 0.92);
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

.auth-card h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.6rem;
  letter-spacing: 2px;
}

.auth-card p {
  color: var(--muted);
}

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

.auth-form label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.auth-form input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 12px 14px;
}

.auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-message {
  min-height: 22px;
  font-size: 0.9rem;
}

.auth-message.success {
  color: #7ef7b7;
}

.auth-message.error {
  color: #ff8a7a;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

body.intro-complete .hero-content,
body.intro-complete .client-panel {
  animation: enter-rise 0.9s ease both;
}

body.intro-complete .hero-content {
  animation-delay: 0.1s;
}

body.intro-complete .client-panel {
  animation-delay: 0.25s;
}

body.is-loading main,
body.is-loading .site-header,
body.is-loading .footer {
  opacity: 0;
}

body.intro-complete main,
body.intro-complete .site-header,
body.intro-complete .footer {
  opacity: 1;
  transition: opacity 0.8s ease;
}

@keyframes eagle-rise {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.7);
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes title-rise {
  to {
    opacity: 1;
    transform: translateY(-10px);
  }
}

@keyframes stroke-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes intro-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pine-sweep {
  0% {
    opacity: 0;
    transform: translateY(-30px) rotate(-10deg);
  }
  60% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(0) rotate(-6deg);
  }
}

@keyframes pine-heart {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  80% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

@keyframes sweep-spin {
  0% {
    opacity: 0;
    transform: rotate(-30deg) scale(0.8);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) scale(1.05);
  }
}

@keyframes ring-bloom {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
}

@keyframes crest-flare {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
}

@keyframes enter-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ember {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-14px) scale(1.2);
    opacity: 1;
  }
}

@keyframes ember-rise {
  0% {
    transform: translateY(20px) scale(0.6);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(-120px) scale(1.4);
    opacity: 0;
  }
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.8);
    opacity: 0.2;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes smoke-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
  }
}
