@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

/* ===================================================================
   Doonamoo Inc. — Corporate Profile Site
   =================================================================== */

:root {
  --navy-950: #060c1c;
  --navy-900: #0a1330;
  --navy-800: #101c42;
  --navy-700: #17285c;
  --navy-100: #e7ecf8;
  --blue-500: #3461ff;
  --blue-400: #5b7dff;
  --gold-400: #e8b64c;
  --gold-500: #d8a12e;
  --gold-600: #9a6b0f;
  --ink-900: #101322;
  --ink-700: #3a3f52;
  --ink-500: #6b7086;
  --paper: #f8fafc;
  --paper-alt: #f1f5f9;
  --line: #cbd5e1;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(16, 25, 60, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 25, 60, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --font-num: 'Space Grotesk', 'Pretendard', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-kr);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(8%) sepia(29%) saturate(4154%) hue-rotate(222deg) brightness(91%) contrast(98%);
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--blue-500), var(--navy-800));
  color: #fff;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-mark.small { width: 34px; height: 34px; font-size: 16px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; font-weight: 700; }
.brand-text em { font-style: normal; font-size: 11px; letter-spacing: .08em; opacity: .7; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  opacity: .88;
  position: relative;
  padding: 6px 0;
  transition: opacity .25s var(--ease), color .3s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  background: var(--blue-500);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 999px;
  opacity: 1 !important;
}
.nav-cta:hover { background: var(--navy-800); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-left: 8px;
}
.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--ink-500);
  font-family: var(--font-num);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-btn.active { background: var(--blue-500); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-900);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink-900);
  padding-top: 76px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(52, 97, 255, 0.08), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(232, 182, 76, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.94) 60%, rgba(255, 255, 255, 0.98) 100%),
    url('https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(16,25,60,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,25,60,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; padding: 60px 24px 80px; }
.eyebrow {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--blue-500);
  margin: 0 0 22px;
  font-weight: 600;
}
.hero h1 {
  font-size: clamp(30px, 5.4vw, 56px);
  line-height: 1.28;
  font-weight: 900;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.hero h1 .accent { color: var(--gold-600); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink-700);
  margin: 0 0 40px;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 10px 26px rgba(52,97,255,.35); }
.btn-primary:hover { background: var(--blue-400); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink-900); }
.btn-ghost:hover { border-color: var(--navy-900); background: rgba(16,25,60,.04); transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  z-index: 1;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold-600);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ---------- Sections (shared) ---------- */
.section {
  padding: 110px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-of-type,
.contact-section {
  border-bottom: none;
}
.section-alt { background: var(--paper-alt); }
.section-tag {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--blue-500);
  margin: 0 0 14px;
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.section-lead {
  font-size: 16.5px;
  color: var(--ink-700);
  max-width: 760px;
  margin: 0 0 52px;
}
.sub-title {
  font-size: 20px;
  font-weight: 700;
  margin: 56px 0 24px;
}

/* ---------- Overview ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-card {
  background: #ffffff;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-500);
  letter-spacing: .04em;
}
.info-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-900);
}
.info-value small { color: var(--ink-500); font-weight: 400; font-size: 13px; }
.info-value a { color: var(--blue-500); border-bottom: 1px solid transparent; }
.info-value a:hover { border-color: var(--blue-500); }

/* ---------- Mission ---------- */
.mission-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
}
.mission-label {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold-600);
  background: rgba(216,161,46,.12);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.mission-block blockquote {
  margin: 0 0 18px;
  font-size: clamp(19px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy-900);
}
.mission-block p { margin: 0; color: var(--ink-700); font-size: 15.5px; max-width: 640px; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.value-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.value-num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  display: block;
  margin-bottom: 14px;
}
.value-card h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.value-card p { margin: 0; font-size: 13.5px; color: var(--ink-700); line-height: 1.6; }

.vision-2030 {
  margin-top: 56px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 44px 48px;
  color: var(--ink-900);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vision-2030-head { display: flex; align-items: baseline; gap: 16px; }
.vision-year {
  font-family: var(--font-num);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-600);
}
.vision-2030-head h3 { margin: 0; font-size: 20px; font-weight: 700; }
.vision-2030 p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-700); max-width: 700px; }
.vision-2030 strong { color: var(--blue-500); }

