
:root {
  --header-height: 60px;
  --fiverr: #00ac2c;
  --upwork: #14a800;
  --fiverr-rgb: 0 172 44;
  --upwork-rgb: 20 168 0;
  --primary: #00ac2c;
  --accent: #14a800;
  --brand-gradient: linear-gradient(135deg, #00ac2c 0%, #14a800 100%);
  --fiverr-soft: rgb(var(--fiverr-rgb) / 0.12);
  --fiverr-medium: rgb(var(--fiverr-rgb) / 0.2);
  --upwork-soft: rgb(var(--upwork-rgb) / 0.12);
  --upwork-medium: rgb(var(--upwork-rgb) / 0.2);
  --bg: #ffffff;
  --bg-alt: rgb(var(--fiverr-rgb) / 0.06);
  --bg-dark: linear-gradient(165deg, rgb(var(--upwork-rgb) / 0.95), rgb(var(--fiverr-rgb) / 0.85));
  --text: #111111;
  --text-muted: #5a5a5a;
  --text-on-brand: #ffffff;
  --text-on-dark: #ffffff;
  --text-muted-on-dark: rgb(255 255 255 / 0.78);
  --border: rgb(var(--fiverr-rgb) / 0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 6px -1px rgb(var(--upwork-rgb) / 0.08), 0 2px 4px -2px rgb(var(--fiverr-rgb) / 0.06);
  --shadow-lg: 0 20px 40px -12px rgb(var(--upwork-rgb) / 0.16);
  --font: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.page-anchor-top {
  display: block;
  height: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.btn-primary {
  background: var(--brand-gradient);
  color: var(--text-on-brand);
  border-color: transparent;
}

.btn-primary:hover {
  filter: brightness(0.92);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgb(var(--fiverr-rgb) / 0.35);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--fiverr);
  color: var(--text);
  background: var(--fiverr-soft);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--fiverr);
  color: var(--text);
  background: var(--fiverr-soft);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  isolation: isolate;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-height);
  min-height: var(--header-height);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(18px, 4vw, 22px);
  font-weight: 800;
  min-width: 0;
}

.logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.logo-icon {
  color: var(--fiverr);
  font-size: 24px;
}

.logo-accent {
  color: var(--upwork);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--brand-gradient) !important;
  color: var(--text-on-brand) !important;
  padding: 10px 22px;
  border-radius: 8px;
}

.nav-cta:hover {
  filter: brightness(0.92);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  touch-action: manipulation;
}

.nav-overlay {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(var(--upwork-rgb) / 0.45);
  z-index: 98;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

body.nav-open .nav-overlay {
  display: block;
  pointer-events: auto;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(88px + env(safe-area-inset-top, 0px)) 0 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, var(--fiverr-soft), transparent),
    radial-gradient(ellipse 60% 50% at 85% 70%, var(--upwork-soft), transparent);
  z-index: -1;
}

.hero > .container {
  max-width: min(100%, 1320px);
  padding-left: max(clamp(12px, 3vw, 28px), env(safe-area-inset-left));
  padding-right: max(clamp(12px, 3vw, 28px), env(safe-area-inset-right));
}

.hero-content {
  text-align: center;
  max-width: min(100%, 1280px);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--fiverr-soft);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: clamp(11px, 3vw, 14px);
  font-weight: 600;
  margin-bottom: 18px;
  border: 1px solid var(--fiverr-medium);
  max-width: 100%;
  line-height: 1.45;
}

