/* ==========================================================================
   homepage.css - Homepage-specific styles for liteco.ro
   SEAP Banner, Hero, Categories, Products, B2B, Newsletter, Brands
   ========================================================================== */

/* --------------------------------------------------------------------------
   SEAP Highlight Banner
   -------------------------------------------------------------------------- */
.seap-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
  border-bottom: 2px solid var(--color-secondary);
  position: relative;
  overflow: hidden;
  padding: 1.25rem 0;
}

.seap-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

.seap-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.seap-banner-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.seap-banner-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-dark));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.seap-banner-title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #92400e;
  margin: 0;
}

.seap-banner-subtitle {
  font-size: 0.875rem;
  color: #a16207;
  font-weight: 500;
  margin: 0;
}

.seap-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.seap-banner-actions .btn-cpv {
  background: linear-gradient(135deg, #92400e, #78350f);
  color: #ffffff;
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
}
.seap-banner-actions .btn-cpv:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.3);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #f8fafc 100%);
  padding: 3.75rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(8, 145, 178, 0.05));
  padding: 0.5rem 1.125rem;
  border-radius: 30px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(8, 145, 178, 0.15);
}

.hero-title {
  font-family: var(--font-family-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-dark);
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

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

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 1rem 2.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-lg);
}

.hero-actions .btn-outline-primary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.hero-actions .btn-outline-primary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Trust Stats */
.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.trust-stat {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.trust-stat-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.trust-stat-number {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-dark);
}

.trust-stat-label {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 2.25rem;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-family: var(--font-family-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.5px;
  margin-bottom: 0.375rem;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  margin-top: 0.375rem;
}

/* --------------------------------------------------------------------------
   Categories Section
   -------------------------------------------------------------------------- */
.section-categories {
  padding: 3.75rem 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.category-card-bg {
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}

.category-card-icon {
  font-size: 2.25rem;
  margin-bottom: 0.875rem;
}

.category-card-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.category-card-count {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

.category-card-accent {
  margin-top: 0.875rem;
  width: 32px;
  height: 4px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Products Section
   -------------------------------------------------------------------------- */
.section-products {
  padding: 2.5rem 0 3.75rem;
  background: var(--color-bg-alt);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   SEAP Section (dark gradient)
   -------------------------------------------------------------------------- */
.section-seap {
  padding: 3.75rem 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-seap::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.section-seap .section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.seap-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  padding: 0.625rem 1.5rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-secondary-light);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.section-seap .section-title {
  color: #ffffff;
  font-size: 2.5rem;
}

.section-seap .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* SEAP Table */
.seap-table-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  backdrop-filter: blur(20px);
  margin-top: 2rem;
}

.seap-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.seap-table th {
  background: #1e3a5f;
  color: #ffffff;
  padding: 0.875rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: left;
}

.seap-table th:first-child { border-radius: 12px 0 0 0; }
.seap-table th:last-child { border-radius: 0 12px 0 0; }

.seap-table td {
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.seap-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.seap-table td.seap-name {
  color: #ffffff;
  font-weight: 600;
}

.seap-cpv-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-secondary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-block;
}

.seap-table td.seap-price {
  color: #ffffff;
  font-weight: 700;
}

.seap-table-actions {
  display: flex;
  gap: 0.5rem;
}

.seap-section-actions {
  text-align: center;
  margin-top: 2.25rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.seap-section-actions .btn-ghost {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.seap-section-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   B2B Benefits Section
   -------------------------------------------------------------------------- */
.section-b2b {
  padding: 3.75rem 0;
  background: var(--color-white);
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.b2b-card {
  background: var(--color-bg);
  border-radius: var(--border-radius-2xl);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--color-bg-alt);
  transition: var(--transition-bounce);
}

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

.b2b-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  margin-bottom: 1.25rem;
}

.b2b-card-title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.625rem;
}

.b2b-card-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.section-newsletter {
  padding: 3.75rem 0;
  background: linear-gradient(135deg, #ecfeff, #f0f9ff, #f5f3ff);
}

.newsletter-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.newsletter-title {
  font-family: var(--font-family-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.newsletter-text {
  color: var(--color-text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.newsletter-form-inline {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.newsletter-form-inline input[type="email"] {
  flex: 1;
  min-width: 200px;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  border: 2px solid var(--color-border);
  font-size: 0.9375rem;
  font-family: var(--font-family);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-form-inline input[type="email"]:focus {
  border-color: var(--color-primary);
}

.newsletter-form-inline .btn {
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.newsletter-success {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: 1.5rem 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.newsletter-success .icon {
  font-size: 1.75rem;
}

.newsletter-success .text {
  font-weight: 600;
  color: var(--color-success);
}

/* --------------------------------------------------------------------------
   Brands Section
   -------------------------------------------------------------------------- */
.section-brands {
  padding: 3rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-bg-alt);
}

.brands-label {
  color: var(--color-text-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 2rem;
}

.brands-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0.4;
}

.brands-grid span {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .section-seap .section-title {
    font-size: 2rem;
  }

  .seap-table-wrapper {
    overflow-x: auto;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-categories,
  .section-products,
  .section-b2b,
  .section-newsletter {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .seap-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .seap-banner-info {
    flex-direction: column;
  }

  .seap-banner-actions {
    justify-content: center;
    width: 100%;
  }

  .newsletter-form-inline {
    flex-direction: column;
  }

  .newsletter-form-inline .btn {
    width: 100%;
  }

  .b2b-grid {
    grid-template-columns: 1fr;
  }

  .brands-grid {
    gap: 1.5rem;
  }

  .brands-grid span {
    font-size: 1rem;
  }
}
