﻿.stars {
  color: #ffd700;
  margin-bottom: 20px;
}

.stars i {
  font-size: 1.2rem;
  margin-right: 5px;
}
/* ========================================
   GLOBAL STYLES & VARIABLES
   ======================================== */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --accent-color: #45b7d1;
  --dark-color: #2c3e50;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --text-muted: #6c757d;
  --gradient-primary: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 10px;
  --border-radius-md: 15px;
  --border-radius-lg: 20px;
  --border-radius-xl: 50px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */
.section-padding {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-xl);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.main-content {
  min-height: calc(100vh - 200px);
  padding-top: 80px;
}

/* ========================================
   NAVIGATION & MENU
   ======================================== */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-md);
  padding: 10px 0 !important;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--text-color);
  font-weight: 500;
  margin: 0 15px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .btn-nav {
  background: var(--gradient-primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--border-radius-xl);
  margin-left: 10px;
}

.navbar-nav .btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.navbar-nav .btn-nav::after {
  display: none;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  transition: var(--transition);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-hero {
  padding: 15px 35px;
  font-size: 1.1rem;
  border-radius: var(--border-radius-xl);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-hero-outline:hover {
  background: white;
  color: var(--primary-color);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-cta {
  background: white;
  color: var(--primary-color);
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--border-radius-xl);
}

.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* ========================================
   FORMS
   ======================================== */
.form-control {
  padding: 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid #e0e0e0;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.1);
  outline: none;
}

.form-check-input {
  cursor: pointer;
}

.newsletter-form .input-group {
  max-width: 500px;
  margin-left: auto;
}

.newsletter-form .form-control {
  border-radius: var(--border-radius-xl) 0 0 var(--border-radius-xl);
}

.newsletter-form .btn {
  padding: 15px 30px;
  border-radius: 0 var(--border-radius-xl) var(--border-radius-xl) 0;
}

/* ========================================
   CARDS
   ======================================== */
.card-base {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.process-card,
.feature-card,
.persona-card,
.metric-card,
.testimonial-card,
.auth-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  transition: var(--transition);
}

.process-card,
.feature-card,
.persona-card {
  height: 100%;
}

.process-card {
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.process-card:hover,
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.feature-card {
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.persona-card {
  text-align: center;
  padding: 40px 20px;
  box-shadow: var(--shadow-md);
}

.persona-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.metric-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-card {
  min-width: 400px;
  box-shadow: var(--shadow-md);
}

.auth-card {
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

/* ========================================
   ICONS & BADGES
   ======================================== */
.icon-circle {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.process-icon,
.persona-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.persona-icon {
  background: var(--gradient-secondary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
  background: var(--gradient-primary);
}

.process-number {
  position: absolute;
  top: -20px;
  right: 30px;
  background: var(--gradient-primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ========================================
   HERO TEXT READABILITY FIX
   Add these rules to your site.css
   ======================================== */

/* Remove the bad dark overlay I added - DELETE THIS if you added it */
.hero-section.funnel-hero::before {
  display: none; /* This made it worse */
}

/* FIX: Make hero-pattern not block clicks */
.hero-section.funnel-hero .hero-pattern {
  pointer-events: none;
  z-index: 1;
}

/* CREATE TEXT CONTAINER WITH CLEAN BACKGROUND - WHITER */
.hero-section.funnel-hero .col-lg-10 {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--border-radius-lg);
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 10;
}

/* MAKE TEXT DARK SO IT'S READABLE ON WHITE */
.hero-section.funnel-hero .hero-title,
.hero-section.funnel-hero h1 {
  color: var(--dark-color) !important;
}

.hero-section.funnel-hero .hero-description,
.hero-section.funnel-hero p {
  color: var(--text-color) !important;
}

.hero-section.funnel-hero h5 {
  color: var(--dark-color) !important;
}

/* KEEP TRUST INDICATORS STYLED */
.hero-section.funnel-hero .trust-indicators.landing-trust {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: none;
}

.hero-section.funnel-hero .trust-indicators.landing-trust .trust-item {
  color: var(--text-color);
}

/* REMOVE TEXT SHADOWS - NOT NEEDED ON WHITE */
.hero-section.funnel-hero .hero-title,
.hero-section.funnel-hero .hero-description,
.hero-section.funnel-hero h1,
.hero-section.funnel-hero p,
.hero-section.funnel-hero h5,
.hero-section.funnel-hero .value-item {
  text-shadow: none;
}

/* ADJUST GRADIENT TEXT TO BE VISIBLE */
.hero-section.funnel-hero .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ENSURE BUTTONS STAND OUT */
.hero-section.funnel-hero .btn-hero-outline {
  border-color: var(--dark-color);
  color: var(--dark-color);
}

.hero-section.funnel-hero .btn-hero-outline:hover {
  background: var(--dark-color);
  color: white;
}

.stat-item {
  display: flex;
  flex-direction: column;
  color: white;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary-color);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-visual {
  position: relative;
}

.social-dashboard {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.dashboard-logo {
  height: 40px;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
}

/* ========================================
   SPECIAL EFFECTS
   ======================================== */
.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

.pulse-text {
  display: inline-block;
  animation: pulse 2s infinite;
}

.pulse-indicator {
  width: 12px;
  height: 12px;
  background: #4ecdc4;
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* ========================================
   SECTIONS
   ======================================== */
.process-timeline {
  position: relative;
  margin-top: 60px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  z-index: -1;
}

.feature-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  margin-top: 15px;
}

.feature-link:hover {
  gap: 10px;
  color: var(--secondary-color);
}

.testimonial-slider {
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-track {
  display: flex;
  gap: 30px;
  animation: scroll 30s linear infinite;
}

.stars {
  color: #ffd700;
  margin-bottom: 20px;
}

.stars i {
  font-size: 1.2rem;
  margin-right: 5px;
}

.stars {
  color: #ffd700;
  margin-bottom: 20px;
}

.stars i {
  font-size: 1.2rem;
  margin-right: 5px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  color: var(--dark-color);
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ========================================
   LOGIN PAGE SPECIFIC
   ======================================== */
.auth-logo {
  height: 60px;
}

.auth-header h2 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  background: white;
  padding: 0 15px;
  position: relative;
  color: var(--text-muted);
}

.social-login .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ========================================
   LOADER & UTILITIES
   ======================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.page-loader .spinner {
  text-align: center;
}

.page-loader .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.dev-mode-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-family: monospace;
  z-index: 10000;
  text-align: center;
}

/* ========================================
   AUTHENTICATION STATES
   ======================================== */
body.authenticated .guest-only {
  display: none !important;
}

body:not(.authenticated) .auth-only {
  display: none !important;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(78, 205, 196, 0.7);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(78, 205, 196, 0);
  }
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-330px * 3));
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }

  50% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .process-timeline::before {
    display: none;
  }

  .testimonial-card {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding-top: 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-title {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .navbar,
  footer,
  .back-to-top,
  .dev-mode-banner,
  .page-loader {
    display: none !important;
  }

  .main-content {
    padding-top: 0 !important;
  }
}

/* ========================================
   LOGIN PAGE SPECIFIC
   ======================================== */
.auth-logo {
  height: 60px;
}

.auth-header h2 {
  color: var(--dark-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.divider span {
  background: white;
  padding: 0 15px;
  position: relative;
  color: var(--text-muted);
}

.social-login .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Trust Indicators for Signup */
.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 15px;
  background: rgba(248, 249, 250, 0.5);
  border-radius: var(--border-radius-sm);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item i {
  font-size: 1.1rem;
}

/* ========================================
   POST MANAGER STYLES
   ======================================== */
.post-manager-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.workflow-header {
  background: var(--gradient-primary);
  color: white;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 30px;
}

.workflow-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.workflow-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.workflow-step::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
}

.workflow-step:last-child::after {
  display: none;
}

.workflow-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.workflow-step.active .workflow-step-number {
  background: white;
  color: var(--primary-color);
}

.content-section {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-container {
  background: var(--light-color);
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
}

.theme-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  min-height: 100px;
  resize: vertical;
}

.prompt-container {
  background: #f0f8ff;
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.image-modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: var(--border-radius-lg);
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  overflow-y: auto;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.image-item {
  position: relative;
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-item.selected {
  border-color: var(--primary-color);
}

.image-item.selected::after {
   content: attr(data-selection-number); /* Will be set dynamically via JS */
   position: absolute;
   top: 10px;
   right: 10px;
   background: var(--primary-color);
   color: white;
   width: 30px;
   height: 30px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 16px;
   font-weight: bold;
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
   animation: badgePulse 0.3s ease-in-out;
   z-index: 10;
}

.image-preview-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.image-preview-item {
   position: relative; 
   width: 100px;
   height: 100px;
   border-radius: var(--border-radius-sm);
   overflow: hidden;
}

.image-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-preview-item::after {
   content: attr(data-selection-number);
   position: absolute;
   top: 4px;
   right: 4px;
   background: var(--primary-color);
   color: white;
   width: 24px;
   height: 24px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 12px;
   font-weight: bold;
   z-index: 10;
}

/* This animation keyframe is for image selection*/
@keyframes badgePulse {
   0% {
      transform: scale(0);
      opacity: 0;
   }

   50% {
      transform: scale(1.2);
   }

   100% {
      transform: scale(1);
      opacity: 1;
   }
}

.generated-content {
  background: #f8f9fa;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  margin-top: 30px;
  display: none;
}

.content-preview {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  max-height: 500px;
  overflow-y: auto;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pagination button {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
  background: white;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
}

.pagination button:hover:not(:disabled) {
  background: var(--light-color);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination button.active {
  background: var(--primary-color);
  color: white;
}

/* ========================================
   PROFILE PAGE STYLES
   ======================================== */

.profile-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.profile-header {
  background: var(--gradient-primary);
  color: white;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  margin-bottom: 30px;
}

/* ========================================
   IMAGE MODAL ENHANCED STYLES - EXTENDING EXISTING
   ======================================== */

/* Extend existing .image-item for deletion state */
.image-item.marked-for-deletion {
  opacity: 0.7;
  border-color: var(--danger-color, #dc3545);
}

.image-item.marked-for-deletion::after {
  content: "✕";
  background: var(--danger-color, #dc3545);
  font-size: 24px;
}

/* Checkbox overlay for delete mode - new element */
.image-checkbox {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  z-index: 10;
  cursor: pointer;
  accent-color: var(--danger-color, #dc3545);
}

/* Extend existing button styles */
.btn-danger {
  background: var(--danger-color, #dc3545);
  border-color: var(--danger-color, #dc3545);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Use existing responsive patterns */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ========================================
   LANDING PAGE EXTENSIONS - DRY APPROACH
   Extends existing classes with modifiers
   ======================================== */

/* EXTEND EXISTING HERO SECTION */
.hero-section.funnel-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-section.funnel-hero .hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  transform: scale(1.1);
  z-index: 1;
}

.hero-section.funnel-hero .hero-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* EXTEND EXISTING ANIMATIONS with modifier classes */
.animate-on-scroll.slide-left {
  transform: translateX(-100%);
  opacity: 0;
}

.animate-on-scroll.slide-right {
  transform: translateX(100%);
  opacity: 0;
}

.animate-on-scroll.animated {
  transform: translateX(0);
  opacity: 1;
}

/* Add floating animation to existing animated elements */
.animated.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* EXTEND EXISTING BTN CLASSES */
.btn-hero.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

/* EXTEND EXISTING CARD CLASSES with modifiers */
.feature-card.landing {
  text-align: center;
}

.feature-card.landing .feature-icon {
  width: 80px;
  height: 80px;
  font-size: 2rem;
}

.testimonial-card.landing {
  position: relative;
}

.testimonial-card.landing::before {
  content: '"';
  font-size: 80px;
  color: var(--primary-color);
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.3;
}

/* EXTEND EXISTING SECTION CLASSES */
.section-padding.gradient-bg {
  background: var(--gradient-primary);
  color: white;
}

.section-padding.dark-bg {
  background: #000;
  color: white;
}

/* EXTEND COMPARISON TABLE using existing table styles */
.table.comparison-table {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.table.comparison-table thead {
  background: var(--gradient-primary);
  color: white;
}

.table.comparison-table .highlight-row {
  background: #fff3cd;
  font-weight: bold;
}

/* EXTEND EXISTING METRIC CARD for stats */
.metric-card.stat-counter {
  text-align: center;
  background: transparent;
  color: white;
}

.metric-card.stat-counter .stat-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

/* EXTEND EXISTING FORM ELEMENTS */
.form-control.countdown-value {
  background: rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  border-radius: var(--border-radius-sm);
  min-width: 50px;
  text-align: center;
  color: white;
  border: none;
}

/* EXTEND EXISTING NAVBAR for scroll progress */
.navbar::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: var(--gradient-primary);
  z-index: 9999;
  transition: width 0.2s;
}

/* EXTEND ACCORDION using existing card styles */
.card.faq-item {
  border: none;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
}

.card.faq-item .card-header {
  background: white;
  border: none;
  padding: 25px;
  cursor: pointer;
}

.card.faq-item .card-header:hover {
  background: var(--light-color);
}

.card.faq-item .collapse {
  transition: all 0.3s ease;
}

/* EXTEND BADGE STYLES for pricing */
.section-badge.pricing-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* EXTEND EXISTING PRICING STYLES */
.card.pricing-card {
  text-align: center;
}

.card.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
}

.card.pricing-card .pricing-price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 20px 0;
}

.card.pricing-card .pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
}

/* EXTEND EXISTING TRUST INDICATORS */
.trust-indicators.landing-trust {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-xl);
  padding: 15px;
}

.toast {
  color: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.toast.bg-error {
  background-color: #d9534f;
}

.toast.bg-warning {
  background-color: #f0ad4e;
}

.toast.bg-success {
  background-color: #5cb85c;
}

.toast.bg-info {
  background-color: #f8f9fa; /* Light background */
  color: #212529; /* Bootstrap's default dark text */
}

.toast .btn-close {
  filter: invert(1);
}

/* URGENCY BANNER - extends existing toast/notification patterns */
.toast-container.urgency-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.toast-container.urgency-banner .toast {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(90deg, #ff6b6b, #feca57);
  border-radius: 0;
  transform: translateY(100%);
  transition: transform 0.5s;
}

.toast-container.urgency-banner .toast.show {
  transform: translateY(0);
}

/* EXTEND VIDEO CONTAINER */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* VALUE STACK - extend existing card patterns */
.card.value-item {
  margin-bottom: 20px;
}

.card.value-item.total {
  background: var(--gradient-primary);
  color: white;
}

/* GUARANTEE BOX - extend existing card styles */
.card.guarantee-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card.guarantee-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.card.guarantee-box .icon-circle {
  background: white;
  color: var(--primary-color);
}

/* Responsive adjustments using existing breakpoints */
@media (max-width: 768px) {
  .table.comparison-table {
    font-size: 0.9rem;
  }

  .card.pricing-card.featured {
    transform: scale(1);
  }

  .metric-card.stat-counter .stat-number {
    font-size: 2rem;
  }
}

/* ============================================
   CREDIT BADGE IN MENU
   ============================================ */

.credit-badge-link {
  padding: 0.25rem 0.5rem !important;
}

.credit-badge {
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: transform 0.2s ease;
}

.credit-badge:hover {
  transform: scale(1.05);
}

.credit-badge i {
  margin-right: 0.5rem;
}

/* ============================================
   PROFILE PAGE STYLES
   ============================================ */

.profile-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.profile-header {
  margin-bottom: 2rem;
}

.profile-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.credit-balance-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.credit-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.credit-amount {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.5rem 0;
}

.credit-total {
  font-size: 0.9rem;
  opacity: 0.8;
}

.profile-tabs {
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 2rem;
}

.profile-tabs .nav-link {
  color: #7f8c8d;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border: none;
  transition: all 0.3s ease;
}

.profile-tabs .nav-link:hover {
  color: #667eea;
  border-bottom: 2px solid #667eea;
}

.profile-tabs .nav-link.active {
  color: #667eea;
  border-bottom: 3px solid #667eea;
  background: transparent;
}

.profile-tabs .nav-link i {
  margin-right: 0.5rem;
}

.profile-content {
  margin-top: 2rem;
}

.plan-price-display {
  text-align: center;
}

.plan-price-display .price {
  font-size: 3rem;
  font-weight: 800;
  color: #667eea;
  line-height: 1;
}

.plan-price-display .price-label {
  color: #7f8c8d;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ============================================
   PRICING CARDS (REUSABLE COMPONENT)
   ============================================ */

.pricing-section {
  padding: 2rem 0;
}

.pricing-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border-color: #667eea;
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
}

.pricing-card.current-plan {
  border-color: #4ecdc4;
  background: linear-gradient(
    135deg,
    rgba(78, 205, 196, 0.05),
    rgba(78, 205, 196, 0.02)
  );
}

.badge-popular,
.badge-current {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-current {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.plan-description {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin: 0;
}

.plan-price {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #f0f0f0;
}

.plan-price .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2c3e50;
  line-height: 1;
}

.plan-price .price-period {
  color: #7f8c8d;
  font-size: 1rem;
  font-weight: 500;
}

.plan-credits-inline {
  color: #667eea;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex: 1;
}

.plan-features li {
  padding: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #555;
}

.plan-features li i {
  color: #4ecdc4;
  margin-right: 0.75rem;
  margin-top: 0.15rem;
  font-size: 1rem;
}

.plan-action {
  margin-top: auto;
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: #e0e0e0;
  border: none;
  color: #7f8c8d;
  cursor: not-allowed;
}

.btn-warning {
  background: linear-gradient(135deg, #ff9800, #f57c00);
  border: none;
  color: white;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 152, 0, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .pricing-card {
    margin-bottom: 1.5rem;
  }
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-overlay.active {
  display: flex;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-content .spinner-border {
  width: 2rem;
  height: 2rem;
  border-width: 0.2rem;
}

.loading-message {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* ============================================
   CIRCULAR CREDIT METER
   ============================================ */

.credit-meter-link {
  padding: 0.25rem 0.5rem !important;
}

.credit-meter {
  position: relative;
  width: 50px;
  height: 50px;
  display: inline-block;
}

.credit-meter-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.credit-meter-bg {
  opacity: 0.3;
}

.credit-meter-progress {
  transition: stroke-dasharray 0.6s ease;
  stroke-linecap: round;
}

.credit-meter-progress.bg-success {
  stroke: #28a745;
}

.credit-meter-progress.bg-warning {
  stroke: #ffc107;
}

.credit-meter-progress.bg-danger {
  stroke: #dc3545;
}

.credit-meter-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1;
}

.credit-meter-text i {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 2px;
  color: #667eea;
}

.credit-meter-text span {
  display: block;
  white-space: nowrap;
}

.credit-meter:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .credit-meter {
    width: 60px;
    height: 60px;
    margin: 0.5rem auto;
  }

  .credit-meter-text {
    font-size: 0.75rem;
  }
}

/* ========================================
   PROFILE PAGE - COMPANY CARDS
   ======================================== */
.company-card, .niche-card {
   background: white;
   border: 1px solid #E0E0E0;
   border-radius: var(--border-radius-md);
   padding: 20px;
   margin-bottom: 20px;
   box-shadow: var(--shadow-sm);
   transition: var(--transition);
}

   .company-card:hover, .niche-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
   }

.company-actions .btn-blog-config {
   margin-left: auto;
}

.embed-code-container {
   background: #F8F9FA;
   border: 1px solid #E0E0E0;
   border-radius: var(--border-radius-sm);
   padding: 15px;
   margin: 15px 0;
   position: relative;
}

   .embed-code-container pre {
      margin: 0;
      background: transparent;
      border: none;
      white-space: pre-wrap;
      word-wrap: break-word;
      font-family: 'Courier New', monospace;
      font-size: 13px;
      max-height: 400px;
      overflow-y: auto;
   }

   .embed-code-container .copy-btn {
      position: absolute;
      top: 10px;
      right: 10px;
   }

.code-copied-notification {
   position: fixed;
   top: 20px;
   right: 20px;
   background: #28a745;
   color: white;
   padding: 15px 20px;
   border-radius: var(--border-radius-sm);
   box-shadow: var(--shadow-lg);
   z-index: 10000;
   display: none;
}

   .code-copied-notification.show {
      display: block;
      animation: slideInRight 0.3s ease;
   }

@keyframes slideInRight {
   from {
      transform: translateX(100%);
      opacity: 0;
   }

   to {
      transform: translateX(0);
      opacity: 1;
   }
}