/* Hero Section Styles */
.hero-area {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f9ff 100%);
}

.hero-area::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 85%, rgba(72,219,216,0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(107,227,170,0.06) 0%, transparent 50%);
  animation: hero-bg-pulse 12s ease-in-out infinite;
}

@keyframes hero-bg-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.hero-area-inner {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Content Styles */
.hero-area .section-content {
  max-width: 650px;
}

.hero-area .section-title {
  font-size: 72px;
  font-weight: bolder;
  line-height: 1.1;
  color: #2c3e50;
  margin-bottom: 30px;
}

.hero-area .text {
  font-size: 20px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 40px;
}

/* Demo Form Styles */
.demo-form-wrapper {
  width: 100%;
  margin: 30px 0;
}

.hero-demo-form {
  width: 100%;
  max-width: 100%;
}

.hero-demo-form .form-fields {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-demo-form input {
  height: 56px;
  padding: 0 24px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 18px;
  flex: 1;
  transition: all 0.3s ease;
  background: white;
  font-family: var(--font-primary);
  font-weight: 500;
}

.hero-demo-form input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.hero-demo-form input::placeholder {
  color: #666;
}

.hero-demo-form .demo-submit {
  width: 100%;
  height: 56px;
  padding: 0 32px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #48DBD8 0%, #6BE3AA 100%);
  border: none;
  color: white;
  cursor: pointer;
}

.hero-demo-form .demo-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(72, 219, 216, 0.3);
}

.hero-demo-form .form-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 8px;
  font-weight: 400;
}

/* Hero Visual Styles */
.hero-visual {
  position: relative;
  flex: 0.7; /* Increased from 0.6 to 0.7 */
  max-width: 100%;
  margin-left: auto;
}

.dashboard-wrapper {
  margin-top: -10%; /* Reduced from -15% to -10% */
  position: relative;
  padding: 20px; /* Increased from 15px to 20px */
  transform: scale(1.15); /* Added scale to make image larger */
}

.dashboard-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.12); /* Enhanced shadow */
}

/* Floating Cards - Adjusted positions */
.floating-card {
  position: absolute;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
  transform-origin: center center;
}

.card-1 {
  top: 8%; /* Moved up from 10% */
  left: -90px; /* Moved further left from -60px */
  animation-delay: 0s;
}

.card-2 {
    top: -5%;
    right: 70px;
  animation-delay: 0.5s;
}

.card-3 {
  bottom: 12%; /* Moved up from 15% */
  left: -50px; /* Moved further left from -30px */
  animation-delay: 1s;
}

.card-icon {
  font-size: 24px;
  background: rgba(0,0,0,0.04);
  padding: 12px;
  border-radius: 8px;
}

.card-content {
  flex: 1;
  font-family: var(--font-primary);
}

.card-title {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 16px;
  color: #2c3e50;
}

.card-text {
  color: var(--text-secondary);
  font-size: 14px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Phone Number Section */
.hero-phone-section {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 2px solid rgba(72, 219, 216, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-phone-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.hero-phone-section p {
  font-size: 18px;
  color: #4a5568;
  margin-bottom: 20px;
}

.hero-phone-number {
  font-size: 48px;
  font-weight: 900;
  color: #48DBD8;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  background: linear-gradient(45deg, #48DBD8, #6BE3AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-phone-number:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: #48DBD8;
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-area-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-visual {
    max-width: 85%; /* Increased from 80% */
    margin: 0 auto;
  }

  .dashboard-wrapper {
    transform: scale(1.1); /* Slightly smaller scale on tablet */
    margin-top: -5%;
  }

  .floating-card {
    display: none;
  }

  .hero-area .section-title {
    font-size: 48px;
  }

  .hero-area .text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hero-demo-form .form-fields {
    flex-direction: column;
    height: 20vh;
  }
  
  .hero-demo-form input {
    width: 100%;
  }

  .hero-area .section-title {
    font-size: 36px;
  }

  .hero-area .text {
    font-size: 16px;
  }

  .hero-visual {
    max-width: 95%; /* Increased from previous value */
    padding: 0 10px;
  }

  .dashboard-wrapper {
    transform: scale(1.05); /* Adjusted scale for mobile */
    margin-top: 0;
    padding: 15px;
  }

  .hero-phone-section {
    padding: 20px;
    margin-top: 30px;
  }

  .hero-phone-section h3 {
    font-size: 24px;
  }

  .hero-phone-number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-area {
    padding: 80px 0 60px;
  }

  .hero-area-inner {
    gap: 30px;
  }

  .hero-area .section-content {
    padding: 0 15px;
  }

  .hero-area .section-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .hero-area .text {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .hero-demo-form input {
    height: 50px;
    font-size: 16px;
    padding: 0 20px;
  }

  .hero-demo-form .demo-submit {
    height: 50px;
    font-size: 16px;
    padding: 0 25px;
  }

  .hero-visual {
    max-width: 100%;
    padding: 0 10px;
  }

  .dashboard-wrapper {
    transform: scale(1); /* Reset scale on small mobile */
    margin-top: 0;
    padding: 10px;
  }

  .dashboard-image {
    border-radius: 10px;
  }

  .hero-phone-section {
    padding: 15px;
    margin-top: 20px;
  }

  .hero-phone-section h3 {
    font-size: 20px;
  }

  .hero-phone-section p {
    font-size: 16px;
  }

  .hero-phone-number {
    font-size: 28px;
  }
}

@media (max-width: 390px) {
  .hero-area .section-title {
    font-size: 24px;
  }

  .hero-area .text {
    font-size: 14px;
  }

  .hero-demo-form input {
    height: 45px;
    font-size: 15px;
  }

  .hero-demo-form .demo-submit {
    height: 45px;
    font-size: 15px;
  }

  .hero-phone-number {
    font-size: 24px;
  }
}
