:root{
  --bg: #060010;
  --bg-2: #0b1020;
  --card: rgba(8, 10, 24, 0.78);
  --card-border: rgba(151, 121, 255, 0.22);
  --text: #f5f7ff;
  --muted: rgba(235, 238, 255, 0.68);
  --purple: 132, 0, 255;
  --blue: 10, 77, 255;
  --orange: 244, 77, 2;
  --radius: 28px;
  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --max: 1280px;
}

*{
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(var(--blue), .14), transparent 62%),
    radial-gradient(800px 520px at 95% 10%, rgba(var(--purple), .10), transparent 55%),
    linear-gradient(180deg, #04000b 0%, #05070d 40%, #060010 100%);
  overflow-x: hidden;
  min-height: 100vh;
}

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

.container{
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* background layers */

#dotGrid{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -5;
  pointer-events: none;
}

.aurora{
  position: fixed;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .18;
  pointer-events: none;
  z-index: -4;
  animation: auroraMove 20s linear infinite;
}

.a1{
  top: -280px;
  left: -220px;
  background: radial-gradient(circle, rgba(var(--purple), .9) 0%, transparent 60%);
}

.a2{
  right: -260px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(var(--blue), .85) 0%, transparent 60%);
  animation-duration: 24s;
}

.cursor-glow{
  position: fixed;
  width: 640px;
  height: 640px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -3;
  background:
    radial-gradient(circle,
      rgba(var(--purple), .17) 0%,
      rgba(var(--purple), .08) 22%,
      rgba(var(--blue), .06) 38%,
      transparent 68%);
  opacity: .9;
  will-change: transform, left, top;
}

.noise{
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

@keyframes auroraMove{
  0%{ transform: translate(0,0) }
  50%{ transform: translate(160px, 90px) }
  100%{ transform: translate(0,0) }
}

/* header */

.header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 15, .35);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header__inner{
  height: 78px;
  display: flex;
  align-items: center;
}

.logo{
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.96);
}
.logo-img{
height:42px;
width:auto;
display:block;

filter: drop-shadow(0 0 6px rgba(132,0,255,.35));
transition: all .35s ease;
}

.logo-img:hover{

filter:
drop-shadow(0 0 8px rgba(132,0,255,.55))
drop-shadow(0 0 18px rgba(132,0,255,.35));

}

/* hero */

.hero{
  padding: 74px 0 26px;
}

.hero__pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.82);
  font-size: 13px;
}

.hero__dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--purple), 1);
  box-shadow: 0 0 18px rgba(var(--purple), .7);
}

.hero__title{
  margin: 18px 0 12px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
  color: #f7f8ff;
  text-wrap: balance;
}

.hero__title span{
  display: block;
  color: rgba(255,255,255,.88);
}

.hero__desc{
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}
.hero__tagline{

margin:14px 0 10px;

font-size:14px;

letter-spacing:.18em;

text-transform:uppercase;

color:rgba(255,255,255,.55);

}

/* section */

.bento-section{
  padding: 22px 0 90px;
}

.section-label{
  margin: 0 0 22px;
  color: rgba(255,255,255,.65);
  font-size: 14px;
  letter-spacing: .02em;
}

/* grid */

.bento-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 18px;
  padding: 18px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(6, 0, 16, .42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  position: relative;
  overflow: hidden;
}

/* card */

.bento-card{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(10,12,26,.82), rgba(6,0,16,.86));
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  isolation: isolate;
  transition:
    transform .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
  will-change: transform;
  --mx: 50%;
  --my: 50%;
  --glow-opacity: 0;
}

.bento-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background:

radial-gradient(
420px circle at var(--mx) var(--my),

rgba(132,0,255,.35) 0%,
rgba(132,0,255,.18) 18%,
rgba(10,77,255,.12) 34%,
transparent 65%

);
  opacity: var(--glow-opacity);
  transition: opacity .2s ease;
  z-index: 0;
  pointer-events: none;
}

.bento-card::after{
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background:
radial-gradient(
400px circle at var(--mx) var(--my),

rgba(200,150,255,.95) 0%,
rgba(174,126,255,.65) 12%,
rgba(120,170,255,.35) 24%,
rgba(120,170,255,.15) 38%,
transparent 60%

);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: var(--glow-opacity);
filter: blur(.5px);
  transition: opacity .2s ease;
  pointer-events: none;
  z-index: 2;
}

.bento-card:hover{

transform:
translateY(-10px)
scale(1.03);

border-color: rgba(181,149,255,.45);

box-shadow:

0 30px 90px rgba(0,0,0,.65),

0 0 50px rgba(var(--purple), .25),

0 0 120px rgba(var(--purple), .12);

}
.bento-card:hover .bento-card__content h2{
color:#ffffff;
}
.bento-card__label{
  position: relative;
  z-index: 3;
  font-size: 14px;
  color: rgba(255,255,255,.88);

  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
  opacity: .85;
}

.bento-card__content{
  position: relative;
  z-index: 3;
}

.bento-card__content h2{
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 1.1rem + .5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: #fff;

transition: color .25s ease;
}

.bento-card__content p{
  margin: 0;
  font-size: .98rem;
  line-height: 1.35;
  color: var(--muted);
  max-width: 28ch;
}

/* sizes */

.size-s{
  grid-column: span 1;
  grid-row: span 1;
}

.size-lg{
  grid-column: span 2;
  grid-row: span 2;
}

.size-xl{
  grid-column: span 2;
  grid-row: span 2;
}

/* reveal */

.reveal{
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ripple */

.ripple{
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle,
    rgba(var(--purple), .34) 0%,
    rgba(var(--purple), .18) 35%,
    transparent 72%);
  animation: ripple .8s ease-out forwards;
}

@keyframes ripple{
  to{
    transform: scale(1);
    opacity: 0;
  }
}
/* micro particles inside cards */

.card-particle{

position:absolute;

width:3px;
height:3px;

border-radius:50%;

background:rgba(200,160,255,.9);

box-shadow:
0 0 6px rgba(200,160,255,.8),
0 0 14px rgba(132,0,255,.5);

pointer-events:none;

opacity:0;

animation:particleFloat 2.4s ease-out forwards;

}

@keyframes particleFloat{

0%{
transform:translate(0,0) scale(.4);
opacity:0;
}

20%{
opacity:1;
}

100%{
transform:translate(var(--tx),var(--ty)) scale(1.3);
opacity:0;
}

}
/* particles */

.spark{
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(172, 123, 255, .9);
  box-shadow: 0 0 10px rgba(172, 123, 255, .8);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: sparkFloat 1.8s ease-out forwards;
}

@keyframes sparkFloat{
  0%{
    transform: translate(0,0) scale(.3);
    opacity: 0;
  }
  15%{
    opacity: 1;
  }
  100%{
    transform: translate(var(--tx), var(--ty)) scale(1.3);
    opacity: 0;
  }
}

/* footer */

.footer{
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 26px 0 42px;
}

.footer__inner{
  color: rgba(255,255,255,.54);
  font-size: 14px;
}

/* responsive */

@media (max-width: 1100px){
  .bento-grid{
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .size-xl,
  .size-lg{
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 720px){
  .container{
    width: min(var(--max), calc(100% - 28px));
  }

  .hero{
    padding-top: 52px;
  }

  .bento-grid{
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    padding: 14px;
  }

  .bento-card,
  .size-s,
  .size-lg,
  .size-xl{
    grid-column: span 1;
    grid-row: span 1;
    min-height: 220px;
  }

  .cursor-glow{
    width: 420px;
    height: 420px;
  }
