/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --olive: #4a5d23;
  --olive-dark: #3a4a1c;
  --olive-deeper: #2d3a15;
  --olive-light: #e8eddb;
  --olive-muted: #6b7f3a;
  --tan: #d4c5a0;
  --tan-light: #f5f0e3;
  --tan-dark: #b8a87a;
  --khaki: #c3b091;
  --sand: #f7f3eb;
  --bark: #3e3328;
  --text: #2c2c2c;
  --text-mid: #555;
  --text-light: #777;
  --white: #ffffff;
  --border: #e0dcd4;
  --border-light: #ebe7df;
  --amber: #c48a1a;
  --amber-light: #fdf6e3;
  --red: #c0392b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

/* ═══════ NAV ═══════ */
nav {
  background: linear-gradient(90deg, var(--olive-deeper) 0%, #2a3a12 100%);
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.22);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Logo */
.nav-logo {
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--olive-muted), var(--olive));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.12);
}
.nav-logo-text { color: var(--white); }
.nav-logo-text span { color: var(--tan); }

/* Nav links */
.nav-center { display: flex; align-items: center; flex: 1; justify-content: center; }
.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  font-weight: 500;
  transition: all .2s;
  letter-spacing: 0.2px;
  padding: 7px 14px;
  border-radius: 7px;
  position: relative;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.09);
}

/* Right side nav group */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 7px;
  transition: background .2s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }

/* ═══════ LANGUAGE SWITCHER ═══════ */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 7px 13px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .2s;
  white-space: nowrap;
}
.lang-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.lang-btn .flag { font-size: 15px; line-height: 1; }
.lang-btn .lang-code { font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; }
.lang-btn .arrow-down { font-size: 9px; opacity: 0.5; margin-left: 1px; transition: transform .2s; }
.lang-btn.active-dd .arrow-down { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  min-width: 190px;
  overflow: hidden;
  z-index: 200;
  animation: dropIn .2s ease;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-dropdown.open { display: block; }
.lang-dropdown-header {
  padding: 11px 16px 9px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
  background: linear-gradient(135deg, var(--sand), #f0ebe0);
  border-bottom: 1px solid var(--border-light);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: background .15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: 'Inter', sans-serif;
  border-bottom: 1px solid var(--border-light);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: var(--olive-light); color: var(--olive-dark); }
.lang-option.active {
  background: linear-gradient(135deg, var(--olive-light), #dfe9c8);
  color: var(--olive-dark);
  font-weight: 700;
}
.lang-option .flag { font-size: 17px; line-height: 1; }
.lang-option .lang-name { flex: 1; }
.lang-option .check { color: var(--olive); font-size: 13px; opacity: 0; }
.lang-option.active .check { opacity: 1; }

/* ═══════ MOBILE NAV ═══════ */
#mobileNav {
  display: none;
  position: absolute;
  top: 68px; left: 0; right: 0;
  background: linear-gradient(180deg, var(--olive-deeper) 0%, #1e2d0e 100%);
  flex-direction: column;
  padding: 16px 20px 20px;
  gap: 4px;
  border-bottom: 2px solid var(--olive-dark);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 99;
  list-style: none;
  margin: 0;
}
#mobileNav.open { display: flex; }

@media (max-width: 768px) {
  nav { padding: 0 16px; height: 60px; }
  #mobileNav { top: 60px; }
  .nav-center { display: none; }
  .hamburger { display: block; }
  .lang-dropdown { right: auto; left: 0; }
}

/* ═══════ LAYOUT ═══════ */
.container { max-width: 840px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ═══════ TYPOGRAPHY ═══════ */
h1 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  color: var(--bark);
}
h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  color: var(--bark);
}
h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.section-subtitle {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.6;
}
p { margin-bottom: 16px; font-weight: 400; }
.mono {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
}

/* ═══════ HERO ═══════ */
.hero {
  background: linear-gradient(170deg, var(--olive-deeper) 0%, var(--olive-dark) 40%, var(--olive) 100%);
  padding: 52px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--tan); }

.live-clock-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 9px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.9);
}
.live-dot {
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
  box-shadow: 0 0 6px rgba(239,68,68,0.5);
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.live-clock-bar .mono { color: var(--tan); }

/* ═══════ CONVERTER CARD ═══════ */
.converter-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}
.converter-tabs {
  display: flex;
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
}
.converter-tab {
  flex: 1;
  padding: 11px 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: 8px;
  color: var(--text-light);
  transition: all .2s;
  font-family: 'Inter', sans-serif;
}
.converter-tab.active {
  background: var(--white);
  color: var(--olive);
  box-shadow: var(--shadow-sm);
}

.input-group { margin-bottom: 22px; }
.input-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.time-input-row { display: flex; gap: 10px; align-items: center; }
.time-input-row select,
.time-input-row input {
  flex: 1;
  padding: 13px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: var(--white);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  appearance: none;
  -webkit-appearance: none;
}
.time-input-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}
.time-input-row select:focus,
.time-input-row input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(74,93,35,0.12);
}
.time-input-row .colon {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-light);
  font-family: 'JetBrains Mono', monospace;
}

