/* ==========================================
   MIO BOT STORE
   Main Stylesheet
========================================== */

:root {
  --bg: #070914;
  --bg-deep: #050711;
  --bg-soft: #0d1020;
  --card: #11162b;

  --text: #ffffff;
  --text-soft: #c5cada;
  --text-muted: #8c94ad;

  --purple: #7c5cff;
  --purple-light: #a99dff;
  --discord: #5865f2;
  --cyan: #59d9ff;

  --border: rgba(255,255,255,.09);

  --max-width: 1180px;
}

/* ==========================================
   RESET
========================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(88,101,242,.14),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(124,92,255,.11),
      transparent 30%
    ),
    var(--bg);

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;

  line-height: 1.7;
}

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

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

/* ==========================================
   HEADER
========================================== */

.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;

  width: 100%;

  border-bottom: 1px solid rgba(255,255,255,.04);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 78px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;

  color: #fff;

  font-size: 14px;
  font-weight: 800;

  letter-spacing: .08em;
}

.logo-icon {
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 11px;

  color: #fff;

  font-weight: 900;

  background:
    linear-gradient(
      135deg,
      var(--discord),
      var(--purple)
    );

  box-shadow:
    0 10px 30px rgba(88,101,242,.32);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;

  color: #c5cada;

  font-size: 13px;
  font-weight: 600;

  transition: color .2s ease;
}

.nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  border-radius: 99px;

  background:
    linear-gradient(
      90deg,
      var(--discord),
      var(--purple)
    );

  transition: width .2s ease;
}

.nav a:hover {
  color: #fff;
}

.nav a:hover::after {
  width: 100%;
}

/* ==========================================
   HERO
========================================== */

.hero {
  min-height: 760px;

  position: relative;

  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    150px 24px
    110px;

  text-align: center;
}

.grid-bg {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.025) 1px,
      transparent 1px
    );

  background-size:
    52px 52px;

  mask-image:
    linear-gradient(
      to bottom,
      #000 25%,
      transparent 95%
    );
}

.glow {
  position: absolute;

  border-radius: 50%;

  filter: blur(110px);

  pointer-events: none;
}

.glow-left {
  width: 440px;
  height: 440px;

  top: 100px;
  left: 5%;

  background:
    rgba(88,101,242,.20);
}

.glow-right {
  width: 400px;
  height: 400px;

  right: 5%;
  bottom: 40px;

  background:
    rgba(139,92,246,.16);
}

.hero-inner {
  position: relative;
  z-index: 5;

  width: 100%;
  max-width: 920px;
}

.badge {
  display: inline-flex;

  padding: 8px 16px;

  margin-bottom: 28px;

  border:
    1px solid rgba(124,92,255,.35);

  border-radius: 999px;

  color: #c7bdff;

  background:
    rgba(124,92,255,.08);

  font-size: 11px;
  font-weight: 800;

  letter-spacing: .15em;
}

.hero h1 {
  margin: 0;

  color: #fff;

  font-size:
    clamp(52px, 8vw, 94px);

  line-height: 1.06;

  font-weight: 900;

  letter-spacing: -.055em;
}

.hero h1 span {
  color: transparent;

  background:
    linear-gradient(
      90deg,
      #7289ff,
      #9d76ff,
      #59d9ff
    );

  background-clip: text;
  -webkit-background-clip: text;
}

.hero-description {
  max-width: 680px;

  margin:
    30px auto 0;

  color: var(--text-soft);

  font-size: 17px;
}

.hero-buttons {
  margin-top: 38px;

  display: flex;
  justify-content: center;

  gap: 14px;

  flex-wrap: wrap;
}

