/* SpinMyCV Brand Theme */
:root {
  --brand-1: #FF6A00;
  --brand-2: #C21807;
  --text: #0E1116;
  --muted: #5E6673;
  --paper: #FFFFFF;
  --bg: #F7F9FC;
  --line: #E9ECF1;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
}

/* === Perfected Header & Logo === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: padding 0.3s ease;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.03);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #ff6a00; /* Brand orange */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 10px;
  padding: 0 24px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #FF6A00, #C21807);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,106,0,.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-1);
  border: 2px solid var(--brand-1);
}

.btn-secondary:hover {
  background: var(--brand-1);
  color: #fff;
}

.btn-outline {
  border: 2px solid #ff8a33;
  background: #fff;
  color: #c44512;
}

.btn-outline:hover {
  background: #fff7ef;
}

/* Links */
.link-cta {
  color: var(--brand-1);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
}

.link-cta:hover {
  text-decoration: underline;
  color: var(--brand-2);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(180deg, #fff, #fff7f1 35%, #ffe8d9 100%);
  text-align: center;
  padding: 72px 24px;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.hero-badge {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  margin-bottom: 20px;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

.hero-title {
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  color: #121315;
  margin-bottom: 10px;
}

.hero-title span {
  background: linear-gradient(135deg, #FF6A00, #C21807);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-sub {
  color: #5b616a;
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto 24px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* Badge */
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 500;
}

/* Sections */
.section {
  padding: 64px 16px;
  background: transparent;
}

.container {
  max-width: 1120px;
  margin: auto;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  margin: 0 0 40px;
  text-align: center;
  font-size: 18px;
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: all 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}

.card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* Trust Row */
.trust-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 15px;
}

/* Templates */
.templates .thumb {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  aspect-ratio: 8.5 / 11;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.templates .thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.15);
}

/* Template Preview Content */
.thumb-header {
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.thumb-header.modern {
  border-bottom: 3px solid #FF6A00;
}

.thumb-header.classic {
  border-bottom: 2px solid #888;
  text-align: center;
}

.thumb-header.minimalist {
  border-bottom: 1px solid #ddd;
}

.thumb-name {
  font-weight: 700;
  font-size: 14px;
  color: #111;
  margin-bottom: 4px;
  font-family: Georgia, serif;
}

.thumb-header.minimalist .thumb-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
}

.thumb-title {
  font-size: 10px;
  color: #666;
  font-family: Georgia, serif;
}

.thumb-header.modern .thumb-title {
  color: #FF6A00;
  font-weight: 600;
}

.thumb-header.minimalist .thumb-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
}

.thumb-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.thumb-section-title {
  font-size: 9px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.thumb-header.classic ~ .thumb-body .thumb-section-title {
  text-align: center;
}

.thumb-line {
  height: 2px;
  background: #e0e0e0;
  border-radius: 1px;
  width: 100%;
}

.thumb-line.short {
  width: 70%;
}

.thumb-header.classic ~ .thumb-body .thumb-line {
  margin: 0 auto;
}

.thumb-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.thumb-dots .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FF6A00;
  display: inline-block;
}

.thumb-bar {
  height: 3px;
  background: linear-gradient(to right, #888 0%, #888 60%, #e0e0e0 60%, #e0e0e0 100%);
  border-radius: 2px;
  width: 80%;
  margin: 2px auto;
}

.thumb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}

.thumb-pills .pill {
  font-size: 7px;
  padding: 2px 6px;
  background: #f0f0f0;
  color: #555;
  border-radius: 8px;
  display: inline-block;
}

.thumb-label {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #666;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Pricing */
.pricing {
  background: #fff;
}

.price-card {
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 32px 24px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.2s ease;
}

.price-card:hover {
  border-color: var(--brand-1);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.15);
}

.price-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.price {
  font-size: 42px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 24px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.price-card li {
  padding: 8px 0;
  color: var(--text);
}

.check {
  color: var(--brand-1);
  font-weight: 700;
  margin-right: 8px;
}

/* FAQ */
.faq {
  background: var(--bg);
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq details:hover {
  border-color: var(--brand-1);
}

.faq summary {
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.faq details[open] {
  border-color: var(--brand-1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 48px 16px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* Mobile Header Fixes */
  .header-inner {
    padding: 12px 16px;
    gap: 12px;
  }

  .nav-links {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: 14px;
  }

  .nav-links .btn {
    font-size: 13px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .logo-img {
    height: 36px !important;
  }
}

@media (max-width: 500px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  /* Extra small mobile - stack navigation */
  .header-inner {
    padding: 10px 12px;
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: space-around;
    gap: 8px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .nav-links .btn {
    font-size: 12px;
    padding: 7px 10px;
  }

  .logo-img {
    height: 32px !important;
  }
}

/* Footer */
.site-footer {
  background: #0F0F10;
  color: #C9CBD2;
  border-top: 1px solid #1d1d1f;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot-logo {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.foot-tag {
  font-size: 12px;
  color: #9aa0a8;
}

.foot-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-links a {
  color: #C9CBD2;
  text-decoration: none;
  font-weight: 600;
}

.foot-links a:hover {
  color: #FF6A00;
}

.foot-social {
  display: flex;
  gap: 12px;
}

.foot-social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2a2d33;
  border-radius: 8px;
  color: #EAECEF;
  text-decoration: none;
}

.foot-social a:hover {
  border-color: #FF6A00;
  color: #FF6A00;
}

.foot-meta {
  border-top: 1px solid #1d1d1f;
  text-align: center;
  padding: 12px 16px;
  font-size: 12px;
  color: #9aa0a8;
}

@media (max-width: 880px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .foot-links {
    gap: 12px;
  }
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #ffffff;
  border-top: 1px solid #eaeaea;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 12px 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.btn-cta {
  flex: 1;
  max-width: 200px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF6A00, #C21807);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
  transition: all 0.2s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.4);
}

.btn-ghost {
  flex: 1;
  max-width: 200px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  border-color: #FF6A00;
  color: #FF6A00;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* ===== Import Wizard ===== */
.modal{
  position: fixed; inset:0; display:none; place-items:center; background:rgba(0,0,0,.5);
  z-index: 2000;
}
.modal[aria-hidden="false"]{ display:grid; }
.modal__dialog{
  width:min(900px, 96vw); background:#fff; color:#111; border-radius:12px; padding:20px 20px 16px;
  box-shadow:0 20px 80px rgba(0,0,0,.35); position:relative;
}
.modal__close{
  position:absolute; top:10px; right:10px; border:none; background:#f6f7f9; width:36px; height:36px;
  border-radius:8px; cursor:pointer; font-weight:700;
}
.modal h2{ margin:0 0 6px; font-size:22px; }
.modal__sub{ margin:0 0 14px; color:#666; }

.drop{ display:block; border:2px dashed #d7dbe1; border-radius:12px; padding:22px; background:#fff; cursor:pointer; }
.drop__ui{ display:grid; place-items:center; gap:4px; color:#333; }
.drop .icon{ font-size:24px; }
.muted{ color:#667088; margin-top:8px; font-size:13px; }

.wiz-actions{ display:flex; justify-content:flex-end; gap:10px; margin-top:16px; }
.wiz-step h3{ margin:10px 0 12px; }
.map-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.map-grid label{ display:flex; flex-direction:column; gap:6px; font-size:13px; color:#3a3c41; }
.map-grid input, .map-grid textarea{
  border:1px solid #cfd2d6; border-radius:8px; padding:10px 12px; font:inherit; background:#fff; color:#111;
}
.list{ display:grid; gap:12px; }
.list .cardish{
  border:1px solid #e5e7eb; border-radius:10px; padding:12px; background:#fff;
}
.cardish label{ display:block; font-size:12px; color:#666; margin:6px 0 4px; }
.cardish input, .cardish textarea{
  width:100%; border:1px solid #d8dbe0; border-radius:8px; padding:8px 10px; font:inherit; background:#fff; color:#111;
}
.cardish textarea{ min-height:90px; }
@media (max-width: 760px){
  .map-grid{ grid-template-columns:1fr; }
}