/* ---------- Services ---------- */
.service-category {
  border-top: 1px solid var(--line);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}
.service-category:last-child { border-bottom: 1px solid var(--line); }
.service-category-head { display: flex; flex-direction: column; gap: 6px; }
.service-index { font-family: var(--font-num); font-size: 24px; color: var(--blue-500); font-weight: 700; }
.service-category-head h3 { margin: 4px 0 2px; font-size: 22px; font-weight: 800; }
.service-sub { font-size: 13.5px; color: var(--ink-500); }
.service-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.service-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.service-list li:last-child { border-bottom: none; padding-bottom: 0; }
.service-list strong { font-size: 16px; font-weight: 700; color: var(--navy-900); }
.service-list span { font-size: 14.5px; color: var(--ink-700); }

/* ---------- Core Values ---------- */
.core-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.core-card {
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.core-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.core-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(52,97,255,.12), rgba(52,97,255,.04));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.core-icon svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--blue-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.core-card h4 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.core-card p { margin: 0; font-size: 14.5px; color: var(--ink-700); line-height: 1.7; }

/* ---------- Our Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
}
.team-card {
  padding: 36px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(52,97,255,.12), rgba(52,97,255,.04));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.team-avatar svg {
  width: 26px; height: 26px;
  fill: none;
  stroke: var(--blue-500);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.team-role { display: block; font-size: 18px; font-weight: 700; color: var(--navy-900); margin-bottom: 16px; }
.team-bio { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.team-bio li {
  font-size: 14px;
  color: var(--ink-500);
  padding-left: 14px;
  position: relative;
}
.team-bio li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--line);
}

/* ---------- Contact ---------- */
.contact-section { background: var(--paper-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 60px;
}
.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.contact-card:not(.contact-card-static):hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-500);
}
.contact-label { font-size: 12.5px; font-weight: 700; color: var(--blue-500); letter-spacing: .04em; }
.contact-value { font-size: 17px; font-weight: 700; color: var(--navy-900); word-break: break-word; }
.contact-note { font-size: 12.5px; color: var(--ink-500); }

.closing-quote {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.8;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  font-style: normal;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  color: var(--ink-500);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand strong { color: var(--navy-900); font-size: 14.5px; }
.footer-brand span { font-size: 12px; opacity: .8; }
.footer-legal-links { display: flex; gap: 20px; }
.footer-legal-links a { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.footer-legal-links a:hover { color: var(--blue-500); }
.footer-legal {
  margin: 20px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}
.footer-legal p { margin: 0; font-size: 12px; }
.footer-copy { font-size: 12.5px; margin: 0; }

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink-900);
  padding-top: 76px;
}
.page-hero-inner { position: relative; z-index: 1; padding: 88px 24px 64px; max-width: 780px; }
.page-hero h1 {
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.25;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-500);
}

/* ---------- Login Page (split layout) ---------- */
.login-container {
  display: flex;
  min-height: 100vh;
  background: var(--paper);
}
.login-form-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  position: relative;
}
.login-image-side {
  flex: 1.2;
  background-image: url('https://images.unsplash.com/photo-1599222091172-18228e8e81b3?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0NTYyMDF8MHwxfHNlYXJjaHwyfHx0d28lMjB0cmVlc3xlbnwwfHx8fDE3NDMxNjE0ODh8MA&ixlib=rb-4.0.3&q=80&w=1080');
  background-size: cover;
  background-position: center;
  border-radius: var(--radius) 0 0 var(--radius);
  margin: 16px 16px 16px 0;
}
@media (max-width: 980px) {
  .login-image-side {
    display: none;
  }
}
.login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 44px 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.login-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.login-logo-container .brand-logo {
  height: 38px;
}
.login-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.login-card p.subtitle {
  font-size: 14.5px;
  color: var(--ink-700);
  margin: 0 0 32px;
}
.login-form-group {
  text-align: left;
  margin-bottom: 20px;
}
.login-form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.login-input-wrapper {
  position: relative;
}
.login-input-wrapper input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-900);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.login-input-wrapper input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(52, 97, 255, 0.15);
}
.login-password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-500);
  transition: color .25s var(--ease);
}
.login-password-toggle:hover {
  color: var(--navy-900);
}
.login-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-error-msg {
  color: #ef4444;
  font-size: 13px;
  text-align: left;
  margin-bottom: 16px;
  min-height: 20px;
  font-weight: 500;
}
.login-btn-submit {
  width: 100%;
  padding: 13px;
  background: var(--blue-500);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 4px 12px rgba(52, 97, 255, 0.25);
}
.login-btn-submit:hover {
  background: var(--blue-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(52, 97, 255, 0.35);
}
.login-signup-link {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--ink-700);
}
.login-signup-link a {
  color: var(--blue-500);
  font-weight: 700;
}
.login-signup-link a:hover {
  text-decoration: underline;
}
.login-back-home {
  position: absolute;
  top: 24px;
  left: 24px;
}
.login-lang-switch {
  position: absolute;
  top: 24px;
  right: 24px;
}
.back-link::before { content: '←'; }
.back-link:hover { text-decoration: underline; }