.button {
  min-height: 54px;

  padding: 0 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  font-size: 14px;
  font-weight: 800;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.button-primary {
  color: #fff;

  background:
    linear-gradient(
      135deg,
      var(--discord),
      var(--purple)
    );

  box-shadow:
    0 15px 45px rgba(88,101,242,.28);
}

.button-primary:hover {
  transform: translateY(-3px);

  box-shadow:
    0 22px 55px rgba(88,101,242,.40);
}

.button-secondary {
  color: #fff;

  border: 1px solid var(--border);

  background:
    rgba(255,255,255,.04);
}

.button-secondary:hover {
  transform: translateY(-2px);

  background:
    rgba(255,255,255,.08);
}

.hero-stats {
  max-width: 680px;

  margin:
    75px auto 0;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  overflow: hidden;

  border:
    1px solid var(--border);

  border-radius: 18px;

  background:
    rgba(13,16,32,.68);

  backdrop-filter:
    blur(20px);
}

.hero-stats > div {
  padding: 20px 15px;
}

.hero-stats > div + div {
  border-left:
    1px solid var(--border);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #fff;

  font-size: 17px;
}

.hero-stats span {
  margin-top: 2px;

  color: var(--text-muted);

  font-size: 11px;
}

/* ==========================================
   COMMON SECTION
========================================== */

.section {
  width:
    min(calc(100% - 48px), var(--max-width));

  margin: 0 auto;

  padding:
    115px 0;
}

.section-heading {
  max-width: 720px;

  margin:
    0 auto 58px;

  text-align: center;
}

.section-heading > span {
  color: var(--purple-light);

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .17em;
}

.section-heading h2 {
  margin:
    10px 0 12px;

  color: #fff;

  font-size:
    clamp(32px, 5vw, 48px);

  line-height: 1.2;

  letter-spacing: -.04em;
}

.section-heading p {
  margin: 0;

  color: var(--text-soft);

  font-size: 15px;
}

/* ==========================================
   PRODUCTS
========================================== */

.products {
  max-width: 690px;

  margin: 0 auto;
}

.product-card {
  position: relative;

  overflow: hidden;

  border:
    1px solid rgba(124,92,255,.27);

  border-radius: 28px;

  background:
    linear-gradient(
      145deg,
      rgba(29,34,65,.95),
      rgba(11,14,29,.97)
    );

  box-shadow:
    0 35px 100px rgba(0,0,0,.36),
    0 0 80px rgba(88,101,242,.08);
}

.product-card::before {
  content: "";

  position: absolute;

  width: 320px;
  height: 320px;

  top: -200px;
  right: -100px;

  border-radius: 50%;

  background:
    rgba(124,92,255,.25);

  filter: blur(70px);
}

.product-card-top {
  position: relative;
  z-index: 2;

  padding:
    32px 34px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-icon {
  width: 66px;
  height: 66px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(255,255,255,.10);

  border-radius: 19px;

  background:
    linear-gradient(
      135deg,
      rgba(88,101,242,.25),
      rgba(124,92,255,.14)
    );

  font-size: 30px;
}

.status {
  padding: 7px 14px;

  border:
    1px solid rgba(43,200,130,.25);

  border-radius: 999px;

  color: #83ffc4;

  background:
    rgba(43,200,130,.10);

  font-size: 11px;
  font-weight: 800;
}

.product-body {
  position: relative;
  z-index: 2;

  padding:
    28px 34px 36px;
}

.product-category {
  margin-bottom: 5px;

  color: #9a8cff;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .15em;
}

.product-body h3 {
  margin:
    0 0 12px;

  color: #fff;

  font-size: 31px;

  letter-spacing: -.035em;
}

.product-description {
  margin:
    0 0 26px;

  color: var(--text-soft);
}

.features-list {
  padding:
    22px 0;

  display: grid;

  gap: 11px;

  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);
}

.features-list div {
  color: #e8ebf5;

  font-size: 14px;
}

.features-list span {
  width: 23px;
  height: 23px;

  margin-right: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #b4aaff;

  background:
    rgba(124,92,255,.13);

  font-size: 11px;
}

.price {
  padding:
    26px 0 22px;
}

.price-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;
}

