/* Accounts Page Specific Styles */
.account-selection-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 100px 2rem 4rem;
  background: linear-gradient(165deg, #0a0a0f 0%, #1a0a2e 100%);
  position: relative;
  overflow: hidden;
}

.account-selection-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 15% 25%, rgba(168, 85, 247, 0.12) 0%, transparent 40%),
    radial-gradient(ellipse at 85% 75%, rgba(147, 51, 234, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.05) 0%, transparent 30%);
  z-index: 1;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.account-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.account-title {
  font-family: 'Clash Display', 'Unica One', 'Helvetica Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.04em;
  margin-bottom: 0;
  background: linear-gradient(90deg, #ffffff 0%, #d8b4fe 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

.account-main {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.funding-button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-large {
  min-height: 60px;
  min-width: 200px;
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

.account-sizes-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
  padding: 0.75rem;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(15, 10, 25, 0.5), rgba(25, 15, 40, 0.5));
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.account-sizes-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Animation to indicate scrollability */
@keyframes scrollHint {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

.account-sizes-container.scroll-hint .account-size-btn:first-child {
  animation: scrollHint 2s ease-in-out infinite;
}

.account-sizes-container::before {
  content: '◀';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none; /* Hidden by default on desktop */
}

.account-sizes-container::after {
  content: '▶';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: none; /* Hidden by default on desktop */
}

.account-sizes-container.show-scroll-hints::before,
.account-sizes-container.show-scroll-hints::after {
  opacity: 1;
}

.account-size-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  background: transparent;
  border: none;
  color: #b0b0c0;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.account-size-btn .outer-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid;
  border-color: #6B7280;
  margin-bottom: 0.75rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  z-index: 2;
}

.account-size-btn .inner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 3;
}

.account-size-btn.active {
  color: #f0f0f0;
}

.account-size-btn.active .outer-ring {
  border-color: #9333ea;
  background-color: #9333ea;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.6);
  transform: scale(1.1);
}

.account-size-btn.active .inner-dot {
  background-color: #f0f0f0;
  transform: scale(1);
}

.account-size-btn .label {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  font-weight: 600;
  font-size: 1rem;
}

.account-size-btn.active .label {
  font-weight: 700;
  transform: scale(1.1);
}

.account-size-btn:hover:not(.active) {
  color: #e0e0e0;
}

.account-size-btn:hover:not(.active) .outer-ring {
  border-color: #9090b0;
  transform: scale(1.05);
}

.account-details-card {
  background: linear-gradient(145deg, rgba(15, 10, 25, 0.85) 0%, rgba(25, 15, 40, 0.85) 100%);
  border-radius: 20px;
  padding: 2.25rem;
  border: 1px solid rgba(147, 51, 234, 0.2);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(15px);
  box-shadow: 
    0 20px 35px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.account-details-card.updated {
  animation: cardUpdate 0.6s ease-out;
}

@keyframes cardUpdate {
  0% { transform: translateY(10px); opacity: 0.8; }
  50% { transform: translateY(-5px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

.account-details-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, transparent 30%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.account-details-card:hover::before {
  opacity: 1;
}

.account-details-card:hover {
  border-color: rgba(147, 51, 234, 0.4);
  box-shadow: 
    0 30px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.account-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.account-info-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.account-heading {
  margin-bottom: 2rem;
}

.account-size-title {
  font-family: 'Clash Display', 'Unica One', 'Helvetica Neue', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #f0f0f0;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.badge-icon {
  font-size: 1.25rem;
  color: #a855f7;
}

.account-pricing {
  margin-bottom: 2.5rem;
}

.pricing-label {
  font-size: 1rem;
  color: #9090b0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-amount {
  font-family: 'Space Grotesk', 'Fira Code', 'Monaco', monospace;
  font-size: 3.5rem;
  font-weight: 800;
  color: #f0f0f0;
  letter-spacing: -0.04em;
  margin-bottom: 0;
  line-height: 1;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.btn-full-width {
  width: 100%;
  min-height: 60px;
  font-size: 1.2rem;
}

.account-features-section {
  display: flex;
  flex-direction: column;
}

.features-title {
  font-family: 'Clash Display', 'Unica One', 'Helvetica Neue', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 1rem;
}

.features-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #a855f7, #9333ea, #ffd700);
  border-radius: 2px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(147, 51, 234, 0.15);
}

.feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feature-label {
  font-size: 1.05rem;
  color: #b8b8d0;
  font-weight: 500;
}

.feature-value {
  font-family: 'Space Grotesk', 'Fira Code', 'Monaco', monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0f0f0;
  letter-spacing: -0.02em;
}

.feature-check {
  font-size: 1.5rem;
  color: #a855f7;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

/* Mobile pricing section - visible only on mobile */
.mobile-pricing-section {
  display: none;
}

/* Desktop pricing section - visible only on desktop */
.desktop-pricing-section {
  display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
  /* Hide desktop pricing section on mobile */
  .desktop-pricing-section {
    display: none;
  }
  
  /* Show mobile pricing section on mobile */
  .mobile-pricing-section {
    display: block;
    margin: 2rem auto;
  }
  
  .account-details-grid {
    gap: 2rem;
  }
  
  .account-size-title {
    font-size: 2rem;
  }
  
  .pricing-amount {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .mobile-pricing-section {
    margin: 1.5rem auto;
  }
  
  .account-selection-container {
    padding: 80px 1rem 2.5rem;
  }
  
  .account-title {
    font-size: 2.5rem;
  }
  
  .account-details-card {
    padding: 1.75rem;
  }
  
  .account-size-title {
    font-size: 1.75rem;
  }
  
  .pricing-amount {
    font-size: 2.75rem;
  }
  
  .account-sizes-container {
    gap: 1rem;
    padding: 1rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    justify-content: flex-start;
  }
  
  .account-size-btn {
    padding: 1rem 0.75rem;
    min-width: 80px;
  }
  
  .account-size-btn .outer-ring {
    width: 32px;
    height: 32px;
  }
  
  .account-size-btn .inner-dot {
    width: 14px;
    height: 14px;
  }
  
  .account-size-btn .label {
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  
  .btn-large, .btn-full-width {
    min-height: 50px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .mobile-pricing-section {
    margin: 1.25rem auto;
  }
  
  .account-title {
    font-size: 2.25rem;
  }
  
  .account-size-title {
    font-size: 1.65rem;
  }
  
  .pricing-amount {
    font-size: 2.5rem;
  }
  
  .features-title {
    font-size: 1.5rem;
  }
  
  .feature-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .account-details-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .mobile-pricing-section {
    margin: 1rem auto;
  }
  
  .account-selection-container {
    padding: 70px 0.75rem 2rem;
  }
  
  .account-title {
    font-size: 2rem;
  }
  
  .account-details-card {
    padding: 1.25rem;
  }
  
  .account-size-title {
    font-size: 1.5rem;
  }
  
  .pricing-amount {
    font-size: 2.25rem;
  }
  
  .account-sizes-container {
    padding: 1rem 0.5rem;
    gap: 0.75rem;
  }
  
  .account-size-btn {
    padding: 1rem 0.5rem;
    min-width: 70px;
  }
  
  .account-size-btn .outer-ring {
    width: 28px;
    height: 28px;
    margin-bottom: 0.5rem;
  }
  
  .account-size-btn .inner-dot {
    width: 12px;
    height: 12px;
  }
  
  .account-size-btn .label {
    font-size: 0.9rem;
  }
}
