/* ============================================================
   Shared Service Pages CSS  |  sn- prefix
   Used by: smartsuite-custom-development, smartsuite-process-automation, webflow-development
   ============================================================ */

:root {
  --sn-primary:   #00ED87;
  --sn-primary-d: #00c97a;
  --sn-dark:      #0f172a;
  --sn-mid:       #374151;
  --sn-muted:     #64748b;
  --sn-light:     #f8fafc;
  --sn-border:    #e2e8f0;
  --sn-radius:    14px;
  --ff-base:      "Hanken Grotesk", sans-serif;
  --ff-head:      "Syne", sans-serif;
}

/* ── HERO ── */
.sn-hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1929 0%, #0f2d1a 60%, #0b3c3f 100%);
}
.sn-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 75% 50%, rgba(0,237,135,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,201,122,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.sn-hero-row {
  display: flex;
  align-items: center;
  gap: 60px;
}
.sn-hero-left { flex: 1; min-width: 0; }
.sn-hero-right { flex: 0 0 380px; max-width: 380px; }

.sn-hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0,237,135,0.12);
  color: #00ED87;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0,237,135,0.25);
  margin-bottom: 20px;
}
.sn-hero-title {
  font-family: var(--ff-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 20px;
}
.sn-hero-subtitle {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.sn-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.sn-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00ED87 0%, #00c97a 100%);
  color: #064e3b;
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0,237,135,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,237,135,0.45);
  color: #064e3b;
  text-decoration: none;
}
.sn-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: background 0.2s, border-color 0.2s;
}
.sn-btn-secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  color: #ffffff;
  text-decoration: none;
}

