/* TopInfluencer.app - HROne-Inspired Premium Redesign */
/* Dark Hero + Light Sections + Solid Colors (No Gradients) */

:root {
  /* Brand Colors */
  --primary: #7C3AED;
  --primary-dark: #6D28D9;
  --primary-light: #8B5CF6;
  --secondary: #EC4899;
  --accent: #F472B6;
  
  /* Dark Mode Colors (Hero) */
  --dark-bg: #0F172A;
  --dark-surface: #1E293B;
  --dark-text: #F8FAFC;
  --dark-text-muted: #94A3B8;
  
  /* Light Mode Colors (Content) */
  --background: #ffffff;
  --background-alt: #F8FAFC;
  --surface: #ffffff;
  --surface-hover: #F1F5F9;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  
  /* Text Colors */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  /* Shadows - Clean */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  
  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Outfit', var(--font-main);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

/* Accent Text */
.text-gradient {
  color: var(--primary);
}

.text-primary {
  color: var(--primary);
}

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(124, 58, 237, 0.1);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-links .btn {
  padding: 12px 24px;
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section - Dark Mode */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

/* Hero Background Pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Grid Pattern */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--dark-text);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 .text-gradient {
  display: inline;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--dark-text-muted);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Social Proof Badges */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.hero-badge-icon {
  font-size: 1.5rem;
}

.hero-badge-text {
  text-align: left;
}

.hero-badge-number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.hero-badge-label {
  font-size: 0.85rem;
  color: var(--dark-text-muted);
}

/* Hero CTA */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.form-helper {
  color: var(--dark-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 60px;
}

.form-helper span {
  color: var(--accent);
}

/* Hero Image */
.hero-image-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 80px rgba(124, 58, 237, 0.2);
  animation: float 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Platforms Strip */
.platforms-strip {
  padding: 60px 0;
  background: var(--background-alt);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.platforms-strip h3 {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  gap: 80px;
  min-width: 100%;
  animation: scroll 30s linear infinite;
  flex-shrink: 0;
  align-items: center;
  padding-right: 80px;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.platform-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.platform-icon:hover {
  color: var(--primary);
}

.platform-icon svg {
  width: 28px;
  height: 28px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.platform-icon:hover svg {
  opacity: 1;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-header h2 {
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background: var(--background);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-card h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.feature-card.span-2-col {
  grid-column: span 2;
}

.feature-card.span-2-row {
  grid-row: span 2;
}

.feature-card.card-blue {
  background: #EEF2FF;
  border-color: #C7D2FE;
}

.feature-card.card-peach {
  background: #FFF1F2;
  border-color: #FECDD3;
}

/* How It Works */
.how-it-works {
  padding: var(--section-padding);
  background: var(--background-alt);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--primary);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: white;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md);
}

.step h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 280px;
  margin: 0 auto;
}

/* Platform Details */
.platform-details {
  padding: var(--section-padding);
  background: var(--background);
}

.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.platform-tab {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.platform-tab:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.platform-tab.active {
  background: var(--primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.platform-content {
  display: none;
}

.platform-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.platform-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.platform-feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.platform-feature h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 6px;
}

.platform-feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Audience Section */
.audience {
  padding: var(--section-padding);
  background: var(--background-alt);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.audience-card {
  padding: 40px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.audience-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.audience-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--primary);
  border-radius: var(--radius-lg);
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md);
}

.audience-card h4 {
  color: var(--text-primary);
  margin-bottom: 12px;
}

.audience-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Benefits Section */
.benefits {
  padding: var(--section-padding);
  background: var(--background);
}

.benefits-list {
  max-width: 700px;
  margin: 0 auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.benefit-content h4 {
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 6px;
}

.benefit-content p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  background: var(--dark-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}



.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  color: white;
  margin-bottom: 16px;
}

.final-cta p {
  color: var(--dark-text-muted);
  font-size: 1.25rem;
  margin-bottom: 40px;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  padding: 80px 0 40px;
  color: var(--dark-text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--dark-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-column h5 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--dark-text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--dark-text-muted);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: white;
}

/* Success Message */
.success-message {
  display: none;
  background: #ECFDF5;
  border: 1px solid #10B981;
  border-radius: var(--radius-md);
  padding: 24px 32px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.success-message.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

.success-message h4 {
  color: #059669;
  margin-bottom: 8px;
}

.success-message p {
  color: #047857;
  font-size: 1rem;
}

/* MailerLite Form */
.ml-embedded {
  display: flex !important;
  justify-content: center !important;
  margin: 20px auto !important;
  min-height: 80px; 
  width: 100%;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card.span-2-col,
  .feature-card.span-2-row {
    grid-column: auto;
    grid-row: auto;
  }
  
  .platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    display: none;
    z-index: 999;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .features-grid, .steps, .audience-grid, .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .steps::before {
    display: none;
  }
  
  .step-number {
    width: 64px;
    height: 64px;
    font-size: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }
}
