/* Thunder Tags — Premium Landing Page */
:root {
  --tt-accent: #ffcb05;
  --tt-accent-rgb: 255, 203, 5;
  --tt-surface: rgba(20, 20, 24, 0.5);
  --tt-border: rgba(255,255,255,0.07);
  --tt-border-hover: rgba(255, 203, 5, 0.2);
}

/* ===== HERO ===== */
.tt-hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.tt-grid-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(var(--tt-accent-rgb), 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(var(--tt-accent-rgb), 0.03) 0%, transparent 40%);
  z-index: 0;
}
.tt-grid-bg::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  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;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.tt-hero-layout {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 2;
}
.tt-version-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px;
  background: rgba(var(--tt-accent-rgb), 0.1);
  border: 1px solid rgba(var(--tt-accent-rgb), 0.2);
  border-radius: 100px; font-size: 0.75rem; font-weight: 700;
  color: var(--tt-accent); margin-bottom: 2rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.tt-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95; margin-bottom: 1.5rem; letter-spacing: -0.04em;
}
.tt-hero p.hero-desc {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 580px; line-height: 1.7; margin-bottom: 2.5rem;
}
.tt-hero-cta { display: flex; gap: 1.2rem; margin-bottom: 3rem; }

/* Social Proof */
.tt-social-proof {
  display: flex; align-items: center; gap: 1.5rem;
  padding-top: 1rem; border-top: 1px solid var(--tt-border);
  margin-top: 1rem;
}
.tt-stat { text-align: left; }
.tt-stat strong { display: block; font-size: 1.4rem; font-family: var(--font-display); color: var(--tt-accent); }
.tt-stat span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.tt-stat-divider { width: 1px; height: 40px; background: var(--tt-border); }

/* Mockup */
.tt-mockup-stage { position: relative; }
.tt-mockup-stage::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(var(--tt-accent-rgb), 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%); z-index: -1; filter: blur(60px);
}
.tt-mockup-frame {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 40px rgba(var(--tt-accent-rgb), 0.1);
  overflow: hidden; background: #000;
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.tt-mockup-frame:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.tt-mockup-frame img { width: 100%; display: block; }

/* Browser Badges */
.browser-list { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.browser-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.browser-pill i { font-size: 1rem; }
.browser-pill:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #fff; transform: translateY(-2px); }
.browser-pill.chrome:hover i { color: #4285F4; }
.browser-pill.edge:hover i { color: #0078D7; }
.browser-pill.brave:hover i { color: #FF1B2D; }
.browser-pill.firefox:hover i { color: #FF7139; }

/* ===== MARQUEE ===== */
.support-marquee {
  padding: 3.5rem 0; background: rgba(0,0,0,0.2);
  border-top: 1px solid var(--tt-border);
  border-bottom: 1px solid var(--tt-border);
  overflow: hidden; position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.support-marquee-content {
  display: flex; gap: 4rem;
  animation: marquee-ltr 40s linear infinite;
  width: max-content; align-items: center;
}
@keyframes marquee-ltr { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.logo-item {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  color: var(--text-muted); white-space: nowrap; opacity: 0.5;
  transition: all 0.3s ease;
}
.logo-item:hover { opacity: 1; color: var(--tt-accent); transform: scale(1.05); }
.logo-item i { font-size: 1.4rem; }

/* ===== HOW IT WORKS ===== */
.tt-how { padding: 120px 0; position: relative; }
.tt-section-header { text-align: center; margin-bottom: 5rem; }
.tt-section-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.04em; }
.tt-section-header p { max-width: 600px; margin: 0 auto; color: var(--text-muted); }

.tt-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem; position: relative;
}
.tt-steps::before {
  content: ''; position: absolute; top: 50px; left: 15%; width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--tt-accent-rgb), 0.3), transparent);
  z-index: 0;
}
.tt-step {
  text-align: center; position: relative; z-index: 1;
  padding: 2.5rem 2rem;
  background: var(--tt-surface); border: 1px solid var(--tt-border);
  border-radius: 24px; backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.tt-step:hover { border-color: var(--tt-border-hover); transform: translateY(-8px); }
.tt-step-num {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--tt-accent); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(var(--tt-accent-rgb), 0.3);
}
.tt-step h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
.tt-step p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0; }

/* ===== BENTO FEATURES ===== */
.tt-features { padding: 120px 0; }
.tt-bento {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem;
}
.tt-card {
  background: var(--tt-surface); border: 1px solid var(--tt-border);
  border-radius: 20px; padding: 2.5rem;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; overflow: hidden;
}
.tt-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top left, rgba(var(--tt-accent-rgb), 0.04), transparent 60%);
  opacity: 0; transition: opacity 0.5s ease;
}
.tt-card:hover::before { opacity: 1; }
.tt-card:hover { border-color: var(--tt-border-hover); transform: translateY(-5px); }
.tt-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(var(--tt-accent-rgb), 0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.tt-card-icon i { font-size: 1.4rem; color: var(--tt-accent); filter: drop-shadow(0 0 10px rgba(var(--tt-accent-rgb), 0.3)); }
.tt-card h3 { font-size: 1.3rem; margin-bottom: 0.8rem; position: relative; }
.tt-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 0; position: relative; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-8 { grid-column: span 8; }
.col-3 { grid-column: span 3; }

/* ===== PLATFORMS GRID ===== */
.tt-platforms { padding: 120px 0; background: rgba(255,255,255,0.01); }
.tt-platform-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.tt-platform-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 2rem 1rem;
  background: var(--tt-surface); border: 1px solid var(--tt-border);
  border-radius: 16px; text-align: center;
  transition: all 0.4s ease;
}
.tt-platform-item:hover {
  border-color: var(--tt-border-hover); transform: translateY(-4px);
  background: rgba(var(--tt-accent-rgb), 0.03);
}
.tt-platform-item i { font-size: 1.6rem; color: var(--tt-accent); }
.tt-platform-item span { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }

