/* ============================================================
   SuFera. — Brand landing page
   Palette derived from the SuFera identity guidelines
   ============================================================ */

:root {
  /* Brand palette */
  --maroon:      #7c1f2b;   /* Primary — Redoubt */
  --maroon-deep: #5f1620;   /* Darker maroon */
  --maroon-tint: #a23644;   /* Hover / lighter */
  --charcoal:    #262427;   /* Obsidian */
  --ink:         #1c1a1c;
  --pink:        #f4d7dc;   /* Blush */
  --pink-soft:   #faeef0;
  --paper:       #ffffff;
  --mist:        #ece9e7;   /* Light grey */
  --mist-soft:   #f6f4f2;
  --line:        #e3ded9;
  --muted:       #6c6569;

  /* Type */
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;
  --font: var(--font-en);

  /* Layout */
  --maxw: 1160px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 3px rgba(28,26,28,.06), 0 1px 2px rgba(28,26,28,.04);
  --shadow-md: 0 12px 30px rgba(28,26,28,.10);
  --shadow-lg: 0 30px 60px rgba(95,22,32,.16);
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] { --font: var(--font-ar); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 6px 16px rgba(124,31,43,.25); }
.btn-primary:hover { background: var(--maroon-tint); box-shadow: 0 10px 24px rgba(124,31,43,.32); transform: translateY(-1px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--maroon); color: var(--maroon); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; font-weight: 800; }
.brand-logo { height: 46px; width: auto; }
.brand-word { font-size: 1.22rem; letter-spacing: -.02em; font-family: var(--font-en); white-space: nowrap; }
.brand-dot { color: var(--maroon); }

.main-nav { display: flex; gap: 28px; margin-inline-start: auto; }
.main-nav a {
  font-size: .95rem; font-weight: 500; color: var(--muted);
  position: relative; transition: color .2s;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--maroon); transition: width .25s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: 0; }
.main-nav + .header-actions { margin-inline-start: 0; }