/* ---------- Needs grid (why.html) ---------- */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.needs-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.needs-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.needs-num {
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-500);
  display: block;
  margin-bottom: 14px;
}
.needs-card h4 { margin: 0 0 8px; font-size: 15.5px; font-weight: 700; line-height: 1.4; }
.needs-card p { margin: 0; font-size: 13px; color: var(--ink-700); line-height: 1.6; }

.why-doonamoo-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Process steps (why.html) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.process-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--blue-500);
  border-radius: var(--radius);
  padding: 30px 20px 22px;
}
.process-num {
  position: absolute;
  top: -14px; right: -14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-500);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-card h4 { margin: 0 0 10px; font-size: 15.5px; font-weight: 700; color: var(--blue-500); }
.process-card p { margin: 0; font-size: 13px; color: var(--ink-700); line-height: 1.6; }

/* ---------- Cost list (why.html) ---------- */
.cost-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.cost-list li {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.cost-num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-500);
  color: #fff;
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cost-list h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.cost-list p { margin: 0; font-size: 14.5px; color: var(--ink-700); line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 90px 0;
  color: #fff;
  text-align: center;
}
.cta-band-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-band h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 800; max-width: 640px; }
.cta-band p { margin: 0 0 10px; color: rgba(255,255,255,.75); font-size: 16px; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .core-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .service-category { grid-template-columns: 1fr; gap: 20px; }
  .needs-grid { grid-template-columns: repeat(2, 1fr); }
  .why-doonamoo-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { width: 100%; padding: 14px 0; color: var(--ink-700); opacity: .9; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }

  .section { padding: 76px 0; }
  .info-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .core-grid, .contact-grid, .team-grid { grid-template-columns: 1fr; }
  .mission-block, .vision-2030 { padding: 32px 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .needs-grid, .why-doonamoo-grid, .process-grid { grid-template-columns: 1fr; }
  .process-num { top: -12px; right: 16px; }
  .cost-list li { padding: 22px; }
}


/* ---------- AI assistant ---------- */
.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;
}
.chat-widget {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.chat-launcher {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 8px 18px 8px 10px;
  background: linear-gradient(135deg, var(--blue-500), #2747c7);
  box-shadow: 0 12px 28px rgba(27, 61, 180, .28);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(27, 61, 180, .34); }
.chat-launcher:focus-visible, .chat-close:focus-visible, .chat-send:focus-visible, .chat-suggestions button:focus-visible {
  outline: 3px solid rgba(52, 97, 255, .35);
  outline-offset: 3px;
}
.chat-launcher-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid;
  place-items: center;
}
.chat-launcher svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-icon-close { display: none; }
.chat-launcher.is-open .chat-icon-open { display: none; }
.chat-launcher.is-open .chat-icon-close { display: block; }
.chat-panel {
  width: min(390px, calc(100vw - 32px));
  max-height: min(620px, calc(100dvh - 112px));
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(150px, 1fr) auto auto auto;
  border: 1px solid rgba(17, 29, 70, .13);
  border-radius: 20px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 24px 64px rgba(9, 23, 66, .22);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.98);
  transform-origin: right bottom;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.chat-header {
  padding: 17px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-identity { display: flex; align-items: center; gap: 11px; }
.chat-orb {
  width: 35px; height: 35px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-400), var(--blue-500));
  box-shadow: inset 0 1px rgba(255,255,255,.25);
}
.chat-identity strong { display: block; font-size: 15px; line-height: 1.25; }
.chat-identity span:not(.chat-orb) { display: block; margin-top: 2px; font-size: 11.5px; color: rgba(255,255,255,.72); }
.chat-close {
  appearance: none;
  width: 32px; height: 32px;
  padding: 0; border: 0; border-radius: 50%;
  color: #fff; background: rgba(255,255,255,.1);
  font: inherit; font-size: 26px; font-weight: 300; line-height: 1;
  cursor: pointer;
}
.chat-close:hover { background: rgba(255,255,255,.2); }
.chat-messages {
  min-height: 180px;
  overflow-y: auto;
  padding: 18px;
  background: linear-gradient(180deg, #f6f8fd, #fff);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.chat-message { display: flex; max-width: 87%; }
.chat-message p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-message-assistant { align-self: flex-start; }
.chat-message-assistant p { background: #fff; color: var(--ink-700); border: 1px solid var(--line); border-top-left-radius: 4px; }
.chat-message-user { align-self: flex-end; }
.chat-message-user p { background: var(--blue-500); color: #fff; border-top-right-radius: 4px; }
.chat-typing p { color: var(--ink-500); font-style: italic; }
.chat-suggestions {
  padding: 10px 16px 2px;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chat-suggestions button {
  appearance: none;
  padding: 6px 9px;
  border: 1px solid #d8e0ff;
  border-radius: 999px;
  background: #f5f7ff;
  color: #3152ce;
  font: inherit;
  font-size: 11.5px;
  line-height: 1.35;
  cursor: pointer;
}
.chat-suggestions button:hover { background: #e9eeff; }
.chat-suggestions button:disabled { opacity: .55; cursor: not-allowed; }
.chat-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 8px;
  background: #fff;
}
.chat-form input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid #d9deeb;
  border-radius: 10px;
  padding: 0 12px;
  color: var(--ink-900);
  background: #fff;
  font: inherit;
  font-size: 13px;
}
.chat-form input:focus { outline: 0; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(52, 97, 255, .12); }
.chat-send {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border: 0; border-radius: 10px;
  background: var(--blue-500); color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
}
.chat-send:hover { background: #264edb; }
.chat-send:disabled { cursor: not-allowed; opacity: .65; }
.chat-send svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chat-notice { margin: 0; padding: 0 16px 13px; color: var(--ink-500); background: #fff; font-size: 10.5px; line-height: 1.4; }
@media (max-width: 560px) {
  .chat-widget { right: 14px; bottom: 14px; }
  .chat-launcher { padding-right: 15px; }
  .chat-panel { width: calc(100vw - 28px); max-height: min(560px, calc(100dvh - 86px)); border-radius: 18px; }
  .chat-launcher-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-panel, .chat-launcher { transition: none; }
}

/* ---------- Admin Dashboard Styles ---------- */
.admin-container {
  display: flex;
  min-height: 100vh;
  background: var(--paper-alt);
}

.admin-sidebar {
  flex: 0 0 260px;
  background: var(--navy-900);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  border-right: 1px solid var(--navy-800);
}

@media (max-width: 860px) {
  .admin-container {
    flex-direction: column;
  }
  .admin-sidebar {
    flex: 0 0 auto;
    width: 100%;
    padding: 20px;
  }
}

.admin-sidebar-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.admin-sidebar-logo .brand-logo {
  height: 34px;
  filter: brightness(0) invert(1); /* Keep white logo in sidebar */
}

.admin-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.admin-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.admin-menu-item:hover, .admin-menu-item.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.admin-menu-item.active {
  background: var(--blue-500);
  box-shadow: 0 4px 12px rgba(52, 97, 255, 0.25);
}

.admin-logout-btn {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.admin-logout-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ff5f5f;
}

.admin-content {
  flex: 1;
  padding: 40px;
  overflow-x: hidden;
}

@media (max-width: 860px) {
  .admin-content {
    padding: 24px 16px;
  }
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.admin-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.admin-btn-primary {
  background: var(--blue-500);
  color: #fff;
  box-shadow: 0 4px 12px rgba(52, 97, 255, 0.2);
}

.admin-btn-primary:hover {
  background: var(--blue-400);
}

.admin-card-table {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.admin-table th {
  background: var(--paper-alt);
  color: var(--ink-700);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-900);
  vertical-align: middle;
  word-break: break-all;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(241, 245, 249, 0.5);
}

.admin-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1;
}

.admin-badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
}

.admin-badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #991b1b;
}

.admin-badge-warning {
  background: rgba(234, 179, 8, 0.15);
  color: #854d0e;
}

.admin-badge-info {
  background: rgba(59, 130, 246, 0.15);
  color: #1e40af;
}

.admin-btn-action {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.admin-btn-edit {
  color: var(--blue-500);
  border-color: rgba(52, 97, 255, 0.2);
}

.admin-btn-edit:hover {
  background: var(--blue-500);
  color: #fff;
  border-color: var(--blue-500);
}

.admin-btn-delete {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.2);
  margin-left: 6px;
}

.admin-btn-delete:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* Modals */
.admin-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 28, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}

.admin-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.admin-modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform .3s var(--ease);
}

.admin-modal.show .admin-modal-content {
  transform: translateY(0);
}

.admin-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.admin-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy-900);
}

