
/* ==============================
   KRYPTON STUDIO - PURPLE THEME
   Primary Color: #7100A1
============================== */

:root {
  --primary: #7100A1;
  --primary-light: #9630c2;
  --primary-dark: #4e006f;
  --primary-soft: #260d33;
  --border: #382044;
  --background: #0B0710;
  --card: #17101f;
  --text: #f8f5ff;
  --muted: #aaa1b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

/* NAVBAR */

.navbar {
  height: 80px;
  padding: 0 max(calc((100% - 1210px)/2), 5%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--background);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark,
.hero-logo {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 4px #ffffff12;
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  font-size: 23px;
}

.brand strong {
  font-size: 20px;
  letter-spacing: -.7px;
}

.brand i {
  font-style: normal;
  color: var(--primary-light);
}

.brand small {
  display: block;
  color: #81768f;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 5px;
}

.navbar nav {
  display: flex;
  gap: 22px;
}

.navbar nav a {
  font-size: 12px;
  font-weight: 600;
  color: #c5bacf;
  transition: .2s;
}

.navbar nav a:hover,
.text-button:hover {
  color: var(--primary-light);
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  border: 0;
  font-size: 24px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 650px;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 95px 20px 0;
  background: var(--background);
}

.hero:before,
.hero-glow {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 94px;
  height: 94px;
  margin: 0 auto 26px;
  font-size: 58px;
  border: 5px solid var(--primary-dark);
  outline: 2px solid var(--primary);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--primary-light);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -2px;
  margin: 30px 0 22px;
  font-weight: 900;
}

.hero h1 span,
.section-heading h2 span,
.simple-section h2 span {
  background: linear-gradient(90deg, var(--primary), #c77be8);
  background-clip: text;
  color: transparent;
}

.hero-copy {
  font-size: 15px;
  line-height: 1.9;
  color: #c9bdd2;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
}

.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--primary);
  color: white;
  padding: 13px 19px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
  transition: .25s;
}

.primary-button:hover,
.profile-button:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.text-button {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  transition: .2s;
}

/* PHONE SHAPE */

.phone-shape,
.phone-camera {
  display: none;
}

/* STATS */

.stats {
  position: relative;
  z-index: 3;
  max-width: 1210px;
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stats article {
  background: #15101b;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 21px;
  display: grid;
  gap: 6px;
}

.stats strong {
  font-size: 28px;
  color: var(--primary-light);
}

.stats span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #91849c;
}

/* SECTIONS */

.section {
  padding: 85px max(calc((100% - 1210px)/2), 5%);
  background: var(--background);
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2,
.simple-section h2 {
  font-size: 35px;
  margin: 10px 0;
}

.section-heading > p:last-child,
.simple-section > p:last-child {
  color: #a99eb5;
  font-size: 14px;
  line-height: 1.8;
}

/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card,
.creator-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 27px;
  transition: transform .25s, border-color .25s;
}

.service-card:hover,
.creator-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border: 1px solid var(--primary-dark);
  border-radius: 13px;
  color: #d49af0;
  font-size: 23px;
}

.service-card h3 {
  font-size: 16px;
  margin: 20px 0 10px;
}

.service-card p,
.creator-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* PROJECTS & COMMUNITIES */

#servers,
#bots,
#faq,
#contact {
  border-top: 1px solid #21182b;
}

#servers .service-grid,
#bots .service-grid {
  max-width: 1050px;
  margin: 0 auto;
}

#servers .service-card,
#bots .service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#servers .service-card .primary-button,
#bots .service-card .text-button {
  margin-top: auto;
}

#servers .service-card .primary-button {
  margin-top: 18px;
}

#bots .service-card .text-button {
  margin-top: 12px;
}

.project-category {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 10px;
  border-radius: 20px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-dark);
  color: #d49af0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* ABOUT */

#about {
  border-top: 1px solid #21182b;
}

#about .service-card {
  min-height: 220px;
}

/* FAQ */

#faq .service-grid {
  max-width: 1050px;
  margin: 0 auto;
}

#faq .service-card {
  min-height: 190px;
}

#faq .service-card h3 {
  margin-top: 0;
  color: #e8d9f5;
}

/* CONTACT - PREMIUM DESIGN */

#contact {
  padding: 110px 5%;
  border-top: 1px solid #21182b;
}

