:root {
      --bg-main: #F7F7F7;
      --bg-card: #FFFFFF;
      --text-main: #111111;
      --text-muted: #555555;
      --text-light: #777777;
      --accent: #2C3A4A; /* Soft Navy */
      --border-soft: #E6E6E6;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg-main);
      color: var(--text-main);
      line-height: 1.6;
      scroll-behavior: smooth;
      padding-top: 58px;
    }

    .container {
      max-width: 1080px;
      margin: 0 auto;
      padding: 0 24px;
    }

    section {
      padding: 72px 0;
    }

    h1, h2, h3 {
      font-weight: 600;
      line-height: 1.25;
      margin: 0 0 16px 0;
    }

    h1 {
      font-size: 40px;
      letter-spacing: -0.02em;
    }

    h2 {
      font-size: 32px;
    }

    h3 {
      font-size: 18px;
    }

    p {
      margin: 0 0 16px 0;
      color: var(--text-muted);
      font-size: 16px;
    }

    /* Hero */
    .hero {
      padding-top: 200px;
      padding-bottom: 40px;
      animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero p {
      max-width: 640px;
      font-size: 18px;
      animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
    }

    .hero-actions {
      margin-top: 32px;
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent);
      color: #fff;
      padding: 14px 28px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 500;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      border: none;
      cursor: pointer;
      display: inline-block;
      position: relative;
      overflow: hidden;
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(44, 58, 74, 0.25);
    }

    .btn-primary:hover::before {
      width: 300px;
      height: 300px;
    }

    .btn-secondary {
      color: var(--accent);
      text-decoration: none;
      font-weight: 500;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 10px 16px;
      transition: all 0.3s ease;
      position: relative;
    }

    .btn-secondary::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s ease;
    }

    .btn-secondary:hover {
      opacity: 0.8;
    }

    .btn-secondary:hover::after {
      width: 100%;
    }

    /* Video */
    .video-wrapper {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }

    .video-placeholder {
      width: 320px;
      height: 540px;
      background: #000;
      border-radius: 24px;
      box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    }

    .demo-video {
    width: 320px;              /* or 340px max */
    aspect-ratio: 9 / 16;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 18px 50px rgba(0,0,0,0.15);
    background: #000;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    }

    .demo-video:hover {
      transform: scale(1.02);
      box-shadow: 0 24px 60px rgba(0,0,0,0.2);
    }


    /* Cards */
  .card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e6e6e6;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
  }

  .card:hover h3 {
    color: var(--accent);
  }

  .card:hover p {
    color: #333;
  }


    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 24px;
      margin-top: 40px;
    }

    /* Insights */
    .insight-main {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    .insight-bar {
      width: 4px;
      height: 100%;
      background: var(--accent);
      border-radius: 4px;
    }

    .insight-secondary {
      margin-top: 24px;
      display: grid;
      gap: 16px;
    }

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

    .cta p {
      max-width: 600px;
      margin: 0 auto 32px auto;
    }

    .cta-button {
      text-align: center;
      margin-top: 64px;
      padding: 48px 24px;
      display: flex;
      justify-content: center;
    }

    footer {
      padding: 48px 0;
      text-align: center;
      color: var(--text-light);
      font-size: 14px;
    }

    @media (max-width: 768px) {
      h1 {
        font-size: 32px;
      }

      h2 {
        font-size: 26px;
      }

      section {
        padding: 56px 0;
      }

      .video-placeholder {
        width: 280px;
        height: 560px;
      }
    }
    label {
      display: block;
      margin-top: 20px;
      font-weight: 600;
    }

    textarea, select {
      width: 100%;
      padding: 12px;
      font-size: 16px;
      margin-top: 8px;
      border-radius: 6px;
      border: 1px solid #ccc;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      font-family: inherit;
    }

    textarea:focus, select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: 0 0 0 3px rgba(44, 58, 74, 0.1);
    }

    button, .button {
      margin-top: 24px;
      padding: 14px 24px;
      font-size: 16px;
      background: #111;
      color: white;
      border: none;
      border-radius: 6px;
      font-weight: 600;
      display: inline-block;
      text-decoration: none;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      position: relative;
      overflow: hidden;
    }

    button::before, .button::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    button:hover, .button:hover {
      opacity: 0.92;
      cursor: pointer;
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    button:hover::before, .button:hover::before {
      width: 300px;
      height: 300px;
    }
  .sticky-cta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
    font-size: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .sticky-cta span {
    color: #555;
    white-space: nowrap;
  }

  .sticky-cta a {
    white-space: nowrap;
  }

  .cta-primary {
    background: #2C3A4A;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cta-primary:hover {
    box-shadow: 0 6px 16px rgba(44, 58, 74, 0.25);
    transform: translateY(-2px);
  }

  .cta-secondary {
    color: #2C3A4A;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cta-secondary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2C3A4A;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .cta-secondary:hover::after {
    width: 100%;
  }

  body {
    padding-bottom: 72px; /* Prevent overlap */
  }

  @media (max-width: 768px) {
    .sticky-cta {
      flex-wrap: wrap;
      gap: 10px;
      text-align: center;
    }

    .sticky-cta span {
      width: 100%;
    }
  }
  
  .hidden {
    display: none;
  }

  .output {
    margin-top: 24px;
  }

  .output label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #111;
  }

  .loading-message {
    font-size: 14px;
    color: #555;
    background: #F7F7F7;
    border: 1px solid #E6E6E6;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-soft);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
  }

  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  textarea#result {
    width: 100%;
    min-height: 140px;
    max-height: 360px;
    resize: vertical;
    padding: 14px;
    font-size: 15px;
    line-height: 1.6;
    border-radius: 10px;
    border: 1px solid #E6E6E6;
    background: #FAFAFA;
    color: #111;
    font-family: inherit;
  }

  textarea#result:focus {
    outline: none;
    border-color: #2C3A4A;
  }

  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* contact form */


