@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --hp-navy: #003049;
  --hp-navy-dark: #001f30;
  --hp-gold: #e69c24;
  --hp-gold-hover: #cf8a1a;
  --hp-text: #808187;
  --hp-text-dark: #4a4b50;
  --hp-bg: #ffffff;
  --hp-bg-soft: #f6f7f9;
  --hp-border: #e8eaee;
  --hp-white: #ffffff;
  --hp-radius: 20px;
  --hp-radius-sm: 12px;
  --hp-max: 1180px;
  --hp-shadow: 0 18px 50px rgba(0, 48, 73, 0.08);
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--hp-text);
  background: var(--hp-bg);
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--hp-navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hp-gold); }

.wrap { width: min(var(--hp-max), calc(100% - 48px)); margin: 0 auto; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hp-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-logos-sep {
  color: var(--hp-border);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

.brand--lycia {
  line-height: 0;
}

.brand--lycia .lycia-logo {
  border-radius: 14px;
  display: block;
  height: 52px;
  object-fit: contain;
  width: auto;
}

.footer-logos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.site-footer .brand-logos-sep {
  color: rgba(255, 255, 255, 0.25);
}

.site-footer .brand-badge {
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  background: var(--hp-navy);
  border-radius: 14px;
  padding: 10px 16px 10px 12px;
  text-decoration: none;
}

.brand-badge img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav a {
  color: var(--hp-text);
  font-size: 15px;
  font-weight: 500;
}

.nav a:hover {
  color: var(--hp-navy);
  text-decoration: none;
}

.nav .nav-cta {
  color: var(--hp-navy);
  font-weight: 600;
}

/* ——— Typography ——— */
.eyebrow {
  display: block;
  color: var(--hp-text);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  color: var(--hp-navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.lead {
  color: var(--hp-text);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0;
}

.lead strong { color: var(--hp-navy); font-weight: 600; }

.section-label {
  color: var(--hp-text);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* ——— Buttons ——— */
.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  color: var(--hp-white);
  background: var(--hp-gold);
  box-shadow: 0 8px 24px rgba(230, 156, 36, 0.35);
}

.btn-primary:hover {
  background: var(--hp-gold-hover);
  color: var(--hp-white);
}

.btn-secondary {
  color: var(--hp-navy);
  background: transparent;
  border: 2px solid var(--hp-border);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: var(--hp-navy);
  color: var(--hp-navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--hp-navy);
  font-size: 16px;
}

.text-link:hover { color: var(--hp-gold); text-decoration: none; }
.text-link::after { content: '→'; }

/* ——— Hero ——— */
.hero {
  padding: 56px 0 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}

.hero-proof {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hp-border);
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.rating-stars {
  color: var(--hp-gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 14px;
  color: var(--hp-text);
}

.rating-text strong {
  display: block;
  color: var(--hp-navy);
  font-size: 22px;
  font-weight: 800;
}

/* ——— Cards ——— */
.card {
  background: var(--hp-white);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 28px;
  box-shadow: var(--hp-shadow);
}

.card-navy {
  background: var(--hp-navy);
  border: none;
  color: rgba(255, 255, 255, 0.85);
}

.card-navy h2,
.card-navy h3,
.card-navy .price {
  color: var(--hp-white);
}

.card-navy .pricing-features li {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.12);
}

.pricing-card { position: sticky; top: 100px; }

.pricing-card h3 { margin-bottom: 6px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-tier {
  display: flex;
  flex-direction: column;
}

.pricing-tier .pricing-features {
  flex: 1;
}

.pricing-tier-featured {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 48, 73, 0.22);
}

.tier-meta {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--hp-text);
}

.hero-highlight h2 {
  color: var(--hp-navy);
}

.price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--hp-navy);
  margin: 10px 0 6px;
  line-height: 1;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--hp-text);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--hp-border);
  font-size: 15px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--hp-gold);
  font-weight: 800;
  margin-right: 10px;
}

/* ——— Sections ——— */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--hp-bg-soft);
}

.section-header {
  max-width: 680px;
  margin-bottom: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 48, 73, 0.1);
}

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; font-size: 15px; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--hp-bg-soft);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.compare h3 { margin-bottom: 14px; }
.compare ul { margin: 0; padding-left: 18px; font-size: 15px; }
.compare li { margin-bottom: 8px; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 0;
}

