.btn-main-section{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

@media screen and (max-width: 900px) {
  .btn-main-section{
    grid-template-columns: 1fr;
  }
}
.download-main-section, .demo-main-section{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}
.demo-heading, .download-heading{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-main-section h3{
    text-align: center;
    font-weight: 600;
    font-size: clamp(24px, -6.8571rem + 40.5195vw, 21px);
}
.live-down-h3{
  color: rgb(79 70 229);
}
.live-demo-h3{
  color: rgb(5 150 105);
}
.btn-main-section p{
    font-size: 17px;
    text-align: center;
    font-weight: 400;
}
/* Add this to your <style> block */
.premium-btn:disabled {
    background: #e2e8f0 !important; /* Light gray */
    color: #94a3b8 !important;    /* Muted text */
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
    pointer-events: none;          /* Prevents JS click events */
}

.premium-btn:disabled .icon-box {
    background: #cbd5e1 !important;
    opacity: 0.5;
}
.bt-link-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}
.link-btns{
    display: flex;
    justify-content: center;
    width: 100%;
}
/* Modern Gradient Buttons */
.premium-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 28px;
  border-radius: 16px;
  color: white;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  border: none;
  z-index: 1;
}

/* Specific Gradients */
.btn-download { 
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); 
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4);
}
.btn-download:hover:not(.loading) {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(79, 70, 229, 0.5);
}

.btn-demo { 
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%); 
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.4);
}
.btn-demo:hover:not(.loading) {
  background: linear-gradient(135deg, #047857 0%, #0f766e 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 30px -10px rgba(5, 150, 105, 0.5);
}

/* Smooth Progress Overlay */
.progress-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  background-color: rgba(255, 255, 255, 0.15);
  z-index: -1;
  transition: width linear;
  backdrop-filter: blur(2px);
}

.premium-btn.loading {
  cursor: wait;
  filter: grayscale(0.2) brightness(0.9);
}

/* Icon Container Box */
.icon-box {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-btn:hover .icon-box {
  transform: rotate(5deg) scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

.demo-btn-text{
    display: flex;
    flex-direction: column;
    align-items: start;
    text-align: left;
}
.demo-btn-text .btn-sub-text{
    opacity: 0.8;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    margin-bottom: 0.25rem;
    font-family: "Inter";
}
.demo-btn-text .btn-main-text, .loading-text-anim{
    letter-spacing: -0.025em;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-family: "Inter";
}

.loading-text-anim::after {
  content: '...';
  display: inline-block;
  width: 22px;
  text-align: left;
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}
