/* ==========================================================
   Tagz — Page Design System
   /public/assets/css/tagz.css
   ========================================================== */

/* ----------------------------------------------------------
   Page-level section spacing
   ---------------------------------------------------------- */
.tagz-page section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.tagz-page section.bg-light {
  padding-top: 56px;
  padding-bottom: 56px;
}

.tagz-page .tagz-comp-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* ----------------------------------------------------------
   Tokens
   ---------------------------------------------------------- */
:root {
  --tagz-black:      #111111;
  --tagz-black-dk:   #000000;
  --tagz-yellow:     #FDC100;
  --tagz-yellow-lt:  #fff8e1;
  --tagz-yellow-dk:  #c49a00;
  --tagz-text-muted: #666;
  --tagz-border:     rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------------------------
   Hero badge & proof metrics
   ---------------------------------------------------------- */
.tagz-hero-badge {
  display: inline-block;
  background: var(--tagz-yellow);
  color: var(--tagz-black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.tagz-proof-bar {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--tagz-border);
  flex-wrap: nowrap;
  align-items: flex-start;
}

@media (max-width: 576px) {
  .tagz-proof-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .tagz-proof-divider { display: none; }
}

.tagz-proof-metric {
  font-size: 22px;
  font-weight: 700;
  color: var(--tagz-black);
  line-height: 1;
}

.tagz-proof-label {
  font-size: 12px;
  color: var(--tagz-text-muted);
  line-height: 1.4;
  margin-top: 4px;
}

.tagz-proof-divider {
  width: 1px;
  background: var(--tagz-border);
  align-self: stretch;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   Section label (yellow pill above headings)
   ---------------------------------------------------------- */
.tagz-section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tagz-yellow-dk);
  background: var(--tagz-yellow-lt);
  border: 1px solid var(--tagz-yellow);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ----------------------------------------------------------
   About / dark section
   ---------------------------------------------------------- */
.tagz-bg-img {
  min-height: 420px;
  background: url('/assets/images/products/tagz-main.jpg') center center no-repeat;
  background-size: cover;
}

.tagz-about-col {
  background: var(--tagz-black);
  color: #fff;
  padding: 56px 48px;
}

.tagz-about-col h2 { color: #fff; }
.tagz-about-col p  { color: rgba(255,255,255,0.8); }

@media (max-width: 991px) {
  .tagz-bg-img    { min-height: 280px; }
  .tagz-about-col { padding: 40px 28px; }
}

/* ----------------------------------------------------------
   Asset paradigm / scope cards
   ---------------------------------------------------------- */
.tagz-paradigm-section {
  background: var(--tagz-yellow-lt);
}

.tagz-paradigm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .tagz-paradigm-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .tagz-paradigm-grid { grid-template-columns: 1fr; }
}

.tagz-paradigm-card {
  background: #fff;
  border: 1px solid var(--tagz-border);
  border-top: 3px solid var(--tagz-yellow);
  border-radius: 8px;
  padding: 24px 20px;
}

.tagz-paradigm-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tagz-black);
  margin: 0 0 8px;
  line-height: 1.3;
}

.tagz-paradigm-body {
  font-size: 13px;
  color: var(--tagz-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   Feature cards (2-col grid inside feature sections)
   ---------------------------------------------------------- */
.tagz-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}

@media (max-width: 576px) {
  .tagz-feat-grid { grid-template-columns: 1fr; }
}

.tagz-feat-card {
  background: #f8f9fa;
  border-left: 3px solid var(--tagz-yellow);
  border-radius: 0 6px 6px 0;
  padding: 16px;
}

.tagz-feat-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--tagz-black);
  margin: 0 0 6px;
}

.tagz-feat-card-body {
  font-size: 13px;
  color: var(--tagz-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ----------------------------------------------------------
   IoT badge (for Tagz IoT section)
   ---------------------------------------------------------- */
.tagz-iot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tagz-yellow);
  color: var(--tagz-black);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tagz-iot-device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin: 28px 0 32px;
}

.tagz-iot-device-card {
  background: var(--tagz-black);
  border: 1px solid rgba(253, 193, 0, 0.25);
  border-radius: 8px;
  padding: 18px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tagz-iot-device-icon {
  font-size: 18px;
  color: var(--tagz-yellow);
  flex-shrink: 0;
  margin-top: 2px;
}

.tagz-iot-device-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.tagz-iot-device-body {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}

.tagz-iot-section {
  background: var(--tagz-black);
  color: #fff;
}

.tagz-iot-section h2 { color: #fff; }
.tagz-iot-section p  { color: rgba(255,255,255,0.75); }
.tagz-iot-section .tagz-section-label {
  color: var(--tagz-yellow-dk);
  background: rgba(253,193,0,0.12);
  border-color: rgba(253,193,0,0.4);
}

/* ----------------------------------------------------------
   Billing cycle strip
   ---------------------------------------------------------- */
.tagz-billing-strip {
  background: var(--tagz-yellow-lt);
  border: 1px solid var(--tagz-yellow);
  border-radius: 10px;
  padding: 32px 36px;
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.tagz-billing-strip-icon {
  font-size: 28px;
  color: var(--tagz-yellow-dk);
  flex-shrink: 0;
  margin-top: 2px;
}

.tagz-billing-strip-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--tagz-black);
}

.tagz-billing-strip-text p {
  font-size: 14px;
  color: var(--tagz-text-muted);
  margin: 0;
  line-height: 1.6;
}

.tagz-billing-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.tagz-billing-step {
  text-align: center;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--tagz-border);
  border-radius: 8px;
  min-width: 150px;
}

