:root {
  --orange: #ff6b00;
  --black: #121212;
  --gray: #666;
  --light: #f7f7f7;
  --white: #fff;
  --page-bg: #f6f2ed;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; color: var(--black); background: radial-gradient(circle at top left, rgba(255,107,0,.12), transparent 24%), linear-gradient(180deg, #fdf7f2 0%, #f3eee8 100%); background-attachment: fixed; line-height: 1.6; }
a { text-decoration: none; color: inherit; }

.navbar { display: flex; justify-content: space-between; align-items: center; padding: 22px 7%; background: rgba(255,107,0,.14); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; }
.logo strong { color: var(--orange); }
.logo-icon { background: linear-gradient(135deg, var(--orange), #ff8a00); color: white; font-weight: 900; border-radius: 12px; padding: 8px 10px; font-size: 16px; }
.nav-links { display: flex; gap: 24px; align-items: center; font-weight: 600; }
.nav-links a:hover { color: var(--orange); }
.btn-small, .btn-primary { background: var(--orange); color: white !important; padding: 12px 20px; border-radius: 999px; font-weight: 700; display: inline-block; }
.btn-secondary { border: 2px solid var(--black); padding: 10px 20px; border-radius: 999px; font-weight: 700; }
.menu-btn { display: none; background: none; border: none; font-size: 28px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 80px 7%; min-height: 82vh; background: radial-gradient(circle at right, rgba(255,107,0,.14), transparent 35%); }
.badge { color: var(--orange); font-weight: 800; margin-bottom: 15px; }
h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.05; margin-bottom: 24px; }
.subtitle { color: var(--gray); font-size: 20px; max-width: 650px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 35px; }
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stats strong { display: block; font-size: 28px; color: var(--orange); }
.stats span { color: var(--gray); }
.hero-card { display: flex; justify-content: center; }
.mission-card { width: min(420px, 100%); background: white; padding: 30px; border-radius: 28px; box-shadow: 0 25px 80px rgba(0,0,0,.13); }
.tag { background: #fff0e6; color: var(--orange); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.mission-card h3 { margin: 22px 0 8px; font-size: 28px; }
.proposal { display: flex; gap: 14px; align-items: center; margin: 25px 0; padding: 16px; border-radius: 18px; background: var(--light); }
.connexion-card, .publish-card, .signup-card { max-width: 640px; margin: 0 auto; background: white; padding: 40px; border-radius: 32px; box-shadow: 0 24px 80px rgba(0,0,0,.08); }
.connexion-card form, .signup-card form { display: grid; gap: 24px; }
.connexion-card fieldset, .signup-card fieldset { border: 1px solid #eee; border-radius: 20px; padding: 28px; background: #fcfcfc; }
.connexion-card legend, .signup-card legend { font-size: 18px; font-weight: 700; margin-bottom: 18px; color: var(--black); }
.form-group { display: grid; gap: 12px; }
.connexion-card label, .signup-card label { color: #444; font-weight: 700; }
.connexion-card input, .connexion-card select, .connexion-card textarea, .signup-card input, .signup-card select, .signup-card textarea { width: 100%; padding: 16px 18px; border: 1px solid #ddd; border-radius: 16px; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.connexion-card input:focus, .connexion-card select:focus, .connexion-card textarea:focus, .signup-card input:focus, .signup-card select:focus, .signup-card textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,0,.12); }
.connexion-card textarea, .signup-card textarea { min-height: 140px; resize: vertical; }
.connexion-card p, .signup-card p, .signup-note { color: var(--gray); margin-top: 8px; }
.publish-card { text-align: center; }
.signup-selection { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; justify-items: center; }
.switch-card { border: 1px solid #ddd; background: white; padding: 40px 32px; border-radius: 34px; transition: all .25s ease; box-shadow: 0 18px 55px rgba(0,0,0,.06); display: grid; gap: 16px; min-height: 240px; text-decoration: none; color: inherit; text-align: center; }
.switch-card.large { min-height: 280px; }
.switch-card h3 { margin: 0; font-size: 28px; }
.switch-card p { margin: 0; color: var(--gray); line-height: 1.6; font-size: 16px; }
.switch-card:hover { transform: translateY(-4px); border-color: rgba(255,107,0,.5); }
.switch-card.active { border-color: var(--orange); background: rgba(255,107,0,.1); color: var(--orange); box-shadow: 0 20px 60px rgba(255,107,0,.12); }
.signup-forms { display: none; }
.signup-card h3 { margin-bottom: 18px; font-size: 24px; }
.signup-note { text-align: center; margin-top: 20px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 12px; color: var(--gray); font-weight: 500; font-size: 14px; line-height: 1.4; }
.checkbox-label input { width: auto; margin-top: 3px; margin-right: 8px; }
.remember-label { margin-bottom: 12px; }
.company-field { display: none; }
.field-note { margin: 0 0 14px 0; color: #888; font-size: 14px; line-height: 1.4; }
.password-field .password-input-wrap { position: relative; }
.password-input-wrap { position: relative; }
.password-input-wrap input { padding-right: 110px; }
.toggle-password { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: var(--orange); font-weight: 700; cursor: pointer; padding: 8px 10px; border-radius: 999px; }
.password-note.invalid, .password-match-note.invalid { color: #b00020; }
.password-note.valid, .password-match-note.valid { color: #14833b; }
.email-note { margin-top: 10px; color: #555; font-size: 14px; }
.confirmation-message { display: none; margin-top: 24px; padding: 18px 22px; background: #eaf7ff; border: 1px solid #8bc9ff; border-radius: 18px; color: #035d98; font-weight: 600; }
.confirmation-message .confirmation-email { color: #003d66; }
.server-error { display: none; margin-top: 12px; color: #b00020; font-size: 14px; }
@media (max-width: 850px) {
  .signup-selection { grid-template-columns: 1fr; }
}
.publish-card p { color: var(--gray); margin: 0 auto 24px; max-width: 620px; }
.avatar, .profile-avatar { background: var(--black); color: white; display: grid; place-items: center; border-radius: 50%; font-weight: 900; }
.avatar { width: 48px; height: 48px; }
.mission-card button { width: 100%; border: 0; background: var(--black); color: white; padding: 15px; border-radius: 14px; font-weight: 800; cursor: pointer; }

section { padding: 70px 7%; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title p { color: var(--orange); font-weight: 800; }
.section-title h2 { font-size: 40px; }
.category-grid, .freelance-grid, .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.category-card, .step, .profile-card { background: white; border: 1px solid #eee; border-radius: 24px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.04); }
.category-card { font-size: 32px; }
.category-card h3 { font-size: 18px; margin-top: 10px; }
.how { background: var(--light); }
.step span { width: 44px; height: 44px; display: grid; place-items: center; background: var(--orange); color: white; border-radius: 50%; font-weight: 900; margin-bottom: 18px; }
.profile-card { text-align: center; }
.profile-avatar { width: 70px; height: 70px; margin: 0 auto 15px; font-size: 28px; }
.profile-card span { color: var(--orange); font-weight: 700; }
.cta { margin: 70px 7%; border-radius: 32px; background: var(--black); color: white; text-align: center; }
.cta h2 { font-size: 42px; }
.cta p { color: #ddd; margin: 12px 0 25px; }
footer { padding: 45px 7%; background: #070707; color: white; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; color: #ccc; }

@media (max-width: 850px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; width: 100%; background: white; padding: 25px 7%; flex-direction: column; align-items: flex-start; box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  .nav-links.active { display: flex; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .section-title h2, .cta h2 { font-size: 32px; }
}
