* {
  box-sizing: border-box;
}

:root {
  --ink: #0a2540;
  --muted: #5b6b7f;
  --line: rgba(10, 37, 64, 0.12);
  --card: rgba(255, 255, 255, 0.92);
  --blue: #635bff;
  --cyan: #00d4ff;
  --green: #00d924;
  --shadow: 0 24px 70px rgba(10, 37, 64, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 212, 255, 0.25), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(99, 91, 255, 0.28), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef3ff 46%, #ffffff 100%);
}
.templates {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.template {
  flex: 1;
  background: #f8f9ff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.template img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.template h3 {
  margin: 10px 0 5px;
}

.template p {
  font-size: 14px;
  color: #666;
}

.template:hover {
  transform: translateY(-5px);
}

.template.selected {
  border: 2px solid #635bff;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(99, 91, 255, 0.10), rgba(0, 212, 255, 0.05)),
    radial-gradient(circle at 80% 25%, rgba(255, 255, 255, 0.85), transparent 25%);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 10px 24px rgba(99, 91, 255, 0.28);
}

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

nav a,
a {
  color: var(--ink);
  text-decoration: none;
}

nav a {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

nav a:hover {
  color: var(--blue);
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #7a73ff 48%, var(--cyan));
  box-shadow: 0 14px 32px rgba(99, 91, 255, 0.28);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(99, 91, 255, 0.34);
}

.btn.small {
  padding: 10px 16px;
  font-size: 14px;
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
  min-height: 720px;
  padding: 72px 0;
}

.pill {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(99, 91, 255, 0.20);
  border-radius: 999px;
  padding: 9px 14px;
  color: #3b35a8;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.06);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 680px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.subtext {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.trust-grid div,
.process-grid div,
.form-card,
.package-card,
.template-card,
.hero-card,
details {
  border: 1px solid rgba(255, 255, 255, 0.70);
  background: var(--card);
  box-shadow: 0 16px 44px rgba(10, 37, 64, 0.08);
  backdrop-filter: blur(16px);
}

.trust-grid div {
  border-radius: 20px;
  padding: 18px;
  color: var(--ink);
  font-weight: 700;
}

.hero-card {
  overflow: hidden;
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.dark-card {
  border-radius: 26px;
  padding: 28px;
  color: white;
  background:
    radial-gradient(circle at 18% 5%, rgba(0, 212, 255, 0.40), transparent 30%),
    linear-gradient(135deg, #0a2540, #33247b 68%, #635bff);
}

.dark-card p {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.dark-card h2 {
  margin-bottom: 0;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.before-after {
  display: grid;
  gap: 14px;
  padding: 18px 4px 4px;
}

.before-after div {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: #fff;
}

.before-after strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
}

.section {
  padding: 72px 0;
}

.section-title {
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title h2,
.form-header h2,
.faq h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 14px;
}

.section-title p,
.form-header p,
.template-card p,
.package-card p,
.process-grid p,
details p,
footer p {
  color: var(--muted);
  line-height: 1.65;
}

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

.package-card,
.template-card,
.process-grid div,
.form-card,
details {
  border-radius: 28px;
}

.package-card,
.template-card {
  position: relative;
  padding: 28px;
  transition: transform 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

.package-card:hover,
.template-card:hover {
  transform: translateY(-5px);
}

.package-card.selected,
.template-card.selected {
  border-color: rgba(99, 91, 255, 0.55);
  box-shadow: 0 24px 70px rgba(99, 91, 255, 0.18);
}

.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 8px 14px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.package-card h3,
.template-card h3 {
  font-size: 22px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.price {
  margin: 20px 0;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.price span {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0;
}

ul {
  margin: 0 0 24px;
  padding-left: 0;
  list-style: none;
}

li {
  margin: 12px 0;
  color: var(--muted);
  line-height: 1.45;
}

li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--green);
  font-weight: 900;
}

.package-card button,
.template-card button,
form button {
  width: 100%;
}

.template-preview {
  height: 190px;
  margin-bottom: 22px;
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(10, 37, 64, 0.08);
}

.template-preview span,
.template-preview div {
  display: block;
  border-radius: 99px;
}

.template-preview span:nth-child(1) {
  width: 52%;
  height: 16px;
  background: var(--ink);
}

.template-preview span:nth-child(2) {
  width: 70%;
  height: 8px;
  margin-top: 12px;
  background: #c7d2fe;
}

.template-preview span:nth-child(3) {
  width: 42%;
  height: 8px;
  margin-top: 8px;
  background: #dbeafe;
}

.template-preview div {
  height: 10px;
  margin-top: 16px;
  background: #e8eef9;
}

.template-preview div:nth-last-child(1) { width: 74%; }
.template-preview div:nth-last-child(2) { width: 88%; }
.template-preview div:nth-last-child(3) { width: 96%; }

.template-preview.modern {
  background: linear-gradient(135deg, #ffffff, #eef2ff);
}

.template-preview.corporate {
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
}

.template-preview.creative {
  background: linear-gradient(135deg, #fff7ed, #eef2ff);
}

.form-card {
  padding: 32px;
  box-shadow: var(--shadow);
}

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

.selected-price {
  flex: 0 0 auto;
  border-radius: 20px;
  padding: 18px 22px;
  color: white;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(10, 37, 64, 0.18);
}

.grid {
  display: grid;
  gap: 18px;
}

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

label {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(10, 37, 64, 0.14);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(99, 91, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12);
}

.payment-box {
  margin: 24px 0;
  border: 1px dashed rgba(99, 91, 255, 0.45);
  border-radius: 22px;
  padding: 22px;
  background: rgba(99, 91, 255, 0.07);
}

.payment-box h3 {
  margin-bottom: 8px;
}

.success {
  margin-top: 24px;
  border-radius: 22px;
  padding: 24px;
  background: rgba(0, 217, 36, 0.08);
  border: 1px solid rgba(0, 217, 36, 0.18);
}

.hidden {
  display: none;
}

pre {
  overflow: auto;
  border-radius: 16px;
  padding: 16px;
  background: #0a2540;
  color: #dbeafe;
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
}

.process-grid div {
  padding: 24px;
}

.process-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 900;
}

.faq {
  max-width: 850px;
}

details {
  margin: 14px 0;
  padding: 22px 24px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

summary + p {
  margin-top: 12px;
  margin-bottom: 0;
}

footer {
  padding: 36px 20px;
  text-align: center;
}

@media (max-width: 920px) {
  .hero,
  .packages,
  .template-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  nav {
    display: none;
  }

  .trust-grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .form-header {
    flex-direction: column;
  }

  .selected-price {
    width: 100%;
    text-align: center;
  }
}

/* Premium visual resume template cards */
.template-grid {
  align-items: stretch;
}

.template-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.template-image-wrap {
  position: relative;
  height: 360px;
  margin: -10px -10px 22px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbff, #eef3ff);
  box-shadow: inset 0 0 0 1px rgba(10, 37, 64, 0.08);
}

.template-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.template-card:hover .template-image-wrap img {
  transform: scale(1.035);
}

.template-card h3 {
  margin-top: 0;
}

.template-card p {
  min-height: 86px;
}

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

.template-card.selected::after {
  content: "Selected";
  position: absolute;
  top: 20px;
  right: 20px;
  border-radius: 999px;
  padding: 8px 12px;
  color: white;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 30px rgba(99, 91, 255, 0.28);
}

@media (max-width: 760px) {
  .template-image-wrap {
    height: 300px;
  }
}

/* Enhanced process section */
.process-section {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 12px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  color: #3b35a8 !important;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 9%;
  right: 9%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 91, 255, 0.18), rgba(0, 212, 255, 0.65), rgba(99, 91, 255, 0.18));
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.09);
  backdrop-filter: blur(16px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -90px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.18), transparent 70%);
}

.process-card:hover {
  transform: translateY(-7px);
  border-color: rgba(99, 91, 255, 0.45);
  box-shadow: 0 28px 74px rgba(99, 91, 255, 0.16);
}

.process-card.featured {
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 212, 255, 0.20), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 255, 0.90));
  border-color: rgba(99, 91, 255, 0.36);
}

.process-number {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(10, 37, 64, 0.09);
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.14), rgba(0, 212, 255, 0.18));
  box-shadow: inset 0 0 0 1px rgba(99, 91, 255, 0.16), 0 16px 34px rgba(10, 37, 64, 0.10);
  font-size: 28px;
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
  letter-spacing: -0.045em;
}

