/* ============================================================
   AEKMAK BUSINESS — business.css
   All pages: index, digital, analytics, about, contact, admin
   Requires style.css to be loaded first
   ============================================================ */

/* ── HERO — teal bg, ALWAYS white text ── */
.biz-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-mid) 100%);
  padding: 56px var(--page-pad) 48px;
  text-align: center;
}
.biz-hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}
.biz-hero h1 {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: #fff;           /* ALWAYS white — never inherit */
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.biz-hero h1 em {
  color: var(--teal-muted);
  font-style: normal;
}
.biz-hero p {
  font-size: 15px;
  color: rgba(255,255,255,.72); /* ALWAYS light — never black */
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
}
.biz-hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  margin-top: 4px;
}
.biz-stat-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;            /* ALWAYS white */
}
.biz-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.45); /* ALWAYS light */
  margin-top: 2px;
}

/* ── HERO BUTTONS — explicit white, never inherit dark ── */
.btn-hero-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;                          /* force white */
  border: 1px solid rgba(255,255,255,.25); /* force light border */
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 7px;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.2); }

.btn-hero-white {
  background: #fff;
  color: var(--teal-dark);
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 7px;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-hero-white:hover { background: var(--teal-light); }

/* ── SERVICE ICON — teal bg, white icon ── */
.svc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;             /* ALWAYS white icon */
  font-size: 16px;
  flex-shrink: 0;
}

/* ── LIGHT HERO (for pages that use white bg hero) ── */
.biz-hero-light {
  background: var(--bg-secondary);
  border-bottom: .5px solid var(--border);
  padding: 48px var(--page-pad);
}
.biz-hero-light-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.biz-hero-light h1 {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);  /* dark text on white bg = fine */
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.biz-hero-light p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* ── BAND (alternating section bg) ── */
.band {
  background: var(--bg-secondary);
  border-top: .5px solid var(--border);
  border-bottom: .5px solid var(--border);
  padding: 40px var(--page-pad);
}

/* ── CTA STRIP — teal bg, always white text ── */
.cta-strip {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 48px var(--page-pad);
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: #fff;             /* ALWAYS white */
  margin-bottom: 8px;
}
.cta-strip p {
  color: rgba(255,255,255,.7); /* ALWAYS light */
  font-size: 14px;
  margin-bottom: 20px;
}

/* ── PRODUCT CARDS ── */
.product-card {
  background: var(--bg);
  border: .5px solid var(--border);
  border-radius: var(--border-radius-lg, 12px);
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
}
.product-card h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);  /* dark on white bg = fine */
  margin-bottom: 5px;
}
.product-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.product-price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--teal);
}
.product-price-per {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── DEMO CARDS ── */
.demo-card {
  background: var(--bg);
  border: .5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--transition);
}
.demo-card:hover { border-color: rgba(15,110,86,.35); }
.demo-thumb {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}
.demo-thumb i {
  font-size: 32px;
  color: rgba(255,255,255,.6); /* light icon on teal bg */
}
.demo-thumb-alt {
  background: linear-gradient(135deg, #1A3A5C, #2D6099);
}
.demo-thumb-muted {
  background: var(--bg-secondary);
}
.demo-thumb-muted i { color: var(--text-muted); }
.demo-body { padding: 14px; }
.demo-body h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.demo-body p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

/* ── TEAM CARDS ── */
.team-card {
  background: var(--bg);
  border: .5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: #fff;             /* ALWAYS white on coloured avatar */
  margin: 0 auto 12px;
}
.team-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.team-role {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 5px;
}
.team-loc {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
  margin-bottom: 14px;
}
.team-bio {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
  margin-bottom: 14px;
}

/* ── SKILL BARS ── */
.skill-bar-item {
  background: var(--bg-secondary);
  border-radius: 8px;
  padding: 11px 14px;
  border: .5px solid var(--border);
  margin-bottom: 9px;
}
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-primary);
}
.skill-bar-label span:last-child {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 11px;
}
.skill-bar-track {
  height: 4px;
  background: var(--bg-tertiary, #eff4f2);
  border-radius: 2px;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-mid));
  border-radius: 2px;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 520px;
}
.contact-left {
  background: linear-gradient(160deg, var(--teal-dark), var(--teal));
  padding: 48px 36px;
}
.contact-left h1 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: #fff;              /* ALWAYS white */
  margin-bottom: 10px;
  line-height: 1.2;
}
.contact-left-sub {
  font-size: 13px;
  color: rgba(255,255,255,.62); /* ALWAYS light */
  line-height: 1.65;
  margin-bottom: 28px;
  font-style: italic;
}
.contact-method { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.contact-method-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8); /* light icon on teal bg */
  font-size: 15px;
  flex-shrink: 0;
}
.contact-method-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4); /* light label on teal bg */
}
.contact-method-value {
  font-size: 13px;
  color: #fff;              /* ALWAYS white */
  font-weight: 500;
}
.contact-reason {
  font-size: 13px;
  color: rgba(255,255,255,.68); /* light on teal bg */
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  gap: 8px;
}
.contact-reason::before {
  content: '→';
  color: var(--teal-muted);
  font-weight: 700;
  flex-shrink: 0;
}
.contact-right {
  padding: 48px 36px;
  background: var(--bg);
}
.contact-right h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary); /* dark on white = fine */
  margin-bottom: 5px;
}
.contact-right-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* ── INTEREST CHIPS ── */
.interest-chip {
  font-family: var(--font-body);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 20px;
  border: .5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.interest-chip:hover,
.interest-chip.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* ── ADMIN ── */
.admin-body { background: var(--bg-secondary); }
.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 54px;
  background: var(--teal-dark);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-nav-logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;             /* ALWAYS white on teal nav */
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-nav-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); /* light on teal */
  padding: 2px 8px;
  border-radius: 4px;
}
.admin-nav-right { display: flex; align-items: center; gap: 12px; }
.admin-view-site {
  font-size: 12px;
  color: rgba(255,255,255,.6); /* light on teal */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}
