/* ============================================================
   SWISSCORE — Extended Components
   Clients, Use Cases, Webinar, Survey page templates
   ============================================================ */

/* === PAGE HERO (shared across sub-pages) === */
.page-hero {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 42%), var(--swiss-red);
  color: white; padding: 160px 0 100px; text-align: center;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 80px); line-height: 0.95;
  letter-spacing: -0.05em; font-weight: 900; margin-bottom: 20px;
}
.page-hero h1 em { font-style: normal; color: rgba(255,255,255,0.6); font-weight: 300; }
.page-hero p {
  font-size: 20px; color: rgba(255,255,255,0.75); max-width: 600px;
  margin: 0 auto; line-height: 1.7;
}

/* ==============================
   CLIENTS PAGE
   ============================== */

/* Sector cards */
.sectors-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; margin-top: 48px;
}
.sector-card {
  position: relative; padding: 40px; border-radius: var(--radius-xl);
  border: 1px solid rgba(74,74,74,0.08); background: white;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo);
  overflow: hidden; transform-style: preserve-3d; will-change: transform;
}
.sector-card:hover { transform: perspective(800px) translateY(-4px); box-shadow: 0 20px 60px rgba(18,24,40,0.10); }
.sector-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--swiss-red-light); color: var(--swiss-red);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 20px;
}
.sector-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--stone-grey); margin-bottom: 10px; }
.sector-card p { font-size: 16px; color: rgba(74,74,74,0.7); line-height: 1.65; margin-bottom: 16px; }
.sector-needs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.sector-needs span {
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--swiss-red-light); color: var(--swiss-red);
}

/* Featured sector card */
.sector-card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 42%), var(--swiss-red);
  color: white; border-color: transparent; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.sector-card-featured h3 { color: white; font-size: 28px; }
.sector-card-featured p { color: rgba(255,255,255,0.8); }
.sector-card-featured .sector-icon { background: rgba(255,255,255,0.14); color: white; }
.sector-card-featured .sector-needs span { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.9); }
.featured-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.featured-stat {
  padding: 20px; border-radius: 16px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12); text-align: center;
}
.featured-stat strong { font-size: 28px; font-weight: 900; letter-spacing: -0.04em; display: block; }
.featured-stat span { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; display: block; }

/* Trust numbers bar */
.numbers-section { background: var(--bg-dark); padding: 64px 0; color: white; }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.number-item strong { font-size: 42px; font-weight: 900; letter-spacing: -0.04em; display: block; color: var(--swiss-red); }
.number-item span { font-size: 14px; color: var(--muted-light); margin-top: 6px; display: block; }

/* Testimonials grid */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.testimonial-card-grid {
  padding: 36px; border-radius: var(--radius-xl);
  background: white; border: 1px solid rgba(74,74,74,0.06);
  box-shadow: var(--shadow-card);
}
.testimonial-card-grid blockquote {
  font-size: 17px; font-weight: 500; color: var(--stone-grey);
  line-height: 1.6; margin-bottom: 20px; font-style: italic;
  border: none; background: none; padding: 0; border-left: none;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--swiss-red-light); color: var(--swiss-red);
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.testimonial-meta strong { display: block; font-size: 14px; color: var(--stone-grey); }
.testimonial-meta span { font-size: 13px; color: rgba(74,74,74,0.5); }

/* ==============================
   USE CASES PAGE
   ============================== */

/* Filter tabs */
.filter-section { padding: 32px 0; background: var(--soft-white); border-bottom: 1px solid var(--line-dark); position: sticky; top: 64px; z-index: 100; backdrop-filter: blur(12px); }
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tab {
  padding: 10px 22px; border-radius: 999px; font-size: 13px; font-weight: 700;
  border: 1.5px solid rgba(74,74,74,0.12); background: white; color: rgba(74,74,74,0.65);
  cursor: pointer; transition: all .3s var(--ease-out-expo); font-family: inherit;
}
.tab:hover { border-color: var(--swiss-red); color: var(--swiss-red); }
.tab.active { background: var(--swiss-red); color: white; border-color: var(--swiss-red); box-shadow: 0 4px 16px rgba(220,20,60,0.22); }

