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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #0b0b0f;
  color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.mv-scale-layout {
  overflow: auto !important;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    radial-gradient(circle at 18% 18%, rgba(92, 225, 230, 0.12) 0%, rgba(92, 225, 230, 0) 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 24%),
    rgba(8, 12, 21, 0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =========================
   ROOT VARIABLES
========================= */

:root {
  /* Colors */
  --color-bg: #0b0b0f;
  --color-surface: rgba(255, 255, 255, 0.05);
  --color-border: rgba(255, 255, 255, 0.08);

  --color-primary: #7c5cff;
  --color-secondary: #00d4ff;

  --color-text: #ffffff;
  --color-text-muted: #a0a0b3;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, #232A39 0%, #0B1120 100%);
  --gradient-glow: radial-gradient(circle at top right, rgba(39,57,102,0.35) 0%, rgba(8,15,33,0.88) 55%, rgba(6,10,22,0.96) 100%),

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(124, 92, 255, 0.4);
  --site-shadow-color: #0B0F1A;
  --site-shadow-box: 0 4px 4px rgba(11, 15, 26, 0.18);
  --site-shadow-filter: drop-shadow(0 4px 4px rgba(11, 15, 26, 0.18));
  --glass-blur: blur(16px);
  --glass-bg-dark: linear-gradient(180deg, rgba(11, 15, 26, 0.88) 0%, rgba(66, 81, 124, 0.9) 100%);
  --glass-bg-light: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.68) 100%);
  --glass-bg-light-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.56) 100%);
  --glass-bg-dark-soft: linear-gradient(180deg, rgba(18, 25, 43, 0.72) 0%, rgba(18, 25, 43, 0.52) 100%);
  --glass-border-dark: 1px solid rgba(159, 174, 225, 0.26);
  --glass-border-light: 1px solid rgba(11, 15, 26, 0.1);
  --glass-highlight-strong: inset 0 1px 0 rgba(255,255,255,0.14);
  --glass-highlight-soft: inset 0 1px 0 rgba(255,255,255,0.1);

  /* Blur */
  --blur: blur(12px);
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 5rem;
  letter-spacing: 0;
  color: #0B0F1A;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0;
  color: #0B0F1A;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: 0;
  color: #0B0F1A;
}

p {
  color: var(--color-text-muted);
  font-size: 16px;
}

/* =========================
   LAYOUT
========================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   BUTTONS
========================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 20px;
  border-radius: var(--radius-md);

  background: var(--gradient-main);
  color: #fff;
  font-weight: 500;
  border: none;
  cursor: pointer;

  transition: all 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.button--ghost {
  background: transparent;
  border: 1px solid var(--color-border);
}

.button--ghost:hover {
  background: rgba(255,255,255,0.05);
}

.site-shadow {
  box-shadow: var(--site-shadow-box);
}

.site-shadow-shape {
  filter: var(--site-shadow-filter);
}

.glass-surface-dark {
  background: var(--glass-bg-dark);
  border: var(--glass-border-dark);
  box-shadow: var(--glass-highlight-strong), var(--site-shadow-box);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.glass-surface-light {
  background: var(--glass-bg-light);
  border: var(--glass-border-light);
  box-shadow: var(--glass-highlight-soft), var(--site-shadow-box);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.glass-surface-light-soft {
  background: var(--glass-bg-light-soft);
  border: var(--glass-border-light);
  box-shadow: var(--glass-highlight-soft), var(--site-shadow-box);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  min-width: 0;
  padding: 0.2rem 1.5rem;
  border-radius: 999px;
  border: var(--glass-border-dark);
  background: var(--glass-bg-dark);
  box-shadow: var(--glass-highlight-strong), var(--site-shadow-box);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.glass-button:hover,
.glass-button:focus-visible {
  transform: scale(1.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), var(--site-shadow-box);
}

.glass-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: var(--glass-border-dark);
  background: var(--glass-bg-dark);
  box-shadow: var(--glass-highlight-strong), var(--site-shadow-box);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.glass-button-icon:hover,
.glass-button-icon:focus-visible {
  transform: scale(1.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), var(--site-shadow-box);
}

/* =========================
   PLAN CARDS
========================= */

.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  justify-content: center;
  column-gap: 120px;
  row-gap: 120px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  width: 320px;
  min-height: 507px;
  height: 507px;
  padding: 1.5rem 1rem 1.35rem;
  border-radius: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
}