.admin-view-site:hover { color: #fff; }
.admin-signout {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7); /* light on teal */
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-body);
}
.admin-layout { display: grid; grid-template-columns: 200px 1fr; min-height: calc(100vh - 54px); }
.admin-sidebar { background: var(--bg); border-right: .5px solid var(--border); padding: 20px 0; }
.admin-sidebar-group { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); padding: 10px 20px 6px; }
.admin-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  border-left: 2px solid transparent;
  user-select: none;
}
.admin-sidebar-item:hover { background: var(--bg-secondary); color: var(--teal); }
.admin-sidebar-item.active { background: var(--teal-light); color: var(--teal); border-left-color: var(--teal); font-weight: 600; }
.admin-main { padding: 28px 32px; }
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-page-title { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.admin-page-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.admin-card { background: var(--bg); border-radius: 10px; border: .5px solid var(--border); padding: 20px; margin-bottom: 16px; }
.admin-card-title { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }

/* Admin auth gate */
.admin-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-secondary);
  padding: 24px;
}
.admin-gate-card {
  background: var(--bg);
  border: .5px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.admin-gate-logo { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.admin-gate-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.admin-gate-denied { color: var(--danger, #DC2626); font-size: 13px; margin-top: 12px; display: none; }

/* Mode cards — user-select:none prevents text cursor on click */
.mode-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.mode-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.mode-card:hover { border-color: var(--teal); background: var(--teal-light); }
.mode-card.active { border-color: var(--teal); background: var(--teal-light); }
.mode-card-icon { font-size: 26px; margin-bottom: 8px; }
.mode-card h3 { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 5px; }
.mode-card p { font-size: 12px; color: var(--text-muted); line-height: 1.55; }
.mode-active-label { font-size: 11px; font-weight: 700; color: var(--teal); margin-top: 8px; display: none; }
.mode-card.active .mode-active-label { display: block; }

/* Admin table */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; padding: 10px 14px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); background: var(--bg-secondary); border-bottom: .5px solid var(--border); }
.admin-table td { padding: 12px 14px; border-bottom: .5px solid var(--border); color: var(--text-secondary); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg-secondary); }

/* MD editor */
.md-editor-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.md-pane-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.md-textarea { width: 100%; height: 420px; font-family: monospace; font-size: 12px; padding: 14px; border-radius: 8px; border: .5px solid var(--border); background: var(--bg); color: var(--text-primary); resize: none; outline: none; line-height: 1.7; }
.md-textarea:focus { border-color: var(--teal); }
.md-preview { height: 420px; overflow-y: auto; background: var(--bg); border: .5px solid var(--border); border-radius: 8px; padding: 14px; font-size: 13px; line-height: 1.7; color: var(--text-primary); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .biz-hero h1 { font-size: 28px; }
  .biz-hero-light-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .mode-cards { grid-template-columns: 1fr; }
}