/* Case cards */
.cases-section { padding: 80px 0; }
.cases-grid { display: grid; gap: 28px; }
.case-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  padding: 40px; border-radius: var(--radius-xl);
  border: 1px solid rgba(74,74,74,0.08); background: white;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease-out-expo), box-shadow .4s var(--ease-out-expo);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-card.hidden { display: none; }
.case-sector { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--swiss-red); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.case-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: var(--stone-grey); margin-bottom: 10px; line-height: 1.25; }
.case-card > div > p { font-size: 15px; color: rgba(74,74,74,0.65); line-height: 1.6; }
.case-block { margin-bottom: 16px; }
.case-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.case-label-problem { color: rgba(74,74,74,0.4); }
.case-label-solution { color: var(--swiss-red); }
.case-block p { font-size: 14px; color: rgba(74,74,74,0.7); line-height: 1.6; }
.case-results { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark); }
.case-result { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--swiss-red); }
.case-card-featured { border-color: var(--swiss-red); border-width: 2px; box-shadow: 0 12px 48px rgba(220,20,60,0.08); }

/* ==============================
   WEBINAR / EBOOK LANDING
   ============================== */
.webinar-hero {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), transparent 42%), var(--swiss-red);
  color: white; padding: 140px 0 80px; overflow: hidden;
}
.webinar-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px;
  border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15);
  font-size: 13px; font-weight: 700; margin-bottom: 24px;
}
.hero-proof { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.hero-proof .proof-detail { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.7); }
.hero-proof .proof-detail i { color: rgba(255,255,255,0.5); width: 18px; }
.form-card {
  background: white; border-radius: var(--radius-xl); padding: 36px;
  box-shadow: var(--shadow-lg); color: var(--stone-grey);
}
.form-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.03em; }
.form-card .form-sub { font-size: 14px; color: rgba(74,74,74,0.6); margin-bottom: 24px; }

/* Pain stats */
.pain-section { background: var(--bg-dark); padding: 48px 0; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pain-stat { text-align: center; color: white; }
.pain-stat strong { font-size: 36px; font-weight: 900; color: var(--swiss-red); display: block; letter-spacing: -0.04em; }
.pain-stat span { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 6px; display: block; line-height: 1.5; }

/* Timeline roadmap */
.roadmap-section { padding: 100px 0; background: var(--soft-white); }
.roadmap-header { text-align: center; margin-bottom: 48px; }
.roadmap-header h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--stone-grey); }
.roadmap-header h2 em { font-style: normal; color: var(--swiss-red); }
.roadmap-header p { font-size: 18px; color: rgba(74,74,74,0.65); margin-top: 12px; }
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--line-dark); }
.timeline-item { position: relative; padding: 0 0 48px 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -33px; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: white; border: 2px solid var(--line-dark);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: rgba(74,74,74,0.5);
  transition: all .3s;
}
.timeline-item.active .timeline-dot { background: var(--swiss-red); color: white; border-color: var(--swiss-red); box-shadow: 0 4px 16px rgba(220,20,60,0.3); }
.timeline-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--swiss-red); margin-bottom: 6px; display: block; }
.timeline-content h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--stone-grey); margin-bottom: 8px; }
.timeline-content p { font-size: 15px; color: rgba(74,74,74,0.65); line-height: 1.65; }

/* Inside grid (webinar program) */
.inside-section { padding: 100px 0; }
.inside-header { text-align: center; margin-bottom: 48px; }
.inside-header h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--stone-grey); }
.inside-header h2 em { font-style: normal; color: var(--swiss-red); }
.inside-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.inside-card {
  padding: 28px; border-radius: var(--radius-xl);
  border: 1px solid rgba(74,74,74,0.08); background: white;
  box-shadow: var(--shadow-card); transition: transform .4s var(--ease-out-expo);
}
.inside-card:hover { transform: translateY(-4px); }
.inside-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--swiss-red-light); color: var(--swiss-red);
  display: grid; place-items: center; font-size: 18px; margin-bottom: 16px;
}
.inside-card h3 { font-size: 17px; font-weight: 800; color: var(--stone-grey); margin-bottom: 8px; letter-spacing: -0.02em; }
.inside-card p { font-size: 14px; color: rgba(74,74,74,0.65); line-height: 1.6; }

