/* ATH – Hostinger static version */
:root {
  --ink: #122018;
  --paper: #f7f4ef;
  --cream: #efe9df;
  --line: #d9d2c5;
  --leaf: #1c7a4c;
  --leaf-deep: #145c39;
  --gold: #c4a15a;
  --muted: #6b6560;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.font-display { font-family: var(--font-display); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-desktop a:hover { background: var(--cream); }

.role-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  padding: 3px;
  font-size: 0.85rem;
}

.role-toggle button {
  border: none;
  background: transparent;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.role-toggle button.active {
  background: var(--ink);
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-leaf {
  background: var(--leaf);
  color: var(--paper);
}
.btn-leaf:hover { background: var(--leaf-deep); }

.btn-outline {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-outline:hover { background: var(--cream); }

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 0.75rem 1rem 1rem;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.75rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}
.mobile-nav a:hover { background: var(--cream); }

/* Main */
main { flex: 1; }

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero */
.hero {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
  align-items: center;
}

@media (min-width: 768px) {
  .hero { grid-template-columns: 1fr 1fr; padding: 5rem 0; }
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 600;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.lead {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 28rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(18, 32, 24, 0.04);
}

.preview-list { list-style: none; }
.preview-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.preview-list li:last-child { border-bottom: none; }
.preview-pay {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--leaf);
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin-bottom: 1.25rem;
}

.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
}
.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.15s;
}
.cat-card:hover { border-color: var(--leaf); }

.features {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Job / Gig cards */
.grid-cards {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
}

.job-card, .gig-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s;
}
.job-card:hover, .gig-card:hover { border-color: var(--leaf); }

.job-card h3, .gig-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

.meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.pay-tag {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--leaf);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Detail page */
.detail-header {
  margin-bottom: 1.5rem;
}
.detail-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-top: 0.35rem;
}
.steps {
  list-style: none;
  margin-top: 1rem;
}
.steps li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--leaf);
  color: var(--paper);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps { counter-reset: step; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem;
  margin-top: 1.5rem;
}
.form-card label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.form-card input,
.form-card select,
.form-card textarea {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  width: 100%;
}
.form-card textarea { min-height: 7rem; resize: vertical; }

/* Pricing */
.plans {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}
.plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.5rem;
}
.plan h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.plan .fee {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--leaf);
  margin: 0.5rem 0 0.15rem;
}
.plan ul {
  list-style: none;
  margin-top: 1.25rem;
  font-size: 0.95rem;
}
.plan li { padding: 0.25rem 0; }

/* FAQ */
.faq-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  overflow: hidden;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem;
}
.faq-list details:last-child { border-bottom: none; }
.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: auto;
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.footer-desc {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.75);
  max-width: 16rem;
}
.footer-col h4 {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(247, 244, 239, 0.75);
  padding: 0.2rem 0;
}
.footer-col a:hover { color: var(--paper); }

.page-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 0.35rem;
}
.page-sub {
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.empty {
  border: 1px dashed var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  color: var(--muted);
  background: var(--paper);
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.success-msg {
  background: #e8f5ee;
  border: 1px solid #b8dfc8;
  color: var(--leaf-deep);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Tabs – My Desk */
.tabs {
  display: flex;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 0.7rem 1.1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tab-btn.active {
  color: var(--ink);
  border-bottom-color: var(--leaf);
}
.tab-btn .count {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0.1rem 0.4rem;
  margin-left: 0.25rem;
  border-radius: 999px;
  background: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
}
.tab-btn.active .count {
  background: var(--leaf);
  color: var(--paper);
}

.status-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.status-pill.pending { background: #fff3cd; color: #856404; }
.status-pill.active { background: #dbeafe; color: #1e40af; }
.status-pill.paid { background: #d1fae5; color: #065f46; }

/* Loading spinner */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}
.btn-loading .btn-text { visibility: hidden; }
.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.15rem;
  height: 1.15rem;
  margin: -0.575rem 0 0 -0.575rem;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.file-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.file-row input[type="file"] {
  font-size: 0.9rem;
}
.proof-name {
  font-size: 0.85rem;
  color: var(--leaf);
  font-weight: 600;
}
