/* ══════════════════════════════════════════════════
   FusionKortex – Global Stylesheet
   ══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Outfit:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #f7f4ef;
  --bg-elevated: #efeae2;
  --bg-card: #ffffff;
  --gold: #9a7b2d;
  --gold-light: #b8943a;
  --gold-muted: rgba(154,123,45,0.08);
  --text: #1a1a1a;
  --text-muted: #5a5a52;
  --text-dim: #8a8a80;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(154,123,45,0.35);
  --teal: #5a9a8a;
  --blue: #7a8ac8;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Outfit',sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
/* Subtle grain overlay */
body::after {
  content:''; position:fixed; inset:0; z-index:9999; pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}
img { max-width:100%; display:block; }
a { color:var(--gold); text-decoration:none; transition:color 0.3s; }
a:hover { color:var(--gold-light); }

/* ── Typography ── */
h1,h2,h3,h4 { font-family:'Instrument Serif',serif; color:var(--text); }
.accent { color:var(--gold); font-style:italic; }
.section-label {
  color:var(--gold); font-size:12px; font-weight:600;
  letter-spacing:0.12em; text-transform:uppercase;
  font-family:'JetBrains Mono',monospace; margin-bottom:12px;
}
.serif { font-family:'Instrument Serif',serif; }
.mono { font-family:'JetBrains Mono',monospace; }

/* ── Layout ── */
.wrap { max-width:1200px; margin:0 auto; padding:0 2rem; }
.section { padding:120px 0; }
.section--alt { background:var(--bg-elevated); }
.section--cta { padding:100px 0; background:linear-gradient(135deg,rgba(154,123,45,0.05),transparent); }
.text-center { text-align:center; }
.mb-16 { margin-bottom:16px; }
.mb-24 { margin-bottom:24px; }
.mb-32 { margin-bottom:32px; }
.mb-48 { margin-bottom:48px; }
.mb-64 { margin-bottom:64px; }
.mb-80 { margin-bottom:80px; }
.max-w-600 { max-width:600px; }
.max-w-700 { max-width:700px; }
.mx-auto { margin-left:auto; margin-right:auto; }

