:root {
  --primary-color: #2563eb;
  --success-color: #16a34a;
  --text-color: #1f2937;
  --border-color: #e5e7eb;
  --background-color: #f3f4f6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subtitle {
  color: #6b7280;
  font-size: 1.125rem;
}

.form-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.form-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.15s ease-in-out;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.entries-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.education-entry {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

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

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-success {
  background-color: var(--success-color);
  color: white;
}

.btn-success:hover {
  background-color: #15803d;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 2rem;
}

/* Resume Preview Styles */
.resume-preview {
  background-color: white;
  padding: 3rem;
  margin-top: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.resume-name {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

.resume-section {
  margin-bottom: 2rem;
}

.resume-section-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.skills-list, .hobbies-list {
  list-style-type: none;
  padding: 0;
}

.skills-list li, .hobbies-list li {
  margin-bottom: 0.5rem;
}

.education-item {
  margin-bottom: 1.5rem;
}

.education-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.education-school {
  font-weight: 600;
}



.btn-danger {
  background-color: #dc2626;
  color: #ffffff;
}

.btn-danger:hover {
  background-color: #b91c1c;
}

.pay-info {
  margin-right: auto;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Success page */
.success-body {
  background: linear-gradient(135deg, #0f172a, #111827);
  color: #f9fafb;
  min-height: 100vh;
}

.success-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.success-card {
  background-color: #020617;
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.success-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.success-text {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.hidden {
  display: none;
}

.payment-success {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  background-color: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}


/* Layout tweaks */
body {
  background: radial-gradient(circle at top, #e5f0ff 0, #f3f4f6 45%, #e5e7eb 100%);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: #111827;
  border-bottom-color: #2563eb;
}

/* Hero */
.hero {
  padding: 3rem 0 2rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-title {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-cta {
  font-size: 1rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Right hero card */
.hero-card {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.65);
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.92rem;
}

.hero-list li {
  margin-bottom: 0.5rem;
}

/* Builder section */
.builder-section {
  padding: 1rem 0 3rem;
}

.form-container {
  margin-top: 1rem;
}

/* Info sections */
.info-section {
  padding: 2.5rem 0;
}

.info-inner > h2 {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

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

.info-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 0.92rem;
  color: #4b5563;
}

/* Muted sections (FAQ / Support placeholders) */
.info-section.muted {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.muted-text {
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 36rem;
}

/* Tighten form section titles a bit under new layout */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .nav-links {
    display: none; /* keep it simple for mobile */
  }
}


/* FAQ styling */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.faq-question {
  margin: 0 0 0.4rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
}

.faq-answer {
  margin: 0;
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.5;
}
