:root {
  --navy: #1a2e5a;
  --gold: #f0a500;
  --white: #ffffff;
  --ink: #122038;
  --muted: #5e6c84;
  --border: rgba(26, 46, 90, 0.12);
  --surface: #f7f9fd;
  --surface-strong: #eef3fb;
  --shadow-soft: 0 20px 50px rgba(17, 34, 68, 0.12);
  --shadow-card: 0 16px 30px rgba(26, 46, 90, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(240, 165, 0, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(26, 46, 90, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 36%, #f6f9fe 100%);
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(var(--container-width), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(26, 46, 90, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: clamp(150px, 17vw, 230px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a:not(.button) {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:not(.button):hover,
.nav-links a:not(.button):focus-visible {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  padding: 0.65rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 0.38rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--gold), #ffbe3d);
  color: var(--navy);
  box-shadow: 0 16px 30px rgba(240, 165, 0, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 20px 36px rgba(240, 165, 0, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  border: 1px solid rgba(26, 46, 90, 0.14);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.button-small {
  padding: 0.82rem 1.2rem;
}

.button-block {
  width: 100%;
}

.hero-section {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1e3d 0%, #1a2e5a 50%, #2e4a8a 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 2.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-heading h2,
.auth-header h1 {
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.7rem, 5vw, 4.75rem);
  line-height: 1.02;
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.auth-header p,
.info-card p,
.step-card p,
.testimonial-card .quote,
.pricing-card p,
.pricing-features li,
.footer-copy {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  margin: 1.2rem 0 0;
  max-width: 36rem;
  font-size: 1.08rem;
}

.hero-section .hero-copy h1 {
  color: var(--white);
}

.hero-section .hero-text {
  color: rgba(255, 255, 255, 0.88);
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-proof span {
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(26, 46, 90, 0.06);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-panel {
  position: relative;
}

.dashboard-card,
.info-card,
.step-card,
.testimonial-card,
.pricing-card,
.auth-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 46, 90, 0.08);
  box-shadow: var(--shadow-soft);
}

.dashboard-card {
  position: relative;
  border-radius: 30px;
  padding: 1.6rem;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(240, 165, 0, 0.45), rgba(26, 46, 90, 0.15));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dashboard-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.dashboard-top h2 {
  margin: 0.45rem 0 0;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.status-badge {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.14);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 600;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.metric-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 251, 0.9));
  border: 1px solid rgba(26, 46, 90, 0.08);
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.metric-card strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--navy);
  font-size: 1.35rem;
}

.metric-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
}

.section {
  padding: 5.25rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(26, 46, 90, 0.02), rgba(26, 46, 90, 0.06)),
    var(--white);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  margin-top: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p {
  margin-top: 1rem;
}

.feature-grid,
.steps-grid,
.testimonial-grid {
  display: grid;
  gap: 1.4rem;
}

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

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}

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

.testimonials-section {
  background: #f0f4ff;
}

.info-card,
.step-card,
.testimonial-card,
.pricing-card {
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.info-card:hover,
.step-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 42px rgba(26, 46, 90, 0.14);
  border-color: rgba(240, 165, 0, 0.24);
}

.card-icon,
.step-number {
  display: inline-grid;
  place-items: center;
  min-width: 3rem;
  width: fit-content;
  padding: 0 0.9rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(26, 46, 90, 0.08);
  color: var(--navy);
  font-weight: 800;
}

.card-icon {
  font-size: 32px;
  line-height: 1;
}

.info-card h3,
.step-card h3 {
  margin: 1.3rem 0 0.75rem;
  color: var(--navy);
  font-size: 1.25rem;
}

.testimonial-card .quote {
  margin: 0;
  font-size: 1.02rem;
}

.testimonial-card {
  position: relative;
  background: var(--white);
  border-left: 4px solid var(--gold);
}

.testimonial-card:hover {
  border-left-color: var(--gold);
}

.testimonial-card::before {
  content: '"';
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 3rem;
  line-height: 0.8;
  font-weight: 800;
}

.testimonial-meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.28rem;
}

.testimonial-meta strong {
  color: var(--navy);
}

.testimonial-meta span {
  color: var(--muted);
}

.pricing-section {
  background:
    radial-gradient(circle at top right, rgba(240, 165, 0, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 244, 255, 0.72));
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.plan-header {
  display: grid;
  gap: 0.7rem;
}

.plan-name,
.plan-badge {
  width: fit-content;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-name {
  background: rgba(26, 46, 90, 0.08);
  color: var(--navy);
}

.plan-badge {
  background: rgba(240, 165, 0, 0.16);
  color: var(--gold);
}

.pricing-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.pricing-card h3 span {
  margin-left: 0.2rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.pricing-card p {
  margin: 0;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.pricing-features li {
  position: relative;
  padding-left: 1.1rem;
}

.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--gold);
}

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

.pricing-card-featured {
  background: linear-gradient(180deg, #1a2e5a 0%, #122346 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 24px 44px rgba(26, 46, 90, 0.24);
}

.pricing-card-featured:hover {
  border-color: var(--gold);
}

.pricing-card-featured .plan-name {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.pricing-card-featured h3,
.pricing-card-featured p,
.pricing-card-featured .pricing-features li {
  color: rgba(255, 255, 255, 0.88);
}

.pricing-card-featured h3 {
  color: var(--white);
}

.pricing-card-featured h3 span {
  color: rgba(255, 255, 255, 0.76);
}

.pricing-card-featured .pricing-features li::before {
  background: var(--gold);
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(26, 46, 90, 0.08);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible,
.auth-switch a:hover,
.auth-switch a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--navy);
}

.footer-copy {
  margin: 0;
  text-align: right;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(240, 165, 0, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(26, 46, 90, 0.16), transparent 30%),
    linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card-wrapper {
  width: min(100%, 620px);
}

.auth-card {
  border-radius: 30px;
  padding: 2rem;
}

.auth-card-wide {
  width: min(100%, 620px);
}

.auth-brand {
  justify-content: center;
}

.auth-brand .brand-logo {
  width: min(100%, 250px);
}

.footer-brand .brand-logo {
  width: min(100%, 210px);
}

.auth-header {
  margin-top: 1.8rem;
  text-align: center;
}

.auth-header h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.auth-header p {
  margin-top: 0.85rem;
}

.auth-form {
  margin-top: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.form-group {
  display: grid;
  gap: 0.55rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  min-height: 3.35rem;
  padding: 0 1rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 46, 90, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.form-group input::placeholder {
  color: #8a96aa;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(240, 165, 0, 0.9);
  box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.12);
  background: var(--white);
}

.form-group input.is-invalid {
  border-color: #d94f4f;
  box-shadow: 0 0 0 4px rgba(217, 79, 79, 0.08);
}

.field-error {
  min-height: 1rem;
  color: #c23a3a;
  font-size: 0.82rem;
}

.form-meta {
  display: flex;
  justify-content: flex-end;
  margin: 0.4rem 0 1rem;
}

.text-link,
.auth-switch a {
  color: var(--gold);
  font-weight: 600;
}

.form-feedback {
  min-height: 1.4rem;
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.94rem;
  color: var(--muted);
}

.form-feedback.is-success {
  color: #1f7a45;
}

.form-feedback.is-error {
  color: #c23a3a;
}

.auth-switch {
  margin: 1.4rem 0 0;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .steps-grid,
  .pricing-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-links,
  .footer-copy {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(26, 46, 90, 0.08);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links .button {
    width: 100%;
  }

  .hero-section {
    padding-top: 3.6rem;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: clamp(138px, 42vw, 180px);
  }

  .auth-brand .brand-logo {
    width: min(100%, 210px);
  }

  .hero-copy h1 {
    max-width: none;
  }

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

  .section,
  .hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .dashboard-card,
  .auth-card,
  .info-card,
  .step-card,
  .testimonial-card,
  .pricing-card {
    padding: 1.35rem;
  }

}