/* ── Grid System ── */
.grid { display:grid; gap:24px; }
.grid-2 { grid-template-columns:repeat(2,1fr); }
.grid-3 { grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); }
.grid-4 { grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.grid-roles { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.grid-industries { grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.two-col-form { display:grid; grid-template-columns:1fr 1.3fr; gap:80px; align-items:start; }

/* ── Cards ── */
.card {
  background:var(--bg-card); border:1px solid var(--border); border-radius:16px; padding:32px;
  box-shadow:0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  transition:all 0.4s;
}
.card:hover {
  border-color:var(--border-hover); transform:translateY(-4px);
  box-shadow:0 8px 30px rgba(0,0,0,0.08);
}
.card--no-hover:hover { transform:none; box-shadow:0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03); }
.card--border-left { border-left:3px solid var(--gold); }
.card h3 { font-size:22px; margin-top:16px; margin-bottom:8px; }
.card p { color:var(--text-muted); font-size:15px; }

/* ── Icon Box ── */
.icon-box {
  width:48px; height:48px; border-radius:12px;
  background:var(--gold-muted); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; padding:12px;
}
.icon-box svg { width:100%; height:100%; color:var(--gold); stroke:var(--gold); }
.icon-box--sm { width:44px; height:44px; padding:10px; }

/* ── Buttons ── */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 32px; border-radius:10px; font-weight:600; font-size:15px;
  font-family:'Outfit',sans-serif; cursor:pointer; transition:all 0.3s;
  border:none; text-decoration:none;
}
.btn--primary {
  background:linear-gradient(135deg,#9a7b2d,#b8943a); color:#fff;
  box-shadow:0 4px 20px rgba(154,123,45,0.2);
}
.btn--primary:hover { opacity:0.9; transform:translateY(-2px); box-shadow:0 6px 24px rgba(154,123,45,0.28); color:#fff; }
.btn--secondary {
  background:transparent; color:var(--text); border:1px solid var(--border);
}
.btn--secondary:hover { border-color:var(--border-hover); }
.btn--full { width:100%; justify-content:center; }
.btn svg { width:18px; height:18px; }

/* ── Check Item ── */
.check-item { display:flex; gap:16px; align-items:flex-start; }
.check-icon {
  width:28px; height:28px; border-radius:8px; background:var(--gold-muted);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; padding:6px;
}
.check-icon svg { width:100%; height:100%; stroke:var(--gold); }
.check-item h4 { font-family:'Outfit',sans-serif; font-size:16px; font-weight:600; margin-bottom:4px; }
.check-item p { font-size:14px; color:var(--text-muted); }

/* ── Process Step ── */
.process-card { position:relative; overflow:hidden; }
.process-num {
  font-family:'JetBrains Mono',monospace; font-size:48px; font-weight:700;
  color:var(--gold); opacity:0.1; position:absolute; top:16px; right:20px;
}

/* ── Tier Badge ── */
.tier-badge {
  font-family:'JetBrains Mono',monospace; font-size:11px; font-weight:600;
  letter-spacing:0.12em; padding:4px 12px; border-radius:6px;
  display:inline-block;
}
.tier-badge--gold { color:var(--gold); background:rgba(154,123,45,0.08); border:1px solid rgba(154,123,45,0.2); }
.tier-badge--teal { color:var(--teal); background:rgba(90,154,138,0.08); border:1px solid rgba(90,154,138,0.2); }
.tier-badge--blue { color:var(--blue); background:rgba(122,138,200,0.08); border:1px solid rgba(122,138,200,0.2); }

/* ── Role Pill ── */
.role-pill {
  padding:14px 20px; border-radius:10px; background:var(--bg-card);
  border:1px solid var(--border); display:flex; align-items:center; gap:12px;
}
.role-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.role-pill span { font-size:14px; font-weight:500; }

/* ── Color Bar ── */
.color-bar { width:40px; height:4px; border-radius:2px; margin-bottom:20px; }

/* ── Cluster Card ── */
.cluster-card p { font-size:14px; line-height:1.8; color:var(--text-muted); }

/* ── Leader Card ── */
.leader-avatar {
  width:56px; height:56px; border-radius:14px;
  background:linear-gradient(135deg,var(--gold-muted),rgba(154,123,45,0.05));
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.leader-avatar span { font-family:'Instrument Serif',serif; font-size:22px; color:var(--gold); }
.leader-role { color:var(--gold); font-size:13px; font-weight:500; margin-bottom:16px; }
.tag {
  display:inline-block; font-size:11px; padding:4px 10px; border-radius:6px;
  background:var(--gold-muted); color:var(--gold); font-weight:500; margin:3px 4px 3px 0;
}

/* ── Advisor Card ── */
.advisor-card {
  padding:20px 24px; border-radius:12px; background:var(--bg-card);
  border:1px solid var(--border); text-align:center;
}
.advisor-card h4 { font-family:'Outfit',sans-serif; font-size:16px; font-weight:600; margin-bottom:4px; }
.advisor-card p { font-size:13px; color:var(--text-dim); }

/* ── Info Row (contact details) ── */
.info-row { display:flex; align-items:center; gap:14px; }
.info-icon {
  width:36px; height:36px; border-radius:10px; background:var(--gold-muted);
  display:flex; align-items:center; justify-content:center; padding:8px; flex-shrink:0;
}
.info-icon svg { width:100%; height:100%; stroke:var(--gold); }
.info-row span { color:var(--text-muted); font-size:15px; }

/* ── Global services card ── */
.service-block {
  padding:16px 20px; border-radius:10px; background:var(--bg-card); border:1px solid var(--border);
}
.service-block h4 { font-family:'Outfit',sans-serif; font-size:15px; font-weight:600; margin-bottom:4px; }
.service-block p { font-size:13px; color:var(--text-muted); }

/* ── Form ── */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-group label {
  display:block; font-size:13px; font-weight:500;
  color:var(--text-muted); margin-bottom:8px;
}
.form-input {
  width:100%; padding:14px 18px; border-radius:10px;
  border:1px solid var(--border); background:var(--bg);
  color:var(--text); font-size:15px; font-family:'Outfit',sans-serif;
  outline:none; transition:border-color 0.3s;
}
.form-input:focus { border-color:var(--border-hover); }
.form-input--textarea { min-height:100px; resize:vertical; }
.form-span-2 { grid-column:1 / -1; }

/* ── Nav ── */
.site-nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:1rem 0; transition:all 0.4s ease;
  background:transparent;
}
.site-nav.scrolled {
  padding:0.7rem 0;
  background:rgba(247,244,239,0.92);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.nav-inner {
  max-width:1200px; margin:0 auto; padding:0 2rem;
  display:flex; align-items:center; justify-content:space-between;
}
.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-mark {
  width:38px; height:38px; border-radius:8px;
  background:linear-gradient(135deg,#9a7b2d,#b8943a);
  display:flex; align-items:center; justify-content:center;
}
.nav-mark span { font-family:'Instrument Serif',serif; font-weight:700; font-size:18px; color:#fff; }
.nav-brand { font-family:'Instrument Serif',serif; font-size:22px; color:var(--text); letter-spacing:-0.02em; }
.nav-links { display:flex; align-items:center; gap:4px; }
.nav-link {
  padding:8px 16px; border-radius:8px; font-size:14px; font-weight:500;
  color:var(--text-muted); background:transparent; border:none; cursor:pointer;
  font-family:'Outfit',sans-serif; text-decoration:none; transition:all 0.3s;
}
.nav-link:hover { color:var(--text); background:rgba(0,0,0,0.03); }
.nav-link.active { color:var(--gold); background:var(--gold-muted); }
.nav-cta {
  margin-left:16px; padding:10px 24px; border-radius:8px; border:none; cursor:pointer;
  background:linear-gradient(135deg,#9a7b2d,#b8943a); color:#fff;
  font-weight:600; font-size:14px; font-family:'Outfit',sans-serif;
  box-shadow:0 4px 20px rgba(154,123,45,0.2); transition:all 0.3s; text-decoration:none;
}
.nav-cta:hover { opacity:0.9; color:#fff; }
.nav-mobile-toggle { display:none; background:none; border:none; color:var(--text); cursor:pointer; padding:8px; }
.nav-mobile-menu {
  display:none; padding:1rem 2rem; flex-direction:column; gap:4px;
  background:var(--bg); border-bottom:1px solid var(--border);
}
.nav-mobile-menu.open { display:flex; }

/* ── Hero ── */
.hero {
  position:relative; min-height:85vh; display:flex; align-items:center;
  padding-top:100px; overflow:hidden;
}
.hero-glow-1 { position:absolute; inset:0; background:radial-gradient(ellipse at 30% 20%, rgba(154,123,45,0.06) 0%, transparent 60%); }
.hero-glow-2 { position:absolute; inset:0; background:radial-gradient(ellipse at 70% 80%, rgba(154,123,45,0.03) 0%, transparent 50%); }
.hero .wrap { position:relative; z-index:1; }
.hero-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.hero h1 { font-size:clamp(2.5rem,5vw,4rem); line-height:1.1; margin-bottom:24px; }
.hero .subtitle { font-size:18px; color:var(--text-muted); max-width:540px; line-height:1.7; margin-bottom:32px; }
.hero-buttons { display:flex; flex-wrap:wrap; gap:16px; }

/* ── Footer ── */
.site-footer {
  border-top:1px solid var(--border); padding:3rem 2rem; background:var(--bg);
}
.footer-inner {
  max-width:1200px; margin:0 auto;
  display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:24px;
}
.footer-brand { font-family:'Instrument Serif',serif; font-size:18px; color:var(--text-muted); }
.footer-tagline { color:var(--text-dim); font-size:13px; margin-top:4px; }
.footer-links { display:flex; gap:24px; }
.footer-link {
  background:none; border:none; color:var(--text-dim); font-size:13px;
  cursor:pointer; font-family:'Outfit',sans-serif; text-decoration:none;
}
.footer-link:hover { color:var(--text-muted); }

/* ── Thank You ── */
.thank-you {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding-top:100px; text-align:center;
}
.thank-icon {
  width:64px; height:64px; border-radius:16px; background:var(--gold-muted);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 24px; padding:16px;
}
.thank-icon svg { width:100%; height:100%; stroke:var(--gold); }

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); }}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; }}
.fade-up { animation:fadeUp 0.7s ease-out both; }
.fade-up-1 { animation:fadeUp 0.7s ease-out 0.1s both; }
.fade-up-2 { animation:fadeUp 0.7s ease-out 0.2s both; }
.fade-in { animation:fadeIn 0.8s ease-out both; }
.fade-in-3 { animation:fadeIn 0.8s ease-out 0.3s both; }

/* ── Responsive ── */
@media(max-width:900px) {
  .nav-links { display:none !important; }
  .nav-cta.desktop { display:none !important; }
  .nav-mobile-toggle { display:block !important; }
}
@media(max-width:800px) {
  .hero-grid { grid-template-columns:1fr !important; }
  .hero-illustration { display:none !important; }
  .two-col, .two-col-form { grid-template-columns:1fr !important; }
  .grid-2 { grid-template-columns:1fr !important; }
  .hide-mobile { display:none !important; }
  .section { padding:80px 0; }
}
@media(max-width:600px) {
  .form-grid { grid-template-columns:1fr !important; }
  .grid-industries { grid-template-columns:1fr !important; }
}