.process-card p {
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.process-card ul {
  margin: 0;
}

.process-card li {
  margin: 10px 0;
  font-size: 14px;
}

.process-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 0% 50%, rgba(0, 212, 255, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.08);
  backdrop-filter: blur(16px);
}

.process-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.process-note span {
  color: var(--muted);
}

@media (max-width: 1050px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: auto;
  }

  .process-note {
    align-items: stretch;
    flex-direction: column;
  }

  .process-note .btn {
    width: 100%;
  }
}

/* Launch-ready conversion upgrades */
.urgency-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 42px rgba(10, 37, 64, 0.08);
  backdrop-filter: blur(16px);
}

.urgency-banner span {
  color: #3b35a8;
  font-weight: 900;
}

.urgency-banner strong {
  color: var(--ink);
  font-size: 14px;
}

.package-card .select-package-btn,
.package-card .pay-package-btn {
  margin-top: 10px;
}

.package-card .select-package-btn {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: none;
}

.package-card .pay-package-btn {
  background: linear-gradient(135deg, var(--blue), #7a73ff 48%, var(--cyan));
}

.payment-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.payment-box p {
  margin-bottom: 0;
}

.payment-box .pay-selected-btn {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
}

.testimonials-section {
  padding-top: 52px;
}

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

.testimonial-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 32px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.09);
  backdrop-filter: blur(16px);
}

.testimonial-card.featured {
  border-color: rgba(99, 91, 255, 0.34);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 212, 255, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(99, 91, 255, 0.14);
}

.testimonial-card::after {
  content: "“";
  position: absolute;
  right: 22px;
  bottom: -36px;
  color: rgba(99, 91, 255, 0.10);
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
}

.stars {
  margin-bottom: 16px;
  color: #f59e0b;
  letter-spacing: 0.08em;
  font-size: 15px;
  font-weight: 900;
}

.testimonial-card p {
  position: relative;
  z-index: 1;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
}

.testimonial-card strong {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 920px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .payment-box,
  .urgency-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .payment-box .pay-selected-btn {
    width: 100%;
  }
}
