/* ========== Reset (Hero scope) ========== */
#droph-hero * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== Hero Wrapper ========== */
#droph-hero {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

#droph-hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: clamp(32px, 6vw, 48px) 0;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--secondary-light) 50%, var(--accent-light) 100%);
}

#droph-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2325d366" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></g></svg>');
  opacity: 0.4;
}

/* ========== Container ========== */
#droph-container {
  max-width: min(1380px, 92vw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  position: relative;
  z-index: 2;
}

/* ========== Grid ========== */
#droph-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;                 /* text | image, gives image more room */
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

/* ========== Left Content ========== */
#droph-hero-content { padding: clamp(16px, 3vw, 32px) 0; }

#droph-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-100);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 2px solid var(--primary-200);
}
#droph-hero-badge i { font-size: 1rem; animation: droph-pulse 2s infinite; }
@keyframes droph-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }

#droph-hero-headline {
  font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0.1em 0;
}

#droph-hero-subheadline {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--gray-600);
  margin-bottom: clamp(20px, 4vw, 40px);
  max-width: 46ch;
}
#droph-hero-subheadline strong { color: var(--primary-dark); font-weight: 700; }

#droph-hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  align-items: center;
}

#droph-btn-primary,
#droph-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#droph-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px var(--primary-200);
  position: relative;
  overflow: hidden;
}
#droph-btn-primary::before {
  content: ''; position: absolute; inset: 0 auto 0 -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left .5s;
}
#droph-btn-primary:hover::before { left: 100%; }
#droph-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--primary-200); }

#droph-btn-secondary {
  background: var(--white);
  color: var(--gray-700);
  padding: 1rem 2rem;
  border: 2px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
#droph-btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }

#droph-hero-features { display: flex; gap: 2rem; margin-top: 2rem; }
.droph-feature-item { display:flex; align-items:center; gap:.5rem; color:var(--gray-600); font-size:.9rem; }
.droph-feature-item i { color: var(--primary); font-size:1rem; }

/* ========== Right Image (Responsive + Animated) ========== */
#droph-hero-image { position: relative; }

#droph-image-container {
  position: relative;
  
  border-radius: 20px;
  /* padding: clamp(14px, 2vw, 28px); */


  width: 100%;
  max-width: clamp(560px, 48vw, 820px);    /* larger on desktop */
  margin-inline: auto;

  aspect-ratio: 16 / 10;                   /* stable shape */
  overflow: hidden;
}
#droph-image-container::before {
  content: ''; position: absolute; inset: -10px;
  background: linear-gradient(135deg, var(--primary-100), var(--secondary-light), var(--accent-light));
  border-radius: 30px; z-index: -1; opacity: .3;
}

#droph-image-container .dashboard-img {
  display: block;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  object-fit: contain;                        /* switch to 'contain' if full screenshot is required */
  object-position: center;
  image-rendering: auto;
  border-radius: 12px;
  animation: droph-img-float 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes droph-img-float {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-6px) rotate(0.2deg); }
  50%  { transform: translateY(0) rotate(0deg); }
  75%  { transform: translateY(6px) rotate(-0.2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  #droph-image-container .dashboard-img { animation: none; }
}

/* ========== Floating Background Icons ========== */
#droph-floating-elements {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.droph-floating-icon {
  position: absolute; color: var(--primary); opacity: .1;
  animation: droph-float-random 6s ease-in-out infinite;
}
.droph-floating-icon:nth-child(1){ top:20%; left:10%; font-size:2rem; animation-delay:0s; }
.droph-floating-icon:nth-child(2){ top:60%; right:15%; font-size:1.5rem; animation-delay:2s; }
.droph-floating-icon:nth-child(3){ bottom:30%; left:20%; font-size:1.8rem; animation-delay:4s; }
@keyframes droph-float-random {
  0%,100%{ transform: translate(0,0) rotate(0deg); }
  25%{ transform: translate(10px,-10px) rotate(5deg); }
  50%{ transform: translate(-5px,-20px) rotate(-5deg); }
  75%{ transform: translate(-10px,-5px) rotate(3deg); }
}

/* ========== Responsive Breakpoints ========== */
/* Large tablets */
@media (max-width: 1024px) {
  #droph-hero-grid { grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
  #droph-image-container { max-width: clamp(520px, 52vw, 680px); aspect-ratio: 16 / 11; }
}

/* Tablets and down */
@media (max-width: 768px) {
  #droph-hero-grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 32px);
    text-align: center;
  }
  #droph-hero-content { order: 1; }
  #droph-hero-image   { order: 2; }

  #droph-hero-headline { font-size: clamp(2rem, 6vw, 2.5rem); }
  #droph-hero-subheadline { font-size: clamp(1rem, 3.5vw, 1.1rem); max-width: 100%; }

  #droph-hero-cta { flex-direction: column; align-items: center; }
  #droph-btn-primary, #droph-btn-secondary { width: 100%; max-width: 300px; justify-content: center; }

  #droph-hero-features { flex-direction: column; gap: 1rem; align-items: center; }

  #droph-container { padding: 0 1rem; }

  #droph-image-container { max-width: 100%; aspect-ratio: 4 / 3; }
}

/* Small phones */
@media (max-width: 480px) {
  #droph-image-container { padding: 12px; border-radius: 16px; }
  #droph-image-container .dashboard-img { border-radius: 10px; }
}

/* ========== Misc (example title gradient reuse) ========== */
#testimonials .section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
