/* ============================================================
   BLOGVITALS — HOMEPAGE STYLES (index.html)
   Hero, logo bar, benefits, testimonials
   ============================================================ */

/* ===== HERO ===== */
.hero {
  background: var(--dark);
  padding: 70px 5% 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, #00B49B1a 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, #F15A3015 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #ffffff07 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-block; background: var(--teal); color: var(--dark);
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 24px;
}
.hero h1 {
  font-family: 'Titan One', cursive;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .highlight-teal   { color: var(--teal); }
.hero h1 .highlight-orange { color: var(--orange); }
.hero p {
  font-size: 17px; line-height: 1.7; color: var(--grey);
  margin-bottom: 36px; font-weight: 300; max-width: 460px;
}
.hero-form {
  display: flex; max-width: 500px;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 3px var(--teal), 0 20px 60px #00000050;
  margin-bottom: 14px;
}
.hero-form input {
  flex: 1; padding: 17px 20px;
  font-family: 'DM Sans', sans-serif; font-size: 14px;
  background: #1c2025; border: none; color: var(--white); outline: none;
}
.hero-form input::placeholder { color: #555d65; }
.hero-form button {
  padding: 17px 26px; background: var(--orange); color: var(--white);
  border: none; font-family: 'Titan One', cursive; font-size: 14px;
  cursor: pointer; white-space: nowrap; transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.3px;
}
.hero-form button:hover  { background: #d94d25; }
.hero-form button:active { transform: scale(0.98); }
.hero-form-note { font-size: 12px; color: #4a5260; }

/* Hero image side */
.hero-right {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px #00000070, 0 0 0 2px #00B49B40;
  animation: floatImg 5s ease-in-out infinite;
}
.hero-image-wrap img {
  width: 100%;
  max-width: 520px;
  display: block;
  border-radius: 24px;
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  bottom: -30px; left: 10%; right: 10%;
  height: 40px;
  background: var(--teal);
  filter: blur(30px);
  opacity: 0.4;
  z-index: -1;
  border-radius: 50%;
}

/* Hero entry animations */
.hero-left > * { animation: fadeUp 0.6s ease both; }
.hero-tag        { animation-delay: 0.1s; }
.hero h1         { animation-delay: 0.2s; }
.hero p          { animation-delay: 0.3s; }
.hero-form       { animation-delay: 0.4s; }
.hero-form-note  { animation-delay: 0.45s; }
.hero-right      { animation: fadeUp 0.8s 0.3s ease both; }

/* ===== LOGO BAR ===== */
.logo-bar {
  background: var(--white); padding: 44px 5%;
  border-bottom: 2px solid #ece9e2;
}
.logo-bar-label {
  text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; color: var(--grey);
  margin-bottom: 32px;
}
.logo-row {
  display: flex; justify-content: center; align-items: center;
  gap: 40px; flex-wrap: wrap;
}
.brand-logo-item {
  opacity: 0.45; transition: opacity 0.2s; filter: grayscale(100%);
  display: flex; align-items: center;
}
.brand-logo-item:hover { opacity: 0.85; filter: grayscale(0%); }
.brand-logo-item svg { display: block; }

/* ===== BENEFITS ===== */
.benefits-section { background: var(--light); padding: 90px 5%; }
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.benefit-card {
  background: var(--white); border-radius: 16px; padding: 30px 24px;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative; overflow: hidden;
}
.benefit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.benefit-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 16px 40px #00B49B18; }
.benefit-card:hover::before { transform: scaleX(1); }
.benefit-card:nth-child(4n+2):hover { border-color: var(--orange); box-shadow: 0 16px 40px #F15A3018; }
.benefit-card:nth-child(4n+2)::before { background: var(--orange); }
.benefit-icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.benefit-card:nth-child(1) .benefit-icon { background: var(--teal-light); }
.benefit-card:nth-child(2) .benefit-icon { background: var(--orange-light); }
.benefit-card:nth-child(3) .benefit-icon { background: #EEF0FF; }
.benefit-card:nth-child(4) .benefit-icon { background: #FFF8E6; }
.benefit-card:nth-child(5) .benefit-icon { background: #F0FFF8; }
.benefit-card:nth-child(6) .benefit-icon { background: var(--orange-light); }
.benefit-card:nth-child(7) .benefit-icon { background: var(--teal-light); }
.benefit-card:nth-child(8) .benefit-icon { background: #F5EEFF; }
.benefit-card h3 { font-family: 'Titan One', cursive; font-size: 15px; margin-bottom: 8px; color: var(--dark); }
.benefit-card p  { font-size: 13.5px; line-height: 1.6; color: #6b7280; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--dark); padding: 90px 5%; overflow: hidden; }
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-tag   { color: var(--teal); }
.slider-track   { position: relative; max-width: 860px; margin: 0 auto; }
.slides-container { overflow: hidden; border-radius: 20px; }
.slides-inner   { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.slide {
  min-width: 100%; padding: 52px 56px;
  background: #1a1f24; border: 1.5px solid #2a3038; border-radius: 20px; position: relative;
}
.slide::before {
  content: '"'; position: absolute; top: 20px; left: 42px;
  font-family: 'Titan One', cursive; font-size: 110px; line-height: 1;
  color: var(--teal); opacity: 0.18;
}
.slide-quote {
  font-size: 19px; line-height: 1.65; color: #d1d5db; margin-bottom: 36px;
  font-weight: 300; position: relative; z-index: 1;
}
.slide-quote strong { color: var(--teal); font-weight: 600; }
.slide-author  { display: flex; align-items: center; gap: 16px; }
.author-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Titan One', cursive; font-size: 16px; color: var(--white); flex-shrink: 0;
}
.author-name { font-family: 'Titan One', cursive; font-size: 15px; color: var(--white); margin-bottom: 2px; }
.author-role { font-size: 13px; color: #6b7280; }
.slider-controls {
  display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 36px;
}
.slider-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid #2a3038;
  background: transparent; color: var(--grey); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.slider-btn:hover { border-color: var(--teal); color: var(--teal); background: #00B49B10; }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2a3038;
  cursor: pointer; transition: all 0.2s; border: none;
}
.slider-dot.active { background: var(--teal); width: 24px; border-radius: 4px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; text-align: center; }
  .hero p           { margin-left: auto; margin-right: auto; }
  .hero-form        { margin-left: auto; margin-right: auto; }
  .hero-form-note   { text-align: center; }
  .hero-right       { margin-top: 10px; }
  .benefits-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .benefits-grid  { grid-template-columns: 1fr; }
  .hero-form      { flex-direction: column; border-radius: 14px; }
  nav ul          { gap: 20px; }
  .slide          { padding: 36px 28px; }
}
