/* Order Term Paper Online — static site styles */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f8fa;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --border: #e2e8f0;
  --green: #16a34a;
  --red: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15,23,42,0.06), 0 10px 30px rgba(15,23,42,0.05);
  --shadow-lg: 0 10px 40px rgba(15,23,42,0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: 'Inter', system-ui, sans-serif; line-height: 1.25; color: #0f172a; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 24px 0 10px; }
p { margin: 0 0 16px; }

/* 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(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 1.05rem; color: #0f172a; text-decoration: none; }
.main-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.main-nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.main-nav a:hover { color: var(--primary); text-decoration: none; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
}
.hero h1 { color: #fff; }
.hero-lead { max-width: 760px; margin: 0 auto; color: #cbd5e1; font-size: 1.1rem; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 14px; }

/* Quick answer */
.quick-answer {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: -36px auto 40px;
  position: relative;
}
.quick-answer-title { margin-top: 0; color: var(--primary-dark); }
.quick-list { margin: 0; padding-left: 20px; }
.quick-list li { margin-bottom: 10px; }

/* Content */
.content { margin-bottom: 48px; }
.content ul, .content ol { padding-left: 22px; }
.content li { margin-bottom: 8px; }

/* Methodology */
.criteria-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 20px 0; }
.criteria-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.criteria-card h3 { margin-top: 0; color: var(--primary-dark); }

.callout {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  color: #1e3a8a;
  font-weight: 500;
}

/* Service cards */
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 24px 0;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.rank-1 { border-color: #fbbf24; border-width: 2px; background: linear-gradient(180deg, #fffbeb 0%, #ffffff 40%); }
.service-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.service-head h3 { margin: 0; font-size: 1.3rem; }
.medal { font-size: 1rem; font-weight: 700; white-space: nowrap; }
.rank-1 .medal { color: #b45309; }
.price-line { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }

/* CTA blocks */
.cta-block {
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.cta-text { margin: 0; font-weight: 500; }
.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #0f172a;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta-button:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,158,11,0.4); text-decoration: none; color: #0f172a; }

.cta-final { align-items: center; text-align: center; padding: 36px 28px; }
.cta-text-large { font-size: 1.25rem; font-weight: 700; max-width: 640px; }
.cta-button-large { font-size: 1.1rem; padding: 16px 36px; }
.cta-sub { color: #cbd5e1; font-size: 0.95rem; margin: 4px 0 0; }
.cta-sub a { color: #fff; text-decoration: underline; }

.cta-button-sm {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
}
.cta-button-sm:hover { background: var(--primary-dark); text-decoration: none; color: #fff; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0; }
.compare-table { width: 100%; border-collapse: collapse; min-width: 600px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.compare-table th { background: var(--bg-dark); color: #fff; font-weight: 600; }
.compare-table tbody tr:nth-child(even) { background: var(--bg-alt); }
.compare-table tbody tr:hover { background: #eff6ff; }

/* Choose grid */
.choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 20px 0; }
.choose-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }

/* Checklists */
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 20px 0; }
.checklist-card { background: #fff; border: 2px solid var(--green); border-radius: var(--radius); padding: 22px; }
.checklist-card h3 { margin-top: 0; color: var(--green); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding-left: 26px; position: relative; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Tips */
.tips-list { counter-reset: tip; list-style: none; padding: 0; }
.tips-list li { counter-increment: tip; padding: 18px 20px 18px 60px; position: relative; background: var(--bg-alt); border-radius: var(--radius); margin-bottom: 14px; }
.tips-list li::before { content: counter(tip); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Mistakes */
.mistake-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 20px 0; }
.mistake-card { background: #fef2f2; border: 2px solid #fecaca; border-radius: var(--radius); padding: 22px; }
.mistake-card h3 { margin-top: 0; color: var(--red); }

/* Advice */
.advice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin: 20px 0; }
.advice-card { background: #f0fdf4; border: 2px solid #bbf7d0; border-radius: var(--radius); padding: 22px; }
.advice-card h3 { margin-top: 0; color: #15803d; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq-item summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--primary); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 20px 18px; margin: 0; color: var(--text-muted); }

/* Footer */
.site-footer { background: var(--bg-dark); color: #cbd5e1; padding: 48px 0 24px; margin-top: 60px; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.footer-col h3 { color: #fff; margin-top: 0; font-size: 1rem; }
.footer-col a { color: #93c5fd; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 20px; text-align: center; color: #94a3b8; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 700px) {
  .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
  .main-nav { gap: 14px; justify-content: center; }
  .hero { padding: 48px 0 40px; }
  .quick-answer { margin-top: -28px; }
}

img { max-width: 100%; height: auto; }
