:root {
  --bg-app: #0d0e10;
  --bg-elevated: rgba(27, 27, 30, 0.7);
  --bg-card: rgba(38, 38, 42, 0.6);
  --accent-primary: #96d999;
  --accent-secondary: #70e769;
  --accent-glow: rgba(150, 217, 153, 0.2);
  --border-divider: rgba(63, 82, 64, 0.4);
  --border-light: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --font-family: 'Poppins', sans-serif;
  
  --glass-bg: rgba(13, 14, 16, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
}

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

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

/* Background Gradients */
.bg-glow {
  position: absolute;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(13, 14, 16, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Typography */
h1, h2, h3 {
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: 1.5rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 120px 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 1.05rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #000;
  box-shadow: 0 4px 14px 0 rgba(150, 217, 153, 0.39);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(150, 217, 153, 0.5);
  background-color: var(--accent-secondary);
}

.btn-secondary {
  background-color: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background-color: rgba(255,255,255,0.05);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--text-primary);
  border: 1px solid var(--border-divider);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--text-primary);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 32px;
  display: block;
}

.header-right {
  display: flex;
  gap: 24px;
  align-items: center;
}

.lang-text-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-left: 8px;
}

.lang-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  text-transform: uppercase;
  transition: color 0.2s;
  outline: none;
}

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

.lang-btn.active {
  color: var(--text-primary);
  font-weight: 700;
}

.lang-sep {
  opacity: 0.5;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hero Section */
.hero {
  padding-top: 180px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 20;
}

.hero-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.hero-content.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.centered-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem) !important;
  line-height: 1.15;
  background: linear-gradient(to right, #ffffff, #c2c2cb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 20px;
  margin-bottom: 48px;
  text-align: center;
  font-weight: 700;
  max-width: 800px;
}

.search-invite-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 500;
  text-align: center;
}

.centered-search {
  width: 100%;
  max-width: 620px !important;
  margin-top: 0 !important;
  margin: 0 auto;
}

.intro-details {
  padding: 120px 0;
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.01);
  position: relative;
  z-index: 10;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  background: linear-gradient(to right, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.badge {
  background: rgba(150, 217, 153, 0.1);
  color: var(--accent-primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(150, 217, 153, 0.2);
  display: inline-flex;
  align-items: center;
}

.cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--border-light);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.hero-visual img:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: -20px;
  left: -20px;
  background: linear-gradient(45deg, var(--accent-primary), transparent);
  border-radius: 32px;
  z-index: -1;
  opacity: 0.1;
  filter: blur(40px);
}

/* Stats/Logos Bar */
.social-proof {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255,255,255,0.02);
  padding: 40px 0;
  overflow: hidden;
}

.proof-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}

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

.proof-item h4 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.proof-item p {
  font-size: 0.9rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Feature Grid */
.how-it-works {
  text-align: center;
}

.how-it-works h2 {
  max-width: 600px;
  margin: 0 auto 64px auto;
}

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

.how-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 24px;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.how-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.how-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  border-color: rgba(150, 217, 153, 0.4);
}

.how-card:hover::before {
  transform: scaleX(1);
}

.how-icon-wrapper {
  height: 64px;
  width: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.how-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.how-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.how-card p {
  font-size: 1rem;
  margin: 0;
}

/* Report Workflow Section */
.report-workflow {
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-light);
  background: rgba(255,255,255,0.01);
}

.report-workflow h2 {
  max-width: 600px;
  margin: 0 auto 16px auto;
}

.workflow-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 64px auto;
}

.workflow-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

/* Timeline central connector line */
.workflow-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(0, 255, 136, 0.4) 10%, rgba(0, 255, 136, 0.4) 90%, transparent);
  z-index: -1;
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 40px;
  text-align: left;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 2; /* Keep above the timeline line */
}

.workflow-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(150, 217, 153, 0.3);
}

.workflow-step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.workflow-step:hover::after {
  opacity: 1;
}

.workflow-step:nth-child(even) {
  flex-direction: row-reverse;
}

.workflow-text {
  flex: 0.8;
}

.workflow-text h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.workflow-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.workflow-visual {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.workflow-visual img {
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 0 1px var(--border-light);
  transition: transform 0.5s ease;
}

.workflow-step:hover .workflow-visual img {
  transform: scale(1.02);
}

/* CLOSER STEP (Step 7) */
.workflow-closer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 2;
}

.workflow-closer:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 255, 136, 0.15);
  border-color: rgba(0, 255, 136, 0.3);
}

