/* =========================
   DESIGN TOKENS
========================= */
:root {
  --accent: #0b2a4a;

  --text: #1e1e1e;
  --text-light: #777;
  --text-inverse: #ffffff;

  --bg: #ffffff;
  --bg-alt: #f7f7f7;

  --border: #ddd;
  --border-light: #eee;

  --success: #1f9d55;
  --warning: #ffbf47;

  --shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* =========================
   HIGH CONTRAST THEME
========================= */
body.accessible-mode {
  --text: #000000;
  --bg: #ffffff;

  --accent: #000000;

  --border: #000000;
  --border-light: #000000;

  --text-inverse: #ffffff;

  --success: #0b6b2f;
  --warning: #b7791f;
}

/* =========================
   ACCESSIBLE MODE FOCUS
   Show outline on ALL focus events (mouse + keyboard)
========================= */
body.accessible-mode :focus {
  outline: 4px solid var(--warning);
  outline-offset: 4px;
}


/* =========================
   BASE RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar nav {
  display: flex;
  align-items: center;
}

.navbar nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--text-inverse);
  font-size: 14px;
  opacity: 0.85;
  transition: all 0.2s ease;
}

.navbar nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* =========================
   BRAND LINK
========================= */
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.navbar .brand-link {
  color: var(--text-inverse);
  font-size: 16px;
  letter-spacing: 0.5px;
}

.navbar .brand-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer .brand-link {
  color: var(--accent);
  font-size: 14px;
}

.footer .brand-link:hover {
  background: rgba(11, 42, 74, 0.08);
}

/* =========================
   BRAND ICON
========================= */
.navbar .brand-icon {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.footer .brand-icon {
  width: 26px;
  height: 26px;
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border-light);
  color: var(--text-light);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* =========================
   FOOTER LINKS SPACING
========================= */

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: #777;
  text-decoration: none;
  transition: 0.2s ease;
  padding: 4px 6px;
}

.footer-links a:hover {
  color: var(--accent);
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 70px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  overflow: hidden;

  background: var(--accent);
}

.hero-background {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(11, 42, 74, 0.55),
      rgba(11, 42, 74, 0.55)
    ),
    url("bg1.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: 0;
  transition: opacity 0.2s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.2rem;
  color: var(--text-inverse);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 30px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* HERO LOGO */
.hero-logo {
  width: 160px;
  height: 160px;
  margin-bottom: 20px;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* =========================
   BUTTON
========================= */
.btn {
  display: inline-block;
  background: var(--text-inverse);
  color: var(--accent);

  padding: 14px 28px;
  border-radius: 8px;

  text-decoration: none;
  font-weight: bold;

  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 100px 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--accent);
}

.container h2 {
  margin-bottom: 20px;
}

.container h3 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.container p {
  margin-bottom: 14px;
}

p {
  line-height: 1.7;
}

/* =========================
   LISTS
========================= */
ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--text);
}

ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.content-list {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
}

.content-list li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: var(--text);
}

.content-list li::before {
  content: "";
}

/* =========================
   ACCESSIBILITY BUTTON
========================= */
.accessibility-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 44px;
  height: 44px;

  border: none;
  border-radius: 10px;

  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 9999;

  box-shadow: var(--shadow-soft);
  transition: background 0.2s ease, transform 0.2s ease;
}

.accessibility-toggle img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.accessibility-toggle:hover {
  transform: scale(1.05);
}

.accessibility-toggle.active {
  background: var(--success);
}

/* =========================
   ACCESSIBILITY MODE
========================= */
body.accessible-mode {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.2px;
}

/* =========================
   GRID
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.card {
  padding: 20px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--bg);
}

.card h3{
  margin-top: 0px;
}

.highlight {
  border: 2px solid var(--accent);
}

/* =========================
   PRICING
========================= */
.pricing-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

/* =========================
   FORM
========================= */
.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form input,
.form textarea {
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.form-message,
.form textarea {
  min-height: 120px;
  resize: vertical;
  overflow-x: hidden;
}

.form button {
  background: var(--accent);
  color: var(--text-inverse);

  padding: 12px;
  border: none;
  border-radius: 6px;

  cursor: pointer;
}

/* =========================
   FADE SYSTEM
========================= */
.fade {
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

/* =========================
   CONTACT FIX
========================= */
#contact {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================
   FOCUS MANAGEMENT

   Normal mode:
     - Mouse click  → :focus fires, :focus-visible does NOT → outline: none
     - Keyboard tab → :focus fires, :focus-visible ALSO fires → outline shows

   Accessible mode:
     - body.accessible-mode :focus has specificity (0,2,1), which beats
       :focus:not(:focus-visible) at (0,2,0), so it always wins and
       outlines show for both mouse and keyboard.
========================= */

/* Suppress outline for mouse-only focus (no :focus-visible match).
   Specificity (0,2,0) — beats plain :focus rules below. */
:focus:not(:focus-visible) {
  outline: none;
}

/* Show outline for keyboard focus */
:focus-visible {
  outline: 3px solid var(--warning);
  outline-offset: 3px;
}

/* Links */
a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

/* Buttons */
button:focus-visible,
.btn:focus-visible,
.accessibility-toggle:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

/* Form elements */
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
  border-color: #ffbf47;
}

/* Nav links */
.navbar nav a:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================
   SKIP LINK
========================= */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;

  background: #000;
  color: #fff;

  padding: 10px 14px;
  border-radius: 6px;

  text-decoration: none;
  font-size: 14px;

  z-index: 10000;
}

/* Make it visible when focused */
.skip-link:focus-visible {
  top: 10px;
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 12px 20px;
  }

  .navbar nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar nav a {
    margin: 6px 10px;
    font-size: 13px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* =========================
   DEVELOPMENT BADGE OVERRIDE
========================= */
.dev-version-badge {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  
  /* Reusing your exact design tokens */
  background: var(--accent);
  color: var(--text-inverse);
  font-family: monospace;
  font-size: 11px;
  padding: 4px 8px;
}