:root {
  --fs-ai-navy: #0e2547;
  --fs-ai-navy-2: #17365e;
  --fs-ai-dark: #081b34;
  --fs-ai-gold: #c9a64a;
  --fs-ai-gold-light: #e6d8b8;
  --fs-ai-ivory: #f7f3ea;
  --fs-ai-muted: rgba(247, 243, 234, 0.76);
  --fs-ai-soft: rgba(247, 243, 234, 0.62);
  --fs-ai-border: rgba(201, 166, 74, 0.28);
  --fs-ai-input-border: rgba(201, 166, 74, 0.36);
}

.ai-hero-cta {
  min-height: 48px;
  border-color: rgba(201, 166, 74, 0.78) !important;
  color: var(--fs-ai-gold-light) !important;
  background: rgba(8, 27, 52, 0.24);
}

.ai-hero-cta:hover,
.ai-hero-cta:focus {
  border-color: var(--fs-ai-gold) !important;
  color: var(--fs-ai-gold) !important;
  background: rgba(201, 166, 74, 0.1);
}

.hero-ai-disclaimer {
  max-width: 660px;
  margin: 18px auto 0;
  color: rgba(247, 243, 234, 0.72);
  font-size: 12.5px;
  line-height: 1.7;
}

.ai-home-band {
  position: relative;
  overflow: hidden;
  padding: 34px 0;
  background:
    linear-gradient(rgba(201, 166, 74, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 74, 0.055) 1px, transparent 1px),
    linear-gradient(160deg, var(--fs-ai-dark) 0%, var(--fs-ai-navy) 58%, var(--fs-ai-navy-2) 100%);
  background-size: 56px 56px, 56px 56px, auto;
}

.ai-home-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--fs-ai-border);
  border-radius: 10px;
  background: rgba(14, 37, 71, 0.78);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.ai-home-identity {
  display: grid;
  gap: 14px;
  color: var(--fs-ai-ivory);
}

.ai-seal {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 166, 74, 0.72);
  border-radius: 50%;
  background: rgba(201, 166, 74, 0.08);
  color: var(--fs-ai-gold-light);
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 700;
}

.ai-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fs-ai-gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ai-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--fs-ai-gold);
}

.ai-home-identity strong {
  display: block;
  color: var(--fs-ai-ivory);
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  line-height: 1.25;
}

.ai-home-identity span {
  color: var(--fs-ai-muted);
  font-size: 13px;
  line-height: 1.6;
}

.ai-home-content h2 {
  margin: 10px 0 12px;
  color: var(--fs-ai-ivory);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.ai-home-content p {
  max-width: 760px;
  color: var(--fs-ai-muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.ai-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.ai-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(201, 166, 74, 0.28);
  border-radius: 999px;
  color: var(--fs-ai-gold-light);
  background: rgba(201, 166, 74, 0.08);
  font-size: 12.5px;
}

.ai-question-form {
  display: flex;
  gap: 10px;
  margin: 18px 0 14px;
}

.ai-question-form input,
.ai-question-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--fs-ai-input-border);
  border-radius: 8px;
  background: rgba(8, 27, 52, 0.58);
  color: var(--fs-ai-ivory);
  padding: 0 16px;
  font: inherit;
  outline: none;
}

.ai-question-form input::placeholder,
.ai-question-input::placeholder {
  color: rgba(247, 243, 234, 0.7);
}

.ai-question-form input:focus,
.ai-question-input:focus {
  border-color: var(--fs-ai-gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 74, 0.16);
}

.ai-submit,
.ai-gold-btn,
.ai-outline-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ai-submit,
.ai-gold-btn {
  border: 1px solid var(--fs-ai-gold);
  background: linear-gradient(135deg, var(--fs-ai-gold), var(--fs-ai-gold-light));
  color: var(--fs-ai-dark);
}

.ai-outline-btn {
  border: 1px solid rgba(201, 166, 74, 0.7);
  background: rgba(8, 27, 52, 0.18);
  color: var(--fs-ai-gold-light);
}