/* ===== COMPARISON ===== */
.tt-compare { padding: 120px 0; }
.tt-compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; }
.tt-compare-col {
  padding: 2.5rem; border-radius: 20px;
  border: 1px solid var(--tt-border);
}
.tt-compare-col.without { background: rgba(255,80,80,0.03); border-color: rgba(255,80,80,0.15); }
.tt-compare-col.with { background: rgba(var(--tt-accent-rgb), 0.03); border-color: rgba(var(--tt-accent-rgb), 0.15); }
.tt-compare-col h3 { font-size: 1.2rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.tt-compare-col.without h3 i { color: #ff5050; }
.tt-compare-col.with h3 i { color: var(--tt-accent); }
.tt-compare-col ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.tt-compare-col ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5; }
.tt-compare-col.without ul li::before { content: '✕'; color: #ff5050; font-weight: 700; flex-shrink: 0; }
.tt-compare-col.with ul li::before { content: '✓'; color: var(--tt-accent); font-weight: 700; flex-shrink: 0; }

/* ===== TESTIMONIALS ===== */
.tt-testimonials { padding: 120px 0; background: rgba(0,0,0,0.15); }
.tt-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tt-testimonial {
  padding: 2.5rem; border-radius: 20px;
  background: var(--tt-surface); border: 1px solid var(--tt-border);
  transition: all 0.4s ease;
}
.tt-testimonial:hover { border-color: var(--tt-border-hover); transform: translateY(-4px); }
.tt-testimonial-stars { color: var(--tt-accent); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 2px; }
.tt-testimonial blockquote {
  font-size: 0.95rem; color: var(--text-secondary);
  line-height: 1.7; margin-bottom: 1.5rem; font-style: italic;
}
.tt-testimonial-author { display: flex; align-items: center; gap: 12px; }
.tt-testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(var(--tt-accent-rgb), 0.15);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--tt-accent); font-size: 0.85rem;
}
.tt-testimonial-author .name { font-weight: 600; font-size: 0.9rem; }
.tt-testimonial-author .role { font-size: 0.75rem; color: var(--text-muted); }

/* ===== FAQ ===== */
.tt-faq { padding: 120px 0; }
.tt-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tt-faq-item {
  padding: 2rem; border-radius: 16px;
  background: var(--tt-surface); border: 1px solid var(--tt-border);
  transition: all 0.4s ease;
}
.tt-faq-item:hover { border-color: var(--tt-border-hover); }
.tt-faq-item h4 { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--text-primary); }
.tt-faq-item p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0; }

/* ===== INSTALL ===== */
.tt-install { padding: 120px 0; }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.install-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step-item { display: flex; gap: 1.5rem; }
.step-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--tt-accent); color: #000;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(var(--tt-accent-rgb), 0.3);
}
.step-content h4 { margin-bottom: 0.4rem; }
.step-content p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ===== CTA ===== */
.tt-cta-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(var(--tt-accent-rgb), 0.12) 0%, rgba(13,15,23,0.6) 100%);
  border: 1px solid rgba(var(--tt-accent-rgb), 0.15);
  border-radius: 40px; padding: 6rem 3rem;
  text-align: center; overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.tt-cta-banner::before {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(var(--tt-accent-rgb), 0.08) 0%, transparent 50%);
  animation: cta-glow 10s ease-in-out infinite alternate; z-index: 0;
}
@keyframes cta-glow { 0% { transform: translate(-10%, -10%); } 100% { transform: translate(10%, 10%); } }
.tt-cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.tt-cta-banner h2 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1; margin-bottom: 1.5rem; letter-spacing: -0.04em; }
.tt-cta-banner p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 3rem; }
.tt-cta-decor {
  position: absolute; font-size: 12px; font-weight: 700;
  color: var(--tt-accent); background: rgba(var(--tt-accent-rgb), 0.1);
  padding: 6px 14px; border-radius: 8px;
  border: 1px solid rgba(var(--tt-accent-rgb), 0.2);
  opacity: 0.3; pointer-events: none;
  animation: float-decor 6s ease-in-out infinite;
}
@keyframes float-decor { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(5deg); } }