.workflow-closer::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.closer-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.closer-content p {
  font-size: 1.2rem;
  color: var(--text-color);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.workflow-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

/* Pricing Section */
.pricing {
  text-align: center;
  position: relative;
}

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

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 48px;
  border-radius: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent-primary);
  box-shadow: 0 0 30px rgba(150, 217, 153, 0.1);
}

.pricing-card.featured .ribbon {
  position: absolute;
  top: 25px;
  right: -50px;
  width: 180px;
  background: var(--accent-primary);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 6px 0;
  transform: rotate(45deg);
  text-align: center;
  letter-spacing: 1px;
  z-index: 10;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.price {
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

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

.promo {
  display: inline-block;
  background: rgba(150, 217, 153, 0.15);
  color: var(--accent-primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 24px;
  font-weight: 500;
}

.features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}

.features li {
  margin-bottom: 16px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  margin-top: 2px;
}

.features li.excluded {
  opacity: 0.5;
  color: var(--text-muted);
}

.features li.excluded svg {
  color: var(--text-muted);
}

.pricing-card .btn {
  width: 100%;
}

/* Final CTA */
.final-cta {
  background: radial-gradient(circle at center, rgba(38,38,42,1) 0%, rgba(13,14,16,1) 100%);
  text-align: center;
  padding: 120px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 24px;
}

/* Footer */
footer {
  padding: 64px 0 40px;
  text-align: center;
  background: var(--bg-app);
}

.footer-links {
  margin: 32px 0;
  display: flex;
  justify-content: center;
  gap: 32px;
}

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

.footer-links a:hover {
  color: var(--accent-primary);
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-content h1 {
    margin: 0 auto 24px;
  }
  
  .hero-content p {
    margin: 0 auto 32px;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .workflow-step, .workflow-step:nth-child(even) {
    flex-direction: column;
    text-align: center;
    padding: 32px;
    gap: 40px;
  }
  
  .workflow-step::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
  }
}

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

  .proof-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .proof-item h4 {
    font-size: 1.75rem;
  }

  .proof-item p {
    font-size: 0.8rem;
  }

  .header-inner {
    padding: 0 16px;
  }
  
  .header-right {
    gap: 12px;
  }
  
  .logo img {
    height: 28px;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .nav-signin {
    display: none;
  }
  
  .header-right {
    gap: 8px;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .lang-text-toggle {
    margin-left: 0;
    font-size: 0.85rem;
  }

  .logo img {
    height: 24px;
  }
}

/* Content Pages */
.content-page {
  padding-top: 160px;
  max-width: 800px;
  margin: 0 auto;
}

.content-page h1 {
  margin-bottom: 16px;
}

.content-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.disclaimer-box {
  background: rgba(255, 193, 7, 0.05);
  border: 1px solid rgba(255, 193, 7, 0.2);
  padding: 24px;
  border-radius: 16px;
  margin: 40px 0;
}

.disclaimer-box h3 {
  color: #ffc107;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.disclaimer-box p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 40px;
  border-radius: 24px;
  margin-top: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Terms Specific Styles */
.tldr-box {
  background: rgba(150, 217, 153, 0.05);
  border: 1px solid rgba(150, 217, 153, 0.2);
  padding: 32px;
  border-radius: 20px;
  margin-bottom: 48px;
}

.tldr-box h3 {
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tldr-box p {
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.urgent-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--accent-primary);
  padding: 24px 32px;
  margin-bottom: 48px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.7;
}

.urgent-disclaimer span {
  color: var(--accent-primary);
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ==========================================================================
   Autocomplete Search & Teaser Modal Styles
   ========================================================================== */

.hero-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-top: 32px;
  z-index: 50;
}

.search-input-container {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-divider);
  border-radius: 14px;
  padding: 14px 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-input-container:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(150, 217, 153, 0.25), 0 4px 25px rgba(0, 0, 0, 0.3);
  background: rgba(38, 38, 42, 0.85);
}

.search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  margin-right: 12px;
  flex-shrink: 0;
  transition: color 0.3s;
}

.search-input-container:focus-within .search-icon {
  color: var(--accent-primary);
}

.search-input-container input {
  flex-grow: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 1.05rem;
  outline: none;
  width: 100%;
}

.search-input-container input::placeholder {
  color: var(--text-muted);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(27, 27, 30, 0.95);
  border: 1px solid var(--border-divider);
  border-radius: 14px;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  padding: 6px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border-divider) transparent;
}

.autocomplete-dropdown::-webkit-scrollbar {
  width: 6px;
}
.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background-color: var(--border-divider);
  border-radius: 3px;
}

