/* Base reset and variables */
:root {
  --bg: #0b0b10;
  --bg-alt: #12121a;
  --text: #e9ecf1;
  --muted: #b3bac6;
  --primary: #8a5cff;
  --primary-2: #4fa3ff;
  --surface: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --focus: #ffd166;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
}

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: var(--focus);
  color: #000;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(8px);
  background: linear-gradient(180deg, rgba(11,11,16,0.9), rgba(11,11,16,0.5));
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.brand-text { letter-spacing: 0.2px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--text);
}

.site-nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
}
.site-nav a:hover, .site-nav a:focus {
  color: var(--text);
  background: var(--surface);
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assests/bg1.png.webp') center/cover no-repeat fixed;
  opacity: 0.18;
}
.hero-inner {
  position: relative;
  padding: 80px 0;
}
.hero-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(138,92,255,0.25), rgba(79,163,255,0.25));
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  margin: 0 0 12px 0;
}
.subtitle {
  color: var(--muted);
  margin: 0 0 6px 0;
}
.subtitle.small { opacity: 0.9; font-size: 15px; }

.cta-group { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border: none;
}
.btn.ghost { background: transparent; }
.btn.link { background: transparent; border: none; color: var(--primary-2); padding-left: 0; }
.btn:focus { outline: 2px dashed var(--focus); outline-offset: 2px; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.feature {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.adv-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  padding-left: 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  padding-left: 18px;
}
.project { margin-top: 6px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0d0d13;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand.tiny { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-inner { height: 56px; }
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.open { display: block; position: absolute; right: 20px; top: 56px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 12px; }
  .site-nav.open ul { display: grid; padding: 8px; }
  .feature-grid { grid-template-columns: 1fr; }
  .adv-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}


