/* ===================================================
   Hero Event App Portfolio - Premium Redesign
   =================================================== */
* {
  box-sizing: border-box;
}
/* ---------- SHARED TOKENS ---------- */
:root {
  --hpf-navy:     #060c1d;
  --hpf-deep:     #0d1b3e;
  --hpf-blue:     #1a3a8f;
  --hpf-accent:   #e8a83e;
  --hpf-accent2:  #ff6b35;
  --hpf-white:    #ffffff;
  --hpf-light:    #f4f6fb;
  --hpf-muted:    #8895b3;
  --hpf-border:   rgba(255,255,255,0.08);
  --hpf-radius:   16px;
  --hpf-shadow:   0 20px 60px rgba(6, 12, 29, 0.35);
  --hpf-font:     'Raleway', sans-serif;
}

.hpf-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hpf-accent);
  margin-bottom: 14px;
}
.hpf-section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--hpf-accent);
}
.hpf-section-label--light { color: var(--hpf-accent); }

/* ===================================================
   SECTION 1 — HERO BANNER
   =================================================== */
.hpf-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: var(--hpf-font);
  width: 100%;
}

.hpf-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hpf-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.7);
}
.hpf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(6,12,29,0.66) 0%,
    rgba(13,27,62,0.68) 55%,
    rgba(26,58,143,0.25) 100%
  );
}

/* Decorative grid lines */
.hpf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.hpf-hero > .container { position: relative; z-index: 2; padding: 100px 15px; }

.hpf-hero__badge {
  display: inline-block;
  background: rgba(232,168,62,0.15);
  border: 1px solid rgba(232,168,62,0.4);
  color: var(--hpf-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}

.hpf-hero__title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--hpf-white);
  margin-bottom: 22px;
  font-family: var(--hpf-font);
}
.hpf-hero__title span {
  background: linear-gradient(135deg, var(--hpf-accent) 0%, var(--hpf-accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hpf-hero__desc {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 36px;
}

.hpf-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--hpf-accent) 0%, var(--hpf-accent2) 100%);
  color: var(--hpf-navy);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 28px rgba(232,168,62,0.35);
}
.hpf-hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(232,168,62,0.5);
  color: var(--hpf-navy);
  text-decoration: none;
}

/* Info cards */
.hpf-hero__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 30px;
}

.hpf-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hpf-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--hpf-radius);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.hpf-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--hpf-accent), var(--hpf-accent2));
  border-radius: 3px 0 0 3px;
}
.hpf-card:hover {
  border-color: rgba(232,168,62,0.3);
  transform: translateX(4px);
}

.hpf-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--hpf-muted);
}
.hpf-card__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--hpf-white);
  line-height: 1.4;
}

/* ===================================================
   SECTION 2 — ABOUT
   =================================================== */
.hpf-about {
  background: var(--hpf-light);
  padding: 100px 0 80px;
  font-family: var(--hpf-font);
  position: relative;
  overflow: hidden;
}

.hpf-about::after {
  content: 'HERO';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 180px;
  font-weight: 900;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hpf-section-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--hpf-navy);
  margin-bottom: 28px;
  line-height: 1.15;
  font-family: var(--hpf-font);
  position: relative;
}
.hpf-section-title--light { color: var(--hpf-white); }

.hpf-about__text {
  position: relative;
  z-index: 1;
}
.hpf-about__text p {
  font-size: 16px;
  line-height: 1.85;
  color: #4a5568;
  margin-bottom: 18px;
}
.hpf-about__text p:first-child::first-letter {
  font-size: 52px;
  font-weight: 900;
  color: var(--hpf-accent);
  float: left;
  line-height: 0.8;
  padding-right: 10px;
  padding-top: 8px;
}

/* App screenshots */
.hpf-about__screens {
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.hpf-screen-wrap {
  position: relative;
  text-align: center;
}
.hpf-screen-wrap::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 30px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.18) 0%, transparent 70%);
  filter: blur(6px);
  z-index: -1;
}
.hpf-screen-wrap img {
  width: 100%;
  max-width: 180px;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(6,12,29,0.18);
  transition: transform 0.35s, box-shadow 0.35s;
}
.hpf-screen-wrap:nth-child(even) img { transform: translateY(20px); }
.hpf-screen-wrap img:hover {
  transform: translateY(-8px) scale(1.04) !important;
  box-shadow: 0 36px 80px rgba(6,12,29,0.28);
}

/* ===================================================
   SECTION 3 — CHALLENGES
   =================================================== */
.hpf-challenges {
  background: var(--hpf-navy);
  padding: 100px 0;
  font-family: var(--hpf-font);
  position: relative;
  overflow: hidden;
}

/* Glowing orb decoration */
.hpf-challenges::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,58,143,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.hpf-challenges::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,62,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hpf-challenges > .container { position: relative; z-index: 1; }

