/* ============================================
   Asset Headquarters — Master Stylesheet
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* brand colours */
  --navy:       #2b0a1a;
  --navy-light: #3d1229;
  --blue:       #da2675;
  --blue-light: #fe71a3;
  --blue-glow:  rgba(218,38,117,.12);
  --cyan:       #fe71a3;
  --teal:       #f7427e;
  --gold:       #f5a623;
  --red:        #ff4757;
  --green:      #2ed573;
  --white:      #ffffff;
  --grey-50:    #fdf8fa;
  --grey-100:   #f6eef1;
  --grey-200:   #ebdde3;
  --grey-400:   #8c95a6;
  --grey-600:   #5a6478;
  --grey-800:   #2d3446;
  --dark:       #0d1117;

  /* role accent colours */
  --ceo-color:  #f5a623;
  --cfo-color:  #2ed573;
  --cio-color:  #6b8aff;
  --cto-color:  #a855f7;
  --chro-color: #00c9d4;

  /* typography */
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  /* spacing */
  --section-py: 6rem;
  --container:  1200px;

  /* transitions */
  --ease: cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-light); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { line-height: 1.25; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; color: var(--grey-600); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}

.section-title { margin-bottom: 1rem; }
.section-subtitle { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border: none;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(26,107,255,.35);
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,107,255,.45);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  color: var(--navy);
}
.btn-sm { padding: .55rem 1.25rem; font-size: .85rem; }

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .3s var(--ease);
}
.navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.08); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.nav-logo:hover { color: var(--navy); }
.nav-logo img { height: 36px; width: auto; display: block; }
.nav-logo .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: .25rem;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--grey-600);
  border-radius: 6px;
  transition: all .2s var(--ease);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--blue);
  background: var(--blue-glow);
}
.nav-links > li > a .chevron {
  font-size: .65rem;
  transition: transform .2s var(--ease);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .25s var(--ease);
  list-style: none;
}
.nav-links > li:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links > li:hover > a .chevron { transform: rotate(180deg); }

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .85rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--grey-600);
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.dropdown-menu li a:hover {
  background: var(--grey-50);
  color: var(--navy);
}
.dropdown-menu li a .role-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dropdown-menu li a .role-label { font-size: .72rem; color: var(--grey-400); margin-left: auto; }

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

.nav-cta { margin-left: .5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy) 0%, #33102a 50%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 40%, rgba(26,107,255,.15) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 60%, rgba(0,212,255,.08) 0%, transparent 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 4rem 0;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--blue-light), #ffb6d3, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,.7);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* hero stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  text-align: center;
}
.hero-stat {
  text-align: center;
  min-width: 0;
}
.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .15rem;
}

/* ---------- Role Cards Section ---------- */
.role-cards-section {
  padding: var(--section-py) 0;
  background: var(--grey-50);
}
.role-cards-section .section-header { text-align: center; margin-bottom: 3rem; }

.role-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.role-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,.1);
  border-color: transparent;
}
.role-card:hover::before { opacity: 1; }

.role-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
/* HIDDEN: remove display:none to restore thumbnails */
.role-card-thumb {
  display: none;
  margin: -2rem -1.5rem 1.25rem;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: var(--grey-100);
}
.role-card-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s var(--ease);
}
.role-card:hover .role-card-thumb img {
  transform: scale(1.03);
}
.role-card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.role-card p  { font-size: .88rem; margin-bottom: 1.25rem; }
.role-card .btn { width: 100%; justify-content: center; }

/* accent per role */
.role-card.ceo  { --card-accent: var(--ceo-color); }
.role-card.cfo  { --card-accent: var(--cfo-color); }
.role-card.cio  { --card-accent: var(--cio-color); }
.role-card.cto  { --card-accent: var(--cto-color); }
.role-card.chro { --card-accent: var(--chro-color); }

.role-card.ceo  .role-card-icon { background: rgba(245,166,35,.1);  color: var(--ceo-color); }
.role-card.cfo  .role-card-icon { background: rgba(46,213,115,.1);  color: var(--cfo-color); }
.role-card.cio  .role-card-icon { background: rgba(26,107,255,.1);  color: var(--cio-color); }
.role-card.cto  .role-card-icon { background: rgba(168,85,247,.1);  color: var(--cto-color); }
.role-card.chro .role-card-icon { background: rgba(0,212,255,.1);   color: var(--chro-color); }

/* ---------- Value Proposition ---------- */
.value-section {
  padding: var(--section-py) 0;
}
.value-section .section-header { text-align: center; margin-bottom: 3rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.value-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--grey-200);
  transition: all .3s var(--ease);
}
.value-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 30px rgba(26,107,255,.08);
}
.value-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.value-card h3 { margin-bottom: .5rem; }
.value-card p  { font-size: .92rem; }

/* ---------- Story Section ---------- */
.story-section {
  padding: var(--section-py) 0;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.story-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 80% 50%, rgba(26,107,255,.12) 0%, transparent 70%);
}
.story-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; text-align: center; }
.story-content h2 { color: var(--white); margin-bottom: 1.5rem; }
.story-content p  { color: rgba(255,255,255,.7); font-size: 1.1rem; line-height: 1.8; }

