/* Base Styles */
:root {
  --primary-color: #0088e0;
  --secondary-color: #ffd700;
  --accent-color: #00a859;
  --text-color: #333;
  --background-start: #f0f9ff;
  --background-end: #e1f4ff;
  --animation-duration: 1.2s;
  --animation-timing: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Vazirmatn', sans-serif;
  background: linear-gradient(135deg, var(--background-start), var(--background-end));
  color: var(--text-color);
  overflow: hidden;
}

/* Layout */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  padding: 1rem;
}

.brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  animation: fadeIn var(--animation-duration) var(--animation-timing) forwards;
}

.logo-container {
  margin-bottom: 1.5rem;
  width: 120px;
  height: 120px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 136, 224, 0.15);
}

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

/* Typography */
.brand-name {
  font-size: 2.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.persian {
  direction: rtl;
  margin-right: 0.5rem;
  background: linear-gradient(90deg, var(--primary-color), #0066a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.separator {
  margin: 0 0.5rem;
  color: var(--primary-color);
}

.english {
  direction: ltr;
  margin-left: 0.5rem;
  background: linear-gradient(90deg, #0066a8, var(--primary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.description {
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  direction: rtl;
  color: #555;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn var(--animation-duration) var(--animation-timing) 0.3s forwards;
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Breakpoints */
@media (max-width: 480px) {
  .brand-name {
    font-size: 2rem;
  }
  
  .logo-container {
    width: 100px;
    height: 100px;
  }

  .description {
    font-size: 0.9rem;
    padding: 0 1rem;
  }
}

@media (min-width: 768px) {
  .brand-name {
    font-size: 3rem;
  }
  
  .logo-container {
    width: 150px;
    height: 150px;
  }

  .description {
    font-size: 1.2rem;
  }
}

@media (min-width: 1200px) {
  .brand-name {
    font-size: 3.5rem;
  }
  
  .logo-container {
    width: 180px;
    height: 180px;
  }

  .description {
    font-size: 1.3rem;
  }
}

/* Enhanced Animations for Larger Screens */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .brand-container {
    --animation-duration: 1.5s;
  }
  
  .logo-container {
    opacity: 0;
    animation: logoReveal 1.2s var(--animation-timing) 0.2s forwards;
  }
  
  .brand-name {
    opacity: 0;
    animation: textReveal 1.2s var(--animation-timing) 0.6s forwards;
  }

  .description {
    animation: textReveal 1.2s var(--animation-timing) 0.9s forwards;
  }
  
  @keyframes logoReveal {
    0% {
      opacity: 0;
      transform: scale(0.9);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  @keyframes textReveal {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
}