/* Homepage styles, ported from the standalone billaudit.pro landing page.
 * Served from this origin so it passes the CSP (style-src 'self'); the
 * original had it inline and pulled Figtree from fonts.googleapis.com, which
 * the same CSP blocked, so the page always rendered in the fallback face.
 */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --navy:      #0f2040;
      --navy-mid:  #1a3460;
      --orange:    #f59e0b;
      --orange-btn:#f59e0b;
      --green:     #22c55e;
      --green-dark:#16a34a;
      --bg:        #f2f4f7;
      --card:      #ffffff;
      --text:      #0f1f3d;
      --muted:     #64748b;
      --border:    #e2e8f0;
    }

    body {
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
    }

    /* ── NAV ────────────────────────────────────────────────── */
    nav {
      position: absolute;
      top: 0; left: 0; right: 0;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 24px 64px;
    }

    .nav-logo {
      font-size: 20px;
      font-weight: 800;
      color: #fff;
      letter-spacing: -0.5px;
    }
    .nav-logo span { color: var(--orange); }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-links a {
      color: rgba(255,255,255,0.75);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: #fff; }

    .nav-cta {
      background: var(--orange);
      color: var(--navy) !important;
      font-weight: 700 !important;
      padding: 10px 22px;
      border-radius: 8px;
      transition: opacity 0.2s !important;
    }
    .nav-cta:hover { opacity: 0.9; }

    /* ── HERO ───────────────────────────────────────────────── */
    .hero {
      background: linear-gradient(145deg, #0a1628 0%, #0f2040 45%, #1a3460 100%);
      padding: 160px 64px 120px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(245,158,11,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(34,197,94,0.05) 0%, transparent 60%);
      pointer-events: none;
    }

    /* subtle grid lines */
    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    .hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(245,158,11,0.12);
      border: 1px solid rgba(245,158,11,0.3);
      color: var(--orange);
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      padding: 6px 16px;
      border-radius: 100px;
      margin-bottom: 28px;
    }
    .hero-eyebrow::before { content: '●'; font-size: 8px; animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

    .hero h1 {
      font-size: clamp(38px, 5.5vw, 64px);
      font-weight: 900;
      color: #fff;
      line-height: 1.08;
      letter-spacing: -1.5px;
      margin-bottom: 24px;
    }
    .hero h1 .accent { color: var(--orange); }

    .hero-sub {
      font-size: 19px;
      color: rgba(255,255,255,0.65);
      line-height: 1.6;
      margin-bottom: 36px;
      font-weight: 400;
    }

    .hero-badges {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 28px;
      margin-bottom: 44px;
      flex-wrap: wrap;
    }
    .hero-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      color: rgba(255,255,255,0.75);
      font-size: 14px;
      font-weight: 500;
    }
    .hero-badge .check {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: rgba(34,197,94,0.2);
      border: 1px solid rgba(34,197,94,0.5);
      display: flex; align-items: center; justify-content: center;
      color: var(--green);
      font-size: 11px;
    }
    .hero-badge.highlight { color: var(--orange); font-weight: 600; }
    .hero-badge.highlight .check {
      background: rgba(245,158,11,0.2);
      border-color: rgba(245,158,11,0.5);
      color: var(--orange);
    }

    .hero-form {
      display: flex;
      align-items: center;
      gap: 0;
      max-width: 460px;
      margin: 0 auto 16px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 12px;
      padding: 6px 6px 6px 18px;
      backdrop-filter: blur(8px);
    }
    .hero-form input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: #fff;
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      font-size: 15px;
    }
    .hero-form input::placeholder { color: rgba(255,255,255,0.35); }
    .hero-form button {
      background: var(--orange);
      color: var(--navy);
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      font-size: 15px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      padding: 12px 24px;
      border-radius: 8px;
      transition: opacity 0.2s;
      white-space: nowrap;
    }
    .hero-form button:hover { opacity: 0.9; }

    .hero-disclaimer {
      font-size: 13px;
      color: rgba(255,255,255,0.35);
    }

    /* cloud logos strip */
    .cloud-strip {
      margin-top: 72px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 40px;
      opacity: 0.4;
      flex-wrap: wrap;
    }
    .cloud-strip-label {
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
    }
    .cloud-pill {
      display: flex; align-items: center; gap: 8px;
      font-size: 14px; font-weight: 700;
      color: rgba(255,255,255,0.7);
      letter-spacing: -0.3px;
    }
    .cloud-pill .dot {
      width: 28px; height: 28px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; font-weight: 900;
    }
    .dot-aws  { background: #ff9900; color: #fff; }
    .dot-gcp  { background: #4285f4; color: #fff; }
    .dot-az   { background: #0078d4; color: #fff; }
    .dot-bb   { background: #e05c00; color: #fff; }

    /* ── SECTIONS ───────────────────────────────────────────── */
    section { padding: 96px 64px; }

    .section-header {
      text-align: center;
      margin-bottom: 56px;
    }
    .section-header h2 {
      font-size: clamp(28px, 3.5vw, 42px);
      font-weight: 800;
      letter-spacing: -1px;
      line-height: 1.15;
      color: var(--text);
      margin-bottom: 14px;
    }
    .section-header h2 .accent { color: var(--orange); }
    .section-header p {
      font-size: 17px;
      color: var(--muted);
      max-width: 520px;
      margin: 0 auto;
      line-height: 1.6;
    }

    /* ── STATS ──────────────────────────────────────────────── */
    .stats { background: var(--bg); }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 900px;
      margin: 0 auto;
    }

    .stat-card {
      background: var(--card);
      border-radius: 16px;
      padding: 36px 32px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      border: 1px solid var(--border);
    }

    .stat-icon {
      width: 56px; height: 56px; border-radius: 50%;
      background: var(--green);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px;
      font-size: 22px;
    }

    .stat-value {
      font-size: 40px;
      font-weight: 900;
      color: var(--text);
      letter-spacing: -1.5px;
      line-height: 1;
      margin-bottom: 8px;
    }

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

    .stat-desc {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.5;
    }

    /* ── HOW IT WORKS ───────────────────────────────────────── */
    .how { background: var(--bg); }

    .how-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      max-width: 960px;
      margin: 0 auto;
      position: relative;
    }

    /* connector dashes between steps */
    .how-grid::before {
      content: '— — — — —';
      position: absolute;
      top: 28px;
      left: calc(33.33% + 8px);
      right: calc(33.33% + 8px);
      text-align: center;
      color: var(--border);
      font-size: 18px;
      letter-spacing: 4px;
      pointer-events: none;
    }
    /* second connector */
    .how-connector {
      position: absolute;
      top: 28px;
      left: calc(66.66% + 8px);
      right: 0;
      text-align: center;
      color: var(--border);
      font-size: 18px;
      letter-spacing: 4px;
      pointer-events: none;
    }

    .how-card {
      background: var(--card);
      border-radius: 16px;
      padding: 36px 28px;
      text-align: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      border: 1px solid var(--border);
    }

    .step-num {
      width: 48px; height: 48px; border-radius: 50%;
      background: var(--navy);
      color: #fff;
      display: flex; align-items: center; justify-content: center;
      font-size: 15px;
      font-weight: 800;
      margin: 0 auto 20px;
    }

    .step-icon-wrap {
      width: 64px; height: 64px; border-radius: 16px;
      background: #fff9ec;
      border: 1px solid #fde68a;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 20px;
      font-size: 26px;
    }

    .how-card h3 {
      font-size: 17px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 10px;
    }
    .how-card p {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
    }

    /* ── FEATURES ───────────────────────────────────────────── */
    .features { background: var(--bg); }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-width: 960px;
      margin: 0 auto;
    }

    .feature-card {
      background: var(--card);
      border-radius: 14px;
      padding: 28px 24px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      border: 1px solid var(--border);
      transition: box-shadow 0.2s, transform 0.2s;
    }
    .feature-card:hover {
      box-shadow: 0 8px 24px rgba(15,32,64,0.1);
      transform: translateY(-2px);
    }

    .feature-icon {
      width: 40px; height: 40px; border-radius: 10px;
      background: #eef2ff;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      margin-bottom: 16px;
    }

    .feature-card h3 {
      font-size: 15px;
      font-weight: 800;
      color: var(--text);
      margin-bottom: 8px;
    }
    .feature-card p {
      font-size: 13px;
      color: var(--muted);
      line-height: 1.6;
    }

    /* ── SLACK PREVIEW ──────────────────────────────────────── */
    .slack-section {
      background: var(--navy);
      padding: 96px 64px;
    }
    .slack-inner {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    .slack-text h2 {
      font-size: clamp(26px, 3vw, 38px);
      font-weight: 900;
      color: #fff;
      letter-spacing: -0.8px;
      line-height: 1.15;
      margin-bottom: 16px;
    }
    .slack-text h2 .accent { color: var(--orange); }
    .slack-text p {
      font-size: 16px;
      color: rgba(255,255,255,0.6);
      line-height: 1.65;
      margin-bottom: 32px;
    }
    .slack-text ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .slack-text li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 15px;
      color: rgba(255,255,255,0.8);
      font-weight: 500;
    }
    .slack-text li .chk {
      width: 22px; height: 22px; border-radius: 50%;
      background: rgba(34,197,94,0.2);
      border: 1px solid rgba(34,197,94,0.4);
      color: var(--green);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px;
      flex-shrink: 0;
    }

    /* Fake Slack message */
    .slack-mock {
      background: #1a1d21;
      border-radius: 16px;
      overflow: hidden;
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    }
    .slack-mock-bar {
      background: #19171d;
      padding: 14px 20px;
      display: flex;
      align-items: center;
      gap: 8px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .slack-mock-dot {
      width: 10px; height: 10px; border-radius: 50%;
    }
    .slack-mock-dot:nth-child(1) { background: #ff5f57; }
    .slack-mock-dot:nth-child(2) { background: #febc2e; }
    .slack-mock-dot:nth-child(3) { background: #28c840; }
    .slack-mock-chan {
      margin-left: 8px;
      font-size: 13px;
      color: rgba(255,255,255,0.4);
      font-weight: 500;
    }
    .slack-mock-body {
      padding: 20px;
    }
    .slack-msg {
      display: flex;
      gap: 12px;
      align-items: flex-start;
    }
    .slack-avatar {
      width: 36px; height: 36px; border-radius: 8px;
      background: linear-gradient(135deg, var(--orange) 0%, #ef4444 100%);
      display: flex; align-items: center; justify-content: center;
      font-size: 16px;
      font-weight: 800;
      color: #fff;
      flex-shrink: 0;
    }
    .slack-msg-content { flex: 1; }
    .slack-msg-header {
      display: flex; align-items: baseline; gap: 8px;
      margin-bottom: 8px;
    }
    .slack-msg-name {
      font-size: 14px; font-weight: 700;
      color: #fff;
    }
    .slack-msg-time {
      font-size: 11px; color: rgba(255,255,255,0.3);
    }
    .slack-msg-text {
      font-size: 14px;
      color: rgba(255,255,255,0.85);
      line-height: 1.6;
      margin-bottom: 14px;
    }

    .slack-block {
      background: rgba(255,255,255,0.05);
      border-left: 3px solid var(--orange);
      border-radius: 0 8px 8px 0;
      padding: 14px 16px;
    }
    .slack-block-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--orange);
      margin-bottom: 10px;
    }
    .slack-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      font-size: 13px;
    }
    .slack-row:last-child { border-bottom: none; }
    .slack-row-label { color: rgba(255,255,255,0.5); }
    .slack-row-val { font-weight: 700; color: #fff; }
    .slack-row-val.red { color: #f87171; }
    .slack-row-val.green { color: var(--green); }
    .slack-row-val.orange { color: var(--orange); }

    .slack-action {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 12px;
      padding: 8px 16px;
      background: var(--navy-mid);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 6px;
      font-size: 13px;
      font-weight: 600;
      color: rgba(255,255,255,0.8);
      cursor: pointer;
    }

    /* ── PRICING ────────────────────────────────────────────── */
    .pricing { background: var(--bg); }

    .pricing-card {
      max-width: 480px;
      margin: 0 auto;
      background: var(--card);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.08);
      border: 1px solid var(--border);
    }
    .pricing-header {
      background: var(--navy);
      padding: 40px 40px 36px;
      text-align: center;
    }
    .pricing-tag {
      display: inline-block;
      background: rgba(245,158,11,0.2);
      color: var(--orange);
      font-size: 12px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      padding: 5px 14px;
      border-radius: 100px;
      margin-bottom: 20px;
    }
    .pricing-price {
      font-size: 72px;
      font-weight: 900;
      color: #fff;
      letter-spacing: -3px;
      line-height: 1;
    }
    .pricing-price sup {
      font-size: 28px;
      letter-spacing: -1px;
      vertical-align: top;
      margin-top: 14px;
      display: inline-block;
    }
    .pricing-price sub {
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 0;
      color: rgba(255,255,255,0.5);
    }
    .pricing-desc {
      font-size: 15px;
      color: rgba(255,255,255,0.5);
      margin-top: 10px;
    }
    .pricing-body {
      padding: 36px 40px 40px;
    }
    .pricing-features {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-bottom: 32px;
    }
    .pricing-features li {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 15px;
      color: var(--text);
      font-weight: 500;
    }
    .pricing-features .chk {
      width: 22px; height: 22px; border-radius: 50%;
      background: rgba(34,197,94,0.12);
      color: var(--green);
      display: flex; align-items: center; justify-content: center;
      font-size: 11px;
      flex-shrink: 0;
    }
    .pricing-btn {
      display: block;
      width: 100%;
      background: var(--orange);
      color: var(--navy);
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      font-size: 17px;
      font-weight: 800;
      border: none;
      cursor: pointer;
      padding: 18px;
      border-radius: 12px;
      transition: opacity 0.2s;
      text-align: center;
      letter-spacing: -0.3px;
      /* It is an <a> pointing at the hero form, not a <button>, so it needs
         these two to keep looking like the button it used to be. */
      text-decoration: none;
      box-sizing: border-box;
    }
    .pricing-btn:hover { opacity: 0.9; }
    .pricing-note {
      text-align: center;
      font-size: 13px;
      color: var(--muted);
      margin-top: 14px;
    }

    /* ── CTA BOTTOM ─────────────────────────────────────────── */
    .cta {
      background: var(--bg);
      padding: 80px 64px;
    }
    .cta-card {
      max-width: 720px;
      margin: 0 auto;
      background: var(--card);
      border-radius: 20px;
      padding: 60px 64px;
      text-align: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.07);
      border: 1px solid var(--border);
    }
    .cta-card h2 {
      font-size: clamp(26px, 3vw, 38px);
      font-weight: 900;
      letter-spacing: -0.8px;
      line-height: 1.15;
      margin-bottom: 16px;
      color: var(--text);
    }
    .cta-card p {
      font-size: 16px;
      color: var(--muted);
      margin-bottom: 36px;
      line-height: 1.6;
    }
    .cta-form {
      display: flex;
      gap: 12px;
      max-width: 440px;
      margin: 0 auto 14px;
    }
    .cta-form input {
      flex: 1;
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 14px 18px;
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      font-size: 15px;
      color: var(--text);
      outline: none;
      transition: border-color 0.2s;
    }
    .cta-form input:focus { border-color: var(--navy); }
    .cta-form button {
      background: var(--navy);
      color: #fff;
      font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
      font-size: 15px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      padding: 14px 24px;
      border-radius: 10px;
      transition: opacity 0.2s;
      display: flex; align-items: center; gap: 6px;
      white-space: nowrap;
    }
    .cta-form button:hover { opacity: 0.85; }
    .cta-note { font-size: 13px; color: var(--muted); }

    /* ── FOOTER ─────────────────────────────────────────────── */
    footer {
      background: var(--navy);
      padding: 32px 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .footer-logo {
      font-size: 17px;
      font-weight: 800;
      color: #fff;
    }
    .footer-logo span { color: var(--orange); }
    .footer-copy {
      font-size: 13px;
      color: rgba(255,255,255,0.35);
    }
    .footer-links {
      display: flex;
      gap: 24px;
      list-style: none;
    }
    .footer-links a {
      font-size: 13px;
      color: rgba(255,255,255,0.35);
      text-decoration: none;
    }
    .footer-links a:hover { color: rgba(255,255,255,0.7); }

    /* ── RESPONSIVE ─────────────────────────────────────────── */
    @media (max-width: 900px) {
      nav { padding: 20px 24px; }
      .nav-links { display: none; }
      .hero { padding: 120px 24px 80px; }
      section { padding: 72px 24px; }
      .stats-grid,
      .how-grid,
      .features-grid { grid-template-columns: 1fr; }
      .how-grid::before { display: none; }
      .slack-inner { grid-template-columns: 1fr; gap: 40px; }
      .cta-card { padding: 40px 28px; }
      .cta-form { flex-direction: column; }
      footer { flex-direction: column; gap: 16px; text-align: center; padding: 32px 24px; }
    }

    /* ── WAITLIST HONEYPOT ──────────────────────────────────────
       Off-screen rather than display:none -- a bot that filters on
       the latter will still fill this in, which is the point. The
       API rejects any submission that carries a value here. */
    .hp {
      position: absolute;
      left: -9999px;
    }