.plan-card--free {
  background:
    linear-gradient(#0B0F1A, #0B0F1A) padding-box,
    linear-gradient(180deg, #5CE1E6 0%, #FFFFFF 100%) border-box;
  border: 2px solid transparent;
  box-shadow: none;
}

.plan-card--pro {
  background: linear-gradient(180deg, #5CE1E6 0%, #FFFFFF 100%);
  color: #0B0F1A;
}

.plan-card--custom {
  background: linear-gradient(180deg, #FFFFFF 0%, #5CE1E6 100%);
  color: #0B0F1A;
}

.plan-card__header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.plan-card__title {
  margin: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.92rem, 1vw, 1.14rem);
  line-height: 1.15;
  font-weight: 500;
}

.plan-card--free .plan-card__title {
  color: #5CE1E6;
}

.plan-card__price {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.15rem;
  color: inherit;
}

.plan-card__currency {
  padding-top: 0.38rem;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 300;
  opacity: 0.46;
}

.plan-card__amount {
  font-size: clamp(1.95rem, 2.35vw, 3rem);
  line-height: 0.92;
  font-weight: 300;
  letter-spacing: -0.05em;
}

.plan-card__period {
  padding-top: 0.52rem;
  max-width: 2.2rem;
  font-size: 0.68rem;
  line-height: 0.95;
  font-weight: 300;
}

.plan-card__description {
  margin: 0;
  color: inherit;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 400;
}

.plan-card__cta {
  width: 100%;
  min-height: 2.15rem;
  height: 2.15rem;
  margin-top: 0.15rem;
  border-radius: 999px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  text-decoration: none;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 300;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.plan-card__cta:hover,
.plan-card__cta:focus-visible {
  transform: scale(1.04);
  outline: none;
}

.plan-card--free .plan-card__cta {
  border: 2px solid #5CE1E6;
  background: rgba(11, 15, 26, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #5CE1E6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.plan-card--pro .plan-card__cta {
  background: rgba(11, 15, 26, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #5CE1E6;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.plan-card--custom .plan-card__cta {
  background: linear-gradient(180deg, rgba(112, 235, 239, 0.92) 0%, rgba(92, 225, 230, 0.9) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #0B0F1A;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}

.plan-card__note {
  margin-top: 0.25rem;
  text-align: center;
  color: rgba(11, 15, 26, 0.36);
  font-size: 0.6rem;
  line-height: 1.2;
  font-weight: 300;
}

.plan-card--free .plan-card__note {
  display: none;
}

.plan-card__features {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.68rem;
}

.plan-card__feature {
  display: grid;
  grid-template-columns: 0.95rem 1fr;
  gap: 0.56rem;
  align-items: start;
}

.plan-card__feature img {
  width: 0.95rem;
  height: 0.95rem;
  object-fit: contain;
}

.plan-card__feature span {
  display: block;
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 300;
}

@media (max-width: 900px) {
  .pricing__cards {
    grid-template-columns: 1fr;
    justify-content: stretch;
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }

  .plan-card {
    min-height: auto;
    width: 100%;
    height: auto;
  }

  .plan-card--pro {
    transform: none;
  }
}

@media (max-width: 640px) {
  .plan-card {
    border-radius: 2rem;
    padding: 1.6rem 1.15rem 1.45rem;
  }

  .plan-card__title {
    font-size: 1rem;
  }

  .plan-card__amount {
    font-size: 2.25rem;
  }
}

/* =========================
   CARDS (ASSISTANTS)
========================= */

.card {
  background: var(--color-surface);
  backdrop-filter: var(--blur);
  border: 1px solid var(--color-border);

  border-radius: var(--radius-lg);
  padding: 20px;

  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

/* =========================
   AVATAR
========================= */

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================
   ASSISTANT CARD SPECIFIC
========================= */

.assistant-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assistant-name {
  font-size: 18px;
  font-weight: 600;
}

.assistant-role {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* =========================
   AUDIO PLAYER
========================= */

.audio-player {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;

  background: var(--gradient-main);
  border: none;
  cursor: pointer;

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

.audio-wave {
  height: 20px;
  opacity: 0.6;
}

/* =========================
   GLASS EFFECT BLOCK
========================= */

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
}

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

.hero {
  padding: 120px 0;
  text-align: center;
  background: var(--gradient-glow);
}

/* =========================
   GRID
========================= */

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

/* =========================
   ANIMATIONS
========================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

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