@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/fonts/SpaceGrotesk-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/DMSans-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/assets/fonts/DMSans-Italic-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --black:        #080808;
  --black-2:      #0f0f0f;
  --dark-purple:  #1A1428;
  --card-bg:      #231A38;
  --purple:       #8B6FD4;
  --purple-dim:   #6B52A8;
  --purple-pale:  #B49FE0;
  --light-bg:     #F4F1FF;
  --light-bg-2:   #EAE5FA;
  --white:        #F7F5FF;
  --muted:        #9490A8;
  --border:       rgba(139, 111, 212, 0.18);
  --border-light: rgba(139, 111, 212, 0.28);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(8, 8, 8, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(139, 111, 212, 0.1);
}

.nav-logo { text-decoration: none; }
.nav-logo img { height: 150px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-cta {
  color: var(--white) !important;
  background: var(--purple-dim);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--purple) !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(139, 111, 212, 0.16) 0%,
    rgba(139, 111, 212, 0.05) 45%,
    transparent 70%);
  animation: pulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -55%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -55%) scale(1.08); }
}

.hero-logo {
  position: relative; z-index: 1;
  width: min(360px, 72vw);
  margin-bottom: 2.2rem;
}

.hero-tagline {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 2vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-pale);
  margin-bottom: 1rem;
}

.hero-tagline span { opacity: 0.4; margin: 0 0.5rem; }

.hero-sub {
  position: relative; z-index: 1;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 2.8rem;
}

.hero-actions {
  position: relative; z-index: 1;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { color: var(--white); background: var(--purple-dim); }
.btn-primary:hover { background: var(--purple); }

.btn-secondary {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--purple-pale);
  color: var(--purple-pale);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.25;
}

.hero-scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scrollFade 2.2s ease-in-out infinite;
}

@keyframes scrollFade {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ── SECTIONS SHARED ── */
section { padding: 6rem 2rem; }
.inner { max-width: 1060px; margin: 0 auto; }

.s-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple);
  display: block;
  margin-bottom: 1.1rem;
}

.s-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.3rem;
  letter-spacing: -0.025em;
}

.s-body {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--muted);
  max-width: 540px;
  font-weight: 300;
}

.rule {
  width: 36px; height: 2px;
  background: var(--purple);
  border: none;
  margin: 1.4rem 0 2.2rem;
}

.rule-light {
  width: 36px; height: 2px;
  background: var(--purple-dim);
  opacity: 0.45;
  border: none;
  margin: 1.4rem 0 2.2rem;
}

/* ── CARD GRID ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--border);
}

.card {
  background: var(--dark-purple);
  padding: 2rem 1.8rem;
  transition: background 0.2s;
}

.card:hover { background: var(--card-bg); }

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.card-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.card-rule {
  width: 24px; height: 2px;
  background: var(--purple);
  border: none;
  margin-bottom: 1rem;
}

/* ── STUDIO ── */
#studio { background: var(--black-2); }

.gear-note {
  margin-top: 2.5rem;
  padding: 1.5rem 1.8rem;
  background: var(--dark-purple);
  border: 1px solid var(--border);
  border-left: 3px solid var(--purple);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

.gear-note strong { color: var(--purple-pale); font-weight: 400; }

/* ── EDUCATION ── */
#education { background: var(--light-bg); }
#education .s-label   { color: var(--purple-dim); }
#education .s-heading { color: #1A1428; }
#education .s-body    { color: #5A5270; }

.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.edu-card {
  background: var(--white);
  border: 1px solid rgba(139, 111, 212, 0.2);
  border-radius: 8px;
  padding: 2rem 1.8rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.edu-card:hover {
  box-shadow: 0 8px 28px rgba(139, 111, 212, 0.13);
  transform: translateY(-2px);
}

.edu-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-dim);
  background: rgba(139, 111, 212, 0.1);
  padding: 0.22rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.edu-card .card-title { color: #1A1428; margin-top: 0.3rem; }
.edu-card .card-body  { color: #5A5270; }

.edu-note {
  margin-top: 2.5rem;
  padding: 1.4rem 1.8rem;
  background: rgba(139, 111, 212, 0.07);
  border: 1px solid rgba(139, 111, 212, 0.18);
  border-radius: 6px;
  font-size: 0.875rem;
  color: #5A5270;
  line-height: 1.7;
}

.edu-note strong { color: #1A1428; font-weight: 500; }

/* ── STREAMING ── */
#streaming { background: var(--black); }

.stream-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.stream-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.stream-list li {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.stream-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--purple);
  margin-top: 0.6rem;
  flex-shrink: 0;
}

.stream-list strong { color: var(--white); font-weight: 400; }

.stream-visual {
  aspect-ratio: 4/3;
  background: var(--dark-purple);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.stream-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(139, 111, 212, 0.13) 0%, transparent 65%);
}

.live-badge {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(107, 82, 168, 0.9);
  padding: 0.28rem 0.65rem;
  border-radius: 3px;
}

.live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

.stream-placeholder {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(139, 111, 212, 0.3);
}

/* ── IT SERVICES ── */
#it { background: var(--dark-purple); }

.it-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.it-card {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.it-card:hover {
  border-color: rgba(139, 111, 212, 0.5);
  background: rgba(139, 111, 212, 0.05);
}

.it-card .card-title { color: var(--white); }

/* ── ABOUT ── */
#about { background: var(--black-2); }

.about-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 2.5rem;
}

.stat { margin-bottom: 2.5rem; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.about-copy p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.about-copy p:last-child { margin-bottom: 0; }
.about-copy strong { color: var(--white); font-weight: 400; }

/* ── CONTACT ── */
#contact { background: var(--light-bg-2); }
#contact .s-label   { color: var(--purple-dim); }
#contact .s-heading { color: #1A1428; }
#contact .s-body    { color: #5A5270; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.c-item .c-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-dim);
  display: block;
  margin-bottom: 0.3rem;
}

.c-item a,
.c-item span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #1A1428;
  font-weight: 500;
  text-decoration: none;
  display: block;
}

.c-item a:hover { color: var(--purple-dim); }

/* ── MAILTO CONTACT ── */
.contact-mailto {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid rgba(139, 111, 212, 0.2);
  border-radius: 8px;
}

.contact-mailto-text {
  font-size: 1rem;
  color: #5A5270;
  line-height: 1.7;
  font-weight: 300;
}

.contact-mailto-btn {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: none;
  padding: 1rem 1.8rem;
  align-self: flex-start;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(139, 111, 212, 0.1);
  padding: 2.2rem 2.5rem;
}

.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo img { height: 150px; opacity: 0.7; }

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--purple-pale); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .stream-layout,
  .about-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  section { padding: 4rem 1.25rem; }
  .hero-scroll { display: none; }
  footer { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .scroll-line,
  .live-dot { animation: none; }
}
