/* =========================================================
   DEC Group AI Toolkit — Main Stylesheet
   Matches decgroup.pro design language exactly
   Navy: #1d283a | Red: #ef4343 | White: #fff | Light: #f1f5f9
   Font: DM Sans (matching parent site)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #1d283a;
  --navy2:    #253047;
  --navy3:    #2e3c56;
  --red:      #ef4343;
  --red-dim:  #d63b3b;
  --red-tint: rgba(239, 67, 67, 0.1);
  --white:    #ffffff;
  --light:    #f1f5f9;
  --light2:   #e2e8f0;
  --body-txt: #65758b;
  --dark-txt: #1d283a;
  --font: 'DM Sans', sans-serif;
  --max-w: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(29,40,58,0.10);
  --shadow-lg: 0 8px 40px rgba(29,40,58,0.16);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--body-txt);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--dark-txt);
  line-height: 1.18;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { line-height: 1.7; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section        { padding: 5rem 0; }
.section--tight { padding: 3rem 0; }
.bg-navy  { background: var(--navy); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }

/* =========================================================
   NAVIGATION — matches decgroup.pro sticky translucent nav
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy3);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}
.nav__logo img { height: 38px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  transition: color 0.18s, background 0.18s;
}
.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav__links .nav__cta {
  background: var(--red);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  font-weight: 600;
}
.nav__links .nav__cta:hover { background: var(--red-dim); }

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.4rem;
  line-height: 1;
}

/* =========================================================
   HERO — dark navy, matches parent site exactly
   ========================================================= */
.hero {
  background: var(--navy);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(239,67,67,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__eyebrow {
  display: inline-block;
  background: var(--red-tint);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  border: 1px solid rgba(239,67,67,0.25);
  margin-bottom: 1.25rem;
}
.hero__title {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero__title em {
  color: var(--red);
  font-style: normal;
}
.hero__desc {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--navy3);
}
.stat__num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  display: block;
}
.stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.2rem;
}

/* =========================================================
   PROMPT WINDOW — signature element (shows an actual prompt)
   ========================================================= */
.prompt-window {
  background: var(--navy2);
  border: 1px solid var(--navy3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.prompt-window__bar {
  background: var(--navy3);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.prompt-window__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--navy);
}
.prompt-window__dot:nth-child(1) { background: var(--red); }
.prompt-window__dot:nth-child(2) { background: #f59e0b; }
.prompt-window__dot:nth-child(3) { background: #22c55e; }
.prompt-window__title {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-left: 0.5rem;
  font-family: var(--font);
  letter-spacing: 0.04em;
}
.prompt-window__body {
  padding: 1.5rem;
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}
.prompt-window__body .p-label {
  display: block;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.prompt-window__body .p-placeholder {
  color: var(--red);
  font-style: italic;
}
.prompt-window__body .p-bracket { color: rgba(255,255,255,0.35); }

/* =========================================================
   BUTTONS — matching decgroup.pro style
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dim);
  border-color: var(--red-dim);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.07);
}
.btn--outline-dark {
  background: transparent;
  color: var(--dark-txt);
  border-color: var(--light2);
}
.btn--outline-dark:hover {
  border-color: var(--dark-txt);
}
.btn--lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* =========================================================
   SECTION HEADINGS — red underline accent like decgroup.pro
   ========================================================= */
.section-heading {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-heading__eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-heading h2 { margin-bottom: 0.5rem; }
.section-heading__rule {
  width: 50px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 0.9rem auto 1rem;
}
.section-heading p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--body-txt);
  font-size: 1.05rem;
}

/* =========================================================
   PRODUCT CARDS — white with red-tint icon, matching cards
   ========================================================= */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--light2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(29,40,58,0.06);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(239,67,67,0.2);
}
.product-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top center;
  background: var(--navy);
  border-bottom: 1px solid var(--light2);
  display: block;
}
.product-card__body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.product-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-txt);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.product-card__desc {
  font-size: 0.875rem;
  color: var(--body-txt);
  flex: 1;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--light2);
}
.product-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-txt);
}
.product-card__cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s;
}
.product-card__cta:hover { gap: 0.55rem; }

/* =========================================================
   CATALOG SECTION GROUP
   ========================================================= */
.catalog-group { margin-bottom: 4rem; }
.catalog-group:last-child { margin-bottom: 0; }
.catalog-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light2);
}
.catalog-group__left {}
.catalog-group__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}
.catalog-group__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark-txt);
}
.catalog-group__count {
  font-size: 0.82rem;
  color: var(--body-txt);
}

/* =========================================================
   BADGE PILL
   ========================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
}
.badge--red   { background: var(--red-tint); color: var(--red); }
.badge--navy  { background: rgba(29,40,58,0.08); color: var(--navy); }
.badge--light { background: var(--light); color: var(--body-txt); }

/* =========================================================
   PRODUCT PAGE — two-column layout
   ========================================================= */
.product-page { padding: 3.5rem 0 6rem; }
.product-page__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--body-txt);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--body-txt); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb__sep { color: var(--light2); }

