/* 
    Resurge™ High-Converting Premium Design System (resurge-8 - CRO Overhaul Theme)
    Optimized for ClickBank physical offers & Google Ads traffic (US Market ROI Focus)
*/

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Rubik:wght@400;500;600;700;800&display=swap");

:root {
  --resurgeNavy: #0b1942;
  --resurgeBlue: #132a74;
  --resurgeCyan: #0094d8;
  --resurgeGold: #ffd700;
  --resurgeOrange: #ff6b00;
  --resurgeGreen: #00e676;
  --resurgeDark: #0f172a;
  --resurgeBg: #f8fafc;
  --textDark: #1e293b;
  --textGray: #475569;
}

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

body {
  font-family: 'Plus Jakarta Sans', 'Rubik', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--textDark);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, .title-font {
  font-family: 'Oswald', 'Rubik', sans-serif;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 0.3px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Section */
header {
  background: rgba(196, 220, 235, 0.4);
  padding: 18px 0;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

header img {
  max-width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  background-image: url("assets/couple.jpg"), linear-gradient(180deg, #0094d8 0%, #132a74 100%);
  background-size: cover, auto;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  color: #ffffff;
  padding: 45px 0 60px;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 3.4rem;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.85rem;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 700;
}

.hero-subtitle span {
  background-color: var(--resurgeGold);
  color: var(--resurgeNavy);
  padding: 3px 12px;
  border-radius: 4px;
}

.hero-thumbnail-wrapper {
  max-width: 640px;
  margin: 0 auto 15px;
  border: 3px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-thumbnail-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.5);
}

.hero-thumbnail {
  width: 100%;
  display: block;
  height: auto;
}

.disclaimer-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-top: 8px;
}

/* Section Header */
.section-title {
  font-size: 2.5rem;
  color: var(--resurgeBlue);
  text-align: center;
  margin: 45px 0 30px;
  font-weight: 700;
}

/* Pricing Section */
.pricing-section {
  padding: 30px 0 50px;
  background-color: #ffffff;
}

.packages-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto;
}

.package-card {
  flex: 1;
  max-width: 337px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-8px);
}

.package-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.ribbon-bottom {
  max-width: 611px;
  width: 100%;
  display: block;
  margin: 30px auto 0;
}

/* Guarantee Section */
.guarantee-section {
  background-color: var(--resurgeCyan);
  padding: 45px 0;
  color: #ffffff;
}

.guarantee-grid {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
}

.guarantee-badge {
  width: 220px;
  flex-shrink: 0;
}

.guarantee-badge img {
  width: 100%;
  height: auto;
}

.guarantee-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #ffffff;
}

/* Content Sections */
.content-section {
  padding: 35px 0;
  border-bottom: 1px solid #e2e8f0;
}

.content-section h2 {
  font-size: 1.85rem;
  color: var(--resurgeBlue);
  margin-bottom: 12px;
}

.content-section p {
  color: var(--textGray);
  font-size: 1.1rem;
  line-height: 1.75;
}

/* FAQ Section */
.faq-section {
  padding: 55px 0;
  background-color: var(--resurgeBg);
}

.faq-title {
  font-size: 2.6rem;
  color: var(--resurgeBlue);
  text-align: center;
  margin-bottom: 35px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.faq-header {
  padding: 20px 25px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--resurgeCyan);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  transition: background 0.2s ease;
}

.faq-header:hover {
  background: #f1f5f9;
}

.faq-body {
  padding: 20px 25px;
  color: var(--textDark);
  font-size: 1.05rem;
  line-height: 1.7;
  border-top: 1px solid #f1f5f9;
  display: none;
  background: #fafafa;
}

.faq-item.active .faq-body {
  display: block;
}

/* Footer Section */
footer {
  background-color: #ffffff;
  padding: 45px 0;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.footer-fda {
  border: 1px solid rgba(10, 10, 10, 0.85);
  padding: 18px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
  border-radius: 8px;
  background: #f8fafc;
}

.references-img {
  max-width: 1080px;
  width: 100%;
  height: auto;
  margin: 20px 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 22px 0;
}

.footer-links a {
  color: var(--resurgeCyan);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.copyright-text {
  font-size: 14px;
  color: var(--textGray);
  margin-top: 15px;
  line-height: 1.6;
}

/* ========================================================================= */
/* 🛑 FIX DELAY BUG & DEFAULT POPUP MODAL STYLES */
/* ========================================================================= */

.nenmodal2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.55) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  z-index: 999998;
  display: none !important;
  opacity: 0;
  transition: opacity 300ms ease;
}

.ndmodal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 999999;
  width: 530px;
  max-width: 92vw;
  display: none !important;
  opacity: 0;
  overflow: visible !important;
  transition: transform 300ms ease, opacity 300ms ease;
}

.nenmodal.active .nenmodal2 {
  display: block !important;
  opacity: 1 !important;
}

.nenmodal.active .ndmodal {
  display: block !important;
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}
