/* ==========================================================================
   MATSUYA R&D - HERO BANNER COMPONENT (SCOPED STYLES)
   Namespace: .mrd-hero-*
   ========================================================================== */

.mrd-hero-wrapper {
  width: 100%;
  background: linear-gradient(135deg, #0a2540 0%, #003b6b 45%, #004b87 100%);
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 44px clamp(20px, 3.5vw, 60px) 110px clamp(20px, 3.5vw, 60px);
  box-sizing: border-box;
}

/* Subtle background glowing light accents */
.mrd-hero-wrapper::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.25) 0%, rgba(10, 37, 64, 0) 70%);
  pointer-events: none;
}

.mrd-hero-wrapper::after {
  content: "";
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.18) 0%, rgba(10, 37, 64, 0) 70%);
  pointer-events: none;
}

.mrd-hero-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: clamp(24px, 3.5vw, 56px);
  align-items: stretch;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
  .mrd-hero-grid {
    grid-template-columns: 380px 1fr;
  }
}

@media (max-width: 992px) {
  .mrd-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: flex-start;
  }
}

/* --- LEFT COLUMN: YOUTUBE SHORTS VIDEO --- */
.mrd-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.mrd-hero-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 159, 227, 0.2);
  border: 1px solid rgba(0, 159, 227, 0.6);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  height: 32px;
  padding: 0 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  box-sizing: border-box;
}

.mrd-hero-video-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: mrdPulseDot 1.5s infinite;
}

@keyframes mrdPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

.mrd-hero-video-frame {
  width: 100%;
  max-width: 380px;
  height: calc(100% - 48px);
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 159, 227, 0.3);
  border: 2px solid rgba(0, 159, 227, 0.5);
  position: relative;
  box-sizing: border-box;
}

.mrd-hero-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --- RIGHT COLUMN: HEADLINE, USPs & FORM --- */
.mrd-hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mrd-hero-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #38bdf8;
  font-size: 13px;
  font-weight: 700;
  height: 32px;
  padding: 0 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-sizing: border-box;
}

.mrd-hero-title {
  font-size: clamp(20px, 1.95vw, 29px);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0px;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 1400px) {
  .mrd-hero-title {
    white-space: normal;
  }
}

.mrd-hero-title span {
  color: #38bdf8;
  display: inline;
}

.mrd-hero-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: -2px 0 2px 0;
  max-width: 96%;
  -webkit-font-smoothing: antialiased;
}

/* USPs List */
.mrd-hero-usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .mrd-hero-usps {
    grid-template-columns: 1fr;
  }
}

.mrd-hero-usp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 16px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.mrd-hero-usp-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 159, 227, 0.6);
}

.mrd-hero-usp-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #009fe3;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 159, 227, 0.4);
}

.mrd-hero-usp-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.mrd-hero-usp-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mrd-hero-usp-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin: 0;
}

.mrd-hero-usp-desc {
  font-size: 13px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

/* --- LEAD CAPTURE FORM CARD --- */
.mrd-hero-form-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: 16px;
  padding: 26px 30px 28px 30px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  border: 2px solid #009fe3;
  margin-top: 4px;
  position: relative;
}

.mrd-hero-form-header {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.mrd-hero-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #0a2540;
  line-height: 1.35;
  margin: 0;
}

.mrd-hero-form-title strong {
  color: #009fe3;
}

/* Form Layout */
.mrd-hero-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mrd-hero-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .mrd-hero-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mrd-hero-form-card {
    padding: 20px 18px;
  }
}

.mrd-hero-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mrd-hero-label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.mrd-hero-label span {
  color: #e11d48;
}

.mrd-hero-input,
.mrd-hero-textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background-color: #f8fafc;
  color: #0f172a;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.mrd-hero-input:focus,
.mrd-hero-textarea:focus {
  border-color: #009fe3;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.15);
}

.mrd-hero-textarea {
  resize: vertical;
  min-height: 70px;
}

/* Submit Button */
.mrd-hero-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 17px 32px;
  background: linear-gradient(135deg, #009fe3 0%, #0081bb 100%);
  color: #ffffff;
  font-size: 17.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px rgba(0, 159, 227, 0.4);
  margin-top: 6px;
  -webkit-font-smoothing: antialiased;
}

.mrd-hero-submit-btn:hover {
  background-color: #0081bb;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 159, 227, 0.45);
}

.mrd-hero-submit-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.mrd-hero-submit-btn:hover svg {
  transform: translateX(4px);
}

/* Sub note under form */
.mrd-hero-form-note {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Success Message Alert */
.mrd-hero-success-state {
  display: none;
  text-align: center;
  padding: 24px 16px;
  background: #f0fdf4;
  border: 2px solid #22c55e;
  border-radius: 12px;
}

.mrd-hero-success-state.active {
  display: block;
}

.mrd-hero-success-icon {
  width: 52px;
  height: 52px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  font-size: 26px;
}

.mrd-hero-success-title {
  font-size: 20px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 6px;
}

.mrd-hero-success-desc {
  font-size: 15px;
  color: #166534;
}