/* Stats panel */
.sn-hero-stats {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--sn-radius);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sn-stat-item { display: flex; flex-direction: column; gap: 4px; }
.sn-stat-number {
  font-family: var(--ff-head);
  font-size: 36px;
  font-weight: 800;
  color: #00ED87;
  line-height: 1;
}
.sn-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* Trusted banner */
.sn-trusted-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.sn-trusted-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.sn-trusted-industries {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sn-trusted-industries span { color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; }
.sn-trusted-industries .sep { color: rgba(255,255,255,0.25); font-size: 12px; }

/* ── INDUSTRIES ── */
.sn-industries { padding: 48px 0 0; background: #ffffff; }
.sn-industry-title {
  font-family: var(--ff-head);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--sn-dark);
  text-align: center;
  margin-bottom: 28px;
}

/* ── SHARED SECTION HELPERS ── */
.sn-section-header {
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: center;
}
.sn-section-badge {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}
.sn-section-title {
  font-family: var(--ff-head);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--sn-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.sn-section-desc {
  font-size: 16px;
  color: var(--sn-mid);
  line-height: 1.75;
  margin-bottom: 14px;
  text-align: center;
}
.sn-section-desc-highlight {
  font-size: 16px;
  color: var(--sn-dark);
  line-height: 1.75;
  font-weight: 600;
  padding: 14px 20px;
  background: #f0fdf8;
  border-left: 4px solid var(--sn-primary);
  border-radius: 0 8px 8px 0;
  margin-top: 8px;
  text-align: left;
}
.sn-section-center-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.sn-section-subtitle {
  font-size: 16px;
  color: var(--sn-muted);
  line-height: 1.7;
  margin-top: 8px;
}

/* ── WHAT IS ── */
.sn-what-is { padding: 96px 0 80px; background: #ffffff; }
.sn-feature-card {
  background: var(--sn-light);
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius);
  padding: 32px 28px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sn-feature-card:hover { border-color: #bbf7d0; box-shadow: 0 4px 20px rgba(0,201,122,0.1); }
.sn-feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #00ED87, #00c97a);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.sn-feature-icon i { font-size: 22px; color: #ffffff; }
.sn-feature-title { font-family: var(--ff-head); font-size: 18px; font-weight: 700; color: var(--sn-dark); margin-bottom: 10px; }
.sn-feature-desc { font-size: 14.5px; color: var(--sn-muted); line-height: 1.65; margin: 0; }

/* ── CHALLENGES ── */
.sn-challenges { padding: 96px 0; background: var(--sn-light); }
.sn-challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.sn-challenge-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--sn-border);
  border-radius: 12px;
  padding: 24px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sn-challenge-item:hover { border-color: #bbf7d0; box-shadow: 0 4px 16px rgba(0,201,122,0.08); }
.sn-challenge-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, #f0fdf8, #dcfce7);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sn-challenge-icon i { font-size: 18px; color: #059669; }
.sn-challenge-item p { font-size: 14.5px; color: var(--sn-mid); line-height: 1.6; margin: 0; padding-top: 8px; }

/* ── SERVICES ── */
.sn-services { padding: 96px 0; background: #ffffff; }
.sn-service-card {
  background: #ffffff;
  border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sn-service-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); border-color: #bbf7d0; }
.sn-service-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sn-service-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #00ED87, #00c97a);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sn-service-icon i { font-size: 20px; color: #ffffff; }
.sn-service-title { font-family: var(--ff-head); font-size: 17px; font-weight: 700; color: var(--sn-dark); margin: 0; }
.sn-service-card > p { font-size: 14.5px; color: var(--sn-muted); line-height: 1.65; margin-bottom: 18px; flex: 1; }
.sn-service-tech {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}
.sn-tech-badge {
  font-size: 11.5px; font-weight: 600; color: #059669;
  background: #f0fdf8; border: 1px solid #bbf7d0;
  padding: 4px 10px; border-radius: 6px;
}

/* ── PROCESS ── */
.sn-process { padding: 96px 0; background: var(--sn-light); }
.sn-process-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.sn-process-step {
  display: flex; align-items: flex-start; gap: 28px;
  margin-bottom: 40px; position: relative;
}
.sn-process-step:not(:last-child)::after {
  content: ''; position: absolute;
  left: 27px; top: 62px; width: 2px; height: calc(100% - 20px);
  background: linear-gradient(to bottom, #00ED87, transparent);
}
.sn-process-number {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #00ED87, #00c97a);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 16px; font-weight: 800; color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,201,122,0.3);
}
.sn-process-content { padding-top: 12px; flex: 1; }
.sn-process-title { font-family: var(--ff-head); font-size: 18px; font-weight: 700; color: var(--sn-dark); margin-bottom: 8px; }
.sn-process-desc { font-size: 15px; color: var(--sn-muted); line-height: 1.7; margin: 0; }

/* ── WHY CHOOSE ── */
.sn-why-choose { padding: 96px 0; background: #ffffff; }
.sn-why-card {
  background: var(--sn-light); border: 1px solid var(--sn-border);
  border-radius: var(--sn-radius); padding: 32px 28px; height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sn-why-card:hover { border-color: #bbf7d0; box-shadow: 0 4px 20px rgba(0,201,122,0.1); }
.sn-why-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #00ED87, #00c97a);
  border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.sn-why-icon i { font-size: 22px; color: #ffffff; }
.sn-why-title { font-family: var(--ff-head); font-size: 18px; font-weight: 700; color: var(--sn-dark); margin-bottom: 10px; }
.sn-why-desc { font-size: 14.5px; color: var(--sn-muted); line-height: 1.65; margin: 0; }

/* ── FAQ ── */
.sn-faq { padding: 96px 0; background: var(--sn-light); }
.sn-faq-accordion { max-width: 800px; margin: 0 auto; }
.sn-faq-item {
  background: #ffffff; border: 1px solid var(--sn-border);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sn-faq-item.active, .sn-faq-item:hover { border-color: #bbf7d0; box-shadow: 0 4px 16px rgba(0,201,122,0.08); }
.sn-faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: transparent; border: none; cursor: pointer;
  text-align: left; font-family: var(--ff-head); font-size: 16px; font-weight: 600; color: var(--sn-dark); line-height: 1.4;
}
.sn-faq-question i { font-size: 13px; color: #00c97a; flex-shrink: 0; transition: transform 0.3s ease; }
.sn-faq-item.active .sn-faq-question i { transform: rotate(180deg); }
.sn-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.sn-faq-answer-content { padding: 0 24px 20px; border-top: 1px solid #f1f5f9; }
.sn-faq-answer-content p { font-size: 15px; color: var(--sn-muted); line-height: 1.75; margin: 16px 0 0; }

/* ── CTA ── */
.sn-cta {
  padding: 96px 0;
  background: linear-gradient(135deg, #0b1929 0%, #0f2d1a 60%, #0b3c3f 100%);
}
.sn-cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.sn-cta-title {
  font-family: var(--ff-head); font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800; color: #ffffff; margin-bottom: 14px; line-height: 1.2;
}
.sn-cta-subtitle { font-size: 17px; color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.sn-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px;
  background: linear-gradient(135deg, #00ED87 0%, #00c97a 100%);
  color: #064e3b; font-weight: 700; font-size: 16px; border-radius: 12px;
  text-decoration: none; box-shadow: 0 6px 24px rgba(0,237,135,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.sn-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,237,135,0.5);
  color: #064e3b; text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sn-hero-row { gap: 40px; }
  .sn-hero-right { flex: 0 0 320px; max-width: 320px; }
}
@media (max-width: 768px) {
  .sn-hero { padding: 100px 0 60px; }
  .sn-hero-row { flex-direction: column; gap: 40px; }
  .sn-hero-right { flex: none; max-width: 100%; width: 100%; }
  .sn-hero-stats { flex-direction: row; flex-wrap: wrap; gap: 20px; justify-content: space-around; }
  .sn-stat-item { text-align: center; min-width: 120px; }
  .sn-what-is, .sn-challenges, .sn-services,
  .sn-process, .sn-why-choose, .sn-faq, .sn-cta { padding: 64px 0; }
  .sn-challenges-grid { grid-template-columns: 1fr; }
  .sn-process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
  .sn-hero { padding: 88px 0 48px; }
  .sn-hero-title { font-size: clamp(26px, 8vw, 34px); }
  .sn-hero-cta { flex-direction: column; align-items: stretch; }
  .sn-btn-primary, .sn-btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .sn-hero-stats { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sn-faq-question { font-size: 14.5px; padding: 16px 18px; }
  .sn-faq-answer-content { padding: 0 18px 16px; }
}
