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

:root {
  --bg-primary: #040d1a;
  --bg-secondary: #07162c;
  --accent-teal: #00C9A7;
  --accent-blue: #0072ff;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --card-bg: rgba(15, 32, 56, 0.6);
  --card-border: rgba(30, 58, 95, 0.4);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --max-width: 1200px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Glowing Orbs */
body::before, body::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.3;
  pointer-events: none;
}

body::before {
  top: 10%;
  left: -50px;
  background: var(--accent-teal);
}

body::after {
  bottom: 20%;
  right: -50px;
  background: var(--accent-blue);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--accent-teal);
}

/* Glassmorphism Card */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-teal) 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-weight: 300;
}

/* Bullets */
.bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.bullet-icon {
  color: var(--accent-teal);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 201, 167, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* Forms (Custom overrides for embedded GHL forms) */
.form-container {
  margin-top: 30px;
  position: relative;
}

/* Loading skeleton for GHL iframe */
.form-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background: var(--bg-secondary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  z-index: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Hide loading screen when form is loaded */
.form-loaded .form-loading {
  opacity: 0;
}

/* VSL Layout */
.vsl-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  background: #000;
  margin-bottom: 40px;
}

.video-container iframe, 
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Dynamic Offer Area */
.offer-area {
  margin-top: 40px;
  display: none; /* Controlled by JS delay */
  animation: fadeInUp 0.8s forwards ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.package-card {
  background: rgba(7, 22, 44, 0.8);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-teal);
  box-shadow: 0 10px 20px rgba(0, 201, 167, 0.1);
}

.package-tag {
  background: rgba(0, 201, 167, 0.15);
  color: var(--accent-teal);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  align-self: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.package-price {
  font-size: 2.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--accent-teal);
  margin-bottom: 15px;
}

.package-price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.package-features {
  list-style: none;
  text-align: left;
  margin-bottom: 30px;
}

.package-features li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: bold;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, #00a887 100%);
  color: #040d1a;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 201, 167, 0.3);
  width: 100%;
  max-width: 400px;
}

.btn-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px rgba(0, 201, 167, 0.4);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Thanks page specific styles */
.thanks-wrapper {
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--accent-teal);
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(0, 201, 167, 0.1);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  line-height: 100px;
  text-align: center;
}

.thanks-box {
  margin: 30px 0;
  padding: 30px;
  background: rgba(7, 22, 44, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  text-align: left;
}

.thanks-box h3 {
  margin-bottom: 15px;
}

.thanks-box ul {
  list-style: none;
}

.thanks-box li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.thanks-box li::before {
  content: '🐋';
  position: absolute;
  left: 0;
  font-size: 0.9rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 60px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-top: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .glass-card {
    padding: 30px 20px;
  }
  
  .bullets {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
}
