/* ========================================================================
   FULL EMERGENCY — Landing Page Styles
   Converted from Figma design (React/Tailwind → vanilla CSS)
   ======================================================================== */

/* ----- Reset & Base ----- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-red: #ca2828;
  --brand-red-dark: #b02323;
  --brand-black: #0e0e0e;
  --brand-white: #edeeee;
  --text-muted: #666666;
  --border-color: #d0d0d0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--brand-black);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ----- Utility ----- */
.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Animations ----- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 10px 30px rgba(202,40,40,0.5), 0 0 20px rgba(202,40,40,0.3), inset 0 1px 0 rgba(255,255,255,0.2); }
  50%      { box-shadow: 0 10px 40px rgba(202,40,40,0.7), 0 0 30px rgba(202,40,40,0.5), inset 0 1px 0 rgba(255,255,255,0.2); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================================
   CTA BUTTON (shared)
   ======================================================================== */
.cta-btn {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(202,40,40,0.5), 0 0 20px rgba(202,40,40,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 0.5px;
}

.cta-btn:hover {
  background: var(--brand-red-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(202,40,40,0.6), 0 0 30px rgba(202,40,40,0.4);
}

.cta-btn--white {
  background: #fff;
  color: var(--brand-red);
  box-shadow: 0 10px 30px rgba(255,255,255,0.3), 0 0 20px rgba(255,255,255,0.2);
}

.cta-btn--white:hover {
  background: #f0f0f0;
  box-shadow: 0 15px 40px rgba(255,255,255,0.4), 0 0 30px rgba(255,255,255,0.3);
}

.cta-btn--block {
  display: block;
  width: 100%;
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
  position: relative;
  padding: 80px 20px 80px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 0, 0, 0.01);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1152px;
  margin: 0 auto;
  width: 100%;
}

.hero__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 32px;
  align-items: center;
}

/* Hero left */
.hero__text h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero__text h1 .bold {
  font-weight: 700;
}

.hero__text h1 .red {
  font-weight: 800;
  color: var(--brand-red);
}

.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero__badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.hero__badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.hero__badge-item svg {
  color: var(--brand-red);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Hero right */
.hero__right {
  position: relative;
}

.hero__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.hero__logo img {
  height: 56px;
  width: auto;
}

.hero__video-label {
  text-align: center;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.hero__video-wrapper {
  position: relative;
}

.hero__video-glow {
  position: absolute;
  inset: -4px;
  background: linear-gradient(to right, rgba(255,255,255,0.4), rgba(255,255,255,0.6), rgba(255,255,255,0.4));
  border-radius: 16px;
  filter: blur(16px);
  opacity: 0.75;
  transition: opacity 0.3s;
}

.hero__video-wrapper:hover .hero__video-glow {
  opacity: 1;
}

.hero__video {
  position: relative;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  aspect-ratio: 16/9;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.hero__video:hover {
  transform: scale(1.02);
}

.hero__video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(202,40,40,0.1), transparent);
}

.hero__video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 33%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
}

.hero__play-icon {
  position: relative;
  z-index: 2;
  color: #fff;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.hero__play-icon svg {
  width: 60px;
  height: 60px;
  fill: #fff;
}

/* ========================================================================
   BENEFITS SECTION (dark bg)
   ======================================================================== */
.benefits {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
}

.benefits__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.benefits__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.7);
}

.benefits__content {
  position: relative;
  z-index: 2;
  max-width: 1152px;
  margin: 0 auto;
}

.benefits__title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 48px;
}

.benefits__title span {
  color: var(--brand-red);
  font-weight: 800;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-card {
  background: var(--brand-red);
  border-radius: 12px;
  border-left: 4px solid #fff;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  box-shadow: 0 10px 30px rgba(202,40,40,0.3), 0 0 20px rgba(202,40,40,0.2);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-card svg {
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  width: 24px;
  height: 24px;
}

.benefit-card p {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ========================================================================
   ABOUT SECTION
   ======================================================================== */
.about {
  padding: 80px 20px;
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__highlight {
  background: var(--brand-red);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.about__highlight p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #fff;
}

.about__highlight strong {
  font-weight: 700;
}

.about__text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--brand-black);
  margin-bottom: 20px;
}

.about__tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-top: 32px;
}

.about__mockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__mockup-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  background: rgba(170,57,44,0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #AA392C;
}

.about__mockup-placeholder span {
  color: var(--brand-black);
  font-size: 1.5rem;
  font-weight: 700;
}

/* ========================================================================
   CONTENT / TOPICS SECTION (dark bg)
   ======================================================================== */
.topics {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
}

.topics__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.topics__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topics__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.7);
}

.topics__content {
  position: relative;
  z-index: 2;
  max-width: 1152px;
  margin: 0 auto;
}