.ai-submit:hover,
.ai-gold-btn:hover,
.ai-outline-btn:hover,
.ai-submit:focus,
.ai-gold-btn:focus,
.ai-outline-btn:focus {
  transform: translateY(-1px);
}

.ai-home-actions,
.ai-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ai-launch-note {
  margin: 14px 0;
  color: var(--fs-ai-muted);
  font-size: 13.5px;
  line-height: 1.75;
}

.ai-start-actions {
  margin-top: 18px;
}

.ai-disclaimer,
.ai-form-status {
  color: var(--fs-ai-soft);
  font-size: 12.5px;
  line-height: 1.7;
}

.ai-form-status {
  min-height: 22px;
  margin-top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ai-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(201, 166, 74, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 166, 74, 0.052) 1px, transparent 1px),
    linear-gradient(160deg, var(--fs-ai-dark) 0%, var(--fs-ai-navy) 48%, var(--fs-ai-navy-2) 100%);
  background-size: 56px 56px, 56px 56px, auto;
  color: var(--fs-ai-ivory);
  font-family: "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
}

.ai-page a {
  color: inherit;
}

.ai-page-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 64px);
  border-bottom: 1px solid var(--fs-ai-border);
  background: rgba(8, 27, 52, 0.92);
  backdrop-filter: blur(18px);
}

.ai-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ai-brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fs-ai-gold);
  border-radius: 50%;
  color: var(--fs-ai-gold);
  font-family: "EB Garamond", serif;
  font-weight: 700;
}

.ai-brand-text {
  display: grid;
  line-height: 1.2;
}

.ai-brand-text strong {
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
}

.ai-brand-text span {
  color: var(--fs-ai-gold-light);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.ai-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-nav-links a {
  color: var(--fs-ai-muted);
  font-size: 13px;
  text-decoration: none;
}

.ai-nav-links a:hover,
.ai-nav-links a:focus {
  color: var(--fs-ai-gold-light);
}

.ai-lang-switcher {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--fs-ai-border);
  border-radius: 999px;
  background: rgba(8, 27, 52, 0.65);
}

.ai-lang-switcher a {
  min-width: 38px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--fs-ai-muted);
  font-size: 12px;
  text-decoration: none;
}

.ai-lang-switcher a[aria-current="page"] {
  background: var(--fs-ai-gold);
  color: var(--fs-ai-dark);
  font-weight: 700;
}

.ai-page-main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 56px clamp(18px, 4vw, 48px) 72px;
}

.ai-breadcrumb {
  color: var(--fs-ai-soft);
  font-size: 13px;
  margin-bottom: 28px;
}

.ai-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--fs-ai-border);
  border-radius: 10px;
  background: rgba(14, 37, 71, 0.76);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.ai-page h1 {
  margin: 12px 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.ai-subtitle {
  color: var(--fs-ai-gold-light);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.35;
}

.ai-assist-line {
  color: var(--fs-ai-muted);
  font-family: "EB Garamond", serif;
  font-size: 18px;
  font-style: italic;
  margin-top: 4px;
}

.ai-intro {
  max-width: 780px;
  margin-top: 18px;
  color: var(--fs-ai-muted);
  font-size: 15.5px;
}

.ai-hero-mark {
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--fs-ai-muted);
  text-align: center;
}

.ai-hero-mark .ai-seal {
  width: 118px;
  height: 118px;
  font-size: 42px;
}

.ai-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.ai-info-card {
  display: flex;
  flex-direction: column;
  min-height: 268px;
  padding: 22px;
  border: 1px solid var(--fs-ai-border);
  border-radius: 10px;
  background: rgba(8, 27, 52, 0.42);
}

.ai-card-num {
  color: var(--fs-ai-gold);
  font-family: "EB Garamond", serif;
  font-size: 24px;
}

