*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --bg-section-alt: #0f0f0f;
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #a88a2e;
  --gold-pale: rgba(201, 168, 76, 0.08);
  --gold-glow: rgba(201, 168, 76, 0.15);
  --text: #f5f5f5;
  --text2: #b8b8b8;
  --text-muted: #777;
  --border: #2a2a2a;
  --border-gold: rgba(201, 168, 76, 0.25);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.2);
  --heading: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --max-width: 1100px;
  --nav-height: 68px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: 8px;
  font-family: var(--body); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: all var(--transition); border: 2px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0a0a; border-color: var(--gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #0a0a0a; transform: translateY(-2px); box-shadow: var(--shadow-gold);
}
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #0a0a0a; transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.8rem; }

/* Navigation */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
  background: rgba(10, 10, 10, 0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); z-index: 1000;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; height: 100%;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo { font-family: var(--heading); font-size: 1.3rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--text2); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-height); left: 0; width: 100%;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem 2rem; box-shadow: var(--shadow-lg); z-index: 999;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; color: var(--text); font-size: 1.1rem; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { display: block; text-align: center; margin-top: 1rem; }

/* Section helpers */
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.section-intro { text-align: center; max-width: 700px; margin: 0 auto 2rem; color: var(--text2); }
.lp-section { padding: 4rem 2rem; }
.lp-section:nth-child(even) { background: var(--bg-section-alt); }
.lp-section h2 { text-align: center; margin-bottom: 0.5rem; }
.lp-section .section-label { text-align: center; }

/* Hero */
.lp-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
  color: #fff; padding: 5rem 2rem 4rem; text-align: center;
  padding-top: calc(var(--nav-height) + 3rem);
  position: relative; overflow: hidden;
}
.lp-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}
.lp-hero h1 { color: #fff; margin-bottom: 1rem; position: relative; }
.lp-hero .subtitle { font-size: 1.15rem; color: var(--text2); max-width: 700px; margin: 0 auto 1.5rem; line-height: 1.7; position: relative; }
.lp-hero .stats { display: flex; justify-content: center; gap: 3rem; margin: 2rem 0; flex-wrap: wrap; position: relative; }
.lp-hero .stat { text-align: center; }
.lp-hero .stat-num { font-family: var(--heading); font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.lp-hero .stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.lp-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; position: relative; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--border-gold); box-shadow: 0 0 20px var(--gold-pale); }
.card h3 { margin-bottom: 0.5rem; color: var(--gold-light); }
.card p { font-size: 0.95rem; color: var(--text2); margin: 0; }
.card .card-meta { font-size: 0.8rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }

/* Case study cards */
.case-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 2.5rem; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.case-card:hover { border-color: var(--border-gold); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.case-card .industry { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.case-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.case-card .case-section { margin-bottom: 1rem; }
.case-card .case-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.case-card .case-result { color: var(--gold-light); font-weight: 600; font-size: 1.05rem; }
.case-card p { font-size: 0.9rem; color: var(--text2); line-height: 1.6; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tech-tags span {
  background: var(--gold-pale); color: var(--gold-light); border: 1px solid var(--border-gold);
  font-size: 0.7rem; padding: 2px 8px; border-radius: 3px; font-weight: 600;
}

/* Differentiator cards */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.diff-card { text-align: center; padding: 2rem 1.5rem; }
.diff-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.diff-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.diff-card p { font-size: 0.9rem; color: var(--text2); }

/* Process steps */
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.process-step { text-align: center; padding: 1.5rem; }
.process-step .step-num { font-family: var(--heading); font-size: 2.5rem; font-weight: 800; color: var(--gold); margin-bottom: 0.5rem; }
.process-step h4 { font-family: var(--heading); margin-bottom: 0.4rem; }
.process-step p { font-size: 0.9rem; color: var(--text2); }

/* About page */
.story-section { max-width: 740px; margin: 0 auto; }
.story-section p { font-size: 1.05rem; color: var(--text2); margin-bottom: 1.25rem; line-height: 1.8; }
.story-section strong { color: var(--text); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 2rem; text-align: center; }
.team-card h4 { margin-bottom: 0.25rem; }
.team-card .role { font-size: 0.8rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.9rem; color: var(--text2); }

/* Boss Suite mini */
.recommend-banner {
  background: linear-gradient(135deg, #1a1708 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-gold); border-radius: 12px;
  padding: 2.5rem 2rem; text-align: center; max-width: 640px; margin: 0 auto;
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.06);
}
.recommend-banner h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.recommend-banner p { color: var(--text2); font-size: 0.95rem; margin: 0 auto 1.5rem; }
.affiliate-notice { font-size: 0.78rem; font-style: italic; color: #888; margin: 0.6rem 0; line-height: 1.5; }

/* Services detail */
.service-detail { max-width: 960px; margin: 0 auto; }
.service-detail-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px;
  padding: 2.5rem; margin-bottom: 1.5rem;
  transition: border-color var(--transition);
}
.service-detail-card:hover { border-color: var(--border-gold); }
.service-detail-card h3 { color: var(--gold-light); margin-bottom: 0.75rem; font-size: 1.3rem; }
.service-detail-card p { font-size: 0.95rem; color: var(--text2); margin-bottom: 0.75rem; }
.service-detail-card .best-for { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }
.service-detail-card .best-for strong { color: var(--text2); font-style: normal; }
.service-detail-card .example { font-size: 0.85rem; color: var(--gold); margin-top: 0.5rem; }

/* Final CTA */
.lp-final {
  background: linear-gradient(180deg, #0a0a0a 0%, #141208 50%, #0a0a0a 100%);
  color: #fff; padding: 4rem 2rem; text-align: center; position: relative;
}
.lp-final::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.lp-final h2 { color: #fff; margin-bottom: 1rem; position: relative; }
.lp-final p { color: var(--text2); max-width: 600px; margin: 0 auto 2rem; position: relative; }

/* Ownership banner */
.ownership-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem; max-width: 800px; margin: 0 auto; text-align: center;
}
.ownership-strip .own-item h4 { font-size: 1rem; margin-bottom: 0.25rem; color: var(--gold-light); }
.ownership-strip .own-item p { font-size: 0.85rem; color: var(--text2); }

/* Footer */
.footer { background: #050505; color: #777; padding: 3rem 0 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.footer-title { color: var(--text); font-family: var(--body); font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.25rem; }
.footer-grid a { display: block; color: #666; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #1a1a1a; padding: 1.5rem 2rem; margin-top: 2rem; text-align: center; font-size: 0.8rem; color: #555; }

/* Page hero (non-home pages) */
.page-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
  color: #fff; padding: 3rem 2rem 3rem; text-align: center;
  padding-top: calc(var(--nav-height) + 3rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, var(--gold-glow) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; position: relative; }
.page-hero .subtitle { font-size: 1.1rem; color: var(--text2); max-width: 650px; margin: 0 auto; line-height: 1.7; position: relative; }
.page-hero .section-label { position: relative; }

/* Responsive */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .card-grid, .diff-grid, .team-grid { grid-template-columns: 1fr; }
  .lp-hero .stats { gap: 1.5rem; }
  .ownership-strip { grid-template-columns: 1fr 1fr; }
}
