/* 
  High Conversion Redesign 
  Focus: Mobile First, Clean, Dark & Green 
*/

:root {
  --primary-green: #25D366;
  /* WhatsApp Green */
  --primary-green-hover: #1da851;
  --bg-dark: #0a0a0a;
  --bg-card: #18181b;
  --text-white: #ffffff;
  --text-gray: #a1a1aa;
  --accent-red: #ff3b30;
  --font-main: 'Inter', sans-serif;
  --container-max: 600px;
  /* Kept narrow for focus reading like a letter/app */
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-top: 0;
  /* Removed fixed header spacing */
}

/* Urgency Header */
.urgency-header {
  position: relative;
  /* Scrolls with page */
  top: auto;
  left: auto;
  width: 100%;
  background-color: var(--accent-red);
  color: white;
  text-align: center;
  padding: 10px 0;
  font-weight: 800;
  z-index: 9999;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  /* Subtle shadow only */
  /* Removed outside border simulation */
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Container limits width and adds padding */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Typo Scale */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

p {
  color: var(--text-gray);
  font-size: 1rem;
}

/* --- COMPONENTS --- */

/* Main CTA Button */
.btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-green);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  /* Reduced */
  text-transform: uppercase;
  padding: 14px 20px;
  /* Reduced */
  border-radius: 99px;
  width: 100%;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  /* Added shadow */
  transition: transform 0.2s, background-color 0.2s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-main:hover {
  background-color: var(--primary-green-hover);
  transform: scale(1.02);
}

.btn-icon {
  width: 24px;
  height: 24px;
  /* Removed filter: brightness(0) invert(1); to allow currentColor */
}

/* Pulse Animation */
.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.pulsing-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary-green);
  border-radius: 50%;
  margin-right: 6px;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(37, 211, 102, 0.15);
  color: var(--primary-green);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(37, 211, 102, 0.3);
  margin-bottom: 16px;
  /* Reduced from 24px */
}

/* Sections Common */
section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 40px;
}

.highlight-red {
  color: var(--accent-red);
  text-decoration-line: underline;
  text-decoration-color: rgba(255, 59, 48, 0.5);
  text-emphasis-position: 4px;
}

/* --- HERO SECTION --- */
.hero-section {
  text-align: center;
  padding-top: 15px;
  /* Reduced from 40px */
  padding-bottom: 60px;
  /* Premium radial gradient background */
  background: radial-gradient(circle at center top, #1c1c1e, var(--bg-dark) 70%);
}

.hero-logo {
  max-width: 400px;
  width: 80%;
  max-height: none;
  margin: 0 auto 10px auto;
  /* Reduced from 30px */
}

.headline {
  font-size: 2.5rem;
  /* Big */
  margin-bottom: 20px;
  line-height: 1.1;
}

.subheadline {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #d1d1d6;
}

.cta-wrapper {
  max-width: 400px;
  margin: 0 auto;
}

.microcopy {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

/* --- PROBLEM SECTION --- */
.problem-section {
  background-color: #121212;
  /* Distinct dark grey */
}

.problem-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 20px;
  /* Mobile stacking */
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* --- SOLUTION SECTION --- */
.solution-section {
  background-color: #050505;
  /* Deep Black */
}

.benefit-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefit-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.check-icon {
  font-size: 1.4rem;
}

.benefit-list strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 4px;
}

.mt-large {
  margin-top: 40px;
}

/* --- HOW IT WORKS --- */
.how-it-works-section {
  background-color: #121212;
  /* Matches Problem Section */
}

.steps-row {
  display: flex;
  flex-direction: column;
  /* Mobile Default */
  gap: 20px;
  align-items: center;
}

.step-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.step-circle {
  width: 50px;
  height: 50px;
  background-color: var(--bg-card);
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.step-line {
  /* Vertical line for mobile */
  width: 2px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* --- SOCIAL PROOF --- */
.social-proof-section {
  background-color: #050505;
  /* Matches Solution */
}

.testimonials-grid {
  display: grid;
  gap: 20px;
}

.testimonial-simple {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 16px;
}

.quote {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #e4e4e7;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info strong {
  display: block;
  font-size: 0.9rem;
}

.badget-save {
  font-size: 0.75rem;
  color: var(--primary-green);
  font-weight: 600;
}

/* --- FAQ --- */
.faq-section {
  background-color: #121212;
  /* Matches Problem/How it Works */
}

/* FAQ - Vertical List Design */
.faq-grid {
  display: flex;
  /* Stack vertically */
  flex-direction: column;
  gap: 15px;
  max-width: 700px;
  /* Limit width for readability */
  margin: 0 auto;
  /* Center list */
}

.faq-item {
  background: var(--bg-card);
  padding: 25px 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Subtle border instead of green */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 0;
}

/* Alternating Colors */
/* Alternating Colors */
/* Alternating Colors */
.faq-item:nth-child(1) {
  background: #2a2a2e;
  /* Lightened from 1a1a1a */
  border-left: none;
}

/* Blue */
.faq-item:nth-child(2) {
  background: #252529;
  /* Lightened from 161616 */
  border-left: none;
}

/* Purple */
.faq-item:nth-child(3) {
  background: #202024;
  /* Lightened from 121212 */
  border-left: none;
}

/* Orange */

.faq-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.faq-item:hover {
  transform: translateX(5px);
  /* Slide right instead of up */
  filter: brightness(1.2);
}

/* Remove the old ::before overlay effect */
.faq-item::before {
  display: none;
}

.faq-item h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.5;
  margin-left: 0;
  /* Align with text */
}

/* --- FINAL CTA --- */
/* --- FINAL CTA --- */
.final-cta-section {
  text-align: center;
  padding: 80px 0;
  background-color: #050505;
  /* Matches Social Proof */
}

.big-shadow {
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.5);
}

.headline-small {
  font-size: 2rem;
  margin-bottom: 10px;
}

.final-cta-section p {
  margin-bottom: 30px;
  /* Added spacing */
  color: #d1d1d6;
}

/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 40px 0;
  font-size: 0.8rem;
  color: #444;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-small {
  font-size: 0.7rem;
  margin-top: 10px;
  opacity: 0.5;
}