.hpf-challenges__img-wrap {
  position: relative;
  padding: 0 30px 30px 0;
}
.hpf-challenges__img-wrap img {
  width: 100%;
  border-radius: var(--hpf-radius);
  display: block;
  position: relative;
  z-index: 2;
}
.hpf-challenges__img-wrap::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -20px;
  right: 10px;
  bottom: 10px;
  border: 2px solid rgba(232,168,62,0.25);
  border-radius: var(--hpf-radius);
  z-index: 1;
}
.hpf-challenges__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--hpf-accent), var(--hpf-accent2));
  border-radius: 50%;
  z-index: 3;
  opacity: 0.18;
}

/* Challenge items */
.hpf-challenge-item {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
  align-items: flex-start;
}

.hpf-challenge-item__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: rgba(232,168,62,0.1);
  border: 1px solid rgba(232,168,62,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--hpf-accent);
  line-height: 1;
}

.hpf-challenge-item__content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--hpf-white);
  margin: 0 0 10px;
  line-height: 1.4;
}
.hpf-challenge-item__content p {
  font-size: 14px;
  color: var(--hpf-muted);
  line-height: 1.8;
  margin: 0;
}

/* Testimonial */
.hpf-testimonial {
  margin-top: 70px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hpf-border);
  border-left: 4px solid var(--hpf-accent);
  border-radius: var(--hpf-radius);
  padding: 44px 50px 44px 54px;
  position: relative;
}

.hpf-testimonial__quote {
  position: absolute;
  top: -10px;
  left: 44px;
  font-size: 100px;
  line-height: 1;
  color: var(--hpf-accent);
  opacity: 0.25;
  font-family: Georgia, serif;
  pointer-events: none;
}

.hpf-testimonial__text {
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}

.hpf-testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hpf-testimonial__author img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--hpf-white);
  border-radius: 12px;
  padding: 8px;
}
.hpf-testimonial__author span {
  font-size: 14px;
  font-weight: 700;
  color: var(--hpf-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===================================================
   SECTION 4 — RESULTS
   =================================================== */
.hpf-results {
  background: var(--hpf-white);
  padding: 100px 0;
  font-family: var(--hpf-font);
  position: relative;
  overflow: hidden;
}

.hpf-results::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hpf-accent), var(--hpf-accent2), var(--hpf-blue));
}

.hpf-results .hpf-section-title { color: var(--hpf-navy); }

.hpf-results__desc {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-top: 16px;
}

/* Rating cards */
.hpf-ratings {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hpf-rating-card {
  flex: 1;
  min-width: 160px;
  background: var(--hpf-light);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 20px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hpf-rating-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hpf-accent), var(--hpf-accent2));
  border-radius: 3px 3px 0 0;
}
.hpf-rating-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--hpf-shadow);
  border-color: transparent;
}

.hpf-rating-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}

.hpf-rating-card__score {
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--hpf-accent) 0%, var(--hpf-accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hpf-rating-card__platform {
  font-size: 12px;
  font-weight: 700;
  color: var(--hpf-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hpf-rating-card__stars {
  color: var(--hpf-accent);
  font-size: 16px;
  letter-spacing: 3px;
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991px) {
  .hpf-hero__title { font-size: 38px; }
  .hpf-hero__cards { padding-left: 0; margin-top: 40px; }
  .hpf-challenges__img-wrap { margin-bottom: 50px; }
  .hpf-ratings { justify-content: center; }
}

@media (max-width: 767px) {
  .hpf-hero > .container { padding: 70px 15px; }
  .hpf-hero__title { font-size: 30px; }
  .hpf-section-title { font-size: 28px; }
  .hpf-about, .hpf-challenges, .hpf-results { padding: 60px 0; }
  .hpf-about__screens { gap: 0; }
  .hpf-screen-wrap:nth-child(even) img { transform: none; }
  .hpf-testimonial { padding: 36px 24px; }
  .hpf-testimonial__text { font-size: 16px; }
  .hpf-ratings { flex-direction: column; }
  .hpf-rating-card { min-width: unset; flex-direction: row; text-align: left; padding: 20px 24px; gap: 16px; }
  .hpf-rating-card img { width: 50px; height: 50px; }
  .hpf-rating-card__score { font-size: 28px; }
}

/* ===================================================
   IVOCLAR PORTFOLIO — App Preview / Platform Cards / Contact
   =================================================== */


/* ---------- SHARED LABEL ---------- */
.ivc-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--hpf-blue);
  margin-bottom: 14px;
}
.ivc-section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--hpf-blue);
}

/* ---------- APP PREVIEW ---------- */
.ivc-preview {
  background: #f4f7ff;
  padding: 80px 0;
  font-family: var(--hpf-font);
}

.ivc-preview__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.ivc-preview__img-col {
  text-align: center;
  padding: 20px;
}

.ivc-preview__img {
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(6, 12, 29, 0.14);
  max-width: 340px;
  margin: 0 auto;
  transition: transform 0.35s, box-shadow 0.35s;
}
.ivc-preview__img:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 90px rgba(6, 12, 29, 0.2);
}

.ivc-preview__content {
  padding: 30px 24px;
}

.ivc-preview__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--hpf-navy);
  margin: 0 0 16px;
  line-height: 1.2;
  font-family: var(--hpf-font);
}

