/* 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;
  max-width: 600px;
  margin: 0 auto;
}

.logo-container {
  margin-bottom: 1rem;
  width: 100px;
  height: 100px;
  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: 0.75rem;
}

.english {
  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;
  color: #555;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn var(--animation-duration) var(--animation-timing) 0.3s forwards;
}

.features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn var(--animation-duration) var(--animation-timing) 0.6s forwards;
}

.features li {
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.features li::before {
  content: "✓";
  color: var(--accent-color);
  margin-right: 0.5rem;
  font-weight: bold;
}

.company {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeIn var(--animation-duration) var(--animation-timing) 0.9s forwards;
}

.company a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.company a:hover {
  color: #0066a8;
  text-decoration: underline;
}

.company-description {
  font-size: 0.9rem;
  color: #666;
  opacity: 0;
  animation: fadeIn var(--animation-duration) var(--animation-timing) 1.2s 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: 80px;
    height: 80px;
  }

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

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

  .company {
    font-size: 0.9rem;
  }

  .company-description {
    font-size: 0.8rem;
  }
}

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

  .description {
    font-size: 1.2rem;
  }

  .features {
    font-size: 1.1rem;
  }

  .company {
    font-size: 1.1rem;
  }

  .company-description {
    font-size: 1rem;
  }
}

/* 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);
    }
  }
}