:root{
    --bg: #F7F9FC;
    --bg-soft: #F5F8FD;
    --bg-alt: #EEF6FF;
    --surface: rgba(255,255,255,0.5);
    --surface-alt: rgba(255,255,255,0.65);
    --border: rgba(17,24,39,0.08);
    --text: #12141C;
    --muted: #565F70;
    --muted-dim: #8891A0;
    --blue: #19C8C1;
    --blue-light: #0FA39D;
    --gold: #F7B731;
    --gold-dim: #8A6412;
    --green: #22C55E;
    --red: #EF4444;
    --violet: #7C4DFF;
    --violet-light: #6432E0;
    --radius: 22px;
    --glass-blur: 20px;
  }

  /* ---- Dark theme override — same brand colors, dark glass surfaces ---- */
  html[data-theme="dark"]{
    --bg: #12101C;
    --bg-soft: #171426;
    --bg-alt: #1C1830;
    --surface: rgba(255,255,255,0.06);
    --surface-alt: rgba(255,255,255,0.10);
    --border: rgba(255,255,255,0.12);
    --text: #F5F7FA;
    --muted: #A6ACC0;
    --muted-dim: #767C93;
    --blue-light: #4FD9D2;
    --gold-dim: #F2CC7F;
  }
  html[data-theme="dark"] body{
    background:linear-gradient(180deg, #12101C 0%, #171426 45%, #1C1830 100%) fixed;
  }
  html[data-theme="dark"] header{
    background:rgba(18,16,28,0.6) !important;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:linear-gradient(180deg, #F6F9FC 0%, #F2F6FC 45%, #EBF3FE 100%) fixed;
    color:var(--text);
    font-family:'Manrope',sans-serif;
    line-height:1.5;
    overflow-x:hidden;
    transition:background .4s ease, color .3s ease;
  }
  h1,h2,h3,h4{font-family:'Bricolage Grotesque',sans-serif;letter-spacing:-0.02em;}
  .mono{font-family:'Space Mono',monospace;}
  a{color:inherit;text-decoration:none;}
  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}
  ::selection{background:var(--blue);color:#fff;}

  /* Global glassmorphism — applied to every card-like surface */
  .card, .category-card, .widget-card, .opp-card, .activity-row,
  .testimonial, .mock, .cta-banner, .hero-float-card, header{
    backdrop-filter:blur(var(--glass-blur));
    -webkit-backdrop-filter:blur(var(--glass-blur));
  }

  /* background texture */
  body::before{
    content:"";
    position:fixed;inset:0;
    background:
      radial-gradient(ellipse 900px 500px at 15% 0%, rgba(25,200,193,0.10), transparent 60%),
      radial-gradient(ellipse 700px 500px at 85% 8%, rgba(247,183,49,0.08), transparent 60%);
    pointer-events:none;
    z-index:0;
  }

  /* drifting ambient orbs — slow, subtle motion behind the content */
  .bg-orb{
    position:fixed;
    border-radius:50%;
    filter:blur(110px);
    pointer-events:none;
    z-index:0;
    opacity:0.55;
  }
  .bg-orb-1{
    width:460px;height:460px;
    top:-120px;left:-80px;
    background:radial-gradient(circle, rgba(25,200,193,0.30), transparent 70%);
    animation:drift1 26s ease-in-out infinite;
  }
  .bg-orb-2{
    width:280px;height:280px;
    top:40%;right:-100px;
    background:radial-gradient(circle, rgba(124,77,255,0.16), transparent 70%);
    animation:drift2 32s ease-in-out infinite;
  }
  .bg-orb-3{
    width:320px;height:320px;
    bottom:-100px;left:30%;
    background:radial-gradient(circle, rgba(247,183,49,0.18), transparent 70%);
    animation:drift3 22s ease-in-out infinite;
  }
  @keyframes drift1{
    0%,100%{transform:translate(0,0) scale(1);}
    50%{transform:translate(60px,80px) scale(1.15);}
  }
  @keyframes drift2{
    0%,100%{transform:translate(0,0) scale(1);}
    50%{transform:translate(-70px,-40px) scale(1.1);}
  }
  @keyframes drift3{
    0%,100%{transform:translate(0,0) scale(1);}
    50%{transform:translate(50px,-60px) scale(1.2);}
  }
  @media (prefers-reduced-motion: reduce){
    .bg-orb{animation:none;}
  }

  /* NAV — floating glass pill, macOS-dock style */
  header{
    position:sticky;top:16px;z-index:50;
    background:transparent;
    border-bottom:none;
    padding:0 20px;
  }
  html[data-theme="dark"] header{
    background:transparent !important;
  }
  nav{
    display:flex;align-items:center;justify-content:space-between;
    padding:12px 20px;max-width:1180px;margin:0 auto;
    background:var(--surface-alt);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
    border:1px solid var(--border);
    border-radius:100px;
    box-shadow:0 12px 32px -14px rgba(17,24,39,0.12);
  }
  html[data-theme="dark"] nav{
    box-shadow:0 12px 32px -14px rgba(0,0,0,0.45);
  }
  .logo{
    font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:20px;
    display:flex;align-items:center;gap:8px;
  }
  .logo .dot{width:8px;height:8px;border-radius:50%;background:var(--gold);display:inline-block;}
  .logo-img{height:30px;width:auto;display:block;}
  .nav-links{display:flex;gap:36px;align-items:center;}
  .nav-links a{font-size:14.5px;color:var(--muted);transition:color .2s;}
  .nav-links a:hover{color:var(--text);}
  .nav-cta{display:flex;align-items:center;gap:18px;}
  .btn{
    display:inline-flex;align-items:center;gap:8px;
    padding:11px 20px;border-radius:9px;font-size:14.5px;font-weight:600;
    border:1px solid transparent;cursor:pointer;transition:all .2s;
    white-space:nowrap;
  }
  .btn-primary{background:linear-gradient(135deg,var(--blue),var(--blue-light));color:#fff;}
  .btn-primary:hover{filter:brightness(1.1);transform:translateY(-1px);}
  .btn-ghost{color:var(--muted);}
  .btn-ghost:hover{color:var(--text);}
  .btn-outline{border-color:var(--border);color:var(--text);background:var(--surface);}
  .btn-outline:hover{border-color:var(--blue);}
  .menu-toggle{display:none;background:none;border:none;color:var(--text);font-size:22px;cursor:pointer;}

  /* HERO */
  .hero{
    position:relative;z-index:1;
    padding:96px 32px 60px;
    max-width:1180px;margin:0 auto;
    text-align:center;
  }
  .eyebrow{
    display:inline-flex;align-items:center;gap:8px;
    padding:7px 16px;border-radius:100px;
    border:1px solid var(--border);background:var(--surface);
    font-size:13px;color:var(--blue-light);font-weight:500;
    margin-bottom:28px;
  }
  .eyebrow .dot{width:6px;height:6px;border-radius:50%;background:var(--green);}
  .hero h1{
    font-size:clamp(38px,6vw,68px);
    font-weight:700;line-height:1.06;
    margin-bottom:22px;
  }
  .hero h1 .accent{
    background:linear-gradient(135deg,var(--blue-light),var(--blue));
    -webkit-background-clip:text;background-clip:text;color:transparent;
  }
  .hero p.sub{
    max-width:600px;margin:0 auto 36px;
    font-size:18px;line-height:1.6;
  }

  /* ---- Animated shimmer text: brighter, blended, italic ---- */
  .text-shimmer{
    font-style:italic;
    background:linear-gradient(
      100deg,
      var(--muted) 0%,
      var(--blue-light) 22%,
      var(--violet) 42%,
      var(--muted) 58%,
      var(--gold-dim) 75%,
      var(--muted) 100%
    );
    background-size:250% auto;
    -webkit-background-clip:text;background-clip:text;color:transparent;
    animation:shimmerMove 9s ease-in-out infinite;
  }
  @keyframes shimmerMove{
    0%{background-position:0% center;}
    50%{background-position:100% center;}
    100%{background-position:0% center;}
  }
  @media (prefers-reduced-motion: reduce){
    .text-shimmer{animation:none;color:var(--muted);background:none;}
  }
  .hero-ctas{display:flex;gap:14px;justify-content:center;margin-bottom:20px;flex-wrap:wrap;}
  .btn-lg{padding:15px 28px;font-size:15.5px;border-radius:10px;}
  .hero-note{font-size:13px;color:var(--muted-dim);margin-bottom:64px;}

  /* PIPELINE - signature element */
  .pipeline{
    position:relative;
    max-width:920px;margin:0 auto;
    padding:56px 24px 40px;
  }
  .pipeline-track{
    position:relative;
    display:flex;justify-content:space-between;align-items:flex-start;
  }
  .pipeline-line{
    position:absolute;top:27px;left:6%;right:6%;height:2px;
    background:var(--border);
    overflow:hidden;
    z-index:0;
  }
  .pipeline-line::after{
    content:"";
    position:absolute;top:0;left:-30%;width:30%;height:100%;
    background:linear-gradient(90deg,transparent,var(--blue-light),var(--gold),transparent);
    animation:travel 3.4s ease-in-out infinite;
  }
  @keyframes travel{
    0%{left:-30%;}
    100%{left:100%;}
  }
  .p-node{
    position:relative;z-index:1;
    display:flex;flex-direction:column;align-items:center;
    width:25%;
  }
  .p-icon{
    width:54px;height:54px;border-radius:50%;
    background:var(--surface);border:1.5px solid var(--border);
    display:flex;align-items:center;justify-content:center;
    margin-bottom:14px;
    transition:border-color .3s;
  }
  .p-node:nth-child(1) .p-icon{border-color:rgba(25,200,193,0.5);}
  .p-node:nth-child(2) .p-icon{border-color:rgba(25,200,193,0.5);}
  .p-node:nth-child(3) .p-icon{border-color:rgba(34,197,94,0.5);}
  .p-node:nth-child(4) .p-icon{border-color:rgba(242,180,65,0.6);}
  .p-icon svg{width:22px;height:22px;}
  .p-label{font-size:14.5px;font-weight:600;margin-bottom:4px;}
  .p-desc{font-size:12.5px;color:var(--muted-dim);text-align:center;max-width:150px;}

  /* SECTION HEADERS */
  .section{padding:88px 32px;position:relative;z-index:1;}
  .section-head{text-align:center;max-width:600px;margin:0 auto 56px;}
  .section-head .kicker{color:var(--muted);font-size:13px;margin-bottom:8px;text-transform:uppercase;letter-spacing:0.12em;font-weight:600;}
  .section-head h2{font-size:clamp(28px,4vw,40px);font-weight:700;}
  .section-head h2 .accent{color:var(--blue-light);}

  /* FEATURE CARDS */
  .grid-4{
    display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
    max-width:1180px;margin:0 auto;
  }
  .card{
    background:var(--surface);border:1px solid var(--border);
    border-radius:var(--radius);padding:28px 22px;
    transition:transform .25s, border-color .25s;
  }
  .card:hover{transform:translateY(-4px);border-color:var(--blue);}
  .card-icon{
    width:42px;height:42px;border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    margin-bottom:18px;
  }
  .card-icon svg{width:20px;height:20px;}
  .card h3{font-size:16.5px;margin-bottom:8px;font-weight:600;}
  .card p{font-size:13.5px;color:var(--muted);line-height:1.55;}

  .bg-blue{background:rgba(25,200,193,0.14);color:var(--blue-light);}
  .bg-gold{background:rgba(242,180,65,0.14);color:var(--gold);}
  .bg-green{background:rgba(34,197,94,0.14);color:var(--green);}
  .bg-purple{background:rgba(139,63,252,0.14);color:var(--violet);}

  /* SHOWCASE */
  .showcase{
    display:grid;grid-template-columns:1.1fr 0.9fr;gap:64px;
    max-width:1180px;margin:0 auto;align-items:center;
  }
  .mock{
    background:var(--surface);border:1px solid var(--border);
    border-radius:16px;padding:20px;
    box-shadow:0 30px 70px -24px rgba(17,24,39,0.14);
  }
  .mock-top{display:flex;gap:6px;margin-bottom:16px;}
  .mock-dot{width:9px;height:9px;border-radius:50%;background:var(--border);}
  .mock-row{
    display:flex;justify-content:space-between;align-items:center;
    background:var(--surface-alt);border-radius:10px;
    padding:14px 16px;margin-bottom:10px;
    border:1px solid var(--border);
  }
  .mock-row .task-name{font-size:13.5px;font-weight:600;}
  .mock-row .task-cat{font-size:11.5px;color:var(--muted-dim);}
  .mock-row .task-pay{font-family:'Space Mono',monospace;color:var(--gold);font-size:13.5px;font-weight:600;}
  .badge{
    display:inline-block;font-size:10.5px;padding:3px 8px;border-radius:6px;
    background:rgba(34,197,94,0.15);color:var(--green);font-weight:600;margin-left:8px;
  }
  .showcase-copy .eyebrow{margin-bottom:20px;}
  .showcase-copy h2{font-size:clamp(26px,3.6vw,36px);margin-bottom:18px;font-weight:700;}
  .showcase-copy p{color:var(--muted);font-size:15.5px;margin-bottom:26px;}
  .check-list{list-style:none;margin-bottom:30px;}
  .check-list li{
    display:flex;align-items:center;gap:10px;
    font-size:14.5px;color:var(--text);margin-bottom:12px;
  }
  .check-list svg{width:17px;height:17px;flex-shrink:0;color:var(--green);}

  /* STATS + TESTIMONIAL */
  .stats-wrap{
    display:grid;grid-template-columns:1fr 1fr;gap:56px;
    max-width:1180px;margin:0 auto;align-items:center;
  }
  .stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
  .stat h3{font-family:'Space Mono',monospace;font-size:32px;color:var(--text);margin-bottom:4px;}
  .stat p{font-size:13px;color:var(--muted-dim);}
  .testimonial{
    background:var(--surface);border:1px solid var(--border);
    border-radius:var(--radius);padding:32px;
  }
  .stars{color:var(--gold);font-size:15px;margin-bottom:14px;letter-spacing:2px;}
  .testimonial p{font-size:15px;color:var(--text);line-height:1.65;margin-bottom:20px;}
  .t-author{display:flex;align-items:center;gap:12px;}
  .t-avatar{
    width:38px;height:38px;border-radius:50%;
    background:linear-gradient(135deg,var(--blue),var(--gold));
    display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;
  }
  .t-author .name{font-size:14px;font-weight:600;}
  .t-author .role{font-size:12px;color:var(--muted-dim);}

  /* CTA BANNER */
  .cta-banner{
    max-width:1180px;margin:0 auto;
    background:linear-gradient(135deg, var(--surface), var(--surface-alt));
    border:1px solid var(--border);
    border-radius:20px;
    padding:44px 48px;
    display:flex;justify-content:space-between;align-items:center;
    gap:24px;flex-wrap:wrap;
    position:relative;overflow:hidden;
  }
  .cta-banner::before{
    content:"";position:absolute;top:-50%;right:-10%;width:300px;height:300px;
    background:radial-gradient(circle, rgba(25,200,193,0.25), transparent 70%);
  }
  .cta-banner h3{font-size:22px;margin-bottom:6px;position:relative;}
  .cta-banner p{color:var(--muted);font-size:14.5px;position:relative;}

  /* FOOTER */
  footer{
    border-top:none;
    padding:0 32px 32px;
    position:relative;z-index:1;
  }
  .footer-cta{
    max-width:1180px;margin:0 auto 64px;
    background:var(--surface-alt);
    border:1px solid var(--border);
    border-radius:28px;
    padding:52px 40px;
    text-align:center;
    backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
    box-shadow:0 20px 50px -20px rgba(17,24,39,0.12);
  }
  .footer-cta h3{font-size:clamp(24px,3.4vw,32px);margin-bottom:22px;}
  .footer-brand{text-align:center;margin-bottom:56px;}
  .footer-brand .logo{justify-content:center;font-size:22px;margin-bottom:10px;}
  .footer-brand .logo-img{height:34px;}
  .footer-tagline{
    font-family:'Bricolage Grotesque',sans-serif;font-size:15px;color:var(--muted);
    letter-spacing:0.02em;
  }
  .footer-tagline span{color:var(--blue-light);font-weight:600;}
  .footer-grid{
    display:grid;grid-template-columns:1fr 1fr 1fr 1.3fr;gap:40px;
    max-width:1180px;margin:0 auto 40px;
  }
  .footer-col h4{font-size:13.5px;margin-bottom:16px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:0.04em;}
  .footer-col a, .footer-col p{display:block;font-size:14px;color:var(--muted-dim);margin-bottom:10px;}
  .footer-col a:hover{color:var(--text);}
  .footer-newsletter p{margin-bottom:16px;}
  .newsletter-form{display:flex;gap:8px;}
  .newsletter-form input{
    flex:1;min-width:0;padding:11px 14px;border-radius:10px;
    border:1px solid var(--border);background:var(--surface);
    color:var(--text);font-family:'Manrope',sans-serif;font-size:13.5px;
  }
  .newsletter-form input::placeholder{color:var(--muted-dim);}
  .newsletter-form button{
    padding:11px 18px;border-radius:10px;border:none;cursor:pointer;
    background:linear-gradient(135deg,var(--blue),var(--blue-light));
    color:#fff;font-weight:600;font-size:13.5px;white-space:nowrap;
  }
  .footer-locale{
    max-width:1180px;margin:0 auto 28px;
    display:flex;align-items:center;gap:8px;
    font-size:13px;color:var(--muted-dim);
  }
  .footer-bottom{
    max-width:1180px;margin:0 auto;padding-top:24px;border-top:1px solid var(--border);
    display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
    font-size:13px;color:var(--muted-dim);
  }
  .socials{display:flex;gap:14px;}
  .socials a{
    width:34px;height:34px;border-radius:50%;border:1px solid var(--border);
    display:flex;align-items:center;justify-content:center;
  }
  .socials a:hover{border-color:var(--blue);}

  @media(max-width:860px){
    .nav-links, .nav-cta .btn-ghost{display:none;}
    .menu-toggle{display:block;}
    .nav-links.is-open{
      display:flex;flex-direction:column;align-items:flex-start;gap:14px;
      position:absolute;top:66px;left:20px;right:20px;z-index:60;
      background:var(--surface-alt);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
      border:1px solid var(--border);border-radius:20px;padding:20px 22px;
      box-shadow:0 20px 44px -16px rgba(17,24,39,0.18);
    }
    .grid-4{grid-template-columns:1fr 1fr;}
    .showcase, .stats-wrap{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr 1fr;}
    .pipeline-track{flex-wrap:wrap;gap:28px;}
    .p-node{width:45%;}
    .pipeline-line{display:none;}
  }
  @media(max-width:480px){
    .grid-4{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    .cta-banner{flex-direction:column;align-items:flex-start;}
  }

  @media (prefers-reduced-motion: reduce){
    .pipeline-line::after{animation:none;}
    .card{transition:none;}
  }
/* ============================================================
   PHASE 2 ADDITIONS — card variants, motion, new sections
   ============================================================ */

/* ---- Scroll-reveal utility ---- */
.reveal{
  opacity:0; transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.in-view{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---- Hero heading line-by-line reveal ---- */
.hero h1 .line{
  display:block;
  opacity:0;
  transform:translateY(24px);
  animation:lineIn .7s ease forwards;
}
.hero h1 .line:nth-child(1){animation-delay:.05s;}
.hero h1 .line:nth-child(2){animation-delay:.25s;}
.hero h1 .line:nth-child(3){animation-delay:.45s;}
@keyframes lineIn{
  to{opacity:1;transform:translateY(0);}
}
@media (prefers-reduced-motion: reduce){
  .hero h1 .line{opacity:1;transform:none;animation:none;}
}

/* ---- Magnetic buttons ---- */
.btn-magnetic{ will-change:transform; transition:transform .15s ease-out; }

/* ---- Pipeline icon pulse ---- */
.p-icon{ animation:iconPulse 3.2s ease-in-out infinite; }
.p-node:nth-child(2) .p-icon{animation-delay:.4s;}
.p-node:nth-child(3) .p-icon{animation-delay:.8s;}
.p-node:nth-child(4) .p-icon{animation-delay:1.2s;}
@keyframes iconPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(25,200,193,0);}
  50%{box-shadow:0 0 0 8px rgba(25,200,193,0.08);}
}
@media (prefers-reduced-motion: reduce){
  .p-icon{animation:none;}
}

/* ---- Card style variants ---- */
/* 1. No border, soft shadow */
.card-shadow{
  background:var(--surface);
  border:none;
  box-shadow:0 18px 40px -20px rgba(17,24,39,0.12);
}
/* 2. Glass effect */
.card-glass{
  background:var(--surface-alt);
  border:1px solid var(--border);
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  box-shadow:0 8px 32px -12px rgba(17,24,39,0.10);
}
html[data-theme="dark"] .card-glass{
  box-shadow:0 8px 32px -12px rgba(0,0,0,0.4);
}
/* 3. Left accent border */
.card-accent{
  background:var(--surface);
  border:1px solid var(--border);
  border-left:3px solid var(--blue);
}
.card-accent.accent-gold{border-left-color:var(--gold);}
.card-accent.accent-green{border-left-color:var(--green);}
.card-accent.accent-violet{border-left-color:var(--violet);}
/* 4. Glowing outline */
.card-glow{
  background:var(--surface);
  border:1px solid rgba(25,200,193,0.4);
  box-shadow:0 0 0 1px rgba(25,200,193,0.15), 0 0 28px rgba(25,200,193,0.18);
}
.card-glow.glow-gold{
  border-color:rgba(242,180,65,0.4);
  box-shadow:0 0 0 1px rgba(242,180,65,0.15), 0 0 28px rgba(242,180,65,0.18);
}

.card-hover-lift{ transition:transform .3s ease, box-shadow .3s ease; }
.card-hover-lift:hover{ transform:translateY(-6px); box-shadow:0 24px 50px -22px rgba(17,24,39,0.16); }

/* ---- Section pattern: heading + paragraph + cards ---- */
.section-para{
  max-width:600px;margin:10px auto 0;
  font-size:15.5px;text-align:center;line-height:1.6;
}

/* ---- Task category chips ---- */
.category-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
  max-width:1180px;margin:0 auto;
}
.category-card{
  padding:24px 18px;border-radius:var(--radius);
  text-align:center;
}
.category-card .cat-emoji{font-size:28px;display:block;margin-bottom:12px;}
.category-card .cat-name{font-size:14.5px;font-weight:600;}

/* ---- Live activity feed ---- */
.activity-feed{
  max-width:680px;margin:0 auto;
  display:flex;flex-direction:column;gap:12px;
}
.activity-row{
  display:flex;align-items:center;gap:14px;
  padding:16px 20px;border-radius:12px;
  background:var(--surface);border:1px solid var(--border);
}
.activity-dot{
  width:9px;height:9px;border-radius:50%;background:var(--green);flex-shrink:0;
  box-shadow:0 0 0 0 rgba(34,197,94,0.5);
  animation:activityPing 2s ease-in-out infinite;
}
@keyframes activityPing{
  0%{box-shadow:0 0 0 0 rgba(34,197,94,0.45);}
  70%{box-shadow:0 0 0 8px rgba(34,197,94,0);}
  100%{box-shadow:0 0 0 0 rgba(34,197,94,0);}
}
.activity-text{flex:1;font-size:14px;}
.activity-text b{font-weight:600;}
.activity-pay{
  font-family:'Space Mono',monospace;color:var(--gold);font-weight:600;font-size:14px;
}

/* ---- Dashboard widgets ---- */
.widget-grid{
  display:grid;grid-template-columns:repeat(5,1fr);gap:16px;
  max-width:1180px;margin:0 auto;
}
.widget-card{
  padding:22px 18px;border-radius:var(--radius);
  display:flex;flex-direction:column;gap:6px;
}
.widget-icon{font-size:20px;}
.widget-value{
  font-family:'Space Mono',monospace;font-size:24px;font-weight:600;color:var(--text);
}
.widget-label{font-size:12px;color:var(--muted-dim);}
.widget-progress{
  margin-top:6px;height:6px;border-radius:4px;background:var(--surface-alt);overflow:hidden;
}
.widget-progress-fill{
  height:100%;width:0%;border-radius:4px;
  background:linear-gradient(90deg,var(--blue),var(--blue-light));
  transition:width 1.2s ease;
}
.widget-progress-fill.in-view{width:var(--fill,70%);}

/* ---- Opportunity task cards (replaces generic showcase) ---- */
.opportunity-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  max-width:1180px;margin:0 auto;
}
.opp-card{ padding:22px; border-radius:var(--radius); display:flex; flex-direction:column; gap:12px; }
.opp-top{display:flex;justify-content:space-between;align-items:flex-start;}
.opp-emoji{font-size:22px;}
.opp-pay{font-family:'Space Mono',monospace;color:var(--gold);font-weight:700;font-size:16px;}
.opp-title{font-size:15px;font-weight:600;}
.opp-cat{font-size:12px;color:var(--muted-dim);}
.opp-tags{display:flex;gap:6px;flex-wrap:wrap;}
.tag{
  font-size:10.5px;font-weight:600;padding:3px 9px;border-radius:100px;
  background:var(--surface-alt);color:var(--muted);
}
.tag-beginner{background:rgba(34,197,94,0.14);color:var(--green);}
.tag-intermediate{background:rgba(25,200,193,0.14);color:var(--blue-light);}
.tag-expert{background:rgba(139,63,252,0.14);color:var(--violet);}
.tag-high-pay{background:rgba(242,180,65,0.16);color:var(--gold);}
.tag-urgent{background:rgba(239,68,68,0.14);color:var(--red);}

.type-tab{
  font-size:13px;font-weight:600;padding:8px 16px;border-radius:100px;
  background:var(--surface);color:var(--muted);border:1px solid var(--border);
  cursor:pointer;transition:all .15s ease;
}
.type-tab:hover{border-color:var(--blue);color:var(--blue);}
.type-tab.active{background:var(--blue);color:#fff;border-color:var(--blue);}

/* ---- Animated counters (stats) ---- */
.counter-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:28px;
  max-width:900px;margin:0 auto;text-align:center;
}
.counter-item .counter-value{
  font-family:'Space Mono',monospace;font-size:38px;font-weight:700;color:var(--text);
}
.counter-item .counter-label{font-size:13px;color:var(--muted-dim);margin-top:4px;}

/* ---- Mobile: new sections ---- */
@media(max-width:860px){
  .category-grid{grid-template-columns:repeat(2,1fr);}
  .widget-grid{grid-template-columns:repeat(2,1fr);}
  .opportunity-grid{grid-template-columns:1fr;}
  .counter-grid{grid-template-columns:1fr;gap:24px;}
}
@media(max-width:480px){
  .category-grid{grid-template-columns:1fr;}
  .widget-grid{grid-template-columns:1fr;}
}

/* ---- Real photo strip ---- */
.photo-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  max-width:1180px;margin:0 auto;
}
.photo-card{
  position:relative;border-radius:var(--radius);overflow:hidden;
  aspect-ratio:4/5;
  border:1px solid var(--border);
}
.photo-card img{
  width:100%;height:100%;object-fit:cover;display:block;
  filter:saturate(0.9) brightness(0.85);
  transition:transform .5s ease, filter .5s ease;
}
.photo-card:hover img{transform:scale(1.05);filter:saturate(1) brightness(0.95);}
.photo-card::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top, rgba(10,7,16,0.75) 0%, rgba(10,7,16,0.05) 55%);
}
.photo-caption{
  position:absolute;left:0;right:0;bottom:0;padding:18px;z-index:1;
}
.photo-caption .pc-label{font-size:12px;color:var(--blue-light);font-weight:600;text-transform:uppercase;letter-spacing:0.08em;margin-bottom:4px;}
.photo-caption .pc-text{font-size:14.5px;font-weight:600;color:#fff;}

@media(max-width:860px){
  .photo-grid{grid-template-columns:1fr;}
}

/* ---- Asymmetric hero with blended photo panel (Payze-style) ---- */
.hero-wrap{max-width:1180px;margin:0 auto;padding:72px 32px 24px;position:relative;z-index:1;}
.hero-grid{display:grid;grid-template-columns:1.05fr 0.95fr;gap:56px;align-items:center;}
.hero-copy{text-align:left;}
.hero-copy .eyebrow{margin:0 0 24px;}
.hero-copy h1{text-align:left;margin-bottom:20px;}
.hero-copy p.sub{margin:0 0 32px;text-align:left;max-width:480px;}
.hero-copy .hero-ctas{justify-content:flex-start;margin-bottom:16px;}
.hero-copy .hero-note{margin-bottom:0;text-align:left;}

.hero-panel{
  position:relative;border-radius:32px;overflow:visible;
  aspect-ratio:4/5;
  background-color:var(--blue);
  background-image:
    radial-gradient(circle at 85% 15%, rgba(124,77,255,0.35), transparent 45%),
    linear-gradient(150deg, var(--blue) 0%, var(--blue-light) 55%, #0C7C77 100%);
}
.hero-panel-inner{
  position:absolute;inset:0;border-radius:32px;overflow:hidden;
}
.hero-panel-inner img{
  width:100%;height:100%;object-fit:cover;position:absolute;inset:0;
  -webkit-mask-image:radial-gradient(ellipse 78% 88% at 50% 42%, black 55%, transparent 100%);
  mask-image:radial-gradient(ellipse 78% 88% at 50% 42%, black 55%, transparent 100%);
  filter:saturate(1.05) contrast(1.02);
}
.hero-float-card{
  position:absolute;z-index:2;
  background:var(--surface);border:1px solid var(--border);
  border-radius:16px;padding:14px 18px;
  box-shadow:0 20px 44px -18px rgba(17,24,39,0.14);
  display:flex;align-items:center;gap:12px;
}
.hero-float-card.fc-bottom{bottom:-18px;left:-18px;}
.hero-float-card.fc-top{top:18px;right:-18px;max-width:200px;}
.fc-avatar{
  width:36px;height:36px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,var(--blue),var(--blue-light));
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:#fff;
}
.fc-value{font-family:'Space Mono',monospace;font-size:17px;font-weight:700;color:var(--text);line-height:1.1;}
.fc-label{font-size:11.5px;color:var(--muted-dim);}
.fc-check-list{list-style:none;font-size:12.5px;}
.fc-check-list li{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:var(--text);}
.fc-check-list li:last-child{margin-bottom:0;}
.fc-check-list svg{width:13px;height:13px;color:var(--green);flex-shrink:0;}

@media(max-width:860px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-copy{text-align:center;}
  .hero-copy h1, .hero-copy p.sub, .hero-copy .hero-note{text-align:center;margin-left:auto;margin-right:auto;}
  .hero-copy .hero-ctas{justify-content:center;}
  .hero-panel{max-width:360px;width:100%;height:420px;aspect-ratio:auto;margin:32px auto 60px;}
  .hero-float-card.fc-top{display:none;}
}

/* ---- Dark/light theme toggle button ---- */
.theme-toggle{
  width:38px;height:38px;border-radius:50%;
  border:1px solid var(--border);
  background:var(--surface);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
  position:relative;z-index:5;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  pointer-events:auto;
}
.theme-toggle svg{pointer-events:none;}
.theme-toggle:hover{transform:scale(1.06);}
.theme-toggle svg{width:17px;height:17px;color:var(--text);}
.theme-toggle .icon-moon{display:none;}
html[data-theme="dark"] .theme-toggle .icon-sun{display:none;}
html[data-theme="dark"] .theme-toggle .icon-moon{display:block;}

/* ============================================================
   AUTH PAGES — login / register
   ============================================================ */
.auth-section{
  min-height:calc(100vh - 140px);
  display:flex;align-items:center;justify-content:center;
  padding:60px 24px;position:relative;z-index:1;
  overflow:hidden;
}
/* Soft brand-colored glow blobs behind the card — pure CSS, no images,
   gives the page real depth instead of sitting flat on the background. */
.auth-section::before,
.auth-section::after{
  content:'';position:absolute;z-index:-1;border-radius:50%;
  filter:blur(90px);pointer-events:none;
}
.auth-section::before{
  width:420px;height:420px;top:-120px;left:-100px;
  background:radial-gradient(circle, rgba(25,200,193,0.22), transparent 70%);
}
.auth-section::after{
  width:460px;height:460px;bottom:-140px;right:-120px;
  background:radial-gradient(circle, rgba(124,77,255,0.20), transparent 70%);
}

.auth-card{
  width:100%;max-width:440px;
  background:var(--surface-alt);
  border:1px solid var(--border);
  border-radius:32px;
  padding:46px 40px;
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
  box-shadow:0 40px 90px -30px rgba(17,24,39,0.22), 0 1px 0 rgba(255,255,255,0.4) inset;
  position:relative;overflow:hidden;
}
/* A thin gradient accent line across the very top of the card — the
   single detail that reads as "premium" more than almost anything else. */
.auth-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg, var(--blue), var(--violet), var(--gold));
}
html[data-theme="dark"] .auth-card{
  box-shadow:0 40px 90px -30px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.auth-head{text-align:center;margin-bottom:34px;}
.auth-head .logo{justify-content:center;margin-bottom:18px;}
.auth-head .logo-img{height:42px;}
.auth-head .logo .dot{box-shadow:0 0 0 5px rgba(25,200,193,0.16);}
.auth-head h1{
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:26px;letter-spacing:-0.02em;margin-bottom:8px;
}
.auth-head p{font-size:14px;color:var(--muted);}

.form-group{margin-bottom:18px;}
.input-wrap{position:relative;}
.form-input-password{padding-right:46px;}
.form-label{
  display:block;font-size:13px;font-weight:600;color:var(--text);
  margin-bottom:7px;
}
.form-input{
  width:100%;padding:13px 15px;border-radius:13px;
  border:1px solid var(--border);background:var(--surface);
  color:var(--text);font-family:'Manrope',sans-serif;font-size:14.5px;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-input:focus{
  outline:none;border-color:var(--blue);
  box-shadow:0 0 0 4px rgba(25,200,193,0.14);
  background:var(--surface-alt);
}
.form-input::placeholder{color:var(--muted-dim);}
select.form-input{cursor:pointer;}
select.form-input option{
  background-color:var(--surface-alt);
  color:var(--text);
}
html[data-theme="dark"] select.form-input option{
  background-color:#1C1830;
  color:#F5F5F7;
}
.form-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;}
.form-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);}
.form-checkbox input{accent-color:var(--blue);}
.form-link{font-size:13px;color:var(--blue-light);font-weight:600;}
.form-link:hover{text-decoration:underline;}

