/* components.css — the global header and footer.
 *
 * Lifted verbatim from the Webflow Symbols, which the 18 Aug 2026 production
 * capture verified are byte-identical to frontend/src/components/*.html.
 *
 * The --ar-* prefix exists because these styles used to be injected into a
 * Webflow document alongside twelve pages' worth of leaking global selectors
 * (bare `nav`, `footer`, `a`, `button`). Off Webflow that collision is gone
 * and the prefix could be unwound — deliberately left alone here so this
 * migration stays visually lossless. See the post-migration list.
 */
:root {
    --ar-accent: #6366f1;
    --ar-accent-g: linear-gradient(135deg, #6366f1, #8b5cf6);
    --ar-text: #111827;
    --ar-text2: #4b5563;
    --ar-text3: #9ca3af;
    --ar-border: #e2e5ee;
    --ar-bg: #ffffff;
    --ar-surface: #eef0f6;
    --ar-font: "Plus Jakarta Sans", system-ui, sans-serif;
    --ar-mono: "JetBrains Mono", monospace;
    --ar-r2: 14px;
  }

  .ar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 60px;
    border-bottom: 1px solid var(--ar-border);
    background: rgba(255, 255, 255);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    font-family: var(--ar-font);
  }

  .ar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    color: var(--ar-text);
    letter-spacing: -0.3px;
    text-decoration: none;
  }

  .ar-logo:hover {
    text-decoration: none;
    color: var(--ar-text);
  }

  .ar-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ar-accent-g);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }

  .ar-logo sup {
    font-size: 9px;
    font-family: var(--ar-mono);
    color: var(--ar-text3);
    vertical-align: super;
    font-weight: 400;
  }

  .ar-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .ar-nav-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--ar-text2);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
  }

  .ar-nav-link:hover {
    color: var(--ar-text);
    background: var(--ar-surface);
  }

  .ar-nav-cta {
    background: var(--ar-accent-g);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--ar-r2);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.15s;
  }

  .ar-nav-cta:hover {
    opacity: 0.88;
  }

  /* Burger Menu */
  .ar-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
  }

  .ar-burger span {
    height: 2px;
    width: 100%;
    background: var(--ar-text);
    transition: all 0.3s ease;
  }

  /* Mobile Menu */
  .ar-mobile-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95); /* Solid white like nav */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ar-border);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    z-index: 5;

    /* Animation setup */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .ar-mobile-menu.active {
    max-height: 320px; /* Enough space for all links */
    opacity: 1;
    pointer-events: auto;
    z-index: 5;
  }

  .ar-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
  }

  .ar-mobile-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--ar-text2);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 10px;
    transition: all 0.2s;
  }

  .ar-mobile-link:hover {
    background: var(--ar-surface);
    color: var(--ar-text);
  }

  .ar-mobile-cta {
    margin-top: 12px;
    padding: 0 20px 20px;
  }

  /* Active Burger Animation */
  .ar-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .ar-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .ar-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  @media (max-width: 768px) {
    .ar-nav {
      padding: 0 16px;
      height: 52px;
    }

    .ar-nav-links {
      display: none;
    }

    .ar-burger {
      display: flex;
    }

    .ar-nav-cta {
      font-size: 12px;
      padding: 7px 14px;
    }
  }

.ar-footer {
    padding: 32px 40px;
    border-top: 1px solid #e2e5ee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    background: #ffffff;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  }
  .ar-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #4b5563;
    text-decoration: none;
  }
  .ar-footer-brand:hover { text-decoration: none; color: #4b5563; }
  .ar-footer-dot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 5px;
  }
  .ar-footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .ar-footer-link {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
  }
  .ar-footer-link:hover { color: #4b5563; }
  .ar-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
  }
  .ar-footer-social:hover { color: #0a66c2; background: #f3f4f6; }
  .ar-footer-social svg { width: 16px; height: 16px; display: block; fill: currentColor; }
  .ar-footer-copy {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: #9ca3af;
  }
  @media(max-width: 768px) {
    .ar-footer { padding: 20px 16px; flex-direction: column; text-align: center; gap: 12px; }
    .ar-footer-brand { justify-content: center; }
    .ar-footer-links { justify-content: center; }
  }
