/* ═══════════ Portfolio Service — Sales Page ═══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f6f8fb;
  --bg-alt: #eef1f6;
  --text: #1a1d28;
  --text-secondary: #5a6175;
  --text-muted: #64748b;
  --accent: #d4af37;
  --accent-hover: #e6c564;
  --cta: #d4af37;
  --cta-hover: #e6c564;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --radius: 16px;
  --max-width: 1100px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); text-align: center; margin-bottom: 14px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

/* ───────── NAV ───────── */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.02em; color: #005090; }
.brand-logo { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--accent); overflow: hidden; flex-shrink: 0; background: var(--bg); }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-accent { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.currency { display: flex; align-items: center; gap: 6px; }
.currency-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-right: 2px; }
.curr-btn {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 10px; font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
  cursor: pointer; font-family: var(--font); transition: all 0.15s;
}
.curr-btn:hover { border-color: var(--accent); color: var(--accent); }
.curr-btn.active { background: var(--accent); border-color: var(--accent); color: #0d1b2a; }

/* ───────── HERO ───────── */
.hero { text-align: center; padding: 96px 24px 72px; background: linear-gradient(rgba(13,27,42,0.55), rgba(13,27,42,0.55)), url("hero-photo.jpg") center/cover no-repeat; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); max-width: 820px; margin: 0 auto 18px; }
.hl { color: var(--accent); }
.hero-sub { font-size: 1.15rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 15px 34px; border-radius: 12px;
  background: var(--cta); color: #0d1b2a; font-weight: 700; font-size: 1rem;
  transition: all 0.2s; box-shadow: 0 6px 18px rgba(5,150,105,0.28);
}
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-ghost { display: inline-block; padding: 15px 34px; border-radius: 12px; border: 1px solid var(--border); font-weight: 700; font-size: 1rem; color: var(--text); transition: all 0.2s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-proof { margin-top: 28px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; color: var(--text-muted); font-size: 0.88rem; font-weight: 500; }

/* ───────── PROBLEM ───────── */
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 30px; }
.pain-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.pain-emoji { font-size: 2rem; margin-bottom: 12px; }
.pain-quote { font-weight: 700; font-size: 1.02rem; margin-bottom: 8px; color: var(--text); }
.pain-expand { font-size: 0.92rem; color: var(--text-secondary); }