/* Who section */
.who-section { padding: 80px 0; background: var(--soft-white); }
.who-header { text-align: center; margin-bottom: 36px; }
.who-header h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; letter-spacing: -0.03em; color: var(--stone-grey); }
.who-header h2 em { font-style: normal; color: var(--swiss-red); }
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who-pill {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 20px; border-radius: var(--radius-xl);
  border: 1px solid rgba(74,74,74,0.08); background: white; text-align: center;
}
.who-pill i { font-size: 24px; color: var(--swiss-red); }
.who-pill strong { font-size: 15px; font-weight: 700; color: var(--stone-grey); }
.who-pill span { font-size: 13px; color: rgba(74,74,74,0.55); }

/* Final CTA (dark) */
.final-cta {
  background: var(--bg-dark); padding: 100px 0; text-align: center; color: white;
}
.final-cta h2 {
  font-size: clamp(32px, 4.5vw, 56px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 16px;
}
.final-cta h2 em { font-style: normal; color: var(--swiss-red); }
.final-cta p { font-size: 18px; color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }

/* ==============================
   SURVEY / DISCOVERY
   ============================== */
.survey-header {
  background: linear-gradient(135deg, rgba(255,255,255,0.07), transparent 42%), var(--swiss-red);
  color: white; padding: 120px 0 60px; text-align: center;
}
.survey-header h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; margin-bottom: 8px; }
.survey-header p { font-size: 15px; color: rgba(255,255,255,0.72); }

.survey-progress { background: rgba(255,255,255,0.88); backdrop-filter: blur(14px); padding: 16px 0; border-bottom: 1px solid var(--line-dark); position: sticky; top: 64px; z-index: 100; }
.progress-bar-bg { height: 5px; background: rgba(74,74,74,0.06); border-radius: 100px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--swiss-red); border-radius: 100px; transition: width 0.5s var(--ease-out-expo); }
.progress-info { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; color: rgba(74,74,74,0.6); }
.progress-info strong { color: var(--stone-grey); }

.step-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; }
.step-pill {
  padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--line-dark); background: white;
  color: rgba(74,74,74,0.6); transition: all 0.3s var(--ease-out-expo);
}
.step-pill:hover { border-color: var(--swiss-red); color: var(--swiss-red); }
.step-pill.active { background: var(--swiss-red); color: white; border-color: var(--swiss-red); box-shadow: 0 4px 14px rgba(220,20,60,0.22); }
.step-pill.done { background: rgba(45,138,78,0.08); color: #2D8A4E; border-color: rgba(45,138,78,0.2); }

.survey-panel { display: none; animation: surveyFadeIn 0.4s var(--ease-out-expo); }
.survey-panel.active { display: block; }
@keyframes surveyFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.survey-card {
  background: white; border-radius: var(--radius-xl); border: 1px solid var(--line-dark);
  padding: 28px; margin-bottom: 16px; box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s;
}
.survey-card:hover { box-shadow: var(--shadow); }
.survey-card-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.survey-card-number {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 10px;
  background: var(--swiss-red); color: white;
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.survey-card-title { font-size: 15px; font-weight: 600; color: var(--stone-grey); line-height: 1.45; }
.script-box {
  background: rgba(220,20,60,0.06); border-left: 3px solid var(--swiss-red);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin-bottom: 20px;
  font-size: 14px; line-height: 1.7; color: var(--stone-grey); font-style: italic;
}
.hypo-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--swiss-red);
}
.hypo-badge::before { content: ""; width: 24px; height: 1px; background: var(--swiss-red); opacity: 0.6; }
.survey-hint {
  font-size: 13px; color: rgba(74,74,74,0.55); margin-top: 8px;
  padding-left: 12px; border-left: 2px solid rgba(74,74,74,0.06); line-height: 1.6;
}

.survey-nav-buttons { display: flex; justify-content: space-between; margin-top: 32px; }

/* ==============================
   RESPONSIVE FOR NEW COMPONENTS
   ============================== */
@media (max-width: 980px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .sector-card-featured { display: block; grid-column: auto; }
  .featured-stats { margin-top: 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card { grid-template-columns: 1fr; }
  .webinar-hero-grid { grid-template-columns: 1fr; }
  .inside-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .featured-stats { grid-template-columns: 1fr; }
  .tabs { gap: 6px; }
  .tab { font-size: 12px; padding: 8px 16px; }
  .inside-grid { grid-template-columns: 1fr; }
  .who-grid { grid-template-columns: 1fr; }
  .pain-grid { gap: 20px; }
}
