/* === Design Tokens === */
:root {
  --bg-primary: #07070f;
  --bg-secondary: #0d0d1a;
  --bg-card: #111127;
  --bg-glass: rgba(17, 17, 39, 0.6);
  --accent-1: #6366f1;
  --accent-2: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #6366f1, #06b6d4);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(99, 102, 241, 0.15);
  --border-glass: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --navbar-h: 72px;
}

/* === Reset === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--navbar-h); }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* === Navbar === */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(7, 7, 15, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 2px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-dot { -webkit-text-fill-color: var(--accent-2); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.25s ease; position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent-gradient);
  transform: scaleX(0); transition: transform 0.3s ease;
  transform-origin: right;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  padding: 8px 20px; border-radius: 50px;
  background: var(--accent-gradient); color: #fff !important; font-weight: 600 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,0.3); }
.nav-cta::after { display: none !important; }
.mobile-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* === Hero === */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: calc(var(--navbar-h) + 40px) 24px 60px;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg-shapes .shape {
  position: absolute; border-radius: 50%;
  opacity: 0.08; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 900px; text-align: center;
}
.hero-badge {
  display: inline-block;
  padding: 6px 18px; border-radius: 50px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  font-size: 0.8rem; font-weight: 500;
  color: var(--accent-2); letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 20px; letter-spacing: -1px;
}
.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 680px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.3s ease;
}
.btn-primary {
  background: var(--accent-gradient); color: #fff;
  box-shadow: 0 4px 24px rgba(99,102,241,0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(99,102,241,0.4);
}
.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn-outline:hover {
  border-color: var(--accent-1);
  background: rgba(99,102,241,0.08);
  transform: translateY(-3px);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* === Hero Stats === */
.hero-stats {
  display: flex; gap: 40px; justify-content: center; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border-glass);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem; font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-desc { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* === Section Common === */
section {
  padding: 100px 24px;
  max-width: 1200px; margin: 0 auto;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; text-align: center;
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-desc {
  text-align: center; color: var(--text-secondary);
  font-size: 1.05rem; max-width: 600px;
  margin: 0 auto 56px; line-height: 1.7;
}

/* === Services === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 20px 60px rgba(99,102,241,0.1);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.15);
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { color: var(--accent-1); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* === About === */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px; align-items: center;
}
.about-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.about-initials {
  width: 100px; height: 100px; margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800; color: #fff;
}
.about-badge-row { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.badge {
  padding: 6px 14px; border-radius: 50px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  font-size: 0.8rem; font-weight: 500;
  color: var(--accent-2);
}
.about-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; margin-bottom: 20px; line-height: 1.2;
}
.about-text h2 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.about-creds {
  display: flex; gap: 24px; margin-top: 24px; flex-wrap: wrap;
}
.about-creds div {
  font-size: 0.85rem; color: var(--text-muted);
  padding: 8px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
}
.about-creds strong { color: var(--text-primary); font-weight: 600; }

/* === Generic Sections === */
section { padding: 100px 24px; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800; text-align: center;
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-desc {
  text-align: center; color: var(--text-secondary);
  font-size: 1.05rem; max-width: 600px; margin: 0 auto 56px;
}

/* === Services === */
#services { position: relative; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent-gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.3);
  box-shadow: 0 20px 60px rgba(99,102,241,0.08);
}
.service-card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(99,102,241,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 1.5rem;
}
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; }

/* === About === */
#about { background: var(--bg-secondary); border-radius: var(--radius); padding: 80px 40px; margin: 40px 24px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-frame {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 40px; text-align: center;
  border: 1px solid var(--border-color);
  aspect-ratio: 1; max-width: 420px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 20px;
}
.about-initials {
  font-size: 5rem; font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 8px;
}
.about-badge-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.badge {
  padding: 6px 16px; border-radius: 50px;
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.2);
  font-size: 0.75rem; font-weight: 600; color: var(--accent-2);
}
.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.about-text p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.about-creds {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px;
}
.about-creds div {
  padding: 10px 20px; border-radius: var(--radius-sm);
  background: rgba(99,102,241,0.06);
  border: 1px solid var(--border-color);
  font-size: 0.85rem; color: var(--text-secondary);
}
.about-creds strong { color: var(--accent-1); }

/* === Process === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(99,102,241,0.08); }
.step-number {
  font-size: 2.5rem; font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }

/* === Workshops === */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.4s ease;
  cursor: default;
}
.workshop-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-1);
  box-shadow: 0 12px 40px rgba(99,102,241,0.1);
}
.ws-tag {
  display: inline-block;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-2); border: 1px solid rgba(6,182,212,0.2);
  margin-bottom: 14px;
}
.workshop-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.workshop-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; }

/* === CTA === */
#contact {
  padding: 100px 24px;
  max-width: 1200px; margin: 0 auto;
}
.cta-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-content::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,0.03), transparent 60%);
  pointer-events: none;
}
.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; margin-bottom: 16px; line-height: 1.2;
}
.cta-content h2 .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-content p {
  color: var(--text-secondary); font-size: 1.05rem;
  margin-bottom: 32px;
}
.cta-buttons { margin-bottom: 24px; }
.cta-links {
  display: flex; justify-content: center; gap: 16px;
  font-size: 0.9rem; color: var(--text-muted); flex-wrap: wrap;
}
.cta-links a { color: var(--accent-2); transition: color 0.3s ease; }
.cta-links a:hover { color: var(--accent-1); }
.sep { color: rgba(255,255,255,0.15); }

/* === Footer === */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.8rem; color: var(--text-muted);
}

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: var(--navbar-h); left: 0; right: 0; background: var(--bg-secondary); padding: 20px 24px; border-bottom: 1px solid var(--border-glass); gap: 20px; }
  #hero { padding-top: 100px; }
  .hero-stats { gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-frame { max-width: 320px; margin: 0 auto; }
  .cta-content { padding: 40px 24px; }
  .process-steps { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