/* ───────── HOW IT WORKS ───────── */
.steps { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.step { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; flex: 1; min-width: 220px; max-width: 280px; text-align: center; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #0d1b2a; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-secondary); }
.step-arrow { font-size: 1.5rem; color: var(--accent); font-weight: 700; }

/* ───────── BENEFITS ───────── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 30px; }
.benefit { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.benefit h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--accent); }
.benefit p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 12px; }
.benefit .proof { font-size: 0.85rem; color: var(--cta); font-weight: 600; }

/* ───────── PRICING ───────── */
.pricing-sub { text-align: center; color: var(--text-secondary); margin-bottom: 34px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 960px; margin: 0 auto; }
.price-card { position: relative; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 14px 34px rgba(79,70,229,0.14); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #0d1b2a; font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: 20px; }
.price-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.price-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
.price { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 20px; color: var(--text); }
.curr-sym { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.price-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.price-card li { font-size: 0.9rem; color: var(--text-secondary); padding: 5px 0; }
.btn-price {
  display: block; text-align: center; padding: 14px; border-radius: 12px;
  border: 1px solid var(--border); font-weight: 700; font-size: 0.95rem;
  color: var(--text); transition: all 0.2s;
}
.btn-price:hover { border-color: var(--accent); color: var(--accent); }
.btn-price-main { background: var(--cta); border-color: var(--cta); color: #0d1b2a; }
.btn-price-main:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }
.paypal-container { margin-top: 12px; min-height: 42px; }
.pricing-note { text-align: center; color: var(--text-secondary); margin-top: 28px; font-size: 0.95rem; }

/* ───────── SOCIAL PROOF ───────── */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 30px 0; }
.testimonials blockquote { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; border-left: 4px solid var(--accent); }
.testimonials p { font-style: italic; color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 10px; }
.testimonials cite { font-style: normal; color: var(--text-muted); font-size: 0.85rem; }
.trust-bar { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; text-align: center; }
.trust-bar span { font-size: 0.9rem; color: var(--text-secondary); }
.trust-bar strong { display: block; font-size: 1.5rem; color: var(--accent); font-weight: 800; }

/* ───────── FAQ ───────── */
.faq { max-width: 720px; margin: 30px auto 0; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 14px; }
.faq-item h3 { font-size: 1rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.92rem; color: var(--text-secondary); }

/* ───────── FINAL CTA ───────── */
.cta-section { text-align: center; background: linear-gradient(160deg, #d4af37, #b8922e); color: #1a1d28; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 1.1rem; }
.btn-large { font-size: 1.1rem; padding: 18px 44px; }
.cta-micro { margin-top: 22px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; font-size: 0.9rem; color: rgba(255,255,255,0.9); }

/* ───────── FOOTER ───────── */
.footer { text-align: center; padding: 28px 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; }

/* ───────── ORDER FORM ───────── */
.form-sub { text-align: center; color: var(--text-secondary); margin-bottom: 30px; }
.order-form { max-width: 560px; margin: 0 auto; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font); font-size: 0.95rem; color: var(--text); background: var(--card-bg);
  transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; }
.order-form .btn-large { width: 100%; text-align: center; border: none; cursor: pointer; }
.form-note { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--text-muted); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 70px 20px 50px; }
  .currency { flex-wrap: wrap; justify-content: center; }
  .currency-label { width: 100%; text-align: center; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: none; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
}

.form-success { text-align: center; padding: 30px 16px; font-size: 1.15rem; font-weight: 600; color: #34d399; }

/* ───────── TRUST BADGES ───────── */
.trust-badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 26px 0 0; }
.trust-badges span { font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; }

/* ───────── FAQ ACCORDION ───────── */
.faq-item h3 { cursor: pointer; user-select: none; position: relative; padding-right: 28px; }
.faq-item h3::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--accent); }
.faq-item.open h3::after { content: '−'; }
.faq-item p { display: none; margin-top: 8px; }
.faq-item.open p { display: block; }

/* ───────── BACK TO TOP ───────── */
.back-top { position: fixed; right: 22px; bottom: 86px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #0d1b2a; border: none; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: 0 6px 18px rgba(0,0,0,0.2); z-index: 90; }
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-2px); }

/* ───────── STICKY MOBILE CTA ───────── */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; background: var(--card-bg); border-top: 1px solid var(--border); padding: 10px 16px; z-index: 95; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
.mobile-cta a { display: block; text-align: center; background: var(--cta); color: #0d1b2a; padding: 13px; border-radius: 10px; font-weight: 700; }
@media (max-width: 640px) { .mobile-cta { display: block; } .back-top { bottom: 74px; } }

/* ───────── EMAIL CAPTURE ───────── */
.capture-box { max-width: 560px; margin: 0 auto; text-align: center; background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 38px 28px; box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.capture-box h2 { text-align: center; margin-bottom: 8px; }
.capture-box > p { color: var(--text-secondary); margin-bottom: 20px; }
.capture-form { display: flex; gap: 10px; justify-content: center; }
.capture-form input { flex: 1; min-width: 0; padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 0.95rem; }
.capture-form input:focus { outline: none; border-color: var(--accent); }
.capture-form .btn-primary { border: none; cursor: pointer; white-space: nowrap; }
.capture-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; }
.capture-success { color: #34d399; font-weight: 600; padding: 10px 0; }
@media (max-width: 640px) { .capture-form { flex-direction: column; } }


/* ───────── NAV CROSS-LINK ───────── */
.nav-link { font-size: 0.85rem; font-weight: 600; color: var(--text); text-decoration: none; padding: 7px 14px; border: 1px solid var(--border); border-radius: 8px; transition: all .15s; white-space: nowrap; }
.nav-link:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) { .nav-link { display: none; } }

/* ───────── MOBILE REFINEMENTS ───────── */
html, body { overflow-x: hidden; }
@media (max-width: 640px) {
  .nav { height: auto; }
  .nav-inner { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .nav-right { width: 100%; justify-content: center; }
  .currency { width: 100%; flex-wrap: wrap; justify-content: center; }
  .currency-label { width: 100%; text-align: center; }
  .curr-btn { padding: 5px 8px; font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { width: 100%; text-align: center; }
}

/* hero text over dark photo */
.hero h1 { color: #ffffff; }
.hero-sub { color: #dbe3ee; }
.hero .eyebrow { color: #d4af37; }
.hero .hl { color: #d4af37; }