.mil-input {
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  letter-spacing: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--olive-dark);
}
.mil-input::placeholder { color: var(--border); letter-spacing: 12px; }
.mil-input:focus {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(74,93,35,0.12);
}

.convert-btn {
  width: 100%;
  padding: 15px;
  background: var(--olive);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}
.convert-btn:hover { background: var(--olive-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.convert-btn:active { transform: translateY(0); }

.result-box {
  background: linear-gradient(135deg, var(--olive-light) 0%, #f0eed8 100%);
  border: 2px solid #c8d4a4;
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  display: none;
}
.result-box.show { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.result-label {
  font-size: 11px; font-weight: 700; color: var(--olive-muted);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px;
}
.result-value {
  font-size: 40px; font-weight: 800; color: var(--olive-dark);
  font-family: 'JetBrains Mono', monospace; letter-spacing: 2px;
}
.result-spoken { font-size: 14px; color: var(--olive-muted); margin-top: 4px; font-style: italic; }
.copy-btn {
  margin-top: 14px;
  padding: 9px 24px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  color: var(--text);
  font-family: 'Inter', sans-serif;
}
.copy-btn:hover { border-color: var(--olive); color: var(--olive); }
.copy-btn.copied { background: var(--olive-light); border-color: var(--olive); color: var(--olive-dark); }

/* ═══════ LIVE CLOCK ═══════ */
.clock-section { text-align: center; }
.clock-display {
  display: inline-flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.clock-box {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow);
  min-width: 220px;
  position: relative;
  overflow: hidden;
}
.clock-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.clock-mil::before { background: linear-gradient(90deg, var(--olive), var(--olive-muted)); }
.clock-std::before { background: linear-gradient(90deg, var(--amber), #d4a030); }
.clock-box-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-light); margin-bottom: 10px;
}
.clock-box-time {
  font-size: 42px; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 2px;
}
.clock-mil .clock-box-time { color: var(--olive); }
.clock-std .clock-box-time { color: var(--amber); font-size: 32px; }
.clock-zulu {
  font-size: 14px; color: var(--text-light); margin-top: 20px;
  font-weight: 500; letter-spacing: 0.3px;
}
.clock-zulu span { font-family: 'JetBrains Mono', monospace; font-weight: 700; color: var(--olive); }

/* ═══════ CHART ═══════ */
.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 28px;
}
@media (max-width: 640px) { .chart-grid { grid-template-columns: 1fr; } }

.chart-column {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}
.chart-header {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.chart-header-am {
  background: linear-gradient(135deg, var(--olive-light) 0%, #dfe6cc 100%);
  color: var(--olive-dark);
  border-bottom: 2px solid #c8d4a4;
}
.chart-header-pm {
  background: linear-gradient(135deg, var(--amber-light) 0%, #f9f0d4 100%);
  color: #8a6510;
  border-bottom: 2px solid #e8d9a8;
}

.chart-table { width: 100%; border-collapse: collapse; }
.chart-table th {
  padding: 10px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  background: var(--sand);
  border-bottom: 1px solid var(--border-light);
}
.chart-table td {
  padding: 11px 18px;
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.chart-table tbody tr:last-child td { border-bottom: none; }
.chart-table td:first-child {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 1px;
}
.chart-am td:first-child { color: var(--olive); }
.chart-pm td:first-child { color: var(--amber); }
.chart-table td:last-child { color: var(--text-mid); font-weight: 500; }
.chart-table tbody tr:hover { background: var(--tan-light); }
.chart-table tbody tr:nth-child(even) { background: rgba(247,243,235,0.5); }
.chart-table tbody tr:nth-child(even):hover { background: var(--tan-light); }

/* ═══════ HOW TO CONVERT ═══════ */
.steps { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.step {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: var(--olive-light); box-shadow: var(--shadow); }
.step-number {
  width: 40px; height: 40px;
  background: var(--olive);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
  font-family: 'JetBrains Mono', monospace;
}
.step-content h3 { margin-bottom: 8px; font-size: 17px; }
.step-content p { margin-bottom: 0; color: var(--text-mid); font-size: 15px; line-height: 1.7; }
.example-box {
  background: linear-gradient(135deg, var(--olive-light) 0%, #eef1de 100%);
  border: 1px solid #c8d4a4;
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  margin-top: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--olive-dark);
  letter-spacing: 0.3px;
}

/* ═══════ WHY SECTION ═══════ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, transform .2s;
}
.why-card:hover { border-color: var(--olive-light); transform: translateY(-2px); }
.why-icon {
  width: 56px; height: 56px;
  background: var(--olive-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}
.why-card h3 { font-size: 15px; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-mid); margin-bottom: 0; line-height: 1.65; }

/* ═══════ PRONUNCIATION GUIDE ═══════ */
.pronunciation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 640px) { .pronunciation-grid { grid-template-columns: 1fr; } }
.pron-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.pron-card:hover { border-color: var(--olive-light); box-shadow: var(--shadow); }
.pron-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--olive);
  min-width: 72px;
  text-align: center;
  letter-spacing: 2px;
  background: var(--olive-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.pron-text {
  font-size: 15px;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.5;
}
.pron-text strong {
  display: block;
  font-style: normal;
  color: var(--bark);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

/* ═══════ COMMON CONVERSIONS ═══════ */
.common-conv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 6px;
}
.common-conv-grid::-webkit-scrollbar { width: 6px; }
.common-conv-grid::-webkit-scrollbar-track { background: transparent; }
.common-conv-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
@media (max-width: 640px) { .common-conv-grid { grid-template-columns: 1fr; } }
.conv-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s;
}
.conv-card:hover { border-color: var(--olive-light); box-shadow: var(--shadow); }
a.conv-card { text-decoration: none; color: inherit; display: flex; align-items: center; justify-content: space-between; }
.conv-mil {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 800;
  color: var(--olive);
  letter-spacing: 1px;
}
.conv-mil small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}
.conv-arrow {
  font-size: 18px;
  color: var(--border);
  flex-shrink: 0;
  margin: 0 12px;
}
.conv-std {
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  font-family: 'JetBrains Mono', monospace;
  text-align: right;
}

/* ═══════ MILITARY TIME KEYWORDS TABLE ═══════ */
.keywords-table-wrap {
  margin-top: 28px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.keywords-table-header {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--olive-deeper) 0%, var(--olive-dark) 100%);
  color: var(--tan);
  border-bottom: 2px solid var(--olive);
}
.keywords-table {
  width: 100%;
  border-collapse: collapse;
}
.keywords-table th {
  padding: 10px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-light);
  background: var(--sand);
  border-bottom: 1px solid var(--border-light);
}
.keywords-table td {
  padding: 11px 18px;
  font-size: 15px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.keywords-table tbody tr:last-child td { border-bottom: none; }
.keywords-table td:first-child {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--olive);
}
.keywords-table td:nth-child(2) {
  color: var(--text-mid);
  font-weight: 500;
}
.keywords-table td:nth-child(3) {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
}
.keywords-table tbody tr:hover { background: var(--tan-light); }
.keywords-table tbody tr:nth-child(even) { background: rgba(247,243,235,0.5); }
.keywords-table tbody tr:nth-child(even):hover { background: var(--tan-light); }

/* ═══════ FAQ ═══════ */
.faq-list {
  margin-top: 28px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:last-child { border-bottom: none; }
.faq-category {
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--olive-light) 0%, #e4e9d5 100%);
  border-bottom: 1px solid #c8d4a4;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--olive-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-category-icon {
  font-size: 15px;
  font-style: normal;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text);
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  transition: background .15s;
}
.faq-question:hover { background: var(--sand); color: var(--olive-dark); }
.faq-icon {
  width: 28px; height: 28px;
  background: var(--sand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all .25s;
  color: var(--text-light);
  font-weight: 500;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--olive);
  color: var(--white);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ═══════ DOWNLOAD ═══════ */
.download-section { text-align: center; }
.download-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow);
  display: inline-block;
  margin-top: 28px;
  max-width: 440px;
}
.download-icon {
  width: 72px; height: 72px;
  background: var(--olive-light);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}
.download-card h3 { font-size: 18px; }
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--olive);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin-top: 20px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.download-btn:hover { background: var(--olive-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

/* ═══════ RELATED TOOLS ═══════ */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 640px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
  box-shadow: var(--shadow-sm);
}
.tool-card:hover { border-color: var(--olive); box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-card h3 { font-size: 15px; margin-bottom: 8px; }
.tool-card p { font-size: 14px; color: var(--text-mid); margin-bottom: 0; line-height: 1.6; }
.tool-card .arrow {
  color: var(--olive);
  font-size: 13px;
  font-weight: 700;
  margin-top: 14px;
  display: inline-block;
  letter-spacing: 0.3px;
}

/* ═══════ FOOTER ═══════ */
footer {
  background: var(--olive-deeper);
  padding: 36px 24px;
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
footer a { color: var(--tan); text-decoration: none; transition: opacity .2s; }
footer a:hover { opacity: 0.8; text-decoration: underline; }
.footer-links { margin-top: 12px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 13px; }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  section { padding: 48px 0; }
  .converter-card { padding: 24px; }
  .clock-box { padding: 24px 28px; min-width: 160px; }
  .clock-box-time { font-size: 34px; }
  .clock-std .clock-box-time { font-size: 26px; }
  .step { padding: 20px; gap: 14px; }
  .download-card { padding: 32px 24px; }
}
