/* ==========================================================================
   Grounds Director - Production Marketing Landing Page Styles
   Aesthetics: Modern light mode with deep dark/green accents for maximum legibility.
   Theme Primary: Deep Emerald Forest Green (#0f5132)
   Neutral Dark: Sophisticated charcoal/slate (#1a1d20)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Color Tokens */
  --color-primary: #2e7d32;
  --color-primary-hover: #1b5e20;
  --color-primary-light: #e8f5e9;
  --color-primary-glow: rgba(46, 125, 50, 0.15);
  
  --color-text-dark: #1a1d20;
  --color-text-muted: #4a554e;
  --color-text-light: #6c7a70;
  
  --color-bg-main: #f1f5eb;
  --color-bg-card: #f4f8f4;
  --color-bg-alt: #e3ebd8;
  
  --color-border: #d4e0d5;
  --color-border-hover: #b4c9b7;
  
  --color-danger: #dc3545;
  --color-success: #198754;
  --color-gold: #ffc107;
  --color-white: #ffffff;
  
  /* Layout & Spacing */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(26, 29, 32, 0.03), 0 2px 4px -1px rgba(26, 29, 32, 0.02);
  --shadow-md: 0 10px 15px -3px rgba(26, 29, 32, 0.05), 0 4px 6px -2px rgba(26, 29, 32, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(26, 29, 32, 0.08), 0 10px 10px -5px rgba(26, 29, 32, 0.04);
  --shadow-glow: 0 0 40px rgba(15, 81, 50, 0.18);
}

/* --------------------------------------------------------------------------
   2. Reset & Typography Hierarchy
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-main);
  color: var(--color-text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Hierarchy Constraints */
h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* 40px - 56px */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  line-height: 1.3;
}

p, li, td, th {
  font-size: 1rem; /* 16px */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(15, 81, 50, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 81, 50, 0.35);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
  color: var(--color-text-dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   3. Header & Sticky Glassmorphism Navigation
   -------------------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 250, 248, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 81, 50, 0.06);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

header.scrolled .navbar {
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
}

.logo svg {
  fill: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-dark);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   4. Hero Section with Call to Action
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 180px;
  padding-bottom: 120px;
  background: linear-gradient(135deg, rgba(241, 245, 235, 0.8) 0%, rgba(255, 255, 255, 0.85) 100%), url('../assets/golf_course.png') center/cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
}

.hero-tagline span {
  color: var(--color-text-muted);
}

.hero-title {
  margin-bottom: 24px;
  color: var(--color-text-dark);
}

.hero-title span {
  color: var(--color-primary);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Email Capture Form */
.hero-cta-form {
  display: flex;
  gap: 12px;
  background-color: var(--color-white);
  padding: 8px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  max-width: 540px;
  margin-bottom: 40px;
  transition: var(--transition-smooth);
}

.hero-cta-form:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md), 0 0 0 4px var(--color-primary-glow);
}

.hero-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 16px 0 24px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-dark);
  outline: none;
}

.hero-input::placeholder {
  color: var(--color-text-light);
}

.hero-btn {
  white-space: nowrap;
}

.hero-trust-badges {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-badge-item svg {
  color: var(--color-primary);
}

/* Hero UI Mockup Card */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-screenshot-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.hero-screenshot-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 12px 30px rgba(15, 81, 50, 0.15);
}

/* --------------------------------------------------------------------------
   App Highlights Section
   -------------------------------------------------------------------------- */
.highlights-section {
  background-color: var(--color-bg-main);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-card {
  background-color: var(--color-bg-card);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.highlight-icon svg {
  width: 28px;
  height: 28px;
}

.highlight-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
}

.highlight-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Value Sections (User Roles Grid)
   -------------------------------------------------------------------------- */
.roles-section {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

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

.role-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.role-header-box {
  margin-bottom: 24px;
}

.role-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.role-title-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.role-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.role-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.role-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.role-feature-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Device screen mockup inside role cards */
.role-mockup {
  margin-top: auto;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  font-family: monospace;
  font-size: 0.75rem;
}

.role-mockup-header {
  font-weight: bold;
  border-bottom: 1.5px solid var(--color-primary);
  padding-bottom: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: var(--color-primary);
}

.role-mockup-line {
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #e4ede7;
}

.role-mockup-line:last-child {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   6. Pricing Tier Matrix (Interactive Grid)
   -------------------------------------------------------------------------- */
.pricing-section {
  background-color: var(--color-bg-main);
}

.pricing-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

.pricing-toggle-label {
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition-smooth);
}

.pricing-toggle-label.active {
  color: var(--color-primary);
}

.toggle-btn-container {
  position: relative;
  display: inline-block;
  width: 68px;
  height: 36px;
}

.toggle-btn-container input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-btn-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: var(--transition-smooth);
  border-radius: 34px;
}

.toggle-btn-slider:before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  left: 4px;
  bottom: 4px;
  background-color: var(--color-white);
  transition: var(--transition-smooth);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

input:checked + .toggle-btn-slider {
  background-color: var(--color-primary);
}

input:checked + .toggle-btn-slider:before {
  transform: translateX(32px);
}

.discount-tag {
  background-color: #ffe082;
  color: #7f5c00;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-left: 8px;
}

/* Explicit CSS Grid Pricing Card Placement */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.pricing-card {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  padding: 44px 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

/* Highlighted Advanced Tier */
.pricing-card.popular {
  border: 3px solid var(--color-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-8px);
}

.popular-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.25);
  white-space: nowrap;
}

.pricing-tier-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.pricing-tier-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  min-height: 54px;
}

.pricing-tier-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  margin-right: 4px;
}

.price-term {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-left: 6px;
}