.contact-box {
  max-width: 950px;
  margin: 0 auto;
  padding: 75px 35px;
  text-align: center;
  background: linear-gradient(
    145deg,
    #1b0b25 0%,
    #110a18 55%,
    #1b0b25 100%
  );
  border: 1px solid var(--primary);
  border-radius: 28px;
  box-shadow: 0 0 45px #7100A11c;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--primary);
  filter: blur(130px);
  opacity: .16;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.contact-box .eyebrow {
  position: relative;
  font-size: 12px;
  letter-spacing: 3px;
  color: #b65be0;
  margin-bottom: 22px;
}

.contact-box h2 {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 55px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.contact-box h2 span {
  display: block;
  color: #a83bd1;
}

.contact-description {
  position: relative;
  max-width: 650px;
  margin: 24px auto 0;
  color: #c2b4cc;
  font-size: 16px;
  line-height: 1.9;
}

.contact-buttons {
  position: relative;
  margin-top: 35px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 220px;
  padding: 17px 28px;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: .25s ease;
  box-shadow: 0 8px 25px #7100A144;
}

.contact-button span {
  font-size: 21px;
  transition: transform .25s ease;
}

.contact-button:hover {
  background: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px #7100A166;
}

.contact-button:hover span {
  transform: translateX(5px);
}

.contact-note {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: #a99eb5;
  font-size: 12px;
}

.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

/* CREATORS */

.creators {
  background: var(--background);
  background-image: none;
}

.creator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.creator-card {
  text-align: center;
  padding: 28px 22px;
  min-height: 380px;
}

.avatar-wrap {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: none;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #21182a;
}

.creator-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.verified {
  color: var(--primary-light);
  font-size: 13px;
}

.role {
  display: inline-block;
  background: var(--primary-soft);
  border: 1px solid var(--primary-dark);
  color: #d49af0;
  border-radius: 20px;
  padding: 5px 11px;
  font-size: 10px;
  font-weight: 700;
}

.creator-description {
  min-height: 46px;
  margin: 16px 0;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 18px;
}

.skill {
  font-size: 9px;
  color: #d5b8e5;
  background: #191222;
  border: 1px solid #382746;
  padding: 6px 8px;
  border-radius: 20px;
}

.profile-button {
  display: block;
  margin-top: 15px;
  padding: 11px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  transition: .25s;
}

.sync-note {
  text-align: center;
  color: #81768f;
  font-size: 10px;
  margin-top: 23px;
}

.loading {
  text-align: center;
  color: #c77be8;
  grid-column: 1/-1;
  padding: 50px;
}

/* SIMPLE SECTIONS */

.simple-section {
  text-align: center;
  border-top: 1px solid #21182b;
  background: var(--background);
}

.simple-section .eyebrow {
  margin-bottom: 12px;
}

/* FOOTER */

footer {
  border-top: 1px solid #241a30;
  padding: 27px 5%;
  display: flex;
  justify-content: space-between;
  color: #81768f;
  font-size: 11px;
  background: var(--background);
}

.footer-brand {
  color: var(--primary-light);
  font-weight: 800;
  font-size: 14px;
}

/* RESPONSIVE */

@media(max-width: 1100px) {
  .navbar nav {
    gap: 13px;
  }

  .navbar nav a {
    font-size: 11px;
  }
}

@media(max-width: 950px) {
  .creator-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 700px) {
  .navbar {
    height: 70px;
  }

  .navbar nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .navbar.open nav {
    display: flex;
    position: absolute;
    top: 69px;
    left: 0;
    right: 0;
    background: #100a19;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }

  .navbar.open nav a {
    font-size: 13px;
  }

  .hero {
    padding-top: 75px;
    min-height: 690px;
  }

  .hero h1 {
    letter-spacing: -1px;
    font-size: clamp(32px, 8vw, 45px);
  }

  .hero-copy {
    font-size: 13px;
  }

  .desktop {
    display: none;
  }

  .hero-buttons {
    gap: 16px;
    flex-wrap: wrap;
  }

  .stats {
    margin-top: 55px;
    gap: 8px;
  }

  .stats article {
    padding: 16px 5px;
  }

  .stats strong {
    font-size: 22px;
  }

  .stats span {
    font-size: 8px;
  }

  .section {
    padding: 65px 5%;
  }

  .section-heading h2,
  .simple-section h2 {
    font-size: 30px;
  }

  .service-grid,
  .creator-grid {
    grid-template-columns: 1fr;
  }

  .creator-card {
    min-height: 0;
  }

  #servers .service-card,
  #bots .service-card {
    min-height: 0;
  }

  /* CONTACT MOBILE */

  #contact {
    padding: 75px 5%;
  }

  .contact-box {
    padding: 55px 22px;
    border-radius: 22px;
  }

  .contact-box h2 {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .contact-description {
    font-size: 13px;
  }

  .contact-button {
    width: 100%;
    max-width: 280px;
  }

  footer {
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }
}