.autocomplete-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background: rgba(150, 217, 153, 0.1);
}

.autocomplete-ticker {
  font-weight: 700;
  color: var(--accent-primary);
  font-size: 1rem;
}

.autocomplete-name {
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
}

/* Teaser Modal Overlay */
.teaser-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 14, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.teaser-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Teaser Modal Box */
.teaser-modal-box {
  background: #121316;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(150, 217, 153, 0.15);
  position: relative;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.teaser-modal-overlay.active .teaser-modal-box {
  transform: scale(1);
}

/* Modal Close Button */
.teaser-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  outline: none;
}

.teaser-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  transform: scale(1.05);
}

.teaser-modal-close svg {
  width: 20px;
  height: 20px;
}

/* Modal Content Scroll Area */
.teaser-modal-scroll {
  padding: 40px;
  overflow-y: auto;
  flex-grow: 1;
  scrollbar-width: thin;
  scrollbar-color: var(--border-divider) transparent;
}

.teaser-modal-scroll::-webkit-scrollbar {
  width: 8px;
}
.teaser-modal-scroll::-webkit-scrollbar-thumb {
  background-color: var(--border-divider);
  border-radius: 4px;
}

/* Sample Report Layout inside Modal */
.teaser-report-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.teaser-report-header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.teaser-report-ticker {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(150, 217, 153, 0.1);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(150, 217, 153, 0.2);
}

.teaser-report-badge {
  background: rgba(150, 217, 153, 0.15);
  color: var(--accent-primary);
  border: 1px solid rgba(150, 217, 153, 0.3);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
}

.teaser-report-company {
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Report Sections inside Modal */
.teaser-report-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  position: relative;
}

.teaser-report-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Company Overview Mock Grid */
.overview-mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.overview-mock-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 12px;
  border-radius: 12px;
}

.overview-mock-item span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.overview-mock-item p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.overview-mock-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Gated Blurred Section styling */
.gated-teaser-section {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.gated-blur-content {
  filter: blur(8px);
  -webkit-filter: blur(8px);
  opacity: 0.2;
  user-select: none;
  pointer-events: none;
}

/* Frosted glass premium card overlay */
.premium-blocker-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 16px;
  background: rgba(13, 14, 16, 0.5);
}