.form-alert{
  padding:13px 16px;border-radius:13px;font-size:13.5px;margin-bottom:20px;
  display:flex;align-items:flex-start;gap:10px;line-height:1.5;
}
.form-alert::before{flex-shrink:0;font-size:15px;line-height:1.4;}
.form-alert-error{background:rgba(239,68,68,0.1);color:var(--red);border:1px solid rgba(239,68,68,0.22);}
.form-alert-error::before{content:'⚠';}
.form-alert-success{background:rgba(34,197,94,0.1);color:var(--green);border:1px solid rgba(34,197,94,0.22);}
.form-alert-success::before{content:'✓';}

.btn-block{width:100%;justify-content:center;}
.auth-section .btn-primary{
  box-shadow:0 14px 32px -12px rgba(25,200,193,0.45);
}
.auth-section .btn-primary:hover{
  box-shadow:0 18px 38px -12px rgba(25,200,193,0.55);
}
.auth-switch{text-align:center;margin-top:26px;font-size:14px;color:var(--muted);}
.auth-switch a{color:var(--blue-light);font-weight:600;}
.auth-switch a:hover{text-decoration:underline;}

@media(max-width:480px){
  .auth-card{padding:34px 24px;}
  .auth-section::before,.auth-section::after{display:none;}
}

/* ---- Password show/hide toggle ---- */
.password-field{position:relative;}
.password-field .form-input{padding-right:44px;}
.password-toggle{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  background:none;border:none;cursor:pointer;
  width:30px;height:30px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  color:var(--muted-dim);transition:color .15s ease, background .15s ease;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
.password-toggle:hover{color:var(--blue);background:rgba(25,200,193,0.1);}
.password-toggle svg{width:18px;height:18px;pointer-events:none;}
.password-toggle .icon-eye-off{display:none;}
.password-toggle.is-visible .icon-eye{display:none;}
.password-toggle.is-visible .icon-eye-off{display:block;}