.ivc-preview__text {
  font-size: 15px;
  color: #627792;
  line-height: 1.85;
  margin-bottom: 22px;
}

.ivc-preview__steps {
  padding-left: 20px;
  color: #627792;
  font-size: 14px;
  line-height: 2.2;
  margin-bottom: 28px;
}
.ivc-preview__steps li + li { margin-top: 4px; }
.ivc-preview__steps strong { color: var(--hpf-navy); }

.ivc-preview__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hpf-navy);
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 24px rgba(6, 12, 29, 0.2);
}
.ivc-preview__btn i { font-size: 18px; }
.ivc-preview__btn:hover {
  background: var(--hpf-blue);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(26, 58, 143, 0.35);
}

/* ---------- PLATFORM CARDS ---------- */
.ivc-platforms {
  background: #fff;
  padding: 80px 0;
  font-family: var(--hpf-font);
  position: relative;
}
.ivc-platforms::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: #edf0f8;
}

.ivc-platforms__header {
  text-align: center;
  margin-bottom: 50px;
}

.ivc-platforms__title {
  font-size: 34px;
  font-weight: 900;
  color: var(--hpf-navy);
  margin: 0 0 10px;
  font-family: var(--hpf-font);
  line-height: 1.2;
}

.ivc-platforms__subtitle {
  font-size: 15px;
  color: #627792;
  margin: 0;
}

.ivc-platforms__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0 auto;
}

.ivc-platform-card {
  flex: 1;
  min-width: 260px;
  max-width: 340px;
  background: #f7f9ff;
  border: 1px solid #e4eaf7;
  border-radius: 18px;
  padding: 44px 32px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: block;
  text-decoration: none;
}
.ivc-platform-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hpf-blue), var(--hpf-accent));
  border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.ivc-platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 60px rgba(6, 12, 29, 0.1);
  border-color: transparent;
  text-decoration: none;
}
.ivc-platform-card:hover::after { opacity: 1; }

.ivc-platform-card__img {
  max-width: 72px;
  margin: 0 auto 20px;
  display: block;
  transition: transform 0.3s;
}
.ivc-platform-card:hover .ivc-platform-card__img { transform: scale(1.08); }

.ivc-platform-card__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--hpf-navy);
  margin: 0 0 10px;
  font-family: var(--hpf-font);
}

.ivc-platform-card__desc {
  font-size: 13px;
  color: #627792;
  line-height: 1.7;
  margin: 0;
}

/* ---------- CONTACT / CTA ---------- */
.ivc-contact {
  background: linear-gradient(135deg, var(--hpf-navy) 0%, var(--hpf-blue) 100%);
  padding: 90px 0;
  font-family: var(--hpf-font);
  position: relative;
  overflow: hidden;
}
.ivc-contact::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,168,62,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.ivc-contact::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -100px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.ivc-contact > .container { position: relative; z-index: 1; }

.ivc-contact__header {
  text-align: center;
  margin-bottom: 44px;
}

.ivc-contact__icon {
  width: 62px;
  height: 62px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.ivc-contact__icon i {
  font-size: 22px;
  color: var(--hpf-accent);
}

.ivc-contact__title {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px;
  font-family: var(--hpf-font);
  line-height: 1.2;
}

.ivc-contact__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.68);
  margin: 0;
}

.ivc-contact__card {
  background: #fff;
  border-radius: 22px;
  padding: 46px 42px;
  box-shadow: 0 36px 90px rgba(6, 12, 29, 0.3);
}

.ivc-form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--hpf-navy);
  margin-bottom: 7px;
}

.ivc-form-control {
  border-radius: 10px !important;
  border: 1.5px solid #dde3ef !important;
  padding: 11px 15px !important;
  font-size: 14px !important;
  color: var(--hpf-navy) !important;
  height: auto !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fafbff !important;
  box-sizing: border-box !important;
}
.ivc-form-control:focus {
  border-color: var(--hpf-blue) !important;
  box-shadow: 0 0 0 3px rgba(26, 58, 143, 0.1) !important;
  background: #fff !important;
  outline: none;
}
textarea.ivc-form-control { resize: vertical; }

.ivc-btn-submit {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--hpf-navy) 0%, var(--hpf-blue) 100%);
  color: #fff !important;
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  letter-spacing: 0.5px;
  margin-top: 6px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 22px rgba(6, 12, 29, 0.2);
}
.ivc-btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(6, 12, 29, 0.3);
  color: #fff !important;
}

/* ---------- IVC RESPONSIVE ---------- */
@media (max-width: 991px) {
  .ivc-preview__img-col { margin-bottom: 30px; }
  .ivc-contact__card { padding: 36px 28px; }
}
@media (max-width: 767px) {
  .ivc-preview,
  .ivc-platforms,
  .ivc-contact { padding: 56px 0; }
  .ivc-preview__title,
  .ivc-platforms__title,
  .ivc-contact__title { font-size: 24px; }
  .ivc-platforms__grid { flex-direction: column; align-items: center; }
  .ivc-platform-card { max-width: 100%; min-width: unset; width: 100%; }
  .ivc-contact__card { padding: 28px 20px; }
}