.ai-info-card h2,
.ai-info-card h3 {
  margin: 8px 0 12px;
  color: var(--fs-ai-ivory);
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  line-height: 1.35;
}

.ai-info-card ul,
.ai-process-list {
  list-style: none;
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
}

.ai-info-card li,
.ai-process-list li {
  color: var(--fs-ai-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.ai-info-card li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--fs-ai-gold);
  vertical-align: middle;
}

.ai-card-button {
  margin-top: auto;
  padding-top: 18px;
}

.ai-section {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid var(--fs-ai-border);
  border-radius: 10px;
  background: rgba(14, 37, 71, 0.58);
}

.ai-section h2 {
  margin: 8px 0 10px;
  color: var(--fs-ai-ivory);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.28;
}

.ai-section p {
  color: var(--fs-ai-muted);
  font-size: 15px;
}

.ai-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 8px;
}

.ai-quick {
  min-height: 36px;
  border: 1px solid rgba(201, 166, 74, 0.34);
  border-radius: 999px;
  background: rgba(201, 166, 74, 0.08);
  color: var(--fs-ai-gold-light);
  padding: 6px 13px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

.ai-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ai-process-step {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--fs-ai-border);
  border-radius: 10px;
  background: rgba(8, 27, 52, 0.34);
}

.ai-process-step span {
  color: var(--fs-ai-gold);
  font-family: "EB Garamond", serif;
  font-size: 24px;
}

.ai-process-step strong {
  display: block;
  margin-top: 8px;
  color: var(--fs-ai-ivory);
  font-size: 15px;
  line-height: 1.45;
}

.ai-faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.ai-faq-list details {
  border: 1px solid var(--fs-ai-border);
  border-radius: 10px;
  background: rgba(8, 27, 52, 0.34);
  padding: 0;
}

.ai-faq-list summary {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--fs-ai-ivory);
  cursor: pointer;
  font-weight: 700;
}

.ai-faq-list summary::after {
  content: "+";
  color: var(--fs-ai-gold);
  font-size: 22px;
  line-height: 1;
}

.ai-faq-list details[open] summary::after {
  content: "-";
}

.ai-faq-list details p {
  padding: 0 18px 18px;
  color: var(--fs-ai-muted);
}

.ai-bottom-cta {
  margin-top: 26px;
  padding: 30px;
  border: 1px solid rgba(201, 166, 74, 0.42);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201, 166, 74, 0.13), rgba(8, 27, 52, 0.52));
}

.ai-bottom-cta h2 {
  margin: 0 0 18px;
  color: var(--fs-ai-ivory);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(24px, 3vw, 34px);
}

.ai-page-footer {
  border-top: 1px solid var(--fs-ai-border);
  background: rgba(8, 27, 52, 0.78);
  color: var(--fs-ai-soft);
  padding: 34px clamp(18px, 4vw, 64px);
}

.ai-page-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.ai-page-footer a {
  color: var(--fs-ai-gold-light);
  text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--fs-ai-gold-light);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .ai-home-card,
  .ai-hero-panel,
  .ai-card-grid,
  .ai-process-grid {
    grid-template-columns: 1fr;
  }

  .ai-home-card {
    padding: 24px 20px;
  }

  .ai-question-form {
    flex-direction: column;
  }

  .ai-submit,
  .ai-gold-btn,
  .ai-outline-btn {
    width: 100%;
  }

  .ai-page-nav {
    min-height: 76px;
    height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 18px;
  }

  .ai-nav-links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .ai-page-main {
    padding-top: 28px;
  }

  .ai-hero-panel,
  .ai-section,
  .ai-bottom-cta {
    padding: 22px 18px;
  }

  .ai-info-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-ai-disclaimer {
    font-size: 12px;
  }

  .ai-brand-text strong {
    font-size: 13px;
  }

  .ai-brand-text span {
    font-size: 9px;
  }

  .ai-nav-links {
    flex-wrap: wrap;
  }

  .ai-lang-switcher {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}