.price-main > span {
  color: var(--text-soft);
}

.price-main strong {
  color: #fff;

  font-size: 42px;

  line-height: 1;
}

.price-main small {
  color: var(--text-muted);

  font-size: 13px;
}

.product-button {
  min-height: 60px;

  padding: 0 23px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 15px;

  color: #fff;

  font-weight: 800;

  background:
    linear-gradient(
      135deg,
      var(--discord),
      var(--purple)
    );

  box-shadow:
    0 16px 45px rgba(88,101,242,.22);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.product-button:hover {
  transform: translateY(-3px);

  box-shadow:
    0 22px 55px rgba(88,101,242,.36);
}

/* ==========================================
   FEATURES
========================================== */

.features-section {
  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  background:
    rgba(255,255,255,.018);
}

.section-inner {
  padding-top: 110px;
  padding-bottom: 110px;
}

.feature-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.feature-card {
  min-height: 250px;

  padding: 31px;

  border:
    1px solid var(--border);

  border-radius: 21px;

  background:
    rgba(255,255,255,.025);

  transition:
    transform .2s ease,
    border-color .2s ease;
}

.feature-card:hover {
  transform:
    translateY(-5px);

  border-color:
    rgba(124,92,255,.30);
}

.feature-icon {
  margin-bottom: 22px;

  font-size: 29px;
}

.feature-card h3 {
  margin:
    0 0 9px;

  color: #fff;

  font-size: 19px;
}

.feature-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;
}

/* ==========================================
   FLOW
========================================== */

.flow {
  display: grid;

  grid-template-columns:
    1fr auto 1fr auto 1fr;

  gap: 20px;

  align-items: center;
}

.flow-card {
  padding:
    30px 20px;

  text-align: center;
}

.flow-number {
  width: 56px;
  height: 56px;

  margin:
    0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(124,92,255,.23);

  border-radius: 17px;

  color: #c6beff;

  background:
    rgba(124,92,255,.10);

  font-weight: 900;
}

.flow-card h3 {
  margin:
    0 0 8px;

  color: #fff;
}

.flow-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 13px;
}

.flow-arrow {
  color: #606883;

  font-size: 25px;
}

/* ==========================================
   CTA
========================================== */

.cta-wrapper {
  padding:
    40px 24px 70px;
}

.cta {
  max-width: 1080px;

  margin: 0 auto;

  padding:
    85px 30px;

  position: relative;

  overflow: hidden;

  text-align: center;

  border:
    1px solid rgba(124,92,255,.27);

  border-radius: 30px;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(124,92,255,.27),
      transparent 55%
    ),
    #0d1020;
}

.cta::before {
  content: "";

  position: absolute;

  width: 450px;
  height: 200px;

  left: 50%;
  top: -150px;

  transform:
    translateX(-50%);

  border-radius: 50%;

  background:
    rgba(88,101,242,.25);

  filter:
    blur(80px);
}

.cta > * {
  position: relative;
  z-index: 2;
}

.cta-label {
  color: #a99dff;

  font-size: 11px;
  font-weight: 900;

  letter-spacing: .15em;
}

.cta h2 {
  margin:
    15px 0;

  color: #fff;

  font-size:
    clamp(32px, 5vw, 50px);

  line-height: 1.25;

  letter-spacing: -.04em;
}

.cta p {
  margin:
    0 0 30px;

  color: var(--text-soft);
}

/* ==========================================
   FAQ
========================================== */

.faq {
  max-width: 800px;

  margin: 0 auto;
}

.faq details {
  border-bottom:
    1px solid var(--border);
}

.faq summary {
  position: relative;

  padding:
    23px 40px 23px 5px;

  color: #fff;

  cursor: pointer;

  font-weight: 700;

  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";

  position: absolute;

  right: 7px;

  color: #a99dff;

  font-size: 22px;
  font-weight: 400;

  transition:
    transform .2s ease;
}

