/* ============================================================
   Concorde Group — corporate site
   Design tokens (LIGHT theme)
   ============================================================ */
:root {
  --bg: #FBFAF7;        /* warm off-white / cream */
  --bg-alt: #F2EFE9;    /* deeper cream for alt sections */
  --surface: #FFFFFF;   /* cards */
  --surface-2: #F6F3ED;
  --line: rgba(26, 24, 21, 0.10);
  --text: #1A1815;      /* warm near-black */
  --muted: #6B6A64;     /* warm grey */
  --brand-1: #6C3CF0;   /* violet */
  --brand-2: #F0468C;   /* rose / pink */
  --gold: #C88A12;
  --shadow: 0 12px 34px rgba(26, 24, 21, 0.07);
  --shadow-hover: 0 20px 48px rgba(108, 60, 240, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Sora', sans-serif; line-height: 1.1; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: linear-gradient(100deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.72rem;
  font-weight: 700; color: var(--brand-1); margin-bottom: 18px;
}
.muted { color: var(--muted); }
.lead { font-size: 1.12rem; color: #3A3833; margin-bottom: 14px; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn--primary {
  background: linear-gradient(100deg, var(--brand-1), var(--brand-2)); color: #fff;
  box-shadow: 0 10px 26px rgba(108, 60, 240, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(240, 70, 140, 0.34); }
.btn--ghost { border-color: var(--line); color: var(--text); background: #fff; }
.btn--ghost:hover { border-color: var(--brand-1); color: var(--brand-1); transform: translateY(-2px); }

/* ============ Brand mark ============ */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 6px 18px rgba(108, 60, 240, 0.35);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--bg);
}
.brand__word { font-family: 'Sora'; font-weight: 800; letter-spacing: 0.04em; font-size: 1.05rem; }
.brand__group { color: var(--muted); font-weight: 600; margin-left: 4px; }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s, box-shadow .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(251, 250, 247, 0.82); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(26, 24, 21, 0.04);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 0.92rem; color: #3A3833; transition: color .2s; }
.nav__links a:hover { color: var(--brand-1); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ============ Hero ============ */
.hero { position: relative; padding: 170px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -34%; left: 50%; transform: translateX(-50%);
  width: 960px; height: 960px; pointer-events: none;
  background: radial-gradient(circle, rgba(108,60,240,0.16), rgba(240,70,140,0.10) 42%, transparent 64%);
  filter: blur(20px);
}
.hero__inner { position: relative; text-align: center; }
.hero__title { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; margin-bottom: 22px; }
.hero__lead { max-width: 640px; margin: 0 auto 34px; font-size: 1.18rem; color: #45433D; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 70px; padding-top: 42px; border-top: 1px solid var(--line);
}
.hero__stats dt { font-family: 'Sora'; font-size: 2.3rem; font-weight: 800; }
.hero__stats dt { background: linear-gradient(100deg, var(--brand-1), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stats dd { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ============ Marquee ============ */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; background: var(--bg-alt); }
.marquee__track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: scroll 32s linear infinite; }
.marquee__track span { font-family: 'Sora'; font-weight: 600; font-size: 1.05rem; color: var(--muted); }
.marquee__track span:nth-child(2n) { color: var(--brand-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin-bottom: 20px; }
.section__head { max-width: 640px; margin-bottom: 56px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.grid-2--flip .tech-visual { order: 0; }

/* ============ Pillars ============ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.pill { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow); }
.pill h4 { font-size: 1rem; margin-bottom: 6px; }
.pill p { font-size: 0.85rem; color: var(--muted); }

/* ============ Brands ============ */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.brand-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.brand-card:hover { transform: translateY(-6px); border-color: rgba(108,60,240,0.4); box-shadow: var(--shadow-hover); }
.brand-card__logo {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, #F1ECFF, #FDE9F2);
  border: 1px solid var(--line); display: grid; place-items: center;
  font-family: 'Sora'; font-weight: 800; font-size: 1.5rem; color: var(--brand-1);
}
.brand-card__logo::before { content: attr(data-initial); }
.brand-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.brand-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand-1); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.brand-card--soon { border-style: dashed; }
.brand-card--soon .brand-card__logo { color: var(--gold); background: linear-gradient(135deg, #FBF1DA, #FCEFE0); }
.brand-card--soon .tag { color: var(--gold); }

/* ============ Technology ============ */
.tech-visual { position: relative; height: 380px; }
.tech-card {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; font-family: 'Sora'; font-weight: 600;
  box-shadow: var(--shadow);
}
.tech-card span { background: linear-gradient(100deg, var(--brand-1), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tech-card { top: 30px; left: 20px; animation: float 6s ease-in-out infinite; }
.tech-card--2 { top: 110px; left: 190px; animation-delay: .6s; }
.tech-card--3 { top: 210px; left: 40px; animation-delay: 1.2s; }
.tech-card--4 { top: 290px; left: 210px; animation-delay: 1.8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.ticks { list-style: none; margin: 8px 0 28px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #45433D; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
  display: grid; place-items: center; border-radius: 6px; font-size: 0.7rem; color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
}

/* ============ Capabilities ============ */
.cards-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.capa:hover { transform: translateY(-5px); border-color: rgba(240,70,140,0.4); box-shadow: var(--shadow-hover); }
.capa__ico { font-size: 1.4rem; color: var(--brand-1); margin-bottom: 14px; }
.capa h4 { font-size: 1.12rem; margin-bottom: 8px; }
.capa p { font-size: 0.9rem; color: var(--muted); }

/* ============ Values ============ */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.value span { font-family: 'Sora'; font-weight: 800; color: var(--brand-2); font-size: 1.1rem; }
.value h4 { margin: 10px 0 8px; font-size: 1.1rem; }
.value p { font-size: 0.88rem; color: var(--muted); }

/* ============ CTA ============ */
.cta { padding: 120px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 120%, rgba(108,60,240,0.16), rgba(240,70,140,0.06) 40%, transparent 58%);
}
.cta__inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 18px; }
.cta__inner p { max-width: 520px; margin: 0 auto 30px; color: #45433D; font-size: 1.1rem; }

/* ============ Footer ============ */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 70px 0 34px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 16px; font-size: 0.9rem; max-width: 300px; }
.footer__col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 16px; }
.footer__col a { display: block; font-size: 0.92rem; color: #45433D; margin-bottom: 10px; transition: color .2s; }
.footer__col a:hover { color: var(--brand-1); }
.footer__addr { margin-top: 12px; font-size: 0.82rem; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.footer__legal { display: flex; align-items: center; gap: 14px; }
.footer__legal p { font-size: 0.82rem; }
.footer__policies { display: flex; gap: 22px; }
.footer__policies a { font-size: 0.85rem; color: var(--muted); transition: color .2s; }
.footer__policies a:hover { color: var(--brand-1); }

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

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(251,250,247,0.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    padding: 10px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: 0 12px 30px rgba(26,24,21,0.06); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 12px; }
  .nav__burger { display: flex; }
  .grid-2, .grid-2--flip { grid-template-columns: 1fr; gap: 40px; }
  .grid-2--flip .tech-visual { order: 1; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
}
@media (max-width: 540px) {
  .brands { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track, .tech-card { animation: none; }
  html { scroll-behavior: auto; }
}
