/*
 * Gutsy HQ — Shared CSS
 * Core Design DNA: Montserrat 700/800 & Hind 400-600
 */

:root {
  --gutsy-purple: #9B5FFA;
  --gutsy-purple-hover: #8A4AE8;
  --gutsy-orange: #FF8A43;
  --gutsy-green: #063C4A;
  --gutsy-cream: #FCFAED;
  --gutsy-blue: #B8D4F0;
  --gutsy-lime: #C8E6A0;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Hind', sans-serif;
  
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-pill: 100px;
  --shadow: 0 4px 30px rgba(0,0,0,0.06);
  --transition: all .3s ease;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.25px;
  color: var(--gutsy-green);
  background: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: var(--font-heading); 
  font-weight: 800; 
  line-height: 1.1; 
  color: var(--gutsy-green); 
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* Layout Helpers */
.ct-section { padding: 5vw 0; position: relative; }
.ct-section-inner-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.space-between { justify-content: space-between; }
.gap-s { gap: 16px; }
.gap-m { gap: 24px; }
.gap-xl { gap: 48px; }

/* 3-Column Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
}

/* Feature/Solution Cards */
.feature-card {
  background: #ffffff;
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(155, 95, 250, 0.1);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--gutsy-purple); }
.feature-card-icon { height: 120px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; }
.feature-card-icon img { height: 100%; width: auto; }
.feature-card-label {
  display: inline-block; padding: 4px 12px; border-radius: 6px; 
  font-size: 12px; font-weight: 800; text-transform: uppercase; margin-bottom: 16px; align-self: flex-start;
}
.feature-card h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.3; }
.feature-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  letter-spacing: 0.25px; cursor: pointer; border: none;
}
.btn.cream { background: var(--gutsy-cream); color: var(--gutsy-purple); }
.btn.cream:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

/* Utility Backgrounds */
.bg-gusty-purple { background-color: var(--gutsy-purple); color: #fff; }
.bg-gusty-cream { background-color: var(--gutsy-cream); }
.bg-gutsy-gradient {
  background-image: url('https://gutsyhq.com/wp-content/uploads/2024/10/home-gradient.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}
.text-body-light { color: #ffffff !important; }

/* Shared Component Classes */
.detail-row { display: flex; gap: 60px; align-items: center; margin-bottom: 80px; }
.detail-row.reverse { flex-direction: row-reverse; }
.cc-detail-image, .cc-detail-content { flex: 1; width: 50%; }

.stack-card {
  display: flex; gap: 0; align-items: stretch; background: #fff; 
  border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow);
}
.stack-card-content { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.stack-card-image { flex: 1.2; overflow: hidden; }
.stack-card-image img { width: 100%; height: 100%; object-fit: cover; }

.stack-card-header { position: relative; padding-bottom: 20px; }
.stack-card-number {
  font-family: var(--font-heading); font-size: 80px; font-weight: 800;
  color: rgba(6, 60, 74, 0.05); position: absolute; left: -10px; top: -40px; z-index: -1;
}

/* Animations/Interactions */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Desktop overrides */
@media (min-width: 901px) {
  .detail-row.reverse .cc-detail-content { text-align: left; }
}

/* Mobile responsive */
@media (max-width: 900px) {
  .ct-section { padding: 60px 0; }
  .ct-section-inner-wrap { padding: 0 24px; }
  .detail-row, .detail-row.reverse { flex-direction: column; gap: 40px; text-align: center; }
  .cc-detail-image, .cc-detail-content { width: 100%; }
  .stack-card { flex-direction: column; }
  .stack-card-content { padding: 32px; }
}