.pulse-dot {
  width: 8px; height: 8px; background: #4CAF50;
  border-radius: 50%; display: inline-block; margin-right: 8px; position: relative;
}
.pulse-dot::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-radius: 50%; background: inherit; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }

/* ===== LIVE EXTENSION MOCKUP ===== */
.ext-mockup {
  width: 380px; max-width: 100%;
  background: rgba(14, 14, 18, 0.95);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.6),
    0 0 60px rgba(var(--tt-accent-rgb), 0.08),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 13px;
  color: #e0e0e0;
  margin-left: auto;
  position: relative;
}
.ext-mockup:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }

/* Subtle animated glow ring */
.ext-mockup::after {
  content: '';
  position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--tt-accent-rgb), 0.15), transparent 40%, transparent 60%, rgba(var(--tt-accent-rgb), 0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.ext-mockup:hover::after { opacity: 1; }

.ext-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ext-brand { display: flex; align-items: center; gap: 8px; }
.ext-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 14px; color: #fff; }
.ext-pro {
  font-size: 9px; font-weight: 800; color: #0a0a0c;
  background: linear-gradient(135deg, #ffcb05, #ffed4a);
  padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px;
}
.ext-site-badge {
  font-size: 10px; font-weight: 600;
  color: #4CAF50; background: rgba(76,175,80,0.1);
  padding: 3px 10px; border-radius: 100px;
  border: 1px solid rgba(76,175,80,0.2);
}

.ext-tabs {
  display: flex; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 8px;
}
.ext-tab {
  flex: 1; padding: 9px 6px;
  background: none; border: none; color: rgba(255,255,255,0.35);
  font-size: 11px; font-weight: 600; cursor: default;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
}
.ext-tab.active {
  color: var(--tt-accent);
  border-bottom-color: var(--tt-accent);
}

.ext-status {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  font-size: 11px; color: rgba(255,255,255,0.4);
  background: rgba(76,175,80,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ext-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 8px rgba(76,175,80,0.5);
}

.ext-section { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ext-section-head {
  display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.ext-section-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.5); }
.ext-tag-count {
  font-size: 10px; font-weight: 700;
  color: var(--tt-accent);
  background: rgba(var(--tt-accent-rgb), 0.1);
  padding: 2px 8px; border-radius: 100px;
}
.ext-copy-btn {
  margin-left: auto; font-size: 10px; font-weight: 600;
  color: var(--tt-accent); background: rgba(var(--tt-accent-rgb), 0.08);
  border: 1px solid rgba(var(--tt-accent-rgb), 0.15);
  padding: 3px 10px; border-radius: 6px; cursor: default;
  font-family: inherit;
}

.ext-title-text {
  font-size: 13px; color: #fff; font-weight: 500;
  line-height: 1.4; margin: 0;
  padding: 8px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.ext-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ext-tag {
  padding: 4px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s ease;
}
.ext-tag:hover { border-color: rgba(var(--tt-accent-rgb), 0.3); color: #fff; }
.ext-tag.dim { color: rgba(255,255,255,0.3); font-style: italic; }

.ext-tools {
  display: flex; gap: 6px; padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ext-tool-btn {
  flex: 1; padding: 7px 4px; border-radius: 8px;
  font-size: 10px; font-weight: 600;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5); cursor: default;
  transition: all 0.2s ease;
  font-family: inherit;
}
.ext-tool-btn:hover { border-color: rgba(255,255,255,0.12); color: #fff; }
.ext-tool-btn.accent {
  background: rgba(var(--tt-accent-rgb), 0.1);
  border-color: rgba(var(--tt-accent-rgb), 0.15);
  color: var(--tt-accent);
}

.ext-footer {
  padding: 8px 16px;
  font-size: 10px; color: rgba(255,255,255,0.2);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .tt-hero-layout { grid-template-columns: 1fr; text-align: center; }
  .tt-hero p.hero-desc { margin: 0 auto 2.5rem; }
  .tt-hero-cta { justify-content: center; }
  .browser-list { justify-content: center; }
  .tt-social-proof { justify-content: center; }
  .tt-bento { grid-template-columns: 1fr; }
  .tt-card { grid-column: span 1 !important; }
  .tt-steps { grid-template-columns: 1fr; }
  .tt-steps::before { display: none; }
  .install-grid { grid-template-columns: 1fr; gap: 3rem; }
  .tt-compare-grid { grid-template-columns: 1fr; }
  .tt-testimonial-grid { grid-template-columns: 1fr; }
  .tt-faq-grid { grid-template-columns: 1fr; }
  .tt-cta-banner { padding: 4rem 1.5rem; border-radius: 24px; }
  .tt-platform-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .ext-mockup { margin: 0 auto; transform: none; }
  .ext-mockup:hover { transform: none; }
}