.premium-blocker-card {
  background: rgba(27, 27, 30, 0.9);
  border: 1px solid rgba(150, 217, 153, 0.25);
  border-radius: 18px;
  max-width: 420px;
  width: 100%;
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(150, 217, 153, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-blocker-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(150, 217, 153, 0.2);
  border-color: rgba(150, 217, 153, 0.45);
}

@keyframes lock-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(150, 217, 153, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(150, 217, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(150, 217, 153, 0);
  }
}

.premium-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background: rgba(150, 217, 153, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 10px;
  animation: lock-pulse 2s infinite ease-in-out;
}

.premium-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.premium-blocker-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.premium-blocker-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.premium-blocker-card .btn {
  width: 100%;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* responsive media screen fixes */
@media (max-width: 768px) {
  .hero-search-wrapper {
    margin: 32px auto 0;
  }
  
  .teaser-modal-scroll {
    padding: 24px;
  }
  
  .overview-mock-grid {
    grid-template-columns: 1fr;
  }
  
  .teaser-modal-box {
    max-height: 90vh;
  }

  .gated-teaser-section {
    min-height: 340px;
  }

  .premium-blocker-overlay {
    padding: 12px;
  }

  .premium-blocker-card {
    padding: 16px;
    border-radius: 14px;
  }

  .premium-icon-wrapper {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

  .premium-icon-wrapper svg {
    width: 16px;
    height: 16px;
  }

  .premium-blocker-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .premium-blocker-card p {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .premium-blocker-card .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
}

/* ==========================================================================
   Advanced Premium Features Section (Sandbox & Scanner)
   ========================================================================== */
.advanced-features {
  padding: 120px 0;
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.005);
  position: relative;
  overflow: hidden;
}

.advanced-features::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90vw;
  height: 90vh;
  background: radial-gradient(circle, rgba(150, 217, 153, 0.03) 0%, rgba(13, 14, 16, 0) 80%);
  z-index: -1;
  pointer-events: none;
}

.showcase-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.showcase-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  background: linear-gradient(to right, #ffffff, #c2c2cb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.showcase-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  margin: 0;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}

.showcase-item:last-child {
  margin-bottom: 0;
  grid-template-columns: 0.85fr 1.15fr;
}

/* Typography & Lists */
.showcase-text-col {
  display: flex;
  flex-direction: column;
}

.showcase-text-col .feature-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  background: rgba(150, 217, 153, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(150, 217, 153, 0.2);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.showcase-text-col h3 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.showcase-text-col p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.showcase-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.showcase-bullet-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  margin-top: 2px;
}

/* CSS Mockups Framework */
.showcase-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.mockup-container {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, border-color 0.6s ease;
  position: relative;
  transform: rotateY(-6deg) rotateX(4deg);
}

.mockup-container:hover {
  transform: rotateY(-2deg) rotateX(2deg) translateY(-4px);
  box-shadow: 0 40px 80px rgba(150, 217, 153, 0.08), 0 0 0 1px rgba(150, 217, 153, 0.2);
  border-color: rgba(150, 217, 153, 0.2);
}

/* ALTERNATE ROTATION FOR SCANNER ITEM */
.showcase-item:last-child .mockup-container {
  transform: rotateY(6deg) rotateX(4deg);
}

.showcase-item:last-child .mockup-container:hover {
  transform: rotateY(2deg) rotateX(2deg) translateY(-4px);
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.mockup-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.mockup-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #000;
  background: var(--accent-primary);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Sandbox Mockup Elements */
.sandbox-slider-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.sandbox-slider-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sandbox-slider-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.sandbox-slider-label span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.sandbox-slider-track-container {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: visible;
}

.sandbox-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--accent-primary);
}

.sandbox-slider-fill.growth { width: 75%; }
.sandbox-slider-fill.margin { width: 60%; }
.sandbox-slider-fill.wacc { width: 40%; }

.sandbox-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 0 0 2px var(--accent-primary);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sandbox-slider-thumb.growth { left: 75%; }
.sandbox-slider-thumb.margin { left: 60%; }
.sandbox-slider-thumb.wacc { left: 40%; }

.sandbox-slider-track-container:hover .sandbox-slider-thumb {
  transform: translate(-50%, -50%) scale(1.2);
}

.sandbox-results-panel {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sandbox-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.sandbox-result-row.total {
  border-top: 1px dashed var(--border-divider);
  padding-top: 10px;
  margin-top: 4px;
}

.sandbox-result-label {
  color: var(--text-secondary);
}

.sandbox-result-value {
  color: var(--text-primary);
  font-weight: 500;
}

.sandbox-result-value.highlight {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.sandbox-verdict {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(150, 217, 153, 0.15);
  color: var(--accent-primary);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(150, 217, 153, 0.2);
  margin-top: 8px;
}

/* Scanner Mockup Elements */
.scanner-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.scanner-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.scanner-dial {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-dial svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.scanner-dial-bg {
  fill: none;
  stroke: rgba(255,255,255,0.05);
  stroke-width: 8px;
}

.scanner-dial-fill {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 37.6; /* 85% */
  filter: drop-shadow(0 0 6px rgba(150, 217, 153, 0.4));
}

.scanner-dial-score {
  position: absolute;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.scanner-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scanner-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(150, 217, 153, 0.1);
  padding: 2px 8px;
  border-radius: 20px;
}

/* Allocation bars */
.scanner-allocation-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.scanner-allocation-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.scanner-allocation-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.scanner-allocation-bar-container {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}

.scanner-allocation-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--accent-primary);
}

.scanner-allocation-bar.tech { width: 45%; background: #96d999; }
.scanner-allocation-bar.finance { width: 25%; background: #70e769; }
.scanner-allocation-bar.consumer { width: 15%; background: rgba(150, 217, 153, 0.5); }

/* Glow alert card */
.scanner-tip-card {
  background: rgba(150, 217, 153, 0.05);
  border: 1px solid rgba(150, 217, 153, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive showcase style modifications */
@media (max-width: 1024px) {
  .showcase-item {
    grid-template-columns: 1fr !important;
    gap: 48px;
    margin-bottom: 80px;
  }
  
  .showcase-item:last-child {
    grid-template-columns: 1fr !important;
    flex-direction: column-reverse;
  }

  .showcase-text-col {
    text-align: center;
    align-items: center;
  }

  .showcase-bullet-list {
    align-items: flex-start;
    text-align: left;
  }

  .mockup-container, .showcase-item:last-child .mockup-container {
    transform: none !important;
    margin: 0 auto;
  }

  .mockup-container:hover, .showcase-item:last-child .mockup-container:hover {
    transform: translateY(-4px) !important;
  }
}