/* --- MEDIA QUERIES --- */
@media (min-width: 768px) {
  /* Tablet/Desktop Tweaks */

  :root {
    --container-max: 900px;
  }

  .headline {
    font-size: 3.5rem;
  }

  /* Make cards grid */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .problem-card {
    margin-bottom: 0;
    height: 100%;
  }

  .steps-row {
    flex-direction: row;
    justify-content: space-between;
    max-width: 700px;
    margin: 0 auto;
  }

  .step-line {
    width: 60px;
    height: 2px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: none;
    /* Allow grid to expand */
  }
}

/* --- NOTIFICATIONS --- */
#notification-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  pointer-events: none;
}

.notification-toast {
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px 10px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: slideUpFade 0.5s ease forwards, fadeOut 0.5s ease forwards 4.5s;
  max-width: 320px;
}

.toast-avatar {
  min-width: 36px;
  height: 36px;
  background-color: var(--primary-green);
  color: #000;
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-content {
  display: flex;
  flex-direction: column;
}

.toast-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}

.toast-location {
  color: #a1a1aa;
  font-size: 0.75rem;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* --- WHATSAPP PREVIEW --- */
.whatsapp-preview-section {
  background-color: #0b141a;
  /* WhatsApp Web Dark Bg */
  padding-bottom: 80px;
}

.phone-frame {
  max-width: 380px;
  height: 650px;
  margin: 0 auto;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 12px solid #111;
  /* Bezel */
  overflow: hidden;
  position: relative;
  background-color: #0b141a;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  background-size: cover;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.whatsapp-header {
  background-color: #202c33;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.group-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* Removed background and padding */
}

.group-info {
  display: flex;
  flex-direction: column;
}

.group-name {
  color: #e9edef;
  font-weight: 600;
  font-size: 1rem;
}

.group-status {
  color: #8696a0;
  font-size: 0.75rem;
}

.message-bubble {
  background-color: #202c33;
  margin: 20px;
  padding: 4px;
  /* Tight padding for image */
  border-radius: 0 12px 12px 12px;
  position: relative;
  max-width: 320px;
}

/* Tiny triangle */
.message-bubble::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid #202c33;
  border-left: 10px solid transparent;
}

.message-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 4px;
}

.message-content {
  padding: 8px 10px;
  color: #e9edef;
  font-size: 0.9rem;
  line-height: 1.4;
}

.message-content strong {
  font-weight: 700;
}

.message-content em {
  color: #8696a0;
  font-style: italic;
}

.link {
  color: #53bdeb;
  text-decoration: underline;
  word-break: break-all;
}

.message-meta {
  display: flex;
  justify-content: flex-end;
  padding: 0 10px 6px 0;
}

.message-time {
  color: #8696a0;
  font-size: 0.7rem;
}

/* Typing Indicator */
.typing-indicator {
  background-color: #202c33;
  margin: 20px;
  padding: 12px 20px;
  border-radius: 0 12px 12px 12px;
  position: relative;
  display: table;
  width: fit-content;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #8696a0;
  border-radius: 50%;
  animation: typing 1s infinite;
  margin-right: 4px;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
  margin-right: 0;
}

.typing-indicator::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid #202c33;
  border-left: 10px solid transparent;
}

@keyframes typing {
  0% {
    transform: translateY(0);
    opacity: 0.6;
  }

  50% {
    transform: translateY(-4px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
}

@media (max-width: 768px) {
  #notification-container {
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    bottom: 30px;
    display: flex;
    justify-content: center;
  }
}

/* --- MOCKUP POPUP --- */
.mockup-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mockup-popup.visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background-color: #202c33;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  width: 85%;
  max-width: 300px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-popup.visible .popup-content {
  transform: scale(1);
}

.popup-content p {
  color: #e9edef;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.btn-popup {
  display: inline-block;
  background-color: #25D366;
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, background-color 0.2s;
}

.btn-popup:hover {
  background-color: #1da851;
  transform: scale(1.05);
}

/* --- TYPEWRITER EFFECT --- */
.typewriter-cursor {
  border-right: 3px solid var(--accent-red);
  padding-right: 5px;
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {

  from,
  to {
    border-color: transparent
  }

  50% {
    border-color: var(--accent-red)
  }
}
/* --- ADDED BACKGROUND FOR CONTRAST --- */
.whatsapp-preview-section {
    background: radial-gradient(circle at center, #1e2c24 0%, var(--bg-dark) 75%);
    position: relative;
    z-index: 1;
}

/* --- HERO LOGO ANIMATION --- */
.hero-logo {
    animation: bounce-logo 3s ease-in-out infinite;
}

@keyframes bounce-logo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