.hero h1 {
  font-size: clamp(22px, 6.2vw, 52px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
  width: 100%;
  max-width: min(100%, 1320px);
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}

.hero-line {
  display: block;
}

@media (min-width: 900px) {
  .hero-line {
    white-space: nowrap;
  }
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-fiverr {
  color: #00ac2c;
  -webkit-text-fill-color: #00ac2c;
}

.text-upwork {
  color: #14a800;
  -webkit-text-fill-color: #14a800;
}

.hero h1 .text-fiverr,
.hero h1 .text-upwork {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-sub {
  font-size: clamp(14px, 3.8vw, 18px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
  padding: 0 4px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 36px;
}

.hero-actions .btn {
  width: 100%;
  min-width: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 12px;
  max-width: 640px;
  margin: 0 auto;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 800;
  color: var(--text);
}

.stat span {
  font-size: clamp(12px, 3vw, 14px);
  color: var(--text-muted);
}

.hero-stats .stat:nth-child(3):last-child {
  grid-column: 1 / -1;
  max-width: 220px;
  margin-inline: auto;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--upwork);
  padding: 16px 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: stretch;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(255 255 255 / 0.85);
  font-size: clamp(12px, 3.2vw, 13px);
  font-weight: 500;
  text-align: left;
  max-width: none;
  justify-content: flex-start;
}

.trust-item svg {
  color: #fff;
}

.trust-item:nth-child(even) svg {
  color: #fff;
}

/* ===== Sections ===== */
.section {
  padding: clamp(56px, 10vw, 100px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 100%;
  margin: 0 auto clamp(32px, 6vw, 56px);
  padding: 0 clamp(8px, 2vw, 16px);
}

.section-tag {
  display: inline-block;
  background: var(--fiverr-soft);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--fiverr-medium);
}

.section-header h2 {
  font-size: clamp(18px, 5vw, 34px);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: normal;
  text-wrap: balance;
  line-height: 1.35;
}

.section-header p {
  color: var(--text-muted);
  font-size: clamp(14px, 3.8vw, 16px);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px) clamp(16px, 3vw, 28px);
  position: relative;
  transition: var(--transition);
  min-width: 0;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card.platform-fiverr:hover {
  border-color: var(--fiverr);
}

.service-card.platform-upwork:hover {
  border-color: var(--upwork);
}

.service-card.platform-fiverr.featured {
  border-color: var(--fiverr);
  box-shadow: 0 0 0 1px var(--fiverr), var(--shadow-lg);
}

.service-card.platform-upwork.featured {
  border-color: var(--upwork);
  box-shadow: 0 0 0 1px var(--upwork), var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--upwork);
  color: var(--text-on-brand);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.service-card.platform-fiverr .popular-badge {
  background: var(--fiverr);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-icon.fiverr {
  background: var(--fiverr-soft);
  color: var(--fiverr);
}

.service-icon.upwork {
  background: var(--upwork-soft);
  color: var(--upwork);
}

.service-card h3 {
  font-size: clamp(17px, 4.5vw, 20px);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.service-card > p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '✓';
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.service-card.platform-fiverr .service-features li::before {
  color: var(--fiverr);
}

.service-card.platform-upwork .service-features li::before {
  color: var(--upwork);
}

.btn-platform {
  width: 100%;
  color: var(--text-on-brand);
  border-color: transparent;
}

.service-card.platform-fiverr .btn-platform {
  background: var(--fiverr);
}

.service-card.platform-fiverr .btn-platform:hover {
  filter: brightness(0.92);
  box-shadow: 0 8px 20px rgb(var(--fiverr-rgb) / 0.3);
}

.service-card.platform-upwork .btn-platform {
  background: var(--upwork);
}

.service-card.platform-upwork .btn-platform:hover {
  filter: brightness(0.92);
  box-shadow: 0 8px 20px rgb(var(--upwork-rgb) / 0.3);
}

.service-card .btn {
  width: 100%;
}

/* ===== Steps ===== */
.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 12px;
  max-width: 360px;
  width: 100%;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--brand-gradient);
  color: var(--text-on-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
}

.steps > .step:nth-child(1) .step-num {
  background: var(--fiverr);
}

.steps > .step:nth-child(5) .step-num {
  background: var(--upwork);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
}

.step-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--fiverr), var(--upwork));
  opacity: 0.45;
  margin: 0;
  flex-shrink: 0;
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 3vw, 24px);
}

.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 28px);
  min-width: 0;
}

.stars {
  color: var(--text);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  background: var(--brand-gradient);
  color: var(--text-on-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.testimonial:nth-child(even) .avatar {
  background: var(--upwork);
}

.testimonial:nth-child(3n) .avatar {
  background: var(--fiverr);
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== Checkout ===== */
.checkout-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-top: 1px solid var(--fiverr-medium);
}

.checkout-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 32px);
  align-items: start;
}

.checkout-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow);
  min-width: 0;
}

.form-section {
  margin-bottom: 32px;
}

.form-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--fiverr);
  display: inline-block;
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
}

.form-group textarea {
  min-height: 96px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a5a5a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fiverr);
  box-shadow: 0 0 0 3px var(--fiverr-soft);
}

.checkout-form .form-group input:user-invalid,
.checkout-form .form-group select:user-invalid,
.checkout-form .form-group textarea:user-invalid,
.checkout-form.was-validated .form-group input:invalid,
.checkout-form.was-validated .form-group select:invalid,
.checkout-form.was-validated .form-group textarea:invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgb(220 38 38 / 0.12);
}

.checkout-form .form-group input:user-invalid:focus,
.checkout-form .form-group select:user-invalid:focus,
.checkout-form .form-group textarea:user-invalid:focus,
.checkout-form.was-validated .form-group input:invalid:focus,
.checkout-form.was-validated .form-group select:invalid:focus,
.checkout-form.was-validated .form-group textarea:invalid:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgb(220 38 38 / 0.18);
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.payment-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.payment-option input {
  display: none;
}

.payment-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  font-weight: 600;
  min-height: 52px;
}

.payment-option input:checked + .payment-card {
  border-color: var(--fiverr);
  background: var(--fiverr-soft);
}

