/* ==== Global base ==== */
:root {
    --fx-bg: #050712;
    --fx-bg-elevated: rgba(12, 14, 24, 0.96);
    --fx-border-subtle: rgba(255, 255, 255, 0.06);
    --fx-text-main: #f5f5f7;
    --fx-text-subtle: #9ca3af;
    --fx-accent: #f97316; /* orange-ish */
    --fx-accent-soft: rgba(249, 115, 22, 0.12);
    --fx-radius-lg: 999px;
    --fx-shadow-soft: 0 10px 30px rgba(0,0,0,0.4);
    --fx-nav-height: 64px;
    --fx-max-width: 1120px;
    --fx-transition-fast: 150ms ease-out;
  }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
    color: var(--fx-text-main);
    background-color: var(--fx-bg);
  }
  
  /* ==== Header / Nav ==== */
  .fx-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: linear-gradient(to bottom, rgba(5,7,18,0.96), rgba(5,7,18,0.8));
    border-bottom: 1px solid var(--fx-border-subtle);
  }
  
  .fx-header-inner {
    max-width: var(--fx-max-width);
    margin: 0 auto;
    padding: 0 16px;
    height: var(--fx-nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .fx-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--fx-text-main);
    text-decoration: none;
  }
  
  .fx-logo-mark {
    display: inline-flex;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--fx-accent);
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }
  
  .fx-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
  }
  
  .fx-logo-line1 {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fx-text-subtle);
  }
  .fx-logo-line2 {
    font-size: 16px;
    font-weight: 600;
  }
  
  /* Nav list */
  .fx-nav {
    display: flex;
    align-items: center;
  }
  
  .fx-nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  .fx-nav-list a {
    position: relative;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--fx-text-subtle);
    padding: 6px 0;
    transition: color var(--fx-transition-fast);
  }
  
  .fx-nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--fx-accent);
    border-radius: 999px;
    transition: width var(--fx-transition-fast);
  }
  
  .fx-nav-list a:hover {
    color: var(--fx-text-main);
  }
  .fx-nav-list a:hover::after {
    width: 100%;
  }
  
  /* Active state for current page */
  .fx-nav-list a[data-current="true"] {
    color: var(--fx-accent);
  }
  .fx-nav-list a[data-current="true"]::after {
    width: 100%;
  }
  
  /* CTA */
  .fx-nav-cta {
    padding: 6px 14px;
    border-radius: var(--fx-radius-lg);
    border: 1px solid var(--fx-accent);
    background: var(--fx-accent-soft);
  }
  
  /* Mobile nav toggle */
  .fx-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .fx-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--fx-text-main);
    margin: 3px 0;
    border-radius: 999px;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .fx-header-inner {
      justify-content: space-between;
    }
  
    .fx-nav {
      position: absolute;
      top: var(--fx-nav-height);
      right: 0;
      left: 0;
      background: var(--fx-bg-elevated);
      border-bottom: 1px solid var(--fx-border-subtle);
      transform: translateY(-100%);
      opacity: 0;
      pointer-events: none;
      transition: transform var(--fx-transition-fast), opacity var(--fx-transition-fast);
    }
  
    .fx-header-inner.fx-nav-open .fx-nav {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
  
    .fx-nav-list {
      flex-direction: column;
      padding: 12px 16px 12px;
    }
  
    .fx-nav-toggle {
      display: inline-flex;
    }
  }
  
  /* ==== Footer ==== */
  .fx-footer {
    border-top: 1px solid var(--fx-border-subtle);
    padding: 24px 0 32px;
    background: linear-gradient(to top, rgba(5,7,18,0.9), transparent);
    margin-top: 48px;
  }
  
  .fx-footer-inner {
    max-width: var(--fx-max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    color: var(--fx-text-subtle);
    font-size: 13px;
  }
  
  .fx-footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .fx-footer-text {
    font-weight: 500;
  }
  
  .fx-footer-copy {
    margin: 4px 0 0;
  }
  
  @media (max-width: 768px) {
    .fx-footer-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  