.topics__title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 48px;
}

.topics__title span {
  font-weight: 800;
}

.topics__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.topics-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.topics-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 24px;
  text-align: center;
}

.topics-card ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topics-card li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--brand-black);
  line-height: 1.5;
}

.topics-card__icon {
  background: var(--brand-red);
  border-radius: 50%;
  padding: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.topics-card__icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.topics__cta {
  text-align: center;
}

/* ========================================================================
   AUTHORITY SECTION
   ======================================================================== */
.authority {
  padding: 80px 20px;
  background: #fff;
}

.authority__title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 300;
  color: var(--brand-black);
  margin-bottom: 48px;
}

.authority__title span {
  color: var(--brand-red);
  font-weight: 800;
}

.authority__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.authority-card {
  background: var(--brand-red);
  border-radius: 12px;
  padding: 24px;
}

.authority-card h3 {
  margin-bottom: 12px;
  color: #fff;
}

.authority-card h3 .label {
  font-size: 0.85rem;
  font-weight: 300;
  display: block;
}

.authority-card h3 .name {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
}

.authority-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.authority-card li {
  color: #fff;
  font-size: 0.85rem;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.authority-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1rem;
  color: #fff;
}

.authority__image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.authority__image img {
  width: 90%;
  height: auto;
  border-radius: 8px;
}

/* ========================================================================
   OFFER / TESTIMONIALS SECTION (dark bg)
   ======================================================================== */
.offer {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.offer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.offer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.7);
}

.offer__content {
  position: relative;
  z-index: 2;
  max-width: 1152px;
  margin: 0 auto;
}

.offer__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 40px;
}

.offer__testimonials {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.testimonial-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  width: 320px;
  padding: 32px;
  font-style: italic;
  color: var(--text-muted);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

/* Pricing box */
.pricing-box {
  position: relative;
  background: var(--brand-red);
  border-radius: 16px;
  padding: 48px;
  max-width: 640px;
  margin: 64px auto 0;
  box-shadow: 0 20px 60px rgba(202,40,40,0.4), 0 0 20px rgba(202,40,40,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}

.pricing-box__inner {
  position: relative;
  z-index: 2;
}

.pricing-box__desc {
  font-weight: 700;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 20px;
  line-height: 1.5;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.pricing-box__old-price {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: rgba(255,255,255,0.7);
}

.pricing-box__label {
  font-size: 1.15rem;
  margin-top: 12px;
  font-weight: 600;
  color: #fff;
}

.pricing-box__price {
  font-size: clamp(2.8rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin: 20px 0;
  filter: drop-shadow(0 2px 10px rgba(255,255,255,0.3));
}

.pricing-box__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.pricing-box__guarantee svg {
  color: #fff;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  width: 40px;
  height: 40px;
}

.pricing-box__guarantee p {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ========================================================================
   FAQ SECTION
   ======================================================================== */
.faq {
  padding: 80px 20px;
  background: #fff;
}

.faq__title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 300;
  color: var(--brand-black);
  margin-bottom: 48px;
}

.faq__title span {
  color: var(--brand-red);
  font-weight: 800;
}

.faq__list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--brand-white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-item__question {
  width: 100%;
  padding: 20px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-black);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s;
}

.faq-item__question:hover {
  background: #fff;
}

.faq-item__toggle {
  color: var(--brand-red);
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq-item.active .faq-item__toggle {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 20px 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: var(--brand-black);
  text-align: center;
  padding: 40px 20px;
  color: #fff;
  font-size: 0.85rem;
}

.footer p {
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.footer__links a {
  color: #999;
  transition: color 0.3s;
}

.footer__links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer__links .separator {
  color: #999;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    order: 2;
  }

  .hero__right {
    order: 1;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero .cta-btn {
    margin: 0 auto;
  }

  .benefits__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__mockup {
    order: -1;
  }

  .topics__grid {
    grid-template-columns: 1fr;
  }

  .authority__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .authority__image {
    order: -1;
  }

  .authority__image img {
    width: 60%;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 16px 60px;
    min-height: auto;
  }

  .hero__text h1 {
    font-size: 1.8rem;
  }

  .hero__logo img {
    height: 40px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
  }

  .offer__testimonials {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-card {
    width: 100%;
    max-width: 360px;
  }

  .pricing-box {
    padding: 32px 24px;
  }

  .pricing-box__guarantee {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer__links {
    flex-direction: column;
    gap: 4px;
  }

  .footer__links .separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__text h1 {
    font-size: 1.5rem;
  }

  .hero__badges {
    grid-template-columns: 1fr;
  }

  .cta-btn {
    font-size: 0.9rem;
    padding: 14px 28px;
  }
}