.faq details[open] summary::after {
  transform:
    rotate(45deg);
}

.faq details p {
  margin: 0;

  padding:
    0 40px 24px 5px;

  color: var(--text-soft);

  font-size: 14px;
}

/* ==========================================
   FOOTER
========================================== */

.footer {
  padding:
    72px 24px 42px;

  text-align: center;

  border-top:
    1px solid var(--border);

  background:
    var(--bg-deep);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 11px;

  color: #fff;

  font-size: 14px;
  font-weight: 800;

  letter-spacing: .08em;
}

.footer p {
  margin:
    15px 0 0;

  color: var(--text-muted);

  font-size: 13px;
}

.footer-line {
  width:
    min(100%, 1000px);

  height: 1px;

  margin:
    38px auto 26px;

  background:
    var(--border);
}

.footer small {
  color: #676e86;

  font-size: 11px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 700px) {

  .header-inner {
    width:
      calc(100% - 32px);

    height: 68px;
  }

  .nav {
    display: none;
  }

  .logo {
    font-size: 12px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 700px;

    padding:
      125px 18px 80px;
  }

  .hero h1 {
    font-size:
      clamp(44px, 14vw, 68px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-description br {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;

    margin-top: 55px;
  }

  .hero-stats > div + div {
    border-left: 0;

    border-top:
      1px solid var(--border);
  }

  .section {
    width:
      calc(100% - 36px);

    padding:
      82px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .product-card-top {
    padding:
      24px 22px 0;
  }

  .product-body {
    padding:
      24px 22px 28px;
  }

  .product-body h3 {
    font-size: 25px;
  }

  .price-main strong {
    font-size: 36px;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform:
      rotate(90deg);

    text-align: center;
  }

  .cta-wrapper {
    padding:
      20px 18px 55px;
  }

  .cta {
    padding:
      62px 20px;

    border-radius: 24px;
  }

}

/* ==========================================
   VERY SMALL MOBILE
========================================== */

@media (max-width: 400px) {

  .hero-buttons {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .product-body h3 {
    font-size: 22px;
  }

}


/* ==========================================
   LEGAL PAGES
========================================== */

.legal-page {
  min-height: 100vh;
  padding: 130px 24px 100px;
}

.legal-container {
  width: min(100%, 900px);
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
}

.legal-back:hover {
  color: #fff;
}

.legal-heading {
  margin-bottom: 52px;
}

.legal-heading > span {
  display: block;
  margin-bottom: 12px;
  color: var(--purple-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
}

.legal-heading h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 52px);
  line-height: 1.25;
}

.legal-heading p {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--text-soft);
}

.legal-section {
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17, 22, 43, .72);
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

.legal-section p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}

.legal-section p + p {
  margin-top: 16px;
}

.legal-section a,
.legal-table a {
  color: var(--purple-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17, 22, 43, .72);
}

.legal-table-row {
  display: grid;
  grid-template-columns: 230px 1fr;
}

.legal-table-row + .legal-table-row {
  border-top: 1px solid var(--border);
}

.legal-table-title {
  padding: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, .025);
}

.legal-table-value {
  padding: 24px;
  color: var(--text-soft);
  font-size: 14px;
}

.legal-updated {
  margin: 36px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  text-align: right;
}


/* ==========================================
   FOOTER LINKS
========================================== */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  margin-top: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 12px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #fff;
}


/* ==========================================
   LEGAL MOBILE
========================================== */

@media (max-width: 700px) {

  .legal-page {
    padding:
      105px 18px
      70px;
  }

  .legal-section {
    padding: 22px 20px;
  }

  .legal-table-row {
    grid-template-columns: 1fr;
  }

  .legal-table-title {
    padding:
      18px 20px
      8px;

    background: transparent;
  }

  .legal-table-value {
    padding:
      0 20px
      20px;
  }

  .legal-table-row + .legal-table-row {
    padding-top: 8px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

}