.admin-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink-500);
  line-height: 1;
}

.admin-modal-body {
  padding: 24px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

.admin-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: var(--paper-alt);
}

.admin-form-group {
  margin-bottom: 18px;
}

.admin-form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.admin-form-group input[type="text"],
.admin-form-group input[type="number"],
.admin-form-group select,
.admin-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  font-family: inherit;
  font-size: 14px;
  background: var(--paper);
}

.admin-form-group input:focus,
.admin-form-group select:focus,
.admin-form-group textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

.admin-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.admin-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.admin-form-checkbox input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ---------- Login Page ---------- */
.login-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  background: var(--paper-alt);
}

.login-form-side {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.login-image-side {
  flex: 1 1 50%;
  background-image: url('https://images.unsplash.com/photo-1513836279014-a89f7a76ae86?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 860px) {
  .login-image-side {
    display: none;
  }
  .login-form-side {
    flex: 1 1 100%;
  }
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.login-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.login-logo-container .brand-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(8%) sepia(29%) saturate(4154%) hue-rotate(222deg) brightness(91%) contrast(98%);
}

.login-card h2 {
  text-align: center;
  margin: 0 0 6px 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--navy-900);
}

.login-card .subtitle {
  text-align: center;
  margin: 0 0 28px 0;
  font-size: 14.5px;
  color: var(--ink-500);
}

.login-form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.login-form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
}

.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.login-input-wrapper input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.login-input-wrapper input:focus {
  outline: none;
  border-color: var(--blue-500);
  background: #ffffff;
}

.login-password-toggle {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-500);
  display: grid;
  place-items: center;
  padding: 0;
  transition: color 0.2s var(--ease);
}

.login-password-toggle:hover {
  color: var(--navy-900);
}

.login-password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.login-error-msg {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 16px;
  min-height: 18px;
  text-align: left;
  font-weight: 500;
}

.login-btn-submit {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  background: var(--blue-500);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(52, 97, 255, 0.2);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.login-btn-submit:hover {
  background: var(--blue-400);
  box-shadow: 0 6px 16px rgba(52, 97, 255, 0.3);
}

.login-signup-link {
  margin-top: 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-600);
}

.login-signup-link a {
  color: var(--blue-500);
  font-weight: 600;
  margin-left: 4px;
  transition: color 0.2s var(--ease);
}

.login-signup-link a:hover {
  color: var(--blue-400);
  text-decoration: underline;
}

.login-back-home {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s var(--ease);
}

.login-back-home:hover {
  background: var(--paper-alt);
  color: var(--navy-900);
  transform: translateX(-2px);
}

.login-lang-switch {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
}