.lang-toggle {
  background: var(--mist-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .85rem;
  cursor: pointer; color: var(--ink); transition: background .2s, border-color .2s;
  min-width: 58px;
}
.lang-toggle:hover { background: var(--pink-soft); border-color: var(--maroon); color: var(--maroon); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0; background:
  radial-gradient(1000px 500px at 85% -10%, var(--pink-soft), transparent 60%),
  linear-gradient(180deg, #fff, var(--mist-soft)); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 40px;
}
.hero-copy { max-width: 560px; }

/* Super Future logo — its own right-hand column, so text can never overlap it */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; min-width: 0; }
.hero-visual img { width: 100%; max-width: 500px; height: auto; opacity: .14; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--maroon); background: var(--pink); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.03em; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-trust { font-size: .95rem; color: var(--maroon); font-weight: 600; border-inline-start: 3px solid var(--pink); padding-inline-start: 14px; letter-spacing: .01em; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--charcoal); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-inline-end: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-inline-end: 0; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; color: #fff; font-family: var(--font-en); letter-spacing: -.02em; }
.stat-label { display: block; font-size: .85rem; color: #b8b2b4; margin-top: 6px; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 110px) 0; position: relative; overflow: hidden;
  /* blueprint-style dot grid */
  background-image: radial-gradient(rgba(38,36,39,.10) 1.2px, transparent 1.7px);
  background-size: 24px 24px;
}
.section-alt { background-color: var(--mist-soft); }

/* Decorative geometry — a distinct accent per section */
.section::before, .section::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.section > .container { position: relative; z-index: 1; }

/* About — rounded square (top-right) + soft pink glow */
#about::before { width: 260px; height: 260px; border: 0; top: -60px; inset-inline-end: 5%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M96 74 V13 A9 9 0 0 0 87 4 H13 A9 9 0 0 0 4 13 V87 A9 9 0 0 0 13 96 H74' fill='none' stroke='%237c1f2b' stroke-opacity='.22' stroke-width='.7'/%3E%3Ccircle cx='85' cy='85' r='3.4' fill='%237c1f2b' fill-opacity='.34'/%3E%3C/svg%3E") center / contain no-repeat; animation: drift 20s ease-in-out infinite alternate; }
#about::after  { width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244,215,220,.8), transparent 70%); bottom: -260px; inset-inline-start: -170px; animation: drift 26s ease-in-out infinite alternate-reverse; }

/* Divisions — concentric rings (top-left) + maroon glow */
#divisions::before { width: 240px; height: 240px; border-radius: 50%; border: 2px solid rgba(124,31,43,.16); box-shadow: 0 0 0 26px rgba(124,31,43,.05); top: 14%; inset-inline-start: -70px; animation: drift 22s ease-in-out infinite alternate; }
#divisions::after  { width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,31,43,.10), transparent 70%); bottom: -220px; inset-inline-end: -160px; animation: drift 24s ease-in-out infinite alternate-reverse; }

/* Industries — rotated square / diamond (bottom-right) + pink glow */
#industries::before { width: 260px; height: 260px; border: 2px solid rgba(124,31,43,.15); bottom: -80px; inset-inline-end: 9%; transform: rotate(45deg); animation: spinDrift 28s ease-in-out infinite alternate; }
#industries::after  { width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244,215,220,.7), transparent 70%); top: -240px; inset-inline-start: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }

/* Why — large sweeping arc (top-right) + maroon glow */
#why::before { width: 520px; height: 520px; border-radius: 50%; border: 2px solid rgba(124,31,43,.13); top: -280px; inset-inline-end: -140px; animation: drift 30s ease-in-out infinite alternate; }
#why::after  { width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(124,31,43,.08), transparent 70%); bottom: -180px; inset-inline-start: -120px; animation: drift 26s ease-in-out infinite alternate-reverse; }

/* Process — circle (bottom-left) + pink glow top-right */
#process::before { width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(124,31,43,.16); bottom: -110px; inset-inline-start: 4%; animation: drift 24s ease-in-out infinite alternate; }
#process::after  { width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, rgba(244,215,220,.75), transparent 70%); top: -260px; inset-inline-end: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }

@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-44px, 34px); } }
@keyframes spinDrift { from { transform: rotate(45deg) translate(0, 0); } to { transform: rotate(45deg) translate(-28px, 26px); } }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-alt .section-head { }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--maroon); margin-bottom: 14px;
}
.kicker::before { content: "— "; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Platform features */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Brand "aperture" frame — square with an open bottom-right corner + dot (from the sf. logo) */
.brand-frame, .platform-feature, .pillar, .industry {
  --ff: var(--maroon); --fg: 26px; --fbg: #fff; /* fg = open-corner gap, fbg = fill */
  border: 0 !important; border-radius: 3px;
  background:
    linear-gradient(var(--ff), var(--ff)) top left / 100% 2px no-repeat,
    linear-gradient(var(--ff), var(--ff)) top left / 2px 100% no-repeat,
    linear-gradient(var(--ff), var(--ff)) top right / 2px calc(100% - var(--fg)) no-repeat,
    linear-gradient(var(--ff), var(--ff)) bottom left / calc(100% - var(--fg)) 2px no-repeat,
    radial-gradient(circle at center, var(--ff) 5px, transparent 5.5px) right 7px bottom 7px / 14px 14px no-repeat,
    var(--fbg);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.platform-feature, .brand-frame { padding: 32px; }
.platform-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pf-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--pink);
  color: var(--maroon); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px;
}
.platform-feature h3 { font-size: 1.25rem; margin-bottom: 10px; }
.platform-feature p { color: var(--muted); }

/* Pillars */
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pillar {
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar-tag { font-size: .85rem; font-weight: 800; color: var(--maroon); font-family: var(--font-en); }
.pillar h3 { font-size: 1.35rem; margin: 8px 0 12px; }
.pillar > p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.pillar ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pillar li { font-size: .92rem; padding-inline-start: 22px; position: relative; }
.pillar li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 3px; background: var(--pink); border: 1.5px solid var(--maroon);
}

/* Work — single feature */
.work-feature-lg {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.work-feature-lg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.wf-media {
  background: #fff; display: grid; place-items: center; padding: 48px 32px;
  border-inline-end: 1px solid var(--line);
}
.fmf-logo { width: 82%; max-width: 380px; height: auto; }
.wf-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.work-tag { font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: var(--maroon); text-transform: uppercase; }
.wf-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 10px 0 14px; }
.wf-body p { color: var(--muted); font-size: 1.02rem; }

