/* OurPeople SMS Employee Communication Landing Page CSS */
/* Design System Variables */
:root {
  --primary: hsl(190, 34%, 24%);
  --primary-hover: hsl(190, 34%, 20%);
  --primary-light: hsl(190, 34%, 95%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  --accent: hsl(330, 85%, 55%);
  --accent-hover: hsl(330, 85%, 48%);
  --accent-foreground: hsl(0, 0%, 100%);
  
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222.2, 84%, 4.9%);
  
  --muted: hsl(208, 13%, 96%);
  --muted-foreground: hsl(215, 25%, 35%);
  
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222.2, 84%, 4.9%);
  
  --border: hsl(214.3, 31.8%, 91.4%);
  
  --destructive: hsl(0, 84.2%, 60.2%);
  
  --radius: 0.5rem;
  --shadow-soft: 0 4px 20px -2px hsla(190, 34%, 24%, 0.1);
  --shadow-medium: 0 10px 40px -10px hsla(190, 34%, 24%, 0.15);
  --shadow-strong: 0 20px 60px -10px hsla(190, 34%, 24%, 0.2);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 80px;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

section[id] {
  scroll-margin-top: 100px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--background);
}

@media (min-width: 768px) {
  .header {
    padding: 1rem 2rem;
  }
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 2rem;
  width: auto;
  aspect-ratio: 203 / 64;
}

@media (min-width: 768px) {
  .logo img {
    height: 2.5rem;
    width: auto;
    aspect-ratio: 203 / 64;
  }
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--accent-foreground);
  box-shadow: 0 8px 30px -8px hsla(330, 85%, 55%, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-cta {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-cta:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--muted);
}

.btn-secondary {
  background: var(--background);
  color: var(--foreground);
}

.btn-secondary:hover {
  background: var(--muted);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.badge svg {
  width: 1rem;
  height: 1rem;
}

/* Hero Section */
.hero {
  padding: 3rem 1rem 4rem;
  background: linear-gradient(180deg, var(--primary-light), var(--background));
}

@media (min-width: 768px) {
  .hero {
    padding: 5rem 2rem;
  }
}

.hero-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-description {
  font-size: 1rem;
  color: var(--muted-foreground);
}

/* Stat Badges Grid */
.stat-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .stat-badges {
    gap: 1rem;
  }
}

.stat-badge {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stat-badge {
    padding: 1rem;
  }
}

.stat-badge-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .stat-badge-value {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .stat-badge-value {
    font-size: 1.875rem;
  }
}

.stat-badge-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  display: block;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .stat-badge-label {
    font-size: 0.875rem;
  }
}

.stat-badge-caption {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  opacity: 0.7;
  display: none;
}

@media (min-width: 640px) {
  .stat-badge-caption {
    display: block;
  }
}

/* CTA Group */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cta-group {
    flex-direction: row;
  }
}

.link-text {
  font-size: 0.875rem;
  color: var(--primary);
  cursor: pointer;
}

.link-text:hover {
  text-decoration: underline;
}

/* Trust Bar */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

/* Form Card */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .form-card {
    position: sticky;
    top: 6rem;
  }
}

.form-header {
  text-align: center;
  padding: 1.5rem 1.5rem 0;
}

.form-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .form-header h2 {
    font-size: 1.5rem;
  }
}

.form-header p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.form-iframe {
  width: 100%;
  min-width: 100%;
  height: 600px;
  border: none;
}

/* Section Styles */
.section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 4rem 2rem;
  }
}

.section-muted {
  background: var(--muted);
}

.section-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

/* What It Is Section */
.what-grid {
  max-width: 56rem;
  margin: 0 auto;
}

.what-intro {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.what-features {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .what-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.what-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.what-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.what-feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.what-feature h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.what-feature p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Problem/Solution Section */
.problem-solution-grid {
  display: grid;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .problem-solution-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

.problem-solution-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .problem-solution-title {
    font-size: 1.875rem;
  }
}

.problem-list,
.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-item,
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.problem-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--destructive);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.solution-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.problem-item span,
.solution-item span {
  color: var(--muted-foreground);
}

/* How It Works Section */
.how-it-works-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-step {
  text-align: center;
}

.how-step-number {
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.how-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.how-step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Feature Cards */
.feature-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.feature-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Comparison Table */
.comparison-table-wrapper {
  overflow-x: auto;
  max-width: 56rem;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
}

.comparison-table thead {
  background: var(--muted);
}

.comparison-table th {
  font-weight: 600;
}

.comparison-table th:nth-child(2) {
  text-align: center;
  color: var(--muted-foreground);
}

.comparison-table th:nth-child(3) {
  text-align: center;
  color: var(--primary);
}

.comparison-table tbody tr {
  border-top: 1px solid var(--border);
}

.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3) {
  text-align: center;
}

.comparison-table td:nth-child(2) {
  color: var(--muted-foreground);
}

.comparison-table td:nth-child(3) {
  color: var(--primary);
  font-weight: 600;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-card {
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stats-card-value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .stats-card-value {
    font-size: 2.25rem;
  }
}

.stats-card-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Use Cases Grid */
.use-cases-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.use-case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.use-case-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin: 0 auto 0.75rem;
}

.use-case-card h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.use-case-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* CTA Section */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 1.875rem;
  }
}

.cta-section > p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.cta-section .cta-note {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 1rem;
}

/* FAQ Section */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem;
  background: var(--background);
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--muted);
}

.faq-question svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted-foreground);
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
.footer {
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--muted);
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 2rem;
    margin-bottom: 0;
  }
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo img {
  height: 1.5rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal.open {
  display: flex;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 56rem;
  aspect-ratio: 16 / 9;
  background: black;
  border-radius: var(--radius);
  overflow: hidden;
}

.video-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-close svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.video-container video {
  width: 100%;
  height: 100%;
}

/* Utility */
.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: flex;
  }
}

.text-center {
  text-align: center;
}

/* Icon styles */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* ========================================
   TRUSTED BY LOGO BAR
======================================== */
.trusted-by-section {
  padding: 2.5rem 1rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .trusted-by-section {
    padding: 3rem 2rem;
  }
}

.trusted-by-heading {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trusted-by-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .trusted-by-logos {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, transparent, black 1rem, black calc(100% - 1rem), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 1rem, black calc(100% - 1rem), transparent);
  }
  
  .trusted-by-logos::-webkit-scrollbar {
    display: none;
  }
}

@media (min-width: 768px) {
  .trusted-by-logos {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .trusted-by-logos {
    gap: 3rem;
  }
}

.trusted-by-logo {
  height: 28px;
  width: auto;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.2s ease;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .trusted-by-logo {
    height: 32px;
  }
}

@media (min-width: 1024px) {
  .trusted-by-logo {
    height: 36px;
  }
}

.trusted-by-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* ========================================
   CUSTOMER TESTIMONIALS
======================================== */
.testimonials-section {
  padding: 3rem 1rem;
  background: var(--muted);
}

@media (min-width: 768px) {
  .testimonials-section {
    padding: 4rem 2rem;
  }
}

.testimonials-heading {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .testimonials-heading {
    font-size: 1.875rem;
    margin-bottom: 2.5rem;
  }
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
  }
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .testimonial-avatar {
    width: 32px;
    height: 32px;
  }
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}

.testimonial-title {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.3;
}

.testimonial-quote {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.6;
  font-style: italic;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .testimonial-quote {
    font-size: 1rem;
  }
}

.testimonial-link {
  font-size: 0.8125rem;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.testimonial-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.testimonial-link svg {
  width: 0.875rem;
  height: 0.875rem;
}
