/* =============================================================================
   SECONDSENDER WEBSITE STYLES
   Professional, clean design inspired by HubSpot's UI patterns
   ============================================================================= */

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-sidebar: #1B5E20;
  --color-sidebar-hover: #2D6A4F;
  --color-accent: #85BB65;
  --color-accent-dark: #6B9651;
  --color-text-dark: #333;
  --color-text-light: #666;
  --color-bg: #f8f9fa;
  --color-white: #ffffff;
  --color-border: #e3e6f0;
  --color-success: #85BB65;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background: var(--color-bg);
  display: flex;
  min-height: 100vh;
}

/* FIXED LOGO */
.logo-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  background: var(--color-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.logo-image-fixed {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 4px;
}

/* SIDEBAR NAVIGATION */
.sidebar {
  width: 80px;
  background: var(--color-sidebar);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 40px;
  position: fixed;
  height: calc(100vh - 80px);
  left: 0;
  top: 80px;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar-icon {
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 24px;
  cursor: pointer;
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.sidebar-label {
  font-size: 10px;
  font-weight: 600;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-icon:hover {
  background: var(--color-sidebar-hover);
  color: var(--color-white);
}

.sidebar-icon.active {
  background: var(--color-accent);
  color: var(--color-white);
}

/* MAIN CONTAINER */
.container {
  margin-left: 80px;
  width: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

/* HEADER */
.header {
  background: var(--color-sidebar);
  border-bottom: none;
  padding: 20px 40px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 80px;
  right: 0;
  z-index: 100;
  width: calc(100% - 80px);
  height: 80px;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 0;
}

.logo-container > div {
  color: white;
}

.logo-container strong {
  color: white;
  font-size: 16px;
  display: block;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: bold;
  font-size: 24px;
}

.logo-image {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: contain;
}

.tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  max-width: 400px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-indicator {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  min-width: 60px;
  flex: 0 0 auto;
}

.clock {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  min-width: 200px;
  text-align: right;
}

/* CONTENT AREA */
.content {
  flex: 1;
  padding: 40px;
  padding-top: 120px;
  background: var(--color-bg);
  overflow-y: auto;
  margin-top: 0;
}

.content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 700px;
  display: flex;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
}

.modal-left {
  flex: 0 0 35%;
  background: var(--color-sidebar);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.modal-left img {
  width: 80%;
  max-width: 150px;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
}

.modal-right {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  font-size: 40px;
  color: white;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
  line-height: 1;
  border-radius: 4px;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  transform: scale(1.1);
}

.modal-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-dark);
  white-space: pre-line;
}

@media (max-width: 768px) {
  .modal {
    flex-direction: column;
    width: 95%;
    max-height: 90vh;
  }

  .modal-left {
    flex: 0 0 120px;
    padding: 20px;
  }

  .modal-right {
    padding: 30px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    font-size: 32px;
    width: 45px;
    height: 45px;
  }

  .modal-text {
    font-size: 13px;
  }
}

/* HERO SECTION */
.hero {
  background: var(--color-white);
  border-radius: 8px;
  padding: 2px 40px;
  margin-bottom: 40px;
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.hero h1 {
  font-size: 36px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero .disclaimer {
  font-size: 12px;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
}

.hero-cta {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.hero-cta:hover {
  background: var(--color-accent-dark);
}

/* FEATURES GRID */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 12px 16px 8px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.feature-header h3 {
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.feature-icon {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 0;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 18px;
  color: var(--color-text-dark);
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}

.feature-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* FORM & FAQ 2-COLUMN GRID */
.form-faq-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.beta-form-section,
.beta-faq {
  background: var(--color-white);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.beta-form-section h2,
.beta-faq h2 {
  font-size: 20px;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  font-weight: 600;
}

/* FAQ SECTION */
.faq-section {
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-section h2 {
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 32px;
  font-weight: 600;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 20px;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-toggle {
  font-size: 20px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

.faq-toggle.open {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-top: 12px;
  display: none;
}

.faq-answer.open {
  display: block;
}

/* CONTACT SECTION */
.contact-section {
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-section h2 {
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.contact-item {
  padding: 20px;
  background: var(--color-bg);
  border-radius: 6px;
}

.contact-item-icon {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.contact-item-label {
  font-size: 13px;
  color: var(--color-text-light);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-item-value {
  font-size: 16px;
  color: var(--color-text-dark);
  font-weight: 500;
}

.contact-item-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item-link:hover {
  color: var(--color-accent-dark);
}

/* DOCS SECTION */
.docs-section {
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.docs-section h2 {
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  font-weight: 600;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.doc-card {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.doc-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 12px rgba(0, 164, 166, 0.1);
}

.doc-icon {
  font-size: 28px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.doc-card h3 {
  font-size: 16px;
  color: var(--color-text-dark);
  font-weight: 600;
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* BETA PAGE STYLES */
.beta-value {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.value-item {
  background: var(--color-white);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.value-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.value-header h3 {
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
}

.value-icon {
  font-size: 40px;
  color: var(--color-accent);
  margin-bottom: 0;
  flex-shrink: 0;
}

.value-item h3 {
  font-size: 18px;
  color: var(--color-text-dark);
  margin: 0;
  font-weight: 600;
}

.value-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* BETA FORM SECTION */
.beta-form-section {
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 48px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.beta-form-section h2 {
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.beta-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 164, 166, 0.1);
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 16px;
  margin-bottom: 16px;
}

.form-submit:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--color-text-light);
  margin: 0;
  text-align: center;
}

/* FORM SUCCESS MESSAGE */
.form-success {
  background: #f0f7f4;
  border: 2px solid var(--color-accent);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
}

.success-content {
  max-width: 400px;
  margin: 0 auto;
}

.success-content i {
  font-size: 48px;
  color: var(--color-accent);
  display: block;
  margin-bottom: 16px;
}

.success-content h3 {
  font-size: 22px;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.success-content p {
  font-size: 14px;
  color: var(--color-text-dark);
  line-height: 1.6;
  margin-bottom: 8px;
}

.success-content p:last-child {
  margin-bottom: 0;
}

/* BETA FAQ */
.beta-faq {
  background: var(--color-white);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.beta-faq h2 {
  font-size: 24px;
  color: var(--color-text-dark);
  margin-bottom: 32px;
  font-weight: 600;
}

.faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 48px;
  max-width: 100%;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

/* First item in each column — items 1 and 4 */
.faq-item:first-child,
.faq-item:nth-child(4) {
  padding-top: 0;
}

/* Last item in each column — items 3 and 6 */
.faq-item:nth-child(3),
.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question i {
  font-size: 12px;
  color: var(--color-text-light);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--color-accent);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE FOR BETA PAGE */
@media (max-width: 768px) {
  .beta-value {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .value-item {
    padding: 24px;
  }

  .value-header h3 {
    white-space: normal;
    font-size: 16px;
  }

  .beta-form-section {
    padding: 24px;
  }

  .install-steps-pair {
    flex-direction: column;
  }

  .install-step-2-wrap {
    min-width: 0;
    width: 100%;
  }

  .beta-faq {
    padding: 24px;
  }

  .beta-form {
    max-width: 100%;
  }

  .faq-container {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
  }

  .logo-fixed {
    width: 60px;
    height: 45px;
  }

  .logo-image-fixed {
    width: 32px;
    height: 32px;
    border-radius: 4px;
  }

  .sidebar {
    width: 60px;
    gap: 20px;
    top: 45px;
    height: calc(100vh - 45px);
  }

  .sidebar-label {
    display: block;
  }

  .container {
    margin-left: 60px;
    width: calc(100% - 60px);
  }

  .sidebar-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .header {
    left: 60px;
    width: calc(100% - 60px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 8px;
    gap: 8px;
    height: auto;
  }

  .header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    order: 1;
  }

  .logo-container {
    gap: 6px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .logo-container > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-container strong {
    font-size: 12px;
    white-space: nowrap;
    line-height: 1.2;
  }

  .tagline {
    font-size: 10px;
    white-space: normal;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
  }

  .logo-container > div > .tagline {
    flex-basis: 100%;
    width: 100%;
    order: 3;
    margin: 4px 0 0 0;
    padding: 0;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    order: 2;
  }

  .page-indicator {
    font-size: 11px;
    padding: 0;
    background: transparent;
    white-space: nowrap;
  }

  .clock {
    font-size: 11px;
    min-width: auto;
    text-align: left;
    white-space: nowrap;
    margin-left: auto;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .page-indicator {
    font-size: 11px;
    padding: 0;
    background: none;
    white-space: nowrap;
    min-width: 40px;
    flex: 0 0 auto;
  }

  .clock {
    font-size: 11px;
    min-width: auto;
    white-space: nowrap;
  }

  .content {
    padding: 24px;
    padding-top: 100px;
  }

  .hero {
    padding: 24px 20px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero .disclaimer {
    font-size: 11px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 20px 16px;
    min-height: auto;
  }

  .feature-header {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .feature-header h3 {
    margin-bottom: 0;
  }

  .feature-card h3 {
    white-space: normal;
    font-size: 16px;
  }

  .feature-icon {
    margin-bottom: 0;
  }
}

/* =============================================================================
   INSTALL PREREQ — HubSpot warning screens walkthrough
   ============================================================================= */

.install-prereq {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 28px;
}

.install-prereq h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.install-prereq > p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.hs-screen-walkthrough {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.hs-screen-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--color-bg);
  border-radius: 8px;
  border: 1px solid var(--color-border);
}

.hs-screen-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.hs-screen-number {
  background: var(--color-sidebar);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
}

.hs-screen-body {
  flex-shrink: 0;
}

.hs-screen-body p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.hs-screen-body code {
  background: #f0f0f0;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 13px;
  color: #c0392b;
}

.url-highlight {
  background: #ffe066;
  padding: 0 3px;
  border-radius: 2px;
  font-weight: 700;
}

.hs-screenshot-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hs-screen-disclaimer {
  font-size: 11px;
  color: var(--color-text-light);
  font-style: italic;
  line-height: 1.4;
  max-width: 360px;
}

.hs-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  cursor: zoom-in;
  transition: box-shadow 0.2s;
}

.hs-screenshot:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.install-trust-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.install-what-next {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 12px;
  padding: 10px 14px;
  background: #f0f4ff;
  border-left: 3px solid var(--color-sidebar);
  border-radius: 4px;
}

/* =============================================================================
   INSTALL FLOW — buttons, inputs, states
   ============================================================================= */

.install-step {
  max-width: 520px;
}

.install-step p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.install-step h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 14px;
}

.install-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 8px;
}

.install-text-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-sans);
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.install-text-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 164, 166, 0.12);
}

/* Base button */
.install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.install-btn:hover {
  transform: translateY(-1px);
}

.install-btn:active {
  transform: translateY(0);
}

/* Primary — teal */
.install-btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.install-btn-primary:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
}

/* Secondary — muted outline */
.install-btn-secondary {
  background: var(--color-white);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
}

.install-btn-secondary:hover {
  background: var(--color-bg);
  color: var(--color-text-dark);
  border-color: #bbb;
}

/* Success — green */
.install-btn-success {
  background: #1a8a5a;
  color: var(--color-white);
}

.install-btn-success:hover {
  background: #157a4d;
  color: var(--color-white);
}

/* Size modifiers */
.install-btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.install-btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

/* Disabled state — greyed out, not interactive */
.install-btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(40%);
}

.install-steps-pair {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.install-steps-pair .beta-install {
  flex: 2;
  min-width: 0;
}

.install-step-2-wrap {
  flex: 1;
  min-width: 220px;
}

.install-action-row {
  margin-top: 16px;
  margin-bottom: 8px;
}

.install-error {
  font-size: 13px;
  color: #c0392b;
  margin-top: 4px;
}

.install-success-banner {
  padding: 12px 16px;
  background: #e8f8ef;
  border-left: 4px solid #1a8a5a;
  border-radius: 4px;
  font-size: 14px;
  color: #155a3a;
  margin-bottom: 12px;
}

.install-success-banner i {
  color: #1a8a5a;
}

.install-support-note {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 14px;
}

.install-step-success {
  text-align: center;
  padding: 12px 0;
}

.install-success-icon {
  font-size: 48px;
  color: #1a8a5a;
  margin-bottom: 16px;
}

/* Lightbox for screenshots */
.hs-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.hs-lightbox.active {
  display: flex;
}

.hs-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

@media (max-width: 640px) {
  .hs-screen-walkthrough {
    grid-template-columns: 1fr;
  }
  .hs-screenshot {
    width: 100%;
  }
}

/* =============================================
   WHY IT EXISTS — Time comparison section
   ============================================= */
.why-section {
  background: #f8f9fa;
  padding: 28px 24px;
  border-radius: 8px;
  margin-bottom: 40px;
  margin-top: 20px;
  border: 1px solid #e0e0e0;
}

.why-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin: 0 0 6px 0;
}

.why-section-subtitle {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin: 0 0 22px 0;
}

.why-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-col {
  padding: 16px 20px;
  border-radius: 8px;
}

.why-col.manual {
  background: #fff5f5;
  border: 1px solid #ffcdd2;
}

.why-col.with-ss {
  background: #f1f8f3;
  border: 1px solid #c8e6c9;
}

.why-col-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.why-col.manual .why-col-title {
  color: #c62828;
}

.why-col.with-ss .why-col-title {
  color: #1b5e20;
}

.why-step-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-step {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  color: #444;
  gap: 10px;
}

.why-step-label {
  flex: 1;
  line-height: 1.4;
}

.why-step-time {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  padding: 2px 8px;
  border-radius: 10px;
  flex-shrink: 0;
}

.why-col.manual .why-step-time {
  background: #ffcdd2;
  color: #c62828;
}

.why-col.with-ss .why-step-time {
  background: #c8e6c9;
  color: #1b5e20;
}

.why-total {
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 10px 12px;
  border-radius: 6px;
}

.why-col.manual .why-total {
  color: #c62828;
  background: #ffebee;
}

.why-col.with-ss .why-total {
  color: #1b5e20;
  background: #e8f5e9;
}

.how-step-time {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #1b5e20;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 1px 7px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}

@media (max-width: 640px) {
  .why-columns {
    grid-template-columns: 1fr;
  }
}

/* ========================
   COST ANALYSIS (index.html)
   ======================== */
.cost-analysis {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 24px;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px 28px;
  margin-top: 24px;
}

.cost-col-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cost-approach-label {
  font-size: 14px;
  font-weight: 700;
  color: #444;
  margin: 0;
}

.cost-time-line {
  font-size: 14px;
  color: #555;
  margin: 0;
}

.cost-price-line {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.cost-price-bad {
  color: #c62828;
}

.cost-price-good {
  color: #1b5e20;
}

.cost-rate-note {
  font-size: 11px;
  color: #999;
  margin: 0;
}

.cost-vs-divider {
  font-size: 18px;
  font-weight: 700;
  color: #bbb;
  text-align: center;
  padding: 0 8px;
}

.cost-savings-callout {
  text-align: center;
  margin: 14px 0 0 0;
  font-size: 15px;
  font-weight: 700;
  color: #1b5e20;
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  .cost-analysis {
    grid-template-columns: 1fr;
    gap: 16px 0;
  }

  .cost-vs-divider {
    text-align: center;
  }
}

/* ========================
   UTILITY
   ======================== */
.is-hidden {
  display: none;
}

/* ========================
   HOW IT WORKS SECTION (index.html)
   ======================== */
.how-it-works-section {
  background: white;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 40px;
  margin-top: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.how-it-works-title {
  font-size: 24px;
  color: #333;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.how-step {
  text-align: center;
  padding: 10px;
}

.how-step h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.how-step p {
  font-size: 13px;
  color: #666;
}

/* ========================
   CTA SECTION (index.html)
   ======================== */
.cta-section {
  background: linear-gradient(135deg, #85BB65 0%, #1B5E20 100%);
  padding: 30px 40px;
  border-radius: 8px;
  margin-bottom: 40px;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 600;
}

.cta-subtitle {
  font-size: 16px;
  margin-bottom: 32px;
  opacity: 0.95;
}

.launch-app-cta {
  display: inline-block;
  background: white;
  color: #1B5E20;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* ========================
   DOCS LIST STYLES (docs.html)
   ======================== */
.docs-list {
  margin-left: 20px;
  color: #666;
}

/* ========================
   BEST PRACTICES SECTION (docs.html)
   ======================== */
.best-practices-section {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.best-practices-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 24px;
  font-weight: 600;
}

.best-practices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.best-practice-card {
  background: white;
  padding: 24px;
  border-radius: 6px;
  border-left: 4px solid #85BB65;
}

.best-practice-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.best-practice-card p {
  font-size: 13px;
  color: #666;
}

/* ========================
   DOCS FAQ SECTION (docs.html)
   ======================== */
.docs-faq-section {
  margin-bottom: 40px;
}

.docs-faq-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.docs-faq-card {
  background: white;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 16px;
  border-left: 4px solid #e0e0e0;
}

.docs-faq-card h3 {
  margin-top: 0;
  font-size: 15px;
  color: #333;
}

.docs-faq-card p {
  margin: 8px 0;
  font-size: 13px;
  color: #666;
}

/* ========================
   MORE HELP SECTION (support.html)
   ======================== */
.more-help-section {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 40px;
}

.more-help-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 24px;
  font-weight: 600;
}

.more-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.more-help-card {
  background: white;
  padding: 24px;
  border-radius: 6px;
  border-left: 4px solid #85BB65;
}

.more-help-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.more-help-card p {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

.more-help-card a {
  color: #85BB65;
  text-decoration: none;
  font-weight: 500;
}