.steps li {
  counter-increment: step;
  padding: 20px 0 20px 56px;
  position: relative;
  border-bottom: 1px solid var(--hp-border);
  font-size: 16px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hp-navy);
  color: var(--hp-white);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.steps li strong { color: var(--hp-navy); }

/* ——— Promo strip ——— */
.promo-strip {
  background: var(--hp-navy);
  border-radius: var(--hp-radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.9);
}

.promo-strip h2 {
  color: var(--hp-white);
  margin-bottom: 8px;
}

.promo-strip p {
  margin: 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.75);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--hp-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 32px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--hp-white);
  font-size: 16px;
  margin: 0 0 16px;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li { margin-bottom: 10px; }

.footer-grid a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid a:hover {
  color: var(--hp-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  max-width: 180px;
  display: block;
  margin-bottom: 16px;
  object-fit: contain;
  aspect-ratio: 1350 / 500;
}

.footer-brand-mark {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  margin: 0 0 12px;
}

.footer-brand-mark strong {
  color: var(--hp-white);
  font-weight: 700;
}

.footer-brand-mark a {
  color: var(--hp-gold);
  font-weight: 600;
  text-decoration: none;
}

.footer-brand-mark a:hover {
  text-decoration: underline;
}

.footer-brand-mark--center {
  text-align: center;
  margin-bottom: 20px;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0 8px;
  text-align: center;
}

.footer-company {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
}

.footer-policies a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-policies a:hover {
  color: var(--hp-gold);
  text-decoration: underline;
}

.site-footer--compact {
  padding: 40px 0 28px;
}

.footer-bottom--center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-top: 16px;
}

.footer-bottom--center a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom--center a:hover {
  color: var(--hp-gold);
}

/* ——— Success page ——— */
.success-page {
  padding: 80px 0;
  text-align: center;
}

.success-page .card {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: left;
}

.success-license-card {
  border-left: 4px solid var(--hp-gold);
}

.success-license-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hp-border);
  font-size: 15px;
}

.success-license-meta p {
  margin: 0 0 8px;
}

.checkout-note {
  font-size: 14px;
  margin-top: 16px;
  color: var(--hp-text);
}

.checkout-note.error { color: #c0392b; }

/* ——— Account / licenses ——— */
.account-page {
  padding: 56px 0 80px;
  min-height: 60vh;
}

.account-panel {
  max-width: 760px;
  margin: 0 auto;
}

.account-form {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.account-form label {
  font-weight: 600;
  color: var(--hp-navy);
  font-size: 15px;
}

.account-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  font: inherit;
  font-size: 16px;
}

.account-form input:focus {
  outline: 2px solid rgba(230, 156, 36, 0.35);
  border-color: var(--hp-gold);
}

.account-message {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--hp-text-dark);
}

.account-message.error {
  color: #c0392b;
}

.account-loading {
  text-align: center;
  padding: 80px 0;
  color: var(--hp-text-dark);
}

.account-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.account-email-line {
  margin: 8px 0 0;
}

.license-list {
  display: grid;
  gap: 20px;
  margin-bottom: 24px;
}

.license-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--hp-navy);
}

.license-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.license-meta {
  display: grid;
  gap: 4px;
  font-size: 14px;
  color: var(--hp-text);
  text-align: right;
}

.license-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.license-status-active {
  background: #e8f5e9;
  color: #2e7d32;
}

.license-status-inactive {
  background: #eef2f6;
  color: #5c6b7a;
}

.license-status-expired,
.license-status-revoked {
  background: #fdecea;
  color: #c0392b;
}

.license-key-box label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.license-key-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.license-key-row code {
  flex: 1;
  min-width: 200px;
  padding: 14px 16px;
  background: var(--hp-bg-soft);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius-sm);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--hp-navy);
}

.btn-copy {
  white-space: nowrap;
}

.license-domains {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hp-border);
}

.license-domains h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--hp-navy);
}

.domain-list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
}

.domain-list li {
  margin-bottom: 6px;
}

.domain-empty,
.license-note {
  margin: 0;
  font-size: 14px;
  color: var(--hp-text);
}

.account-help h3 {
  margin-top: 0;
  color: var(--hp-navy);
}

.account-help ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
}

.account-help li {
  margin-bottom: 10px;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero,
  .grid-3,
  .pricing-grid,
  .compare,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pricing-tier-featured {
    transform: none;
  }

  .nav { display: none; }
  .pricing-card { position: static; }
  .promo-strip { padding: 28px; }
  .account-dashboard-header { flex-direction: column; }
  .license-meta { text-align: left; }
}
