/* Astra Cloner — pro, animated, dark & clean, centered */
:root{
  --bg: #0a0c12;
  --line: rgba(255,255,255,.06);
  --text: rgba(255,255,255,.94);
  --muted: rgba(255,255,255,.58);
  --accent: #60a5fa;
  --accent-glow: rgba(96, 165, 250, .25);
  --shadow: 0 32px 96px rgba(0,0,0,.42);
  --radius: 32px;
  --mx: 0;
  --my: 0;
}

*{ box-sizing:border-box; }
html,body{ height:100%; margin:0; }
body{
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(1400px 800px at calc(50% + var(--mx) * 120px) calc(0% + var(--my) * 80px), rgba(96, 165, 250, .08), transparent 55%),
    radial-gradient(1000px 600px at calc(30% - var(--mx) * 100px) calc(70% - var(--my) * 60px), rgba(167, 243, 209, .06), transparent 60%),
    linear-gradient(180deg, #080a0f 0%, #0a0c12 45%, #090b10 100%);
  color:var(--text);
  overflow:hidden;
}

.bg-orb{
  position:fixed;
  inset:auto;
  border-radius:50%;
  filter: blur(60px);
  opacity:.25;
  pointer-events:none;
  animation: float 20s ease-in-out infinite;
}
.bg-orb-1{
  width:420px; height:420px;
  left:-140px; top:80px;
  background: radial-gradient(circle, rgba(96, 165, 250, .35), transparent 70%);
  animation-delay:0s;
}
.bg-orb-2{
  width:520px; height:520px;
  right:-180px; bottom:-140px;
  background: radial-gradient(circle, rgba(167, 243, 209, .28), transparent 70%);
  animation-delay:-5s;
}

@keyframes float{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(30px,-20px) scale(1.02); }
  66%{ transform: translate(-20px,30px) scale(.98); }
}

.grid-overlay{
  position:fixed;
  inset:0;
  background:
    linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask: radial-gradient(800px at center, transparent 30%, #0a0c12 100%);
  pointer-events:none;
  z-index:0;
}

.shell{
  height:100vh;
  display:grid;
  place-items:center;
  padding:0;
}

.brand-card{
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  border:1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.02);
  backdrop-filter: blur(18px);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(40px, 6vw, 56px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  width: min(600px, 90vw);
  aspect-ratio: 1.05 / 1;
  position:relative;
  overflow:hidden;
}

.brand-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(700px 280px at 50% 0%, var(--accent-glow), transparent 65%);
  pointer-events:none;
  opacity:.6;
}

.brand-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity:.4;
}

.logo-wrap{
  width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  padding: 16px;
  margin-bottom: 28px;
  background: rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.logo-wrap:hover{
  transform: scale(1.03);
  box-shadow: 0 0 40px var(--accent-glow);
}

.logo{
  width:100%; height:100%; object-fit:cover; border-radius:22px; display:block;
}

.eyebrow{
  letter-spacing:.28em;
  text-transform:uppercase;
  font-size:.72rem;
  color:var(--muted);
  margin-bottom:12px;
}

h1{
  margin:0;
  font-size: clamp(3.6rem, 9.5vw, 7.2rem);
  line-height:.92;
  letter-spacing:-.06em;
  display:flex;
  align-items:center;
  gap:4px;
}

.dot-animate{
  opacity:.4;
  animation: pulse 1.4s ease-in-out infinite;
}
.dot-animate:nth-child(2){ animation-delay:.15s; }
.dot-animate:nth-child(3){ animation-delay:.3s; }

@keyframes pulse{
  0%,100%{ opacity:.4; transform:scale(.9); }
  50%{ opacity:1; transform:scale(1); }
}

.subtitle{
  margin:22px 0 0;
  max-width: 58ch;
  color:var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height:1.65;
  font-weight:300;
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  color:var(--text);
  border:1px solid var(--line);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
  background: rgba(255,255,255,.03);
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.btn.primary{
  background: rgba(255,255,255,.92);
  color:#0a0c12;
  border-color: transparent;
}

.btn.primary:hover{
  background: #fff;
}

.reveal{
  opacity:0;
  transform: translateY(20px) scale(.98);
  animation: rise .9s cubic-bezier(.25,.46,.45,.94) forwards;
}

@keyframes rise{
  to{
    opacity:1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 920px){
  .brand-card{
    width: min(500px, 90vw);
  }
}

@media (max-width: 560px){
  .shell{ padding:16px; }
  .brand-card{ 
    padding:32px; 
    width: min(400px, 92vw);
  }
  .logo-wrap{ width:110px; }
  .actions{ gap:10px; }
  .btn{ width:100%; }
  h1{ font-size: clamp(2.8rem, 8.5vw, 5rem); }
}