/* ============================================================
   OPSLYZE — Shared Stylesheet
   Dark purple theme inspired by Silicon Valley Digital Ventures
   ============================================================ */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #07071a;
  --bg-card:      #0d0d22;
  --bg-surface:   #11112a;
  --bg-elevated:  #18183a;
  --primary:      #7c3aed;
  --primary-bright: #8b5cf6;
  --primary-dim:  rgba(124, 58, 237, 0.18);
  --primary-glow: rgba(124, 58, 237, 0.28);
  --accent:       #a78bfa;
  --accent-bright: #c4b5fd;
  --white:        #ffffff;
  --text:         rgba(255,255,255,0.92);
  --text-muted:   rgba(255,255,255,0.56);
  --text-subtle:  rgba(255,255,255,0.30);
  --border:       rgba(255,255,255,0.07);
  --border-strong: rgba(124,58,237,0.30);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.28s ease;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:  0 8px 40px rgba(124,58,237,0.22);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }


/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: none;
  transition: all var(--transition); font-family: inherit;
  letter-spacing: -0.01em; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: white;
}
.btn-primary:hover {
  background: var(--primary-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--primary-glow);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  color: var(--accent);
}
.btn-ghost {
  background: var(--bg-elevated); color: var(--accent);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--primary-dim); box-shadow: var(--shadow-glow); }


/* ===== PILL TAG ===== */
.tag {
  display: inline-block; padding: 5px 14px;
  background: var(--primary-dim);
  color: var(--accent);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 100px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px;
}


/* ===== SECTION HEADER ===== */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.section-header h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  color: white; margin-bottom: 16px;
  letter-spacing: -0.025em; line-height: 1.12;
}
.section-header p { font-size: 17px; color: var(--text-muted); line-height: 1.75; }


/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(7,7,26,0.88); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
#navbar.scrolled {
  border-bottom-color: rgba(124,58,237,0.2);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
/* Logo */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img {
  width: 36px; height: 36px; border-radius: 7px;
  overflow: hidden; flex-shrink: 0;
  background: #000;
}
.logo-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.logo-name {
  font-size: 20px; font-weight: 800; color: white;
  letter-spacing: -0.04em;
}
.logo-name span { color: var(--accent); }
/* Nav links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 7px 13px; border-radius: 7px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition);
}
.nav-links a:hover { color: white; background: var(--bg-elevated); }
.nav-links a.active { color: var(--accent); background: var(--primary-dim); }
/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px; transition: all var(--transition);
}
/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: rgba(7,7,26,0.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); z-index: 999;
  padding: 16px 24px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--text-muted);
}
.mobile-menu a:hover { background: var(--bg-elevated); color: white; }


/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding-top: 70px;
  background: var(--bg);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(124,58,237,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 740px; margin: 0 auto;
  padding: 72px 24px 80px;
}
.page-hero-inner h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900;
  color: white; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 18px;
}
.page-hero-inner p {
  font-size: 18px; color: var(--text-muted); line-height: 1.75;
  max-width: 560px; margin: 0 auto;
}


/* ===== FOOTER ===== */
footer {
  background: #050512;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px; line-height: 1.75;
  color: var(--text-subtle); max-width: 280px; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; background: var(--bg-elevated);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; transition: all var(--transition);
  border: 1px solid var(--border);
}
.social-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; color: white;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px; color: var(--text-subtle); transition: color var(--transition);
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--text-subtle);
}


/* ===== UTILITY ===== */
.text-purple { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.highlight { color: var(--accent); font-style: normal; }
.divider { height: 1px; background: var(--border); }


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta-desktop { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .page-hero-inner { padding: 56px 24px 64px; }
}