.payment-logo {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-on-brand);
}

.payment-logo.bkash { background: var(--fiverr); }
.payment-logo.nagad { background: var(--upwork); }
.payment-logo.rocket { background: var(--upwork); }

.payment-number-box.bkash {
  border-color: var(--fiverr);
  background: var(--fiverr-soft);
}

.payment-number-box.nagad {
  border-color: var(--upwork);
  background: var(--upwork-soft);
}

.payment-number-box.rocket {
  border-color: var(--upwork);
  background: var(--upwork-soft);
}

.payment-number-box {
  display: none;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  text-align: center;
  animation: fadeIn 0.25s ease;
}

.payment-number-box.visible {
  display: block;
}

.payment-number-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.payment-number-method {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.payment-number-value {
  font-size: clamp(20px, 5vw, 26px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 6px;
  word-break: break-word;
}

.payment-number-note {
  font-size: 12px;
  color: var(--text-muted);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Order Summary */
.order-summary {
  background: #ffffff;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, 28px);
  position: static;
  min-width: 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.order-summary h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.summary-item span:last-child {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
  max-width: 55%;
}

.summary-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  padding: 8px 0 20px;
}

.summary-total span:last-child {
  color: var(--text);
}

.summary-guarantee {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--bg-alt);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.summary-guarantee svg {
  color: var(--upwork);
  flex-shrink: 0;
  margin-top: 2px;
}

.summary-guarantee p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.summary-contact {
  text-align: center;
}

.summary-contact p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--upwork);
  color: var(--text-on-brand);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  width: 100%;
  max-width: 280px;
}

.whatsapp-link:hover {
  filter: brightness(0.92);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: clamp(14px, 3vw, 18px) clamp(16px, 4vw, 24px);
  font-size: clamp(14px, 3.5vw, 16px);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition);
  color: var(--text);
  text-align: left;
  line-height: 1.45;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 400;
  transition: var(--transition);
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 14px clamp(16px, 4vw, 24px) clamp(16px, 3vw, 20px);
  font-size: clamp(14px, 3.5vw, 15px);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== Footer ===== */
.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.form-error {
  color: var(--text);
  background: var(--upwork-soft);
  border: 1px solid var(--upwork-medium);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
  display: none;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.footer {
  background: linear-gradient(180deg, rgb(var(--upwork-rgb) / 0.98), rgb(var(--fiverr-rgb) / 0.9));
  color: var(--text-muted-on-dark);
  padding: clamp(40px, 8vw, 60px) 0 30px;
  border-top: 1px solid var(--fiverr-medium);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin-bottom: 28px;
}

.footer-brand .logo {
  justify-content: center;
  margin-bottom: 12px;
}

.footer-brand .logo-text {
  color: var(--text-on-dark);
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted-on-dark);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 14px;
  transition: var(--transition);
  color: var(--text-on-dark);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--fiverr-medium);
  padding-top: 24px;
  font-size: 13px;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(var(--upwork-rgb) / 0.45);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 6vw, 48px) clamp(20px, 5vw, 40px);
  text-align: center;
  max-width: 420px;
  width: 100%;
  max-height: calc(100dvh - 48px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: var(--fiverr-soft);
  color: var(--fiverr);
  border: 2px solid var(--fiverr-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.modal-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text);
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 15px;
}

.payment-methods-2 {
  grid-template-columns: 1fr;
}