.product-page__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.product-page__title {
  color: var(--dark-txt);
  margin-bottom: 1rem;
  font-weight: 800;
}
.product-page__subtitle {
  font-size: 1.1rem;
  color: var(--body-txt);
  margin-bottom: 2rem;
  max-width: 560px;
}

/* Prompt preview on product page */
.product-page__prompt { margin-bottom: 3rem; }

/* What's Inside */
.whats-inside { margin-bottom: 3rem; }
.whats-inside__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-txt);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light2);
}

.part-block {
  background: var(--light);
  border: 1px solid var(--light2);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--red);
}
.part-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.part-block__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-txt);
}
.prompt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.prompt-list li {
  font-size: 0.875rem;
  color: var(--body-txt);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.prompt-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.8rem;
}

/* How It Works */
.how-steps { margin-bottom: 3rem; }
.how-steps__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-txt);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light2);
}
.steps { display: flex; flex-direction: column; gap: 1rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step__num {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--red-tint);
  border: 2px solid rgba(239,67,67,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--red);
}
.step__body { font-size: 0.9rem; color: var(--body-txt); padding-top: 6px; }
.step__body strong { color: var(--dark-txt); }

/* =========================================================
   BUY PANEL — sticky sidebar
   ========================================================= */
.buy-panel {
  position: sticky;
  top: 86px;
  background: var(--white);
  border: 1px solid var(--light2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.buy-panel__thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: var(--navy);
  display: block;
}
.buy-panel__body { padding: 1.5rem; }
.buy-panel__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-txt);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.buy-panel__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.75rem 0 1.25rem;
}
.buy-panel__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-txt);
  line-height: 1;
}
.buy-panel__currency {
  font-size: 0.85rem;
  color: var(--body-txt);
}
.buy-panel__includes {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--light2);
}
.buy-panel__includes li {
  font-size: 0.875rem;
  color: var(--body-txt);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.buy-panel__includes li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.buy-panel__embed { margin-bottom: 0.85rem; }
.buy-panel__embed-placeholder {
  background: var(--light);
  border: 2px dashed var(--light2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--body-txt);
  font-style: italic;
  width: 100%;
}
.buy-panel__note {
  font-size: 0.78rem;
  color: var(--body-txt);
  text-align: center;
  line-height: 1.5;
}
.buy-panel__note a { color: var(--red); }

/* =========================================================
   BUNDLE CONTENTS TABLE
   ========================================================= */
.bundle-table-wrap {
  background: var(--white);
  border: 1px solid var(--light2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(29,40,58,0.06);
}
.bundle-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.bundle-table th {
  background: var(--light);
  text-align: left;
  padding: 0.75rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-txt);
  font-weight: 700;
  border-bottom: 1px solid var(--light2);
}
.bundle-table td {
  padding: 0.85rem 1.25rem;
  color: var(--body-txt);
  border-top: 1px solid var(--light2);
  vertical-align: middle;
}
.bundle-table td:first-child { color: var(--dark-txt); font-weight: 600; }
.bundle-table tr:last-child td {
  font-weight: 700;
  color: var(--dark-txt);
  background: rgba(239,67,67,0.05);
  border-top: 2px solid var(--light2);
}

/* =========================================================
   STATS STRIP — matches decgroup.pro light-bg stats section
   ========================================================= */
.stats-strip {
  background: var(--light);
  padding: 3.5rem 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stats-strip__num {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stats-strip__label {
  font-size: 0.9rem;
  color: var(--body-txt);
  font-weight: 500;
}

/* =========================================================
   RELATED PRODUCTS
   ========================================================= */
.related-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--light2);
}
.related-section__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-txt);
  margin-bottom: 1.5rem;
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--navy);
  padding: 2rem 0;
  border-top: 1px solid var(--navy3);
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.trust-item__icon {
  color: var(--red);
  font-size: 1.1rem;
}

/* =========================================================
   FOOTER — matches decgroup.pro footer
   ========================================================= */
.footer {
  background: var(--navy);
  padding: 4rem 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--navy3);
}
.footer__logo { margin-bottom: 1rem; }
.footer__logo img { height: 34px; width: auto; }
.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 220px;
}
.footer__col-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.1rem;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--white); }
.footer__contact-item {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}
.footer__contact-item span { flex-shrink: 0; color: var(--red); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom a { color: rgba(255,255,255,0.4); }
.footer__bottom a:hover { color: rgba(255,255,255,0.75); }
.footer__bottom-links { display: flex; gap: 1.5rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { display: none; }
  .product-page__inner { grid-template-columns: 1fr; }
  .buy-panel { position: static; order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .nav__links { display: none; position: absolute; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 1px solid var(--navy3);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.35rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav__toggle { display: flex; }
  .nav__inner { position: relative; }
  .stats-strip__grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 600px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 0 3rem; }
  .section { padding: 3rem 0; }
  .hero__stats { flex-wrap: wrap; gap: 1.5rem; }
  .trust-bar__inner { gap: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
