/* Anamody — landing page */
:root {
  --bg-deep: #06040c;
  --bg-mid: #0f0820;
  --purple: #7c3aed;
  --violet: #a855f7;
  --cyan: #00d4ff;
  --pink: #ec4899;
  --text: #f1f0f8;
  --text-muted: #9b93b8;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(0, 212, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 50% at 0% 80%, rgba(236, 72, 153, 0.1), transparent 45%),
    linear-gradient(180deg, #120a22 0%, #06040c 45%, #040308 100%);
  z-index: -2;
  pointer-events: none;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: -1;
  animation: float 14s var(--ease) infinite alternate;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: var(--purple);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: var(--cyan);
  bottom: 10%;
  left: -100px;
  animation-delay: -4s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: var(--pink);
  top: 45%;
  right: 15%;
  animation-delay: -7s;
  opacity: 0.25;
}

@keyframes float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -40px) scale(1.08); }
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}

.header.scrolled {
  background: rgba(6, 4, 12, 0.75);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.35));
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand-icon {
  transform: scale(1.06) rotate(-3deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass);
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.35s, background 0.35s, color 0.25s;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 20%, var(--cyan) 50%, var(--violet) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--glass-border);
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.15), rgba(0, 212, 255, 0.08));
  animation: heroFloat 6s var(--ease) infinite alternate;
}

@keyframes heroFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

.video-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.2), transparent 60%);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.video-placeholder {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    linear-gradient(180deg, transparent, rgba(6, 4, 12, 0.6)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
}

.video-placeholder p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.4);
}

.play-btn.playing {
  animation: playPulse 0.6s var(--ease);
}

@keyframes playPulse {
  50% { transform: scale(1.15); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
}

/* Features */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.feature-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.feature-card:hover {
  transform: translateX(8px);
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(124, 58, 237, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.feature-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.2);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.showcase-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.15);
}

.showcase-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.showcase-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.showcase-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

.price-card:hover {
  transform: translateY(-6px);
}

.price-card-featured {
  border-color: rgba(0, 212, 255, 0.35);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.15), var(--glass));
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.2);
  transform: scale(1.03);
}

.price-card-featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.price-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 999px;
  color: #fff;
}

.price-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 1.75rem;
}

.price-card li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 1.4rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}

/* Download */
.download-panel {
  padding: 3rem 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.download-panel h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.download-panel > p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.download-panel code {
  font-size: 0.88em;
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
}

.btn-download-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.download-hint {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  font-size: 0.85rem !important;
  opacity: 0.85;
}

/* Contact */
.contact-panel {
  padding: 2.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  text-align: center;
  position: relative;
}

.contact-copy h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-copy p {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.toast {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.15);
  border: 1px solid rgba(0, 212, 255, 0.3);
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}

.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Footer */
.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--glass-border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-footer .brand-name {
  font-size: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--delay, 0s);
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-inline: auto;
  }

  .hero-cta,
  .hero-stats {
    justify-content: center;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }

  .price-card-featured {
    transform: none;
  }

  .price-card-featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    background: rgba(6, 4, 12, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.75rem 0;
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-sm {
    display: none;
  }

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

  .feature-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .video-frame, .video-glow, .pulse-dot { animation: none; }
}