.form-card {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.form-subtext {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 32px;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.field label {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #1f3a5f; /* soft navy */
  box-shadow: 0 0 0 3px rgba(31, 58, 95, 0.12);
}

textarea {
  resize: vertical;
}

.btn-primary.full-width {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  font-size: 1rem;
  border-radius: 12px;
}


/*side by side field in demo response*/

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-top: 20px;
}

.button-field button {
  height: 44px;
  padding: 0 22px;
  white-space: nowrap;
}

.invisible-label {
  visibility: hidden;
  height: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .action-row {
    grid-template-columns: 1fr;
  }

  .button-field button {
    width: 100%;
  }

  .button-group {
    flex-direction: column;
  }
}

/* Demo section */
.demo-section {
  text-align: center;
  padding: 80px 0;
}

.demo-section h2 {
  margin-bottom: 16px;
}

.demo-section p {
  max-width: 600px;
  margin: 0 auto 32px auto;
  font-size: 18px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
  display: inline-block;
}

/* Demo form card - similar to contact form */
.demo-form {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.demo-form h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.button-group {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.button-group button {
  flex: 1;
  margin-top: 0;
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-soft);
  margin-top: 120px;
}

.footer-content {
  padding: 80px 0 40px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
}

.footer-brand h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 12px 0;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0;
}

.footer-cta {
  text-align: right;
}

.footer-cta p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px 0;
  font-weight: 500;
}

.footer-cta .btn-primary {
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 60px;
  margin-bottom: 48px;
}

.footer-section h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-main);
  margin: 0 0 20px 0;
}

.footer-section ul {
  list-style:none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 14px;
}

.footer-section a {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
}

.footer-section a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-section a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer-section a:hover::before {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-light);
  margin: 0;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
    padding-bottom: 48px;
  }

  .footer-cta {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  footer {
    margin-top: 80px;
  }

  .footer-content {
    padding: 60px 0 32px 0;
  }
}

/* Workflow Page Styles */

/* Step numbers in cards */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

/* Behind the scenes grid */
.behind-scenes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.scene-item {
  background: #FAFAFA;
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  transition: all 0.3s ease;
}

.scene-item:hover {
  background: #F7F7F7;
  border-color: var(--accent);
  transform: translateY(-4px);
}

.scene-item h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--accent);
}

.scene-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
  border-color: var(--accent);
}

.benefit-card h3 {
  font-size: 16px;
  color: var(--text-main);
  margin: 0 0 12px 0;
  font-weight: 600;
}

.benefit-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .behind-scenes {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card {
    padding: 24px;
  }

  .scene-item {
    padding: 24px;
  }
}

/* Blog Styles */
.blog-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px;
}

.blog-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.blog-header h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.blog-meta {
  color: var(--text-light);
  font-size: 14px;
}

.blog-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-content p {
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-content ul {
  margin: 24px 0;
  padding-left: 24px;
  line-height: 1.8;
}

.blog-content li {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.blog-cta {
  background: var(--accent);
  color: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  margin: 48px 0;
}

.blog-cta p {
  color: white;
  margin-bottom: 20px;
}

.highlight {
  background: #f7f7f7;
  padding: 20px;
  border-left: 4px solid var(--accent);
  margin: 24px 0;
  border-radius: 8px;
}

.highlight h3 {
  margin-top: 0;
}

.step-box {
  background: #f7f7f7;
  padding: 24px;
  margin: 32px 0;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
}

.step-box h3 {
  color: var(--accent);
  margin-top: 0;
}

.stat-highlight {
  background: var(--accent);
  color: white;
  padding: 24px;
  border-radius: 12px;
  margin: 32px 0;
  text-align: center;
}

.stat-highlight p {
  color: white;
  font-size: 18px;
  margin: 0;
}

.stat-highlight strong {
  font-size: 24px;
}

/* Blog Posts Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.blog-post-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-soft);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.blog-post-header {
  margin-bottom: 20px;
}

.blog-post-header h3 {
  font-size: 20px;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.blog-post-meta {
  color: var(--text-light);
  font-size: 13px;
  margin: 0;
}

.blog-post-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.blog-post-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
  font-size: 14px;
}

.blog-post-link:hover {
  color: var(--accent);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-post-card {
    padding: 24px;
  }
}

/* Pilot Program Section */
.pilot-program {
  background: linear-gradient(135deg, var(--bg-card) 0%, #F0F4F8 100%);
  border-top: 2px solid var(--accent);
}

.pilot-program h2 {
  color: var(--accent);
  text-align: center;
}

.pilot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.pilot-card {
  background: var(--bg-card);
  padding: 32px 24px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.pilot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pilot-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.pilot-card h3 {
  margin: 16px 0 12px 0;
  color: var(--text-main);
}

.pilot-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pilot-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pilot-card {
    padding: 24px;
  }
}
