/* ============================================================
   Products Hub Page — style.css
   Structure:
     1.  CSS Variables (:root)
     2.  Reset / Base
     3.  Utility Classes
     4.  Hero
     5.  Products Grid Section
     6.  Product Cards
     7.  Custom Dev Section
     8.  Contact Form
     9.  Media Queries — Tablet (min-width: 768px)
     10. Media Queries — Desktop (min-width: 1100px)
   ============================================================ */


/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  --color-primary:       #1863DC;
  --color-success:       #34A853;
  --color-dark:          #0D1F2D;
  --color-text:          #212121;
  --color-text-body:     #444444;
  --color-text-mid:      #555555;
  --color-text-light:    #666666;
  --color-text-muted:    #999999;
  --color-bg-light:      #F8F9FA;
  --color-bg-white:      #FFFFFF;
  --color-border:        #E8E8E8;
  --color-border-light:  #E0E0E0;
  --color-orange:        #FF6B35;
  --color-purple:        #9C27B0;
  --color-amber:         #F59E0B;
  --color-linkedin:      #0077B5;
  --color-amazon:        #FF9900;
  --font-family:         'Open Sans', sans-serif;
  --font-weight-regular: 400;
  --font-weight-semi:    600;
  --font-weight-bold:    700;
  --font-weight-black:   800;
  --border-radius-sm:    6px;
  --border-radius-md:    10px;
  --border-radius-lg:    12px;
  --transition-standard: all 0.2s ease;
  --container-max:       1100px;
}


/* ============================================================
   2. RESET / BASE — scoped to .products-hub wrapper
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.products-hub *,
.products-hub *::before,
.products-hub *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.products-hub img {
  display: block;
  max-width: 100%;
  height: auto;
}

.products-hub a {
  color: inherit;
  text-decoration: none;
}

.products-hub ul {
  list-style: none;
}

.products-hub button {
  font-family: var(--font-family);
  background: none;
  border: none;
  cursor: pointer;
}

.products-hub h2,
.products-hub h3 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--color-text);
}

.products-hub p {
  line-height: 1.7;
}


/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.section-label {
  display: block;
  font-size: 13px;
  font-weight: var(--font-weight-semi);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 16px;
}

.section-h2 {
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}


/* ============================================================
   4. HERO
   Matches site header gradient: #0046A0 → #2A7A1A + pattern overlay
   ============================================================ */
.products-hero {
  background: linear-gradient(135deg, #0046A0 0%, #2A7A1A 100%);
  padding: 112px 20px 64px 20px !important;
  margin-top: 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('/wp-content/uploads/2024/03/im-image-section-12.png');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
  pointer-events: none;
}

.products-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: var(--font-weight-semi);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 18px;
}

.hero-h1 {
  font-family: var(--font-family);
  font-size: 28px;
  font-weight: var(--font-weight-black);
  line-height: 1.2;
  color: #FFFFFF !important;
  margin-bottom: 18px;
}

.hero-sub {
  font-family: var(--font-family);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-trust-trio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: rgba(255, 255, 255, 0.85);
}

.trust-item i {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
}


/* ============================================================
   5. PRODUCTS GRID SECTION
   ============================================================ */
.products-grid-section {
  background: var(--color-bg-light);
  padding: 64px 20px;
}

.products-grid-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}


