/* ============================================
   INVISIBLE WATERMARKS - HOMEPAGE STYLES
   ============================================ */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Homepage body adjustments */
body.homepage {
  overflow-x: hidden;
}

/* ============================================
   NAVIGATION
   ============================================ */
.hp-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.hp-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.hp-navbar-brand:hover {
  color: var(--text-primary);
}

.hp-navbar-links {
  display: flex;
  gap: 2rem;
}

.hp-navbar-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.hp-navbar-links a:hover {
  color: var(--primary);
}

.hp-navbar-actions {
  display: flex;
  gap: 0.75rem;
}

.hp-mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile menu */
.hp-mobile-menu {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hp-mobile-menu.hidden {
  display: none;
}

.hp-mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
}

.hp-mobile-menu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .hp-navbar-links,
  .hp-navbar-actions {
    display: none;
  }
  
  .hp-mobile-menu-btn {
    display: block;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hp-hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-card) 100%);
  position: relative;
  overflow: hidden;
}

.hp-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(0, 175, 240, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hp-hero-headline {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hp-hero-subheadline {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hp-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hp-cta-main {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 20px rgba(0, 175, 240, 0.3);
}

.hp-cta-main:hover {
  box-shadow: 0 6px 30px rgba(0, 175, 240, 0.4);
  transform: translateY(-2px);
}

.hp-cta-secondary {
  padding: 1rem 2rem;
}

.hp-hero-trust {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hp-hero {
    padding: 8rem 1.5rem 4rem;
  }
  
  .hp-hero-headline {
    font-size: 2.5rem;
  }
  
  .hp-hero-subheadline {
    font-size: 1.1rem;
  }
  
  .hp-hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hp-cta-main,
  .hp-cta-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* ============================================
   SECTION STYLES
   ============================================ */
.hp-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.hp-section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .hp-section-title {
    font-size: 2rem;
  }
  
  .hp-section-subtitle {
    font-size: 1rem;
  }
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.hp-problem {
  padding: 5rem 2rem;
  background: var(--bg-card);
}

.hp-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hp-problem-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.hp-problem-card:hover {
  transform: translateY(-4px);
  border-color: var(--error);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

.hp-problem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hp-problem-card p {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
}

.hp-problem-quote {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background: var(--bg-main);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.hp-problem-quote p {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.hp-problem-quote cite {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

@media (max-width: 768px) {
  .hp-problem-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.hp-how-it-works {
  padding: 5rem 2rem;
  background: var(--bg-main);
}

.hp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hp-step {
  flex: 0 1 280px;
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all 0.3s;
}

.hp-step:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 175, 240, 0.15);
}

.hp-step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.hp-step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.hp-step h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.hp-step p {
  color: var(--text-secondary);
  margin: 0;
}

.hp-step-arrow {
  font-size: 2rem;
  color: var(--text-muted);
  padding-top: 3rem;
}

.hp-steps-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
}

.hp-steps-note strong {
  color: var(--primary);
}

@media (max-width: 900px) {
  .hp-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .hp-step {
    width: 100%;
    max-width: 320px;
  }
  
  .hp-step-arrow {
    transform: rotate(90deg);
    padding: 0;
    margin: -0.5rem 0;
  }
}

/* ============================================
   FEATURES GRID
   ============================================ */
.hp-features {
  padding: 5rem 2rem;
  background: var(--bg-card);
}

.hp-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-feature-card {
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.hp-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 175, 240, 0.1);
}

.hp-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.hp-feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.hp-feature-card p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hp-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hp-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   STATS / SOCIAL PROOF
   ============================================ */
.hp-stats {
  padding: 5rem 2rem;
  background: var(--bg-main);
}

.hp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.hp-stat {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.hp-stat:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.hp-stat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hp-stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hp-stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
}

.hp-testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.hp-testimonial-stars {
  color: #F59E0B;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.hp-testimonial blockquote {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hp-testimonial cite {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hp-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hp-stat-value {
    font-size: 2.5rem;
  }
}

/* ============================================
   DEMO SECTION
   ============================================ */
.hp-demo {
  padding: 5rem 2rem;
  background: var(--bg-card);
}

.hp-demo-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hp-demo-image {
  flex: 0 1 300px;
  text-align: center;
}

.hp-demo-placeholder {
  aspect-ratio: 4/3;
  background: var(--bg-main);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.hp-demo-placeholder:hover {
  border-color: var(--text-muted);
}

.hp-demo-placeholder.protected {
  border-color: var(--primary);
  background: rgba(0, 175, 240, 0.05);
}

.hp-demo-placeholder.protected:hover {
  border-color: var(--primary-light);
}

.hp-demo-icon {
  font-size: 3rem;
}

.hp-demo-label {
  font-weight: 600;
  color: var(--text-secondary);
}

.hp-demo-vs {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 1rem;
}

.hp-demo-note {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.hp-demo-note strong {
  color: var(--primary);
}

@media (max-width: 768px) {
  .hp-demo-comparison {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hp-demo-image {
    width: 100%;
    max-width: 280px;
  }
  
  .hp-demo-vs {
    transform: rotate(90deg);
    padding: 0.5rem;
  }
}

/* ============================================
   PRICING
   ============================================ */
.hp-pricing {
  padding: 5rem 2rem;
  background: var(--bg-main);
}

.hp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hp-pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s;
}

.hp-pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hp-pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), 0 10px 40px rgba(0, 175, 240, 0.2);
}

.hp-pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hp-pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.hp-pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hp-pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.hp-price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hp-price-period {
  color: var(--text-muted);
  font-size: 1rem;
}

.hp-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.hp-pricing-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.hp-pricing-features li:last-child {
  border-bottom: none;
}

.hp-pricing-features strong {
  color: var(--primary);
}

.hp-pricing-cta {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .hp-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* ============================================
   FINAL CTA
   ============================================ */
.hp-final-cta {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-main) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hp-final-cta::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 100%;
  background: radial-gradient(ellipse at center bottom, rgba(0, 175, 240, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hp-final-headline {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.hp-final-subtext {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hp-final-trust {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .hp-final-headline {
    font-size: 2.25rem;
  }
  
  .hp-final-subtext {
    font-size: 1.1rem;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.hp-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.hp-footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.hp-footer-brand {
  flex: 0 1 300px;
}

.hp-footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.hp-footer-brand p {
  color: var(--text-muted);
}

.hp-footer-links {
  display: flex;
  gap: 4rem;
}

.hp-footer-col h4 {
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hp-footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.375rem 0;
  transition: color 0.2s;
}

.hp-footer-col a:hover {
  color: var(--primary);
}

.hp-footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.hp-footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hp-footer-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hp-footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-target {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations for grids */
.hp-step.animate-target:nth-child(1) { transition-delay: 0s; }
.hp-step.animate-target:nth-child(3) { transition-delay: 0.15s; }
.hp-step.animate-target:nth-child(5) { transition-delay: 0.3s; }

.hp-feature-card.animate-target:nth-child(1) { transition-delay: 0s; }
.hp-feature-card.animate-target:nth-child(2) { transition-delay: 0.1s; }
.hp-feature-card.animate-target:nth-child(3) { transition-delay: 0.2s; }
.hp-feature-card.animate-target:nth-child(4) { transition-delay: 0.1s; }
.hp-feature-card.animate-target:nth-child(5) { transition-delay: 0.2s; }
.hp-feature-card.animate-target:nth-child(6) { transition-delay: 0.3s; }

.hp-stat.animate-target:nth-child(1) { transition-delay: 0s; }
.hp-stat.animate-target:nth-child(2) { transition-delay: 0.1s; }
.hp-stat.animate-target:nth-child(3) { transition-delay: 0.2s; }

.hp-problem-card.animate-target:nth-child(1) { transition-delay: 0s; }
.hp-problem-card.animate-target:nth-child(2) { transition-delay: 0.1s; }
.hp-problem-card.animate-target:nth-child(3) { transition-delay: 0.2s; }

.hp-pricing-card.animate-target:nth-child(1) { transition-delay: 0s; }
.hp-pricing-card.animate-target:nth-child(2) { transition-delay: 0.15s; }