/* Work filters */
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.wf-tab {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  padding: 9px 16px; border-radius: 999px; font-family: inherit; font-size: .92rem; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.wf-tab i { font-style: normal; font-size: .72rem; font-weight: 700; font-family: var(--font-en); background: var(--mist); color: var(--muted); padding: 2px 8px; border-radius: 999px; transition: background .2s, color .2s; }
.wf-tab:hover { border-color: var(--maroon); color: var(--maroon); }
.wf-tab.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; box-shadow: 0 6px 16px rgba(124,31,43,.25); }
.wf-tab.is-active i { background: rgba(255,255,255,.22); color: #fff; }

/* Work gallery */
.work-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.work-item.is-hidden { display: none; }
.work-more { text-align: center; margin-top: 28px; }
.work-item {
  margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: #fff;
  box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; position: relative;
}
.work-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.work-item::after {
  content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  border-radius: inherit; pointer-events: none;
}
.work-item:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .work-gallery { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* Work placeholder (until real projects are added) */
.work-placeholder {
  border: 2px dashed var(--line); border-radius: var(--radius);
  padding: clamp(48px, 7vw, 72px) 32px; text-align: center; background: rgba(255,255,255,.45);
}
.wp-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px;
  background: var(--pink); color: var(--maroon); font-size: 1.8rem; margin-bottom: 20px;
}
.work-placeholder h3 { font-size: 1.4rem; margin-bottom: 10px; }
.work-placeholder p { color: var(--muted); max-width: 46ch; margin: 0 auto; }

/* Interactive numbered cards — strengths (01–04) + why-us (01–06) */
.strengths-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.strengths-grid, .platform-grid { counter-reset: strength; }
.strengths-grid h3, .platform-grid h3 { text-wrap: balance; }
:is(.strengths-grid, .platform-grid) .platform-feature { position: relative; overflow: hidden; }
:is(.strengths-grid, .platform-grid) .platform-feature h3,
:is(.strengths-grid, .platform-grid) .platform-feature p,
:is(.strengths-grid, .platform-grid) .platform-feature .pf-icon { position: relative; z-index: 1; }
/* big faint index number */
:is(.strengths-grid, .platform-grid) .platform-feature::before {
  counter-increment: strength;
  content: counter(strength, decimal-leading-zero);
  position: absolute; top: 10px; inset-inline-end: 22px; z-index: 0;
  font-family: var(--font-en); font-weight: 800; font-size: 3.4rem; line-height: 1;
  color: var(--maroon); opacity: .07;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
/* accent bar that slides in on hover */
:is(.strengths-grid, .platform-grid) .platform-feature::after {
  content: ""; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 3px; z-index: 0;
  background: linear-gradient(var(--maroon), var(--maroon-tint));
  transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
:is(.strengths-grid, .platform-grid) .platform-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
:is(.strengths-grid, .platform-grid) .platform-feature:hover::before { opacity: .14; transform: translateY(-4px); }
:is(.strengths-grid, .platform-grid) .platform-feature:hover::after { transform: scaleY(1); }
:is(.strengths-grid, .platform-grid) .pf-icon { transition: background .35s var(--ease), color .35s, transform .35s var(--ease); }
:is(.strengths-grid, .platform-grid) .platform-feature:hover .pf-icon { background: var(--maroon); color: #fff; transform: rotate(-6deg) scale(1.06); }

/* Divisions */
.divisions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar.division { padding: 34px; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, background .35s; }
.pillar.division h3 { font-size: 1.5rem; }
.pillar.division li::before { transition: background .3s var(--ease), transform .3s var(--ease); }
.pillar.division:hover li::before { background: var(--maroon); transform: rotate(45deg); }
.conv-band {
  margin-top: 24px; background: var(--maroon); color: #fff;
  border-radius: var(--radius); padding: 28px 32px;
}
.conv-label {
  display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 10px;
}
.conv-band p { font-size: 1.05rem; max-width: 80ch; }

/* Industries */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  --fg: 16px;
  padding: 22px 16px; text-align: center; font-weight: 600; font-size: 1rem; color: var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s, color .2s;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); --fbg: var(--maroon); --ff: var(--maroon); color: #fff; }

/* Steps — each stage is a full aperture-frame box (light lines + maroon dot) */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step {
  --fl: var(--line); --fd: var(--maroon); --fg: 26px;
  display: grid; grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 4px;
  align-items: start; padding: 26px; border-radius: 3px;
  background:
    linear-gradient(var(--fl), var(--fl)) top left / 100% 1px no-repeat,
    linear-gradient(var(--fl), var(--fl)) top left / 1px 100% no-repeat,
    linear-gradient(var(--fl), var(--fl)) top right / 1px calc(100% - var(--fg)) no-repeat,
    linear-gradient(var(--fl), var(--fl)) bottom left / calc(100% - var(--fg)) 1px no-repeat,
    radial-gradient(circle at center, var(--fd) 4px, transparent 4.5px) right 9px bottom 9px / 14px 14px no-repeat;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step:hover h3 { color: var(--maroon); }
.step-no {
  grid-row: 1 / span 2; align-self: start;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--charcoal); color: #fff; font-weight: 800; font-family: var(--font-en);
  font-size: 1.1rem; transition: background .3s var(--ease), transform .3s var(--ease);
}
.step:hover .step-no { background: var(--maroon); transform: scale(1.1); }
.step h3 { grid-column: 2; font-size: 1.2rem; margin: 0; }
.step p { grid-column: 2; color: var(--muted); font-size: .97rem; margin: 0; }

/* Quote band */
.quote-band { background: var(--maroon); color: #fff; padding: clamp(56px, 8vw, 96px) 0; }
.quote-band blockquote { max-width: 820px; margin: 0 auto; text-align: center; }
.vision-kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--pink); margin-bottom: 22px;
}
.quote-band p { font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
.quote-band cite { display: block; margin-top: 24px; font-style: normal; color: var(--pink); font-size: .95rem; letter-spacing: .04em; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: flex; flex-direction: column; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--maroon); box-shadow: var(--shadow-md); }
.price-card .badge {
  position: absolute; top: 18px; inset-inline-end: 18px; background: var(--pink); color: var(--maroon);
  font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; letter-spacing: .03em;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.price { font-size: 2.2rem; font-weight: 800; font-family: var(--font-en); letter-spacing: -.02em; }
.price-desc { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price-card li { font-size: .95rem; padding-inline-start: 26px; position: relative; }
.price-card li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; color: var(--maroon); font-weight: 800;
}

/* CTA */
/* Contact — dark, premium treatment with the logo as a large faint watermark */
.cta { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 120px) 0; background:
  radial-gradient(900px 500px at 80% 8%, #353236, transparent 60%), var(--charcoal); color: #fff; }
/* Super Future logo centred behind the whole section */
.cta-bg-mark {
  position: absolute; z-index: 0; top: 50%; inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  width: min(82vw, 900px);
  opacity: .05; pointer-events: none; user-select: none;
}
.cta-bg-mark img { width: 100%; height: auto; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-copy .kicker { color: var(--pink); }
.cta-copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 16px; color: #fff; }
.cta-copy p { color: #c9c3c6; font-size: 1.1rem; max-width: 44ch; }

/* Contact details list — icon boxes + divider lines between rows */
.contact-details { list-style: none; margin: 32px 0 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-details li {
  display: flex; align-items: center; gap: 16px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.cd-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; color: var(--pink);
}
.cd-icon svg { width: 21px; height: 21px; }
.cd-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cd-label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #a9a2a5; }
.cd-value { font-size: 1.05rem; color: #f2eff0; font-weight: 500; width: fit-content; }
a.cd-value { transition: color .2s; }
a.cd-value:hover { color: var(--pink); }
.cta-tagline { margin-top: 30px; font-style: italic; font-weight: 600; color: #e8e3e5; font-size: 1.02rem; }

.cta-form {
  --ff: rgba(255,255,255,.5); --fg: 28px;
  border: 0; border-radius: 3px;
  padding: 32px; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 16px;
  background:
    linear-gradient(var(--ff), var(--ff)) top left / 100% 2px no-repeat,
    linear-gradient(var(--ff), var(--ff)) top left / 2px 100% no-repeat,
    linear-gradient(var(--ff), var(--ff)) top right / 2px calc(100% - var(--fg)) no-repeat,
    linear-gradient(var(--ff), var(--ff)) bottom left / calc(100% - var(--fg)) 2px no-repeat,
    radial-gradient(circle at center, var(--ff) 5px, transparent 5.5px) right 7px bottom 7px / 14px 14px no-repeat,
    rgba(255,255,255,.05);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: #e3dfe1; }
.field input, .field textarea {
  font-family: inherit; font-size: .98rem; padding: 12px 14px; color: #fff;
  border: 1.5px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); background: rgba(255,255,255,.06);
  transition: border-color .2s, background .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--maroon-tint); background: rgba(255,255,255,.09);
  box-shadow: 0 0 0 4px rgba(162,54,68,.18);
}
.form-note { font-size: .9rem; text-align: center; min-height: 1.2em; color: #cfc9cb; }
.form-note.ok { color: #6ee7a0; }
.form-note.err { color: #ff9aa6; }

/* Footer */
.site-footer { background: var(--charcoal); color: #cfc9cb; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-top: 64px; padding-bottom: 44px;
}
.footer-logo { width: 172px; height: auto; }
.footer-brand p { margin-top: 16px; color: #a49ea0; font-size: .95rem; max-width: 34ch; }
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links > a, .social-links .ig-toggle {
  --ff: rgba(255,255,255,.4); --fg: 12px; position: relative;
  width: 44px; height: 44px; border: 0; border-radius: 2px; display: grid; place-items: center; color: #cfc9cb; cursor: pointer;
  background:
    linear-gradient(var(--ff), var(--ff)) top left / 100% 1.5px no-repeat,
    linear-gradient(var(--ff), var(--ff)) top left / 1.5px 100% no-repeat,
    linear-gradient(var(--ff), var(--ff)) top right / 1.5px calc(100% - var(--fg)) no-repeat,
    linear-gradient(var(--ff), var(--ff)) bottom left / calc(100% - var(--fg)) 1.5px no-repeat,
    radial-gradient(circle at center, var(--ff) 3px, transparent 3.5px) right 3px bottom 3px / 8px 8px no-repeat,
    rgba(255,255,255,.05);
  transition: color .2s, transform .2s;
}
.social-links > a:hover, .social-links .ig-toggle:hover { --ff: var(--pink); color: #fff; transform: translateY(-2px); }
.social-links > a svg, .ig-toggle svg { width: 19px; height: 19px; }

/* Instagram picker */
.social-ig { position: relative; }
.ig-menu {
  position: absolute; bottom: calc(100% + 8px); inset-inline-start: 0; z-index: 20;
  display: none; flex-direction: column; min-width: 172px;
  background: #262427; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 6px;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.social-ig.open .ig-menu { display: flex; }
.ig-menu::before {
  content: ""; position: absolute; top: 100%; inset-inline-start: 16px;
  border: 6px solid transparent; border-top-color: #262427;
}
.ig-menu a {
  color: #d7d2d4; font-size: .88rem; font-weight: 500; padding: 9px 12px; border-radius: 7px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.ig-menu a:hover { background: var(--maroon); color: #fff; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; letter-spacing: .02em; }
.footer-col a { color: #a49ea0; font-size: .92rem; transition: color .2s; width: fit-content; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; padding-bottom: 30px; border-top: 1px solid rgba(255,255,255,.09);
  font-size: .82rem; color: #8f898b;
}
.footer-badge { letter-spacing: .12em; font-weight: 600; font-size: .72rem; color: var(--pink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .section::before, .section::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Lightbox */
.work-item { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 40px;
  background: rgba(20,18,20,.93); backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.lb-close {
  position: absolute; top: 16px; inset-inline-end: 22px; z-index: 2;
  background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; opacity: .85;
}
.lb-close:hover { opacity: 1; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.28); }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }
@media (max-width: 560px) { .lb-nav { width: 44px; height: 44px; font-size: 1.6rem; } .lightbox { padding: 16px; } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { display: none; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 340px; grid-row: 1; }
  .hero-sub { max-width: none; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
  .divisions-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .work-feature-lg { grid-template-columns: 1fr; }
  .wf-media { border-inline-end: 0; border-bottom: 1px solid var(--line); padding: 40px 24px; }
  .pillars-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-bg-mark { width: min(92vw, 560px); opacity: .045; }
  .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }

  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    transform: translateY(-120%); transition: transform .3s var(--ease); box-shadow: var(--shadow-md);
    margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
}

@media (max-width: 560px) {
  .pillars-grid, .steps, .footer-inner, .platform-grid, .strengths-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding-inline: 18px; }
}

/* ============================================================
   AI ASSISTANT — entry button
   Appended for the AI Lead Chat feature. Nothing above this line
   was modified.
   ============================================================ */

/* ---------- Entry button ---------- */
.btn-ai {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
  box-shadow: 0 6px 16px rgba(38,36,39,.22);
}
.btn-ai:hover {
  background: #131217;
  box-shadow: 0 10px 24px rgba(38,36,39,.3);
  transform: translateY(-1px);
}
/* The glowing dot ties the button to the chat page's blue core. */
.btn-ai::before {
  content: "";
  width: 7px; height: 7px; flex: 0 0 auto;
  border-radius: 50%;
  background: #2e9bff;
  box-shadow: 0 0 8px #2e9bff;
  animation: aiPulse 2.8s ease-in-out infinite;
}
@keyframes aiPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.82); }
}

/* Keep the header from overflowing now that it carries an extra button. */
@media (max-width: 1080px) {
  .header-actions .btn-ai { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-ai::before { animation: none; }
}
