@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;900&family=Lalezar&display=swap');

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

body {
  background-color: #03001e;
  color: #ffffff;
  font-family: 'Vazirmatn', sans-serif;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#fluid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

/* Glassmorphic card styling inside the interactive viewport */
.main-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 600px;
  padding: 10px;
  text-align: center;
  animation: fadeInDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.glass-card {
  background: rgba(15, 10, 25, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 48px 32px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 10px 20px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 
    0 32px 70px rgba(0, 0, 0, 0.6),
    inset 0 1px 2px rgba(212, 175, 55, 0.15);
}

.pinnacle-badge {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(151, 71, 255, 0.25));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffdf79;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.15);
  animation: float 4s ease-in-out infinite;
}

.sparkle-icon {
  animation: rotateSparkle 8s linear infinite;
}

.brand-title {
  font-family: 'Lalezar', cursive;
  font-size: 2.8rem;
  font-weight: normal;
  background: linear-gradient(135deg, #ffffff 30%, #ffdf79 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  margin-bottom: -4px;
}

.assistant-link {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.7;
  color: #ffdf79;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  direction: rtl;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
  padding: 4px 12px;
  border-radius: 12px;
  background-color: rgba(255, 223, 121, 0.04);
  border: 1px solid rgba(255, 223, 121, 0.1);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.assistant-link:hover {
  color: #ffffff;
  transform: scale(1.02);
  text-shadow: 0 0 12px rgba(255, 223, 121, 0.6);
  background-color: rgba(255, 223, 121, 0.1);
  border-color: rgba(255, 223, 121, 0.4);
}

.description {
  font-weight: 300;
  font-size: 0.95rem;
  color: #a0aec0;
  opacity: 0.85;
}

.action-wrapper {
  margin-top: 10px;
  width: 100%;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 200px;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #03001e;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.25);
  transition: all 0.30s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 140, 0, 0.4);
  background: linear-gradient(135deg, #ffffff, #ffd700);
}

.arrow-icon {
  width: 18px;
  height: 18px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes rotateSparkle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .glass-card {
    padding: 32px 20px;
    gap: 20px;
  }
  .brand-title {
    font-size: 2.2rem;
  }
  .assistant-link {
    font-size: 1.15rem;
  }
  .description {
    font-size: 0.85rem;
  }
}
