/* ==================== PREMIUM SAAS LANDING PAGE STYLES ==================== */

.gt-saas {
  background: linear-gradient(135deg, #06b6d4, #10b981, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.saas-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ========== RESPONSIVE PRODUCT IMAGE ========== */
.saas-img-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  transition: all 0.4s;
}
.saas-img-wrapper:hover {
  border-color: rgba(16,185,129,0.2);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 30px rgba(16,185,129,0.05);
}
.saas-img-wrapper img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #0a0f1a;
}

/* ========== BENEFITS ========== */
.saas-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media(min-width:768px) {
  .saas-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.saas-benefit-card {
  background: linear-gradient(145deg, rgba(13,21,37,0.95), rgba(10,15,26,0.98));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
}
.saas-benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.saas-benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: all 0.3s;
}
.saas-benefit-card:hover .saas-benefit-icon { transform: scale(1.1); }

/* ========== TECH STACK ========== */
.saas-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}
@media(min-width:640px) {
  .saas-tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.saas-tech-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.saas-tech-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(6, 182, 212, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ========== PRICING — COMPACT ========== */
.saas-price-card {
  background: linear-gradient(145deg, rgba(13,21,37,0.95), rgba(10,15,26,0.98));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  transition: all 0.4s;
}
.saas-price-card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.saas-price-popular {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 25px 60px rgba(6, 182, 212, 0.1);
}
.saas-price-popular:hover {
  box-shadow: 0 30px 70px rgba(6, 182, 212, 0.15);
}
.saas-popular-badge {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: linear-gradient(135deg, #0d9488, #06b6d4);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.375rem 1.25rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}
.saas-price-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}
@media(min-width:480px) {
  .saas-price-features {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
  }
}
.saas-btn-primary {
  background: linear-gradient(135deg, #0d9488, #06b6d4) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
  border: none !important;
}
.saas-btn-primary:hover {
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.4);
  transform: translateY(-2px);
}

/* ========== DEMO SECTION 2-COLUMN ========== */
.saas-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media(min-width:1024px) {
  .saas-demo-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 4rem;
  }
}
.saas-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 40px rgba(6, 182, 212, 0.03);
  transition: all 0.4s ease;
}
.saas-glass-card:hover {
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 60px rgba(6, 182, 212, 0.06);
}
.saas-form-group { margin-bottom: 1rem; }
.saas-form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.saas-form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.875rem;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.saas-form-input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  background: rgba(255, 255, 255, 0.06);
}
.saas-form-input::placeholder { color: #475569; }
.saas-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #0d9488, #06b6d4);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  font-family: inherit;
  border-radius: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
  position: relative;
  overflow: hidden;
}
.saas-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.saas-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4);
}
.saas-submit-btn:hover::before { opacity: 1; }

@media(min-width:1024px) {
  .saas-demo-form {
    position: relative;
  }
  .saas-demo-form::before {
    content: '';
    position: absolute;
    top: -2rem;
    bottom: -2rem;
    left: -2rem;
    right: -2rem;
    background: linear-gradient(135deg, rgba(6,182,212,0.03), rgba(16,185,129,0.02));
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.04);
    z-index: -1;
  }
}