/* ============================================================
   6. PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: 28px;
  border-top: 4px solid var(--color-border);
  transition: var(--transition-standard);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

/* Per-product top border accent colors */
.product-card--claude    { border-top-color: #1863DC; }
.product-card--sheets    { border-top-color: #34A853; }
.product-card--linkedin  { border-top-color: #0077B5; }
.product-card--adcopy    { border-top-color: #FF6B35; }
.product-card--amazon    { border-top-color: #FF9900; }
.product-card--slides    { border-top-color: #9C27B0; }

.product-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.product-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-card-icon-wrap i {
  font-size: 22px;
}

/* Per-product icon bg tints */
.product-card--claude   .product-card-icon-wrap { background: #EBF1FD; }
.product-card--sheets   .product-card-icon-wrap { background: #E6F4EA; }
.product-card--linkedin .product-card-icon-wrap { background: #E8F3FB; }
.product-card--adcopy   .product-card-icon-wrap { background: #FFF0EB; }
.product-card--amazon   .product-card-icon-wrap { background: #FFF8EC; }
.product-card--slides   .product-card-icon-wrap { background: #F5E8FB; }

.product-card-meta {
  flex: 1;
}

.product-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--font-weight-semi);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.product-card--claude   .product-card-tag { background: #EBF1FD; color: #1863DC; }
.product-card--sheets   .product-card-tag { background: #E6F4EA; color: #2E7D32; }
.product-card--linkedin .product-card-tag { background: #E8F3FB; color: #0077B5; }
.product-card--adcopy   .product-card-tag { background: #FFF0EB; color: #D4551E; }
.product-card--amazon   .product-card-tag { background: #FFF8EC; color: #CC7A00; }
.product-card--slides   .product-card-tag { background: #F5E8FB; color: #7B1FA2; }

.product-card-name {
  font-size: 17px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: 1.25;
}

.product-card-desc {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: var(--font-weight-semi);
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-standard);
  margin-top: auto;
}

.product-card--linkedin .product-card-link { color: #0077B5; }
.product-card--adcopy   .product-card-link { color: #D4551E; }
.product-card--amazon   .product-card-link { color: #CC7A00; }
.product-card--slides   .product-card-link { color: #7B1FA2; }

.product-card-link:hover {
  gap: 10px;
}

.product-card-link i {
  font-size: 12px;
  transition: var(--transition-standard);
}


/* ============================================================
   7. CUSTOM DEV SECTION
   ============================================================ */
.products-custom-dev {
  background: var(--color-bg-white);
  padding: 64px 20px;
  border-top: 1px solid var(--color-border-light);
}

.custom-dev-container {
  max-width: 680px;
  margin: 0 auto;
}

.custom-dev-container .section-h2 {
  margin-bottom: 8px;
}

.custom-dev-container .section-subtitle {
  margin-bottom: 36px;
}


/* ============================================================
   8. CUSTOM DEV CTA BLOCK
   ============================================================ */
.custom-dev-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.custom-dev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: var(--font-weight-semi);
  color: #FFFFFF;
  background: var(--color-primary);
  padding: 13px 28px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: var(--transition-standard);
  min-width: 240px;
}

.custom-dev-btn:hover {
  background: #1255C0;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(24, 99, 220, 0.25);
  color: #FFFFFF;
}

.custom-dev-btn--secondary {
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
}

.custom-dev-btn--secondary:hover {
  background: #1255C0;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(24, 99, 220, 0.28);
}
.products-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: var(--font-weight-semi);
  color: var(--color-text-mid);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-family);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24, 99, 220, 0.10);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  color: #FFFFFF;
  background: var(--color-primary);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 14px 32px;
  cursor: pointer;
  transition: var(--transition-standard);
  align-self: flex-start;
}

.form-submit-btn:hover {
  background: #1255C0;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(24, 99, 220, 0.28);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  font-family: var(--font-family);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: #E6F4EA;
  color: #1E6B2E;
  border: 1px solid #A8D5B0;
}

.form-status.error {
  display: block;
  background: #FDECEA;
  color: #B71C1C;
  border: 1px solid #F5C6C6;
}


/* ============================================================
   9. MEDIA QUERIES — TABLET (min-width: 768px)
   ============================================================ */
@media (min-width: 768px) {

  .hero-h1 {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 17px;
  }

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

  .custom-dev-actions {
    flex-direction: row;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .section-h2 {
    font-size: 28px;
  }

}


/* ============================================================
   10. MEDIA QUERIES — DESKTOP (min-width: 1100px)
   ============================================================ */
@media (min-width: 1100px) {

  .hero-h1 {
    font-size: 40px;
  }

  .hero-sub {
    font-size: 18px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-h2 {
    font-size: 30px;
  }

  .product-card-name {
    font-size: 18px;
  }

}