.tagz-billing-step-product {
  font-size: 13px;
  font-weight: 700;
  color: var(--tagz-black);
  margin: 0 0 4px;
}

.tagz-billing-step-desc {
  font-size: 12px;
  color: var(--tagz-text-muted);
  margin: 0;
}

.tagz-billing-arrow {
  font-size: 20px;
  color: var(--tagz-yellow-dk);
  padding: 0 12px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .tagz-billing-flow { flex-direction: column; align-items: stretch; }
  .tagz-billing-arrow { transform: rotate(90deg); align-self: center; }
}

/* ----------------------------------------------------------
   Platform advantage cards
   ---------------------------------------------------------- */
.tagz-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .tagz-platform-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
  .tagz-platform-grid { grid-template-columns: 1fr; }
}

.tagz-platform-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.tagz-platform-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tagz-icon-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
}

.tagz-icon-img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  padding: 8px;
  object-fit: contain;
}

.tagz-icon-plus {
  font-size: 20px;
  color: #ccc;
  line-height: 1;
  align-self: center;
}

.tagz-icon-fa {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--tagz-yellow-dk);
}

.tagz-platform-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--tagz-black);
  margin: 0 0 8px;
  min-height: 2.8em;
  line-height: 1.4;
}

.tagz-platform-desc {
  font-size: 13px;
  color: var(--tagz-text-muted);
  margin: 0 0 14px;
  line-height: 1.6;
  flex: 1;
}

.tagz-platform-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--tagz-yellow-dk);
  text-decoration: none;
}

.tagz-platform-link:hover {
  text-decoration: underline;
  color: var(--tagz-yellow-dk);
}

/* ----------------------------------------------------------
   Competitive comparison table
   ---------------------------------------------------------- */
.tagz-comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tagz-comp-table th,
.tagz-comp-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  vertical-align: middle;
}

.tagz-comp-table th:first-child,
.tagz-comp-table td:first-child {
  text-align: left;
  font-weight: 400;
  color: #333;
  width: 40%;
}

.tagz-comp-table thead th {
  font-size: 13px;
  font-weight: 700;
  background: #f8f9fa;
  border-bottom: 2px solid #e0e0e0;
  color: #333;
}

.tagz-comp-head {
  background: var(--tagz-yellow-lt) !important;
  color: var(--tagz-black) !important;
}

.tagz-comp-group td {
  background: #f5f5f5 !important;
  color: #444 !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  text-align: left !important;
  border-bottom: 1px solid #e0e0e0;
  border-top: 2px solid #e0e0e0;
}

.tagz-comp-tagz { background: var(--tagz-yellow-lt); }

.tagz-comp-check  { color: #22a06b; font-size: 18px; font-weight: 700; }
.tagz-comp-cross  { color: #bbb;    font-size: 18px; font-weight: 400; }
.tagz-comp-partial {
  color: #d97706;
  font-size: 20px;
  font-weight: 700;
}

.tagz-comp-note {
  font-size: 12px;
  color: var(--tagz-text-muted);
  margin-top: 12px;
}

/* ----------------------------------------------------------
   Pricing
   ---------------------------------------------------------- */
#pricing .card-description { min-height: 110px; }

#pricing .text-muted.text-uppercase.font-size-sm {
  min-height: 22px;
  display: block;
}

#pricing .plan-price {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing {
  font-size: 70px;
  font-weight: 600;
  position: relative;
  text-align: center;
  padding: 20px 0;
}

.pricing sup {
  font-size: 24px;
  position: relative;
  top: -30px;
  color: #bdc3c7;
}

.pricing .pricing_period {
  font-size: 24px;
  color: #bdc3c7;
  font-weight: normal;
}

.tagz-pricing-discounts {
  background: var(--tagz-yellow-lt);
  border: 1px solid var(--tagz-yellow);
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 32px;
}

.tagz-pricing-discounts h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--tagz-black);
}

.tagz-pricing-discounts ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

/* ----------------------------------------------------------
   CTA
   ---------------------------------------------------------- */
.tagz-cta {
  background: var(--tagz-black);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.tagz-cta h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 16px;
}

.tagz-cta p { color: rgba(255,255,255,0.75); font-size: 16px; max-width: 560px; margin: 0 auto 28px; }

.tagz-cta .btn-roundeded {
  background: var(--tagz-yellow);
  color: var(--tagz-black);
  border: none;
  font-weight: 700;
  margin-right: 12px;
}

.tagz-cta .btn-roundeded:hover {
  background: var(--tagz-yellow-dk);
  color: var(--tagz-black);
}

.tagz-cta .btn-outline-light {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}

.tagz-cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
