/**
 * BulkGrab - Marketing Landing Page Stylesheet
 * Modern dark-mode aesthetic with vibrant indigo accents & frosted glass cards.
 */

:root {
  --bg-dark: #07090e;
  --bg-surface: #0e131f;
  --bg-card: rgba(17, 24, 39, 0.7);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #64748b;

  --primary: #4f46e5;
  --primary-glow: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient Background Glow */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, #4f46e5 0%, rgba(139, 92, 246, 0) 70%);
}

.glow-2 {
  top: 900px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #06b6d4 0%, rgba(79, 70, 229, 0) 70%);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-glow);
  color: #ffffff;
}

.btn-block {
  width: 100%;
}

.chrome-icon, .btn-icon {
  width: 18px;
  height: 18px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 60px;
}

.meta-sep {
  opacity: 0.4;
}

/* Hero Browser Mockup Frame */
.hero-preview-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.browser-frame {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(99, 102, 241, 0.15);
  overflow: hidden;
  text-align: left;
}

.browser-header {
  background: #111827;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-address {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  width: 55%;
}

.lock-icon {
  width: 12px;
  height: 12px;
  color: #10b981;
}

.browser-actions {
  display: flex;
  align-items: center;
}

.mock-ext-icon {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px 6px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 6px;
}

.mock-ext-icon img {
  width: 16px;
  height: 16px;
}

.mock-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 99px;
}

.browser-content {
  position: relative;
  min-height: 480px;
  background: #090e17;
  padding: 32px;
  overflow: hidden;
}

.mock-content-header h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.mock-content-header p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.mock-file-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 58%;
}

.mock-file-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px;
  border-radius: 8px;
}

.file-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
}

.pill-pdf { background: #fee2e2; color: #b91c1c; }
.pill-zip { background: #f3e8ff; color: #7e22ce; }
.pill-img { background: #e0f2fe; color: #0369a1; }
.pill-media { background: #ccfbf1; color: #0f766e; }

.file-info strong {
  display: block;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}

.file-info span {
  font-size: 10px;
  color: var(--text-muted);
}

/* Floating Panel Mockup in Hero */
.floating-panel-mock {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 360px;
  background: #ffffff;
  color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: floatMock 4s ease-in-out infinite alternate;
}

@keyframes floatMock {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.panel-header {
  background: #1e1b4b;
  color: #fff;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.mini-badge {
  background: #4338ca;
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 99px;
}

.panel-controls {
  display: flex;
  gap: 8px;
  font-size: 11px;
  opacity: 0.7;
}

.panel-filters {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.filter-chip {
  background: #fff;
  border: 1px solid #cbd5e1;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #475569;
}

.filter-chip.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.panel-list {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 11px;
}

.panel-item.selected {
  background: #eef2ff;
  border-color: #c7d2fe;
}

.type-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.tag-pdf { background: #fee2e2; color: #b91c1c; }
.tag-doc { background: #fef3c7; color: #b45309; }
.tag-zip { background: #f3e8ff; color: #7e22ce; }

.item-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.item-icon {
  font-size: 11px;
  color: #64748b;
}

.panel-footer {
  padding: 10px 12px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}

.quota-text {
  color: #4f46e5;
}

.footer-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-panel-action {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.btn-panel-action.primary {
  background: #4f46e5;
  color: #fff;
}

.btn-panel-action.pro-zip {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

/* Features Grid */
.features-section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-glow);
  margin-bottom: 12px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 60px;
}

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5);
}

.feature-highlight {
  border-color: rgba(139, 92, 246, 0.4);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, var(--bg-card) 100%);
}

.pro-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(139, 92, 246, 0.25);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 2px 8px;
  border-radius: 99px;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
}

.icon-indigo { background: rgba(79, 70, 229, 0.15); color: #818cf8; }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }

.feature-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.feature-pills span {
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 99px;
  color: var(--text-muted);
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  background: rgba(14, 19, 31, 0.4);
}

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

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
}

.step-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-glow);
  opacity: 0.8;
  margin-bottom: 16px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
  padding: 100px 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
}

.pricing-card.pro-card {
  border-color: rgba(99, 102, 241, 0.5);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.12) 0%, var(--bg-card) 100%);
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.25);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
}

.plan-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.plan-tag.tag-pro {
  color: #a5b4fc;
}

.plan-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.price-val {
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  min-height: 44px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  flex: 1;
}

.plan-features li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
}

.plan-features li.disabled {
  color: var(--text-sub);
  opacity: 0.6;
}

.check {
  color: var(--accent-emerald);
  font-weight: 700;
}

.cross {
  color: var(--text-sub);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.08) 100%);
  border-top: 1px solid var(--border-color);
}

.cta-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  background: #05070a;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-left {
  max-width: 320px;
}

.brand-icon-sm {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
}

.footer-bottom a {
  color: #a5b4fc;
  text-decoration: none;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title {
    font-size: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .mock-file-grid {
    max-width: 100%;
  }
  .floating-panel-mock {
    position: static;
    width: 100%;
    margin-top: 20px;
    animation: none;
  }
}

@media (max-width: 768px) {
  .navbar .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}
