[data-page="enterprise"] {
  background: var(--cos-bg-base, #0a0a0c);
  font-family: var(--cos-font-sans);
  color: var(--cos-text-primary, #f4f4f5);
  padding-bottom: 5rem;

  /* Footer styles. The header styles itself (component/header.css). */
  [data-component="footer"] {
    border-top: 1px solid var(--cos-border, rgba(255, 255, 255, 0.06));
    display: flex;
    flex-direction: row;

    @media (max-width: 65rem) {
      border-bottom: 1px solid var(--cos-border, rgba(255, 255, 255, 0.06));
    }

    [data-slot="cell"] {
      flex: 1;
      text-align: center;

      a {
        text-decoration: none;
        padding: 2rem 0;
        width: 100%;
        display: block;

        span {
          color: var(--cos-text-tertiary, #8b8b93);

          @media (max-width: 40rem) {
            display: none;
          }
        }
      }

      a:hover {
        background: var(--cos-bg-subtle, rgba(255, 255, 255, 0.03));
        text-decoration: underline;
        text-underline-offset: 2px;
        text-decoration-thickness: 1px;
      }
    }

    [data-slot="cell"] + [data-slot="cell"] {
      border-left: 1px solid var(--cos-border, rgba(255, 255, 255, 0.06));

      @media (max-width: 40rem) {
        border-left: none;
      }
    }

    /* Mobile: third column on its own row */
    @media (max-width: 25rem) {
      flex-wrap: wrap;

      [data-slot="cell"] {
        flex: 1 0 100%;
        border-left: none;
        border-top: 1px solid var(--cos-border, rgba(255, 255, 255, 0.06));
      }

      [data-slot="cell"]:nth-child(1) {
        border-top: none;
      }
    }
  }

  [data-component="container"] {
    max-width: 67.5rem;
    margin: 0 auto;
    border: 1px solid var(--cos-border, rgba(255, 255, 255, 0.06));
    border-top: none;
    background: var(--cos-glass-bg, rgba(27, 27, 27, 0.72));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    @media (max-width: 65rem) {
      border: none;
      background: transparent;
      backdrop-filter: none;
    }
  }

  [data-component="content"] {
  }

  [data-component="enterprise-content"] {
    padding: 4rem 0;

    @media (max-width: 60rem) {
      padding: 2rem 0;
    }
  }

  [data-component="enterprise-columns"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 5rem;

    @media (max-width: 80rem) {
      gap: 3rem;
    }

    @media (max-width: 60rem) {
      grid-template-columns: 1fr;
      gap: 3rem;
      padding: 2rem 1.5rem;
    }
  }

  [data-component="enterprise-column-1"] {
    h1 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--cos-text-primary, #f4f4f5);
      margin-bottom: 1rem;
    }

    h3 {
      font-size: 1.25rem;
      font-weight: 500;
      color: var(--cos-text-primary, #f4f4f5);
      margin: 2rem 0 1rem 0;
    }

    p {
      line-height: 1.6;
      margin-bottom: 1.5rem;
      color: var(--cos-text-primary, #f4f4f5);
    }

    [data-component="testimonial"] {
      margin-top: 4rem;
      font-weight: 500;
      color: var(--cos-text-primary, #f4f4f5);

      [data-component="quotation"] {
        svg {
          margin-bottom: 1rem;
          opacity: 20%;
        }
      }

      [data-component="testimonial-logo"] {
        svg {
          margin-top: 1.5rem;
        }
      }
    }
  }

  [data-component="enterprise-column-2"] {
    [data-component="enterprise-form"] {
      padding: 0;

      h2 {
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--cos-text-primary, #f4f4f5);
        margin-bottom: 1.5rem;
      }

      [data-component="form-group"] {
        margin-bottom: 1.5rem;

        label {
          display: block;
          font-weight: 500;
          color: var(--cos-text-tertiary, #8b8b93);
          margin-bottom: 0.5rem;
          font-size: 0.875rem;
        }

        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
          transition: background-color 5000000s ease-in-out 0s;
        }

        input:-webkit-autofill {
          -webkit-text-fill-color: var(--cos-text-primary, #f4f4f5) !important;
        }

        input:-moz-autofill {
          -moz-text-fill-color: var(--cos-text-primary, #f4f4f5) !important;
        }

        input,
        select,
        textarea {
          width: 100%;
          padding: 0.75rem;
          border: 1px solid var(--cos-border, rgba(255, 255, 255, 0.06));
          border-radius: var(--cos-radius-md, 10px);
          background: var(--cos-bg-subtle, rgba(255, 255, 255, 0.03));
          color: var(--cos-text-primary, #f4f4f5);
          font-family: inherit;

          &::placeholder {
            color: var(--cos-text-tertiary, #8b8b93);
          }

          &:focus {
            outline: none;
            border: 1px solid var(--cos-accent-500, #6366f1);
            background: var(--cos-bg-subtle-hover, rgba(255, 255, 255, 0.06));
            color: var(--cos-text-primary, #f4f4f5);
            box-shadow: none;
          }
        }

        textarea {
          resize: vertical;
          min-height: 120px;
        }
      }

      [data-component="submit-button"] {
        padding: 0.5rem 1.5rem;
        /* The primary button, as everywhere else. */
        background: var(--cos-btn-primary-bg);
        color: var(--cos-btn-primary-text);
        border: none;
        border-radius: var(--cos-radius-md, 10px);
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s ease;

        &:hover:not(:disabled) {
          background: var(--cos-btn-primary-bg-hover);
        }

        &:disabled {
          opacity: 0.6;
          cursor: not-allowed;
        }
      }

      [data-component="success-message"] {
        margin-top: 1rem;
        padding: 1rem 0;
        color: #32c878;
        text-align: left;
      }

      [data-component="error-message"] {
        margin-top: 1rem;
        padding: 1rem 0;
        color: #ff6060;
        text-align: left;
      }
    }
  }

  [data-component="faq"] {
    border-top: 1px solid var(--cos-border, rgba(255, 255, 255, 0.06));
    padding: 4rem 5rem;

    @media (max-width: 60rem) {
      padding: 2rem 1.5rem;
    }

    [data-slot="section-title"] {
      margin-bottom: 24px;

      h2 {
        font-size: 16px;
        font-weight: 700;
        color: var(--cos-text-primary, #f4f4f5);
        margin-bottom: 12px;
      }

      p {
        margin-bottom: 12px;
        color: var(--cos-text-primary, #f4f4f5);
      }
    }

    ul {
      padding: 0;

      li {
        list-style: none;
        margin-bottom: 24px;
        line-height: 200%;

        @media (max-width: 60rem) {
          line-height: 180%;
        }
      }
    }

    [data-slot="faq-question"] {
      display: flex;
      gap: 16px;
      margin-bottom: 8px;
      color: var(--cos-text-primary, #f4f4f5);
      font-weight: 500;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0;

      [data-slot="faq-icon-plus"] {
        flex-shrink: 0;
        color: var(--cos-text-tertiary, #8b8b93);
        margin-top: 2px;

        [data-closed] & {
          display: block;
        }
        [data-expanded] & {
          display: none;
        }
      }
      [data-slot="faq-icon-minus"] {
        flex-shrink: 0;
        color: var(--cos-text-tertiary, #8b8b93);
        margin-top: 2px;

        [data-closed] & {
          display: none;
        }
        [data-expanded] & {
          display: block;
        }
      }
      [data-slot="faq-question-text"] {
        flex-grow: 1;
        text-align: left;
      }
    }

    [data-slot="faq-answer"] {
      margin-left: 40px;
      margin-bottom: 32px;
      color: var(--cos-text-primary, #f4f4f5);
    }
  }

  [data-component="legal"] {
    color: var(--cos-text-tertiary, #8b8b93);
    text-align: center;
    padding: 2rem 5rem;
    display: flex;
    gap: 32px;
    justify-content: center;

    @media (max-width: 60rem) {
      padding: 2rem 1.5rem;
    }

    a {
      color: var(--cos-text-tertiary, #8b8b93);
      text-decoration: none;
    }

    a:hover {
      color: var(--cos-text-primary, #f4f4f5);
      text-decoration: underline;
    }
  }

  a {
    color: var(--cos-text-primary, #f4f4f5);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;

    &:hover {
      text-decoration-thickness: 2px;
    }
  }
}
