/* About page — desktop layout only (see app.py's about() route: a mobile
   User-Agent gets templates/about.html's phone-shell design instead, this
   file is never loaded there). Deliberately plain full-page desktop layout,
   same dark/neon palette as the rest of the site, same idea as admin.css
   not using the .phone/cqh/cqw mobile shell system. */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@500;600;700&display=swap');

* { box-sizing: border-box; }

html, body { height: auto; overflow: auto; }

.abd-body {
  background: #0a0a0a;
  color: #f2f2f2;
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px 64px;
}

@keyframes abd-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.abd-header {
  width: 100%;
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.abd-logo { display: flex; align-items: center; gap: 12px; }
.abd-logo-mark {
  width: 30px;
  height: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  transform: skewX(-10deg);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.abd-logo-mark span { background: #e8e8e8; }
.abd-logo-mark span:nth-child(odd) { background: #1a1a1a; }
.abd-logo-mark span:nth-child(4n+1), .abd-logo-mark span:nth-child(4n) { background: #9dff3f; }
.abd-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1px;
}
.abd-logo-text .k2 { color: #9dff3f; }

.abd-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #4b6b1f;
  border-radius: 8px;
  padding: 9px 18px;
  color: #cfcfcf;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  /* this class styles both the header's <a> BACK TO HOME link (which has
     no background of its own by default, so this never mattered before)
     and the <button id="pwaInstallBtn"> INSTALL APP NOW control — a real
     <button> element picks up the browser's own default light/white
     button background unless explicitly reset, which combined with this
     class's light-gray text made it unreadable until :hover happened to
     add its own background. Same fix as admin.css's .admin-clock-trigger. */
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,0.02);
  font-family: inherit;
  cursor: pointer;
}
.abd-home-btn:hover { border-color: #9dff3f; color: #eafccf; background: rgba(157,255,63,0.08); }
.abd-home-btn svg { width: 16px; height: 16px; }

.abd-hero {
  width: 100%;
  max-width: 760px;
  text-align: center;
  margin-bottom: 48px;
  animation: abd-fade-up 0.6s ease both;
}
.abd-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.abd-hero h1 .sub { color: #9dff3f; }
.abd-hero p {
  color: #b9b9b9;
  font-size: 17px;
  line-height: 1.65;
}

.abd-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.abd-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: #d0d0d0;
  line-height: 1.55;
}
.abd-step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #9dff3f;
  color: #9dff3f;
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abd-faq {
  width: 100%;
  max-width: 1040px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
  animation: abd-fade-up 0.6s ease both;
}
.abd-faq-item {
  border: 1px solid rgba(157,255,63,0.14);
  border-radius: 10px;
  padding: 16px 22px;
  background: rgba(255,255,255,0.02);
}
.abd-faq-q {
  font-weight: 700;
  color: #f2f2f2;
  font-size: 16px;
  margin-bottom: 5px;
}
.abd-faq-q::before { content: "Q. "; color: #9dff3f; }
.abd-faq-a { font-size: 14.5px; color: #b0b0b0; line-height: 1.55; }

.abd-section-title {
  width: 100%;
  max-width: 1040px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  animation: abd-fade-up 0.6s ease both;
}
.abd-section-title .sub { color: #9dff3f; }

.abd-features {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-bottom: 40px;
  animation: abd-fade-up 0.6s ease both;
  animation-delay: 0.05s;
}
.abd-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(157,255,63,0.16);
  border-radius: 12px;
  padding: 18px 22px;
  background: rgba(157,255,63,0.03);
}
.abd-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #9dff3f;
  display: flex;
  align-items: center;
  justify-content: center;
}
.abd-feature-icon svg { width: 55%; height: 55%; stroke: #9dff3f; }
.abd-feature-text { font-size: 15px; color: #d0d0d0; line-height: 1.5; padding-top: 2px; }
.abd-feature-text b { color: #f2f2f2; }

.abd-cards {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 760px) {
  .abd-cards { grid-template-columns: 1fr; }
  .abd-features { grid-template-columns: 1fr; }
}

.abd-card {
  border: 1.5px solid #4b6b1f;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(157,255,63,0.05), rgba(0,0,0,0.2));
  padding: 36px 32px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
  animation: abd-fade-up 0.6s ease both;
}
.abd-card:nth-of-type(1) { animation-delay: 0.1s; }
.abd-card:nth-of-type(2) { animation-delay: 0.2s; }
.abd-card:hover { border-color: #9dff3f; transform: translateY(-4px); }

.abd-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border: 1.5px solid #9dff3f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.abd-card-icon svg { width: 50%; height: 50%; }

.abd-card-name { font-weight: 700; font-size: 24px; letter-spacing: 0.5px; margin-bottom: 4px; }
.abd-card-role { color: #9dff3f; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 14px; }
.abd-card-body { color: #9a9a9a; font-size: 15px; line-height: 1.6; max-width: 40ch; margin: 0 auto 16px; }
.abd-card-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9dff3f;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid rgba(157,255,63,0.4);
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}
.abd-card-email:hover { border-color: #9dff3f; }
.abd-card-email svg { width: 15px; height: 15px; }

.abd-company {
  width: 100%;
  max-width: 1040px;
  border: 1.5px solid #4b6b1f;
  border-radius: 16px;
  padding: 32px 40px;
  margin-bottom: 40px;
  animation: abd-fade-up 0.6s ease both;
  animation-delay: 0.3s;
}
.abd-company-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.abd-company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
@media (max-width: 640px) {
  .abd-company-grid { grid-template-columns: 1fr; }
}
.abd-company-item .label {
  display: block;
  color: #7a7a7a;
  font-size: 12px;
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}
.abd-company-item .value { color: #e0e0e0; font-size: 15px; line-height: 1.5; }
.abd-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9dff3f;
  text-decoration: none;
  transition: color 0.15s ease;
}
.abd-contact-link:hover { color: #c9ffa0; }
.abd-contact-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.abd-footer {
  color: #555;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-align: center;
  animation: abd-fade-up 0.6s ease both;
  animation-delay: 0.4s;
}
