/* Amazon Shift Helper — full website styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #131a22;
  --dark: #232f3e;
  --orange: #ff9900;
  --orange-hover: #ffac31;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --gray-bg: #f7f8fa;
  --border: #e5e7eb;
  --green: #16a34a;
  --red: #dc2626;
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  background: var(--navy);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-badge {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.logo-text { color: var(--white); font-weight: 700; font-size: 17px; }

.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange); color: var(--navy) !important; font-weight: 700;
  padding: 8px 18px; border-radius: 6px;
}
.nav-cta:hover { background: var(--orange-hover); color: var(--navy) !important; }

.nav-toggle {
  display: none; background: none; border: 1px solid #4b5563; color: #fff;
  border-radius: 6px; padding: 6px 12px; font-size: 18px; cursor: pointer; line-height: 1;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  color: var(--white);
  padding: 76px 0 96px;
  text-align: center;
}
.hero h1 { font-size: 46px; line-height: 1.15; margin-bottom: 18px; }
.hero .tagline { font-size: 19px; color: #d6dbe0; max-width: 620px; margin: 0 auto; }
.hero .tagline strong { color: var(--orange); }

.hero-cta { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 14px 34px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 16px; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease; }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn-secondary { background: transparent; border: 2px solid rgba(255,255,255,0.4); color: var(--white); }
.btn-secondary:hover { border-color: var(--white); transform: translateY(-2px); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--navy); transform: translateY(-2px); }

.trust-note { margin-top: 26px; font-size: 13px; color: #9aa3ab; }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 78px 0; }
.section-gray { background: var(--gray-bg); }
h2.section-title { text-align: center; font-size: 34px; margin-bottom: 12px; }
p.section-sub { text-align: center; color: var(--muted); margin-bottom: 40px; }

.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  color: var(--white); text-align: center; padding: 56px 0 64px;
}
.page-hero h1 { font-size: 38px; margin-bottom: 10px; }
.page-hero p { color: #d6dbe0; max-width: 640px; margin: 0 auto; font-size: 17px; }
.breadcrumb { font-size: 13px; color: #9aa3ab; margin-bottom: 14px; }
.breadcrumb a { color: var(--orange); text-decoration: none; }

/* ── Feature grid (home) ───────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.section-gray .feature { background: var(--white); }
.feature-icon { font-size: 30px; margin-bottom: 12px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ── Pricing ───────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  background: var(--gray-bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 26px; text-align: center; position: relative;
  display: flex; flex-direction: column;
}
.plan.featured { background: var(--white); border: 2px solid var(--orange); box-shadow: 0 8px 30px rgba(255,153,0,0.15); }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: var(--navy);
  padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 800;
}
.plan-name { font-size: 16px; font-weight: 700; color: var(--muted); }
.plan-price { font-size: 48px; font-weight: 800; color: var(--dark); }
.plan-interval { color: var(--muted); margin-bottom: 20px; }
.plan ul { list-style: none; margin-bottom: 24px; flex-grow: 1; text-align: left; max-width: 200px; margin-left: auto; margin-right: auto; }
.plan li { padding: 5px 0; font-size: 15px; }
.plan li:before { content: "✓"; color: var(--orange); font-weight: 800; margin-right: 8px; }
.btn-buy { display: block; padding: 13px; border-radius: 8px; background: var(--dark); color: var(--white); text-decoration: none; font-weight: 700; transition: background 0.15s ease; }
.btn-buy:hover { background: var(--navy); }
.plan.featured .btn-buy { background: var(--orange); color: var(--navy); }
.plan.featured .btn-buy:hover { background: var(--orange-hover); }

/* ── Steps / install ───────────────────────────────────── */
.steps { max-width: 700px; margin: 0 auto; }
.step { display: flex; gap: 20px; margin-bottom: 30px; }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; flex-shrink: 0;
}
.step-text strong { display: block; font-size: 17px; margin-bottom: 4px; }
.step-text p { color: var(--muted); margin-bottom: 6px; }
code, .code-block {
  background: var(--border); padding: 2px 7px; border-radius: 5px; font-family: "SFMono-Regular", Consolas, Menlo, monospace; font-size: 13px;
}
.code-block { display: block; background: var(--navy); color: #d1d5db; padding: 12px 16px; border-radius: 8px; overflow-x: auto; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-item { max-width: 760px; margin: 0 auto 14px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; }
.section-gray .faq-item { background: var(--white); }
.faq-q { cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-q .chevron { color: var(--orange); font-weight: 800; transition: transform 0.2s ease; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 22px 18px; color: var(--muted); }
.faq-item.open .faq-a { display: block; }

/* ── Support / contact ─────────────────────────────────── */
.support-card { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 36px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.support-card h3 { margin-bottom: 12px; }
.support-card p { color: var(--muted); margin-bottom: 16px; }
.support-card a { color: var(--dark); font-weight: 700; }
.info-line { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); }
.info-line strong { color: var(--text); }
.info-line:last-child { border-bottom: none; }

/* ── Comparison table (pricing/install) ────────────────── */
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--dark); color: var(--white); font-size: 14px; }
.compare-table td { font-size: 14px; }
.compare-table td.free { color: #059669; font-weight: 700; }
.compare-table td.pro { color: var(--green); font-weight: 700; }

/* ── Shared footer ─────────────────────────────────────── */
footer { background: var(--navy); color: #b0b7bf; padding: 36px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 24px; }
.footer-grid h4 { color: var(--white); margin-bottom: 12px; font-size: 15px; }
.footer-grid a { display: block; color: #b0b7bf; text-decoration: none; padding: 3px 0; font-size: 14px; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #2a3440; padding-top: 18px; text-align: center; font-size: 13px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; width: 100%; padding: 14px 0 6px; gap: 12px; align-items: flex-start;
  }
  .nav-links.open { display: flex; }
  .hero h1, .page-hero h1 { font-size: 32px; }
  .hero { padding: 52px 0 72px; }
  .pricing-grid, .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}