.pricing-cta-btn {
  width: 100%;
  margin-bottom: 32px;
  text-align: center;
}

.pricing-limits-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  margin-top: auto; /* Push thresholds section to the bottom */
}

.pricing-limits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-limit-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.pricing-limit-item span:first-child {
  color: var(--color-text-muted);
}

.pricing-limit-item span:last-child {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Full Comparison Matrix Table
   -------------------------------------------------------------------------- */
.matrix-container {
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 40px;
  overflow-x: auto;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matrix-table th, .matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
}

.matrix-table th {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.matrix-table thead th {
  border-bottom: 2.5px solid var(--color-primary);
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.matrix-table tbody tr:hover {
  background-color: #fafbfc;
}

.matrix-category-row {
  background-color: var(--color-primary-light);
}

.matrix-category-row td {
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-primary);
  letter-spacing: 1px;
  padding: 12px 20px;
}

.matrix-feature-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  max-width: 250px;
}

.matrix-feature-desc {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-top: 4px;
}

.matrix-val-cell {
  font-size: 0.9rem;
  font-weight: 500;
  width: 15%;
  text-align: center;
}

.icon-check {
  color: var(--color-success);
  fill: none;
}

.icon-cross {
  color: #cbd5e1; /* Locked parameter blank/gray dash */
  font-size: 1.1rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
footer {
  background-color: var(--color-text-dark);
  color: #a7b3ab;
  padding: 80px 0 32px 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-brand .logo svg {
  fill: var(--color-white);
}

.footer-brand p {
  margin-bottom: 24px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-subscribe p {
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  gap: 8px;
}

.subscribe-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 30px;
  color: var(--color-white);
  width: 100%;
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.subscribe-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(15, 81, 50, 0.2);
}

.subscribe-btn {
  padding: 12px 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* --------------------------------------------------------------------------
   9. Media Queries (Responsive Down to 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-tagline, .hero-cta-form, .hero-trust-badges {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .roles-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  /* Mobile Menu Open Navigation Drawer */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 290px;
    height: 100vh;
    background-color: var(--color-white);
    padding: 100px 36px;
    box-shadow: var(--shadow-lg);
    z-index: 1005;
    gap: 24px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto 56px auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .matrix-container {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .hero-cta-form {
    flex-direction: column;
    border-radius: var(--border-radius-md);
    padding: 16px;
  }
  
  .hero-input {
    padding: 8px;
    text-align: center;
  }
  
  .hero-btn {
    width: 100%;
    border-radius: var(--border-radius-sm);
  }
  
  .hero-trust-badges {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .matrix-table th, .matrix-table td {
    padding: 12px 10px;
  }
}

@media (max-width: 360px) {
  body {
    font-size: 15px;
  }
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .pricing-card {
    padding: 30px 16px;
  }
}

/* --------------------------------------------------------------------------
   7. Help Page & Interactive Accordion Elements
   -------------------------------------------------------------------------- */
.help-container {
  max-width: 900px;
  margin: 140px auto 80px auto;
  padding: 0 24px;
}

.help-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.help-header h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
}

.help-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Quick Search Box */
.help-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-white);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  max-width: 480px;
  margin: 2.5rem auto 1rem auto;
  transition: var(--transition-smooth);
}

.help-search-box:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md), 0 0 0 4px var(--color-primary-glow);
}

.help-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-dark);
  outline: none;
}

.help-search-input::placeholder {
  color: var(--color-text-light);
}

.help-search-box svg {
  color: var(--color-text-light);
  flex-shrink: 0;
}

/* Help Section Card */
.help-section-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 32px;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.help-section-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.help-section-header {
  border-bottom: 1.5px solid var(--color-border);
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
}

.help-section-title {
  font-size: 1.6rem;
  color: var(--color-text-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.help-section-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  align-items: center;
}

/* Details and Accordion Styling */
.task-accordion {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-white);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.task-accordion:last-child {
  margin-bottom: 0;
}

.task-accordion:hover {
  border-color: var(--color-border-hover);
}

.task-accordion[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.task-summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  background-color: var(--color-white);
  transition: var(--transition-smooth);
}

.task-summary::-webkit-details-marker {
  display: none;
}

.task-summary::marker {
  display: none;
}

.task-summary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-hover);
}

.task-summary .chevron-icon {
  width: 18px;
  height: 18px;
  color: var(--color-text-light);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.task-summary:hover .chevron-icon {
  color: var(--color-primary);
}

.task-accordion[open] .task-summary .chevron-icon {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.task-content {
  padding: 24px;
  border-top: 1px solid var(--color-border);
  background-color: #fafdfa;
}

.task-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

/* Badges */
.help-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 30px;
  line-height: 1;
}

.help-badge-role {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary-hover);
}

.help-badge-tier {
  background-color: var(--color-bg-alt);
  color: var(--color-text-dark);
  border: 1.5px solid var(--color-border-hover);
}

/* Steps List Formatting */
.task-steps-list {
  margin-top: 1rem;
  padding-left: 1.25rem;
  list-style-type: decimal;
}

.task-steps-list li {
  margin-bottom: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.task-steps-list li:last-child {
  margin-bottom: 0;
}

.task-steps-list li strong {
  color: var(--color-text-dark);
}

/* Widgets Styling */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 1.25rem;
}

.widget-item-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.widget-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.widget-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Support Contact Footer */
.support-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-top: 4rem;
}

.support-card h2 {
  font-size: 1.8rem;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.support-card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .help-container {
    margin-top: 110px;
  }
  .help-section-card {
    padding: 24px 16px;
  }
  .task-summary {
    padding: 14px 18px;
  }
  .task-content {
    padding: 18px;
  }
}