.story-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
  text-align: left;
}
.story-question {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.story-question .q-icon {
  color: var(--cyan);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.story-question span {
  color: rgba(255,255,255,.8);
  font-size: .92rem;
}

/* ---------- CTA Banner ---------- */
.cta-section {
  padding: var(--section-py) 0;
  text-align: center;
}
.cta-box {
  background: linear-gradient(135deg, var(--blue) 0%, #a81d5c 100%);
  border-radius: 24px;
  padding: 4rem 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 300px at 30% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
}
.cta-box h2 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.cta-box p  { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.cta-box .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo img { height: 30px; width: auto; }
.footer-brand .nav-logo .logo-icon { width: 32px; height: 32px; font-size: .85rem; border-radius: 7px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 300px; }
.footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .5rem; }
.footer ul li a { color: rgba(255,255,255,.5); font-size: .88rem; transition: color .2s var(--ease); }
.footer ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(165deg, var(--navy) 0%, #33102a 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 30% 60%, rgba(26,107,255,.12) 0%, transparent 70%);
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; position: relative; z-index: 1; }
.page-hero p  { color: rgba(255,255,255,.7); font-size: 1.15rem; max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* role-specific hero accent */
.page-hero.ceo  { background: linear-gradient(165deg, #2a1800 0%, var(--navy) 100%); }
.page-hero.cfo  { background: linear-gradient(165deg, #0a2a14 0%, var(--navy) 100%); }
.page-hero.cio  { background: linear-gradient(165deg, #1a0f33 0%, var(--navy) 100%); }
.page-hero.cto  { background: linear-gradient(165deg, #1a0033 0%, var(--navy) 100%); }
.page-hero.chro { background: linear-gradient(165deg, #002a2a 0%, var(--navy) 100%); }

.page-hero .role-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.page-hero.ceo  .role-badge { background: rgba(245,166,35,.15); color: var(--ceo-color); border: 1px solid rgba(245,166,35,.3); }
.page-hero.cfo  .role-badge { background: rgba(46,213,115,.15); color: var(--cfo-color); border: 1px solid rgba(46,213,115,.3); }
.page-hero.cio  .role-badge { background: rgba(26,107,255,.15); color: var(--blue-light); border: 1px solid rgba(26,107,255,.3); }
.page-hero.cto  .role-badge { background: rgba(168,85,247,.15); color: var(--cto-color); border: 1px solid rgba(168,85,247,.3); }
.page-hero.chro .role-badge { background: rgba(0,212,255,.15); color: var(--chro-color); border: 1px solid rgba(0,212,255,.3); }

/* ---------- Dashboard Narrative Section ---------- */
.narrative-section { padding: var(--section-py) 0; }
.narrative-section .section-header { text-align: center; margin-bottom: 3rem; }

.narrative-content {
  max-width: 800px;
  margin: 0 auto;
}
.narrative-blockquote {
  background: var(--grey-50);
  border-left: 4px solid var(--blue);
  padding: 1.75rem 2rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--grey-800);
  line-height: 1.8;
}

/* accent blockquotes per role */
.ceo-accent  .narrative-blockquote { border-left-color: var(--ceo-color); }
.cfo-accent  .narrative-blockquote { border-left-color: var(--cfo-color); }
.cio-accent  .narrative-blockquote { border-left-color: var(--cio-color); }
.cto-accent  .narrative-blockquote { border-left-color: var(--cto-color); }
.chro-accent .narrative-blockquote { border-left-color: var(--chro-color); }

/* ---------- Widget Grid ---------- */
.widgets-section {
  padding: var(--section-py) 0;
  background: var(--grey-50);
}
.widgets-section .section-header { text-align: center; margin-bottom: 3rem; }

.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.widget-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all .3s var(--ease);
}
.widget-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(26,107,255,.08);
  transform: translateY(-2px);
}
.widget-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.widget-card h4 { font-size: .92rem; margin-bottom: .25rem; }
.widget-card p  { font-size: .82rem; margin-bottom: 0; }

/* widget icon accent per role */
.ceo-widgets .widget-icon  { background: rgba(245,166,35,.1); color: var(--ceo-color); }
.cfo-widgets .widget-icon  { background: rgba(46,213,115,.1); color: var(--cfo-color); }
.cio-widgets .widget-icon  { background: rgba(26,107,255,.1); color: var(--cio-color); }
.cto-widgets .widget-icon  { background: rgba(168,85,247,.1); color: var(--cto-color); }
.chro-widgets .widget-icon { background: rgba(0,212,255,.1); color: var(--chro-color); }

/* ---------- Cares-About Section ---------- */
.cares-section { padding: var(--section-py) 0; }
.cares-section .section-header { text-align: center; margin-bottom: 3rem; }

.cares-list {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .75rem;
}
.cares-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  font-size: .92rem;
  color: var(--grey-800);
  transition: all .2s var(--ease);
}
.cares-item:hover {
  border-color: var(--blue);
  background: var(--blue-glow);
}
.cares-item .check {
  color: var(--teal);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ---------- About Page ---------- */
.about-intro {
  padding: var(--section-py) 0;
}
.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p  { font-size: 1.05rem; }

.about-visual {
  background: linear-gradient(135deg, var(--blue-glow), rgba(0,212,255,.06));
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-visual-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.about-visual-item .avi-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-visual-item span { font-size: .92rem; font-weight: 500; color: var(--grey-800); }

/* pillars */
.pillars-section {
  padding: var(--section-py) 0;
  background: var(--grey-50);
}
.pillars-section .section-header { text-align: center; margin-bottom: 3rem; }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.pillar-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 16px;
  padding: 2rem 1.25rem;
  transition: all .3s var(--ease);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.pillar-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin: 0 auto 1rem;
}
.pillar-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.pillar-card p  { font-size: .85rem; }

/* ---------- Contact ---------- */
.contact-section { padding: var(--section-py) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { font-size: 1.05rem; margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail .cd-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-glow);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-detail h4 { margin-bottom: .15rem; }
.contact-detail p  { font-size: .9rem; margin-bottom: 0; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--grey-800);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--grey-200);
  border-radius: 10px;
  font-size: .92rem;
  font-family: var(--font);
  color: var(--grey-800);
  background: var(--grey-50);
  transition: all .2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro .container { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--grey-200);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
    gap: 0;
    z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > li > a { padding: .75rem 1rem; }
  .nav-toggle { display: flex; order: 99; margin-left: .75rem; }
  .nav-cta { margin-left: auto; font-size: .8rem; }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1.5rem;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-links > li.dropdown-open > .dropdown-menu { display: block; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .widgets-grid { grid-template-columns: 1fr; }
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ---------- Login Page ---------- */
.login-page {
  min-height: 100vh;
  background: linear-gradient(165deg, var(--navy) 0%, #33102a 50%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.login-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.login-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 960px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}

/* Left: login card */
.login-card {
  background: var(--white);
  padding: 3rem 2.5rem;
}
.login-header {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo { margin-bottom: 1rem; display: flex; justify-content: center; }
.login-header h1 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .35rem;
}
.login-header p {
  font-size: .9rem;
  color: var(--grey-400);
  margin-bottom: 0;
}

/* Subscription notice */
.login-notice {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(26,107,255,.06);
  border: 1px solid rgba(26,107,255,.15);
  border-radius: 10px;
  padding: .85rem 1rem;
  margin-bottom: 1.5rem;
}
.login-notice .notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.login-notice strong {
  display: block;
  font-size: .82rem;
  color: var(--navy);
  margin-bottom: .15rem;
}
.login-notice span {
  font-size: .78rem;
  color: var(--grey-600);
  line-height: 1.5;
}

/* Login form */
.login-form .form-group { margin-bottom: 1rem; }
.login-form .form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--grey-800);
  margin-bottom: .35rem;
}
.login-form .form-group input {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--font);
  color: var(--grey-800);
  background: var(--grey-50);
  transition: all .2s var(--ease);
}
.login-form .form-group input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-glow);
  background: var(--white);
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--grey-600);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--blue);
}

.login-btn {
  width: 100%;
  justify-content: center;
  padding: .85rem;
  font-size: .95rem;
}

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-200);
}
.login-divider span {
  font-size: .78rem;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.login-sso-btn {
  width: 100%;
  justify-content: center;
  font-size: .88rem;
}

/* Error message */
.login-error {
  background: rgba(255,71,87,.08);
  border: 1px solid rgba(255,71,87,.25);
  border-radius: 8px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  font-size: .82rem;
  color: var(--red);
  line-height: 1.55;
  animation: shake .4s var(--ease);
}
.login-error strong { display: block; margin-bottom: .15rem; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
}

/* Help section */
.login-help {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-200);
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.help-card {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .75rem;
  background: var(--grey-50);
  border-radius: 10px;
}
.help-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.help-card h4 {
  font-size: .82rem;
  color: var(--navy);
  margin-bottom: .15rem;
}
.help-card p {
  font-size: .78rem;
  color: var(--grey-600);
  margin-bottom: 0;
  line-height: 1.55;
}
.help-card p a { font-size: .78rem; }

/* Right: info panel */
.login-info {
  background: linear-gradient(165deg, #1a0812 0%, var(--navy) 100%);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-info::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 400px 300px at 70% 30%, rgba(26,107,255,.12) 0%, transparent 70%);
}
.login-info h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.login-info > p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.login-features {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}
.login-feature {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.75);
  font-size: .88rem;
}
.feature-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.login-info-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
}
.login-info-footer p {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}

/* Login footer */
.login-footer {
  background: var(--dark);
  color: rgba(255,255,255,.4);
  padding: 1.5rem 0;
}
.login-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8rem;
}
.login-footer a { color: rgba(255,255,255,.4); }
.login-footer a:hover { color: var(--white); }

/* Login responsive */
@media (max-width: 768px) {
  .login-container {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
  .login-info { display: none; }
  .login-card { padding: 2rem 1.5rem; }
}
