/* ========================================
   COMPONENTS - Reusable UI Elements
   ======================================== */

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary {
  background: var(--text-white);
  color: var(--bg-dark);
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #e4e4e7;
}

.btn-accent {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  color: var(--text-white);
  transition: opacity 0.2s;
}

.btn-accent:hover {
  opacity: 0.9;
}

.btn-large {
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  color: var(--text-white);
  transition: transform 0.3s ease;
}

.btn-large:hover {
  transform: scale(1.05);
}

/* ========================================
   INDUSTRY CARDS
   ======================================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.industry-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.industry-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.industry-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1);
}

.industry-name {
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.industry-cta {
  font-size: 0.875rem;
  color: var(--text-dim);
  opacity: 0;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-cta {
  opacity: 1;
  color: #d4d4d8;
}

.industry-accent {
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.industry-card:hover .industry-accent {
  opacity: 1;
}

/* Glow effects on hover */
.industry-card[data-industry="restaurant"]:hover { box-shadow: 0 0 60px -12px rgba(255, 107, 53, 0.4); }
.industry-card[data-industry="salon"]:hover { box-shadow: 0 0 60px -12px rgba(232, 67, 147, 0.4); }
.industry-card[data-industry="realestate"]:hover { box-shadow: 0 0 60px -12px rgba(0, 184, 148, 0.4); }
.industry-card[data-industry="barber"]:hover { box-shadow: 0 0 60px -12px rgba(99, 110, 114, 0.4); }
.industry-card[data-industry="fitness"]:hover { box-shadow: 0 0 60px -12px rgba(234, 88, 12, 0.4); }
.industry-card[data-industry="dental"]:hover { box-shadow: 0 0 60px -12px rgba(6, 182, 212, 0.4); }
.industry-card[data-industry="auto"]:hover { box-shadow: 0 0 60px -12px rgba(168, 85, 247, 0.4); }
.industry-card[data-industry="hvac"]:hover { box-shadow: 0 0 60px -12px rgba(34, 197, 94, 0.4); }

/* ========================================
   BROWSER FRAME / WEBSITE PREVIEW
   ======================================== */
.browser-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
}

.browser-bar {
  background: #27272a;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #3f3f46;
}

.browser-dots {
  display: flex;
  gap: 0.5rem;
}

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

.browser-dot.red { background: rgba(239, 68, 68, 0.8); }
.browser-dot.yellow { background: rgba(234, 179, 8, 0.8); }
.browser-dot.green { background: rgba(34, 197, 94, 0.8); }

.browser-url {
  flex: 1;
  margin: 0 1rem;
}

.browser-url-bar {
  background: #3f3f46;
  border-radius: 0.375rem;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 24rem;
}

.website-preview-content {
  padding: 3rem 4rem;
  text-align: center;
}

.website-preview-content h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.website-preview-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.website-features {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .website-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.website-feature {
  background: rgba(39, 39, 42, 0.5);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: #d4d4d8;
}

/* ========================================
   SOCIAL CARDS
   ======================================== */
.social-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.social-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.social-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.social-header {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.social-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.social-info { flex: 1; }

.social-name {
  color: var(--text-white);
  font-size: 0.875rem;
  font-weight: 500;
}

.social-tag {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.social-image {
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-image span {
  color: var(--text-dim);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.social-content { padding: 1rem; }

.social-text {
  color: #d4d4d8;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.social-engagement {
  color: var(--text-dim);
  font-size: 0.75rem;
}

/* ========================================
   AUTOMATION CARDS
   ======================================== */
.automations-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .automations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .automations-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.automation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: border-color 0.2s;
}

.automation-card:hover {
  border-color: var(--border-hover);
}

.automation-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.automation-card h3 {
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.automation-card p {
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* ========================================
   PRICING CARDS
   ======================================== */
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.pricing-card.popular {
  background: #27272a;
  border-width: 2px;
  transform: scale(1.05);
}

.pricing-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.pricing-price { margin-bottom: 1.5rem; }

.pricing-amount {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-white);
}

.pricing-period { color: var(--text-dim); }

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.pricing-check { flex-shrink: 0; }

.pricing-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.pricing-btn.default {
  background: #27272a;
  color: var(--text-white);
}

.pricing-btn.default:hover {
  background: #3f3f46;
}

.pricing-btn.accent {
  color: var(--text-white);
}