/* ===== Responsive (mobile-first) ===== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  }

  .header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .header-inner {
    height: var(--header-height);
    min-height: var(--header-height);
  }

  .menu-toggle {
    position: relative;
    z-index: 101;
    display: flex;
  }

  .nav-overlay {
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px));
  }

  .nav {
    display: flex;
    position: fixed;
    top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px));
    flex-direction: column;
    align-items: stretch;
    padding: 16px clamp(16px, 4vw, 24px);
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
    background: var(--bg);
    border-bottom: none;
    box-shadow: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.28s ease, visibility 0.28s ease;
    visibility: hidden;
    pointer-events: none;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    color: var(--text);
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav a:hover {
    background: var(--fiverr-soft);
    color: var(--text);
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 14px 22px !important;
    border-radius: 10px !important;
    justify-content: center;
  }

  body.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .service-card:hover {
    transform: none;
    box-shadow: none;
  }

  .trust-item {
    justify-content: center;
    text-align: center;
  }

  .summary-guarantee {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-link {
    max-width: none;
  }

  .modal {
    padding: 16px;
    align-items: flex-end;
  }

  .modal-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-width: 100%;
  }

  .footer-links {
    gap: 16px 20px;
  }
}

@media (min-width: 480px) {
  .payment-methods-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .trust-bar {
    padding: 20px 0;
  }

  .trust-inner {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px 24px;
    justify-items: center;
  }

  .trust-item {
    max-width: 280px;
    font-size: 13px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-methods {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .payment-card {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 12px;
    font-size: 13px;
  }
}

@media (min-width: 769px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: var(--header-height);
  }

  .hero {
    padding: 160px 0 100px;
  }

  .hero-badge {
    padding: 8px 18px;
    margin-bottom: 24px;
  }

  .hero h1 {
    margin-bottom: 20px;
  }

  .hero-sub {
    margin-bottom: 36px;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
    margin-bottom: 48px;
  }

  .hero-actions .btn {
    width: auto;
    min-width: 160px;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px 20px;
  }

  .hero-stats .stat:nth-child(3):last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .step {
    padding: 0 20px;
    max-width: none;
  }

  .step-connector {
    width: 60px;
    height: 2px;
    margin-top: 28px;
    background: linear-gradient(90deg, var(--fiverr), var(--upwork));
  }
}

@media (min-width: 1024px) {
  .checkout-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  }

  .order-summary {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .payment-methods-2 {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    margin-top: 8px;
  }

  .section-tag {
    font-size: 11px;
  }

  .checkout-form .btn-lg {
    font-size: 15px;
    line-height: 1.35;
  }
}

@media (max-width: 360px) {
  .logo-icon {
    font-size: 20px;
  }

  .container {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .hero h1 {
    font-size: clamp(20px, 6vw, 24px);
  }
}

@supports (padding: max(0px)) {
  .header {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }

  .container {
    padding-left: max(clamp(16px, 4vw, 24px), env(safe-area-inset-left));
    padding-right: max(clamp(16px, 4vw, 24px), env(safe-area-inset-right));
  }

  .modal {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* ===== Brand colors — Fiverr #00AC2C + Upwork #14A800 ===== */
.btn-primary,
.nav-cta,
#submitBtn {
  background: linear-gradient(135deg, #00ac2c 0%, #14a800 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
}

.logo-icon {
  color: #00ac2c;
}

.logo-accent {
  color: #14a800;
}

.trust-bar {
  background: #14a800 !important;
}

.step-num {
  background: linear-gradient(135deg, #00ac2c 0%, #14a800 100%) !important;
  color: #fff !important;
}

.steps > .step:nth-child(1) .step-num {
  background: #00ac2c !important;
}

.steps > .step:nth-child(5) .step-num {
  background: #14a800 !important;
}

.payment-logo.bkash {
  background: #00ac2c !important;
}

.payment-logo.nagad,
.payment-logo.rocket {
  background: #14a800 !important;
}

.payment-number-box.bkash {
  border-color: #00ac2c !important;
  background: rgb(0 172 44 / 0.1) !important;
}

.payment-number-box.nagad,
.payment-number-box.rocket {
  border-color: #14a800 !important;
  background: rgb(20 168 0 / 0.1) !important;
}

.footer {
  background: linear-gradient(165deg, #14a800 0%, #00ac2c 100%) !important;
  color: #fff !important;
}

.order-summary {
  background: #ffffff !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.order-summary h3,
.order-summary .summary-item span:last-child,
.order-summary .summary-total,
.order-summary .summary-total span:last-child {
  color: var(--text) !important;
}

.order-summary .summary-item,
.order-summary .summary-contact p,
.order-summary .summary-guarantee p {
  color: var(--text-muted) !important;
}

.order-summary .summary-guarantee {
  background: var(--bg-alt) !important;
  border-color: var(--border) !important;
}

.order-summary .summary-guarantee svg {
  color: var(--upwork) !important;
}

.whatsapp-link {
  background: #14a800 !important;
  color: #fff !important;
}

.service-card.platform-fiverr .btn-platform {
  background: #00ac2c !important;
  color: #fff !important;
}

.service-card.platform-upwork .btn-platform {
  background: #14a800 !important;
  color: #fff !important;
}

/* Readable text on light backgrounds */
.hero h1,
.hero-badge,
.section-tag,
.section-header h2,
.step h3,
.service-card h3,
.form-section h3,
.form-group label,
.faq-item summary,
.stat strong,
.stars,
.payment-number-value,
.modal-content h2,
.testimonial p,
.testimonial-author strong {
  color: #111111 !important;
}

.hero h1 .text-fiverr {
  color: #00ac2c !important;
  -webkit-text-fill-color: #00ac2c !important;
}

.hero h1 .text-upwork {
  color: #14a800 !important;
  -webkit-text-fill-color: #14a800 !important;
}

.hero-sub,
.section-header p,
.step p,
.service-card > p,
.form-hint,
.faq-item p,
.stat span,
.testimonial-author span {
  color: #5a5a5a !important;
}

.footer-brand .logo-text,
.footer-brand .logo-icon,
.footer-brand .logo-accent {
  color: #fff !important;
}

.footer-bottom {
  color: rgb(255 255 255 / 0.78) !